sys-apps/elfix: git-2->git-r3, git://->https://
authorMarty E. Plummer <hanetzer@startmail.com>
Fri, 27 Apr 2018 17:26:39 +0000 (12:26 -0500)
committerAnthony G. Basile <blueness@gentoo.org>
Fri, 27 Apr 2018 22:11:14 +0000 (18:11 -0400)
Also eutils is unneeded, autotools is only needed on live ebuilds.
Go ahead and bump to EAPI=6.

Package-Manager: Portage-2.3.31, Repoman-2.3.9
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
sys-apps/elfix/elfix-0.9.2.ebuild
sys-apps/elfix/elfix-9999.ebuild

index 11349cf6d6f6d6c05c2bbdb85a515787f0cbade8..2bc81bd6ca5432a4d4f0e994fdf1a73d2547f4a6 100644 (file)
@@ -1,13 +1,11 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="5"
+EAPI=6
 
-inherit eutils
-
-if [[ ${PV} == "9999" ]] ; then
-       EGIT_REPO_URI="git://anongit.gentoo.org/proj/elfix.git"
-       inherit git-2
+if [[ ${PV} == *9999* ]] ; then
+       EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/elfix.git"
+       inherit autotools git-r3
 else
        SRC_URI="https://dev.gentoo.org/~blueness/elfix/${P}.tar.gz"
        KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86"
@@ -21,6 +19,8 @@ LICENSE="GPL-3"
 SLOT="0"
 IUSE="+ptpax +xtpax"
 
+DOCS=( AUTHORS ChangeLog INSTALL README THANKS TODO )
+
 REQUIRED_USE="|| ( ptpax xtpax )"
 
 # These only work with a properly configured PaX kernel
@@ -33,7 +33,11 @@ DEPEND="~dev-python/pypax-${PV}[ptpax=,xtpax=]
 RDEPEND="${DEPEND}"
 
 src_prepare() {
-       [[ ${PV} == "9999" ]] && ./autogen.sh
+       default
+       if [[ ${PV} == *9999* ]]; then
+               eautoreconf
+               cd doc && ./make.sh || die
+       fi
 }
 
 src_configure() {
@@ -42,8 +46,3 @@ src_configure() {
                $(use_enable ptpax) \
                $(use_enable xtpax)
 }
-
-src_install() {
-       emake DESTDIR="${D}" install
-       dodoc AUTHORS ChangeLog INSTALL README THANKS TODO
-}
index 9e35e46644dc093710bcdb8f4f1126eea000816d..0eaa5ebdfecf8bca51b354753edf466ac5e421e6 100644 (file)
@@ -1,13 +1,11 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="5"
+EAPI=6
 
-inherit eutils
-
-if [[ ${PV} == "9999" ]] ; then
-       EGIT_REPO_URI="git://anongit.gentoo.org/proj/elfix.git"
-       inherit git-2
+if [[ ${PV} == *9999* ]] ; then
+       EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/elfix.git"
+       inherit autotools git-r3
 else
        SRC_URI="https://dev.gentoo.org/~blueness/elfix/${P}.tar.gz"
        KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
@@ -21,6 +19,8 @@ LICENSE="GPL-3"
 SLOT="0"
 IUSE="+ptpax +xtpax"
 
+DOCS=( AUTHORS ChangeLog INSTALL README.md THANKS TODO )
+
 REQUIRED_USE="|| ( ptpax xtpax )"
 
 # These only work with a properly configured PaX kernel
@@ -33,7 +33,11 @@ DEPEND="~dev-python/pypax-${PV}[ptpax=,xtpax=]
 RDEPEND="${DEPEND}"
 
 src_prepare() {
-       [[ ${PV} == "9999" ]] && ./autogen.sh
+       default
+       if [[ ${PV} == *9999* ]]; then
+               eautoreconf
+               cd doc && ./make.sh || die
+       fi
 }
 
 src_configure() {
@@ -42,8 +46,3 @@ src_configure() {
                $(use_enable ptpax) \
                $(use_enable xtpax)
 }
-
-src_install() {
-       emake DESTDIR="${D}" install
-       dodoc AUTHORS ChangeLog INSTALL README THANKS TODO
-}