media-gfx/pixels2pgf: Modernize to EAPI=6
authorMichał Górny <mgorny@gentoo.org>
Thu, 29 Jun 2017 21:39:17 +0000 (23:39 +0200)
committerMichał Górny <mgorny@gentoo.org>
Thu, 29 Jun 2017 22:22:04 +0000 (00:22 +0200)
media-gfx/pixels2pgf/pixels2pgf-0.1.ebuild
media-gfx/pixels2pgf/pixels2pgf-9999.ebuild

index c0a0029775c8ac60409c18050243a6bd1e6e65c9..c69380b1d9b4c8efc975bee18e3faa3ed69d2bc3 100644 (file)
@@ -1,9 +1,7 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
-
-inherit autotools-utils
+EAPI=6
 
 DESCRIPTION="Convert pixel images (e.g. QRCode) to PGF/Tikz rectangles"
 HOMEPAGE="https://github.com/mgorny/pixels2pgf/"
@@ -14,6 +12,6 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
 
-RDEPEND="media-libs/libsdl
-       media-libs/sdl-image"
+RDEPEND="media-libs/libsdl:0=
+       media-libs/sdl-image:0="
 DEPEND="${RDEPEND}"
index 73c8e38db29a75784088b1d02bb6002b76bb70bc..765618b50660ee587fde4f2842a5e3b1e12e7a48 100644 (file)
@@ -1,31 +1,25 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=6
 
-#if LIVE
-AUTOTOOLS_AUTORECONF=yes
 EGIT_REPO_URI="https://github.com/mgorny/${PN}.git"
-
-inherit git-r3
-#endif
-
-inherit autotools-utils
+inherit autotools git-r3
 
 DESCRIPTION="Convert pixel images (e.g. QRCode) to PGF/Tikz rectangles"
 HOMEPAGE="https://github.com/mgorny/pixels2pgf/"
-SRC_URI="https://github.com/mgorny/pixels2pgf/releases/download/${P}/${P}.tar.bz2"
+SRC_URI=""
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS=""
 IUSE=""
 
-RDEPEND="media-libs/libsdl
-       media-libs/sdl-image"
+RDEPEND="media-libs/libsdl:0=
+       media-libs/sdl-image:0="
 DEPEND="${RDEPEND}"
-#if LIVE
 
-KEYWORDS=
-SRC_URI=
-#endif
+src_prepare() {
+       default
+       eautoreconf
+}