diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2016-05-28 20:10:29 +0200 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2016-05-28 20:11:22 +0200 |
commit | d63910040e2359a62396067aebc5b3e0358e9d00 (patch) | |
tree | 74361904154dbc172abddf5bcefbe1ddad8bcde5 /app-admin | |
parent | app-editors/mg: Version bump. (diff) | |
download | gentoo-d63910040e2359a62396067aebc5b3e0358e9d00.tar.gz gentoo-d63910040e2359a62396067aebc5b3e0358e9d00.tar.bz2 gentoo-d63910040e2359a62396067aebc5b3e0358e9d00.zip |
app-admin/perl-cleaner: Version bump, integrate prefix patch
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/perl-cleaner/Manifest | 1 | ||||
-rw-r--r-- | app-admin/perl-cleaner/perl-cleaner-2.22.ebuild | 44 | ||||
-rw-r--r-- | app-admin/perl-cleaner/perl-cleaner-9999.ebuild | 13 |
3 files changed, 55 insertions, 3 deletions
diff --git a/app-admin/perl-cleaner/Manifest b/app-admin/perl-cleaner/Manifest index 592cd2681e52..0c131b3df5b6 100644 --- a/app-admin/perl-cleaner/Manifest +++ b/app-admin/perl-cleaner/Manifest @@ -1,2 +1,3 @@ DIST perl-cleaner-2.20.tar.bz2 6704 SHA256 ecc3b160d01466a5c9a070e12f3e11719bedb45a92a2ea0227d745be6b77cf64 SHA512 29888b4ee19a186ddaa1209d893ac57bed683b551546f63aeb874f8cc1fcab4ea0b0401247968aed0fb3b9a7d7196a803d6713e85b44cb94bc6642a44fbc4cf1 WHIRLPOOL 2ea9ca19738e8dd3bed076051efbccd1cced25b768ee8e95843c885b9057e1c6960247dd8f867b8ef7ab11ffffaddbedbcc01f20023203f4d3cbe7f09fd01e51 DIST perl-cleaner-2.21.tar.bz2 6288 SHA256 6ea83c08ff83d59c3691435dbeafbd52680c57f2d8603288410a4eb4ba343e96 SHA512 b13d32bd09009c96b9074c786e8cb5da359b4eb8343b7818b88151cc1bb870cb29775e462e9e9d9f4f55f4040847cb9f7b5d2311e06124aaea5deb9053ea95ee WHIRLPOOL 27e5c9db0c371676842c814e7e6962333c828b261b798a380f23092afa7cd7ec1eaa550cca7103dd5691883945e4be31d2fea96db3b11ee1996aeaf290ab8b9d +DIST perl-cleaner-2.22.tar.bz2 6407 SHA256 fed20de199e178012380e436f06668705746ae16e84fbc15b23653cc07bf5bbb SHA512 a822ea4178e1f36aadcad8c21e1adefe547e2b7c0cfecd34fa53d2d0f7c154ce5bcbb6f8d5a78f633b42842e08ea50cf68c151d97a46529e378dfb6c8fcb7d78 WHIRLPOOL 4025842fcfba7723768b7d5f23f23d0d9970a397a3313fe30d3b04d10e89328257977cba60ad183b4941453bd4dcd727bf871d8206e537ba89dbfa10b3779cad diff --git a/app-admin/perl-cleaner/perl-cleaner-2.22.ebuild b/app-admin/perl-cleaner/perl-cleaner-2.22.ebuild new file mode 100644 index 000000000000..1bb8e8c19cc5 --- /dev/null +++ b/app-admin/perl-cleaner/perl-cleaner-2.22.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit prefix + +DESCRIPTION="User land tool for cleaning up old perl installs" +HOMEPAGE="https://www.gentoo.org/proj/en/perl/" + +if [[ "${PV}" == "9999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/gentoo-perl/perl-cleaner.git" +else + SRC_URI="mirror://gentoo/${P}.tar.bz2 https://dev.gentoo.org/~dilfridge/distfiles/${P}.tar.bz2" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +[[ "${PV}" == "9999" ]] && DEPEND="sys-apps/help2man" + +RDEPEND="app-shells/bash + || ( >=sys-apps/coreutils-8.15 app-misc/realpath sys-freebsd/freebsd-bin ) + dev-lang/perl + || ( + ( sys-apps/portage app-portage/portage-utils ) + sys-apps/pkgcore + sys-apps/paludis + ) +" + +src_prepare() { + default + eprefixify ${PN} +} + +src_install() { + dosbin perl-cleaner + doman perl-cleaner.1 +} diff --git a/app-admin/perl-cleaner/perl-cleaner-9999.ebuild b/app-admin/perl-cleaner/perl-cleaner-9999.ebuild index 4ce411e077f6..1bb8e8c19cc5 100644 --- a/app-admin/perl-cleaner/perl-cleaner-9999.ebuild +++ b/app-admin/perl-cleaner/perl-cleaner-9999.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 +EAPI=6 + +inherit prefix DESCRIPTION="User land tool for cleaning up old perl installs" HOMEPAGE="https://www.gentoo.org/proj/en/perl/" @@ -12,7 +14,7 @@ if [[ "${PV}" == "9999" ]] ; then EGIT_REPO_URI="https://github.com/gentoo-perl/perl-cleaner.git" else SRC_URI="mirror://gentoo/${P}.tar.bz2 https://dev.gentoo.org/~dilfridge/distfiles/${P}.tar.bz2" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" fi LICENSE="GPL-2" @@ -31,6 +33,11 @@ RDEPEND="app-shells/bash ) " +src_prepare() { + default + eprefixify ${PN} +} + src_install() { dosbin perl-cleaner doman perl-cleaner.1 |