commit:     09d55fe1a12269d9eae8608624002fc28a4bed05
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 29 21:39:17 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jun 29 22:22:04 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09d55fe1

media-gfx/pixels2pgf: Modernize to EAPI=6

 media-gfx/pixels2pgf/pixels2pgf-0.1.ebuild  |  8 +++-----
 media-gfx/pixels2pgf/pixels2pgf-9999.ebuild | 26 ++++++++++----------------
 2 files changed, 13 insertions(+), 21 deletions(-)

diff --git a/media-gfx/pixels2pgf/pixels2pgf-0.1.ebuild 
b/media-gfx/pixels2pgf/pixels2pgf-0.1.ebuild
index c0a0029775c..c69380b1d9b 100644
--- a/media-gfx/pixels2pgf/pixels2pgf-0.1.ebuild
+++ b/media-gfx/pixels2pgf/pixels2pgf-0.1.ebuild
@@ -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}"

diff --git a/media-gfx/pixels2pgf/pixels2pgf-9999.ebuild 
b/media-gfx/pixels2pgf/pixels2pgf-9999.ebuild
index 73c8e38db29..765618b5066 100644
--- a/media-gfx/pixels2pgf/pixels2pgf-9999.ebuild
+++ b/media-gfx/pixels2pgf/pixels2pgf-9999.ebuild
@@ -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
+}

Reply via email to