diff options
author | Sergiy Borodych <Sergiy.Borodych@gmail.com> | 2016-07-11 15:22:05 +0300 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2016-07-14 18:05:22 +0200 |
commit | a3e207a8df7f215394fe28684e872f8f906df13d (patch) | |
tree | 79873ae48ce4ab1389fb35ab01259cbe2c44294d /app-portage/g-cpan/g-cpan-0.16.9.ebuild | |
parent | dev-python/libzilla: Clean up old. (diff) | |
download | gentoo-a3e207a8df7f215394fe28684e872f8f906df13d.tar.gz gentoo-a3e207a8df7f215394fe28684e872f8f906df13d.tar.bz2 gentoo-a3e207a8df7f215394fe28684e872f8f906df13d.zip |
app-portage/g-cpan: version bump to 0.16.9.
* Use github tag generated archive instead of uploaded release file.
* Trim away extraneous tabs.
Closes: https://github.com/gentoo/gentoo/pull/1872
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'app-portage/g-cpan/g-cpan-0.16.9.ebuild')
-rw-r--r-- | app-portage/g-cpan/g-cpan-0.16.9.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/app-portage/g-cpan/g-cpan-0.16.9.ebuild b/app-portage/g-cpan/g-cpan-0.16.9.ebuild new file mode 100644 index 000000000000..6b8aad9ad918 --- /dev/null +++ b/app-portage/g-cpan/g-cpan-0.16.9.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit perl-module +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="git://github.com/gentoo-perl/g-cpan.git" + inherit git-r3 + SRC_URI="" +else + SRC_URI="https://github.com/gentoo-perl/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +fi + +DESCRIPTION="Autogenerate and install ebuilds for CPAN modules" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Perl/g-cpan" + +LICENSE="|| ( Artistic GPL-2 )" +SLOT="0" +IUSE="test" + +COMMONDEPEND=" + virtual/perl-File-Path + virtual/perl-File-Spec + dev-perl/Log-Agent + virtual/perl-Memoize + virtual/perl-IO + dev-perl/Shell-EnvImporter + virtual/perl-Term-ANSIColor + >=dev-perl/YAML-0.60 +" +RDEPEND="${COMMONDEPEND} + >=sys-apps/portage-2.0.0 +" +DEPEND="${COMMONDEPEND} + virtual/perl-ExtUtils-MakeMaker + test? ( >=virtual/perl-Test-Simple-0.940.0 ) +" + +src_install() { + perl-module_src_install + diropts -m0775 -o portage -g portage + dodir "/var/tmp/g-cpan" + dodir "/var/log/g-cpan" + keepdir "/var/log/g-cpan" +} + +pkg_postinst() { + elog "If you want to use g-cpan as non root user you may wish to adjust" + elog "the permissions on /var/tmp/g-cpan or add users to the portage group." + elog "Please note that some CPAN packages need additional manual" + elog "parameters or tweaking, due to bugs in their build systems." +} |