diff options
author | David Seifert <soap@gentoo.org> | 2019-10-18 14:18:28 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2019-10-18 14:18:28 +0200 |
commit | 74b57a2f900d16fb9b4691e244f2239d3de95cff (patch) | |
tree | 552e2436ab800de243bcfd96f792bccab277616b /dev-util/autoproject | |
parent | app-doc/autobook: Port to EAPI 7 (diff) | |
download | gentoo-74b57a2f900d16fb9b4691e244f2239d3de95cff.tar.gz gentoo-74b57a2f900d16fb9b4691e244f2239d3de95cff.tar.bz2 gentoo-74b57a2f900d16fb9b4691e244f2239d3de95cff.zip |
dev-util/autoproject: Port to EAPI 7
Bug: https://bugs.gentoo.org/697326
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-util/autoproject')
-rw-r--r-- | dev-util/autoproject/autoproject-0.20_p5.ebuild | 28 |
1 files changed, 11 insertions, 17 deletions
diff --git a/dev-util/autoproject/autoproject-0.20_p5.ebuild b/dev-util/autoproject/autoproject-0.20_p5.ebuild index 239a51de78ec..9fd405115687 100644 --- a/dev-util/autoproject/autoproject-0.20_p5.ebuild +++ b/dev-util/autoproject/autoproject-0.20_p5.ebuild @@ -1,35 +1,29 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=0 - -inherit eutils +EAPI=7 MY_PV=${PV%_p*} DEB_VER=${PV#*_p} + DESCRIPTION="Start a programming project using autotools and a command line parser generator" -HOMEPAGE="http://packages.debian.org/unstable/devel/autoproject" -SRC_URI="mirror://debian/pool/main/a/autoproject/${PN}_${MY_PV}.orig.tar.gz +HOMEPAGE="https://packages.debian.org/unstable/devel/autoproject" +SRC_URI=" + mirror://debian/pool/main/a/autoproject/${PN}_${MY_PV}.orig.tar.gz mirror://debian/pool/main/a/autoproject/${PN}_${MY_PV}-${DEB_VER}.diff.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="test" +RESTRICT="!test? ( test )" -RDEPEND="sys-devel/automake - sys-devel/autoconf" +RDEPEND=" + sys-devel/autoconf:* + sys-devel/automake:*" DEPEND="${RDEPEND} test? ( sys-apps/texinfo )" S=${WORKDIR}/${PN}-${MY_PV} -src_unpack() { - unpack ${A} - epatch ${PN}_${MY_PV}-${DEB_VER}.diff -} - -src_install() { - emake install DESTDIR="${D}" || die - dodoc AUTHORS NEWS README TODO ChangeLog -} +PATCHES=( "${WORKDIR}"/${PN}_${MY_PV}-${DEB_VER}.diff ) |