diff options
author | Sam James <sam@gentoo.org> | 2022-07-03 23:39:22 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-07-03 23:39:22 +0100 |
commit | 6103e4eac8e4a07187cccc324a198a8ad0705c4e (patch) | |
tree | 82d25ade1d9c36784dda3f81772a073958467389 /app-portage/g-cpan/g-cpan-0.18.0.ebuild | |
parent | app-portage/g-cpan: add 0.18.0 (diff) | |
download | gentoo-6103e4eac8e4a07187cccc324a198a8ad0705c4e.tar.gz gentoo-6103e4eac8e4a07187cccc324a198a8ad0705c4e.tar.bz2 gentoo-6103e4eac8e4a07187cccc324a198a8ad0705c4e.zip |
app-portage/g-cpan: add ewarn for recreating overlay/ebuilds
Bug: https://bugs.gentoo.org/819513
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-portage/g-cpan/g-cpan-0.18.0.ebuild')
-rw-r--r-- | app-portage/g-cpan/g-cpan-0.18.0.ebuild | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/app-portage/g-cpan/g-cpan-0.18.0.ebuild b/app-portage/g-cpan/g-cpan-0.18.0.ebuild deleted file mode 100644 index 245e333b5463..000000000000 --- a/app-portage/g-cpan/g-cpan-0.18.0.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit perl-module - -if [[ ${PV} == 9999 ]] ; then - EGIT_REPO_URI="https://github.com/gentoo-perl/g-cpan.git" - inherit git-r3 -else - SRC_URI="https://github.com/gentoo-perl/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~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" -RESTRICT="!test? ( test )" - -COMMON_DEPEND=" - dev-perl/Config-Tiny - virtual/perl-File-Path - virtual/perl-File-Spec - dev-perl/Log-Agent - virtual/perl-Memoize - virtual/perl-IO - dev-perl/Path-Tiny - dev-perl/Shell-EnvImporter - virtual/perl-Term-ANSIColor - >=dev-perl/YAML-0.60 -" -RDEPEND=" - ${COMMON_DEPEND} - >=sys-apps/portage-2.0.0 -" -BDEPEND=" - ${COMMON_DEPEND} - virtual/perl-ExtUtils-MakeMaker - test? ( >=virtual/perl-Test-Simple-0.940.0 ) -" - -src_install() { - perl-module_src_install - - if ! use prefix; then - diropts -m0775 -o portage -g portage - else - diropts -m0775 - fi - - 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." -} |