From: "Kent Fredric" <kentfredric@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/perl-overlay:master commit in: eclass/
Date: Sat, 11 Oct 2014 18:46:38 +0000 (UTC) [thread overview]
Message-ID: <1413047592.1def0baf7b39421cef041897d5e276f5064a515f.kent@gentoo> (raw)
commit: 1def0baf7b39421cef041897d5e276f5064a515f
Author: Kent Fredric <kentfredric <AT> gmail <DOT> com>
AuthorDate: Sat Oct 11 17:13:12 2014 +0000
Commit: Kent Fredric <kentfredric <AT> gmail <DOT> com>
CommitDate: Sat Oct 11 17:13:12 2014 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/perl-overlay.git;a=commit;h=1def0baf
[eclass] perl-virtual-(2), Remove these eclasses, they are a bad idea.
If you still need these, get them out of git and put them in your own
overlay and support them yourself.
---
eclass/perl-virtual-2.eclass | 139 -------------------------------------------
eclass/perl-virtual.eclass | 46 --------------
2 files changed, 185 deletions(-)
diff --git a/eclass/perl-virtual-2.eclass b/eclass/perl-virtual-2.eclass
deleted file mode 100644
index 4bcce30..0000000
--- a/eclass/perl-virtual-2.eclass
+++ /dev/null
@@ -1,139 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-#
-# Original Author: Kent Fredric <kentfredric@gmail.com>
-# Purpose: Experimental virtuals for gentoo perl
-# Reason: http://wiki.gentoo.org/wiki/Project:Perl/Ongoing_tasks#Updating_the_virtuals
-
-
-# usage:
-#
-# EAPI=5
-# ON_CPAN=1
-# inherit perl-virtual-2
-#
-# EAPI=5
-# ON_CPAN=1
-# PERL_VERSIONS="5.18"
-# inherit perl-virtual-2
-#
-# EAPI=5
-# PERL_VERSIONS="5.18"
-# inherit perl-virtual-2
-
-
-case "${EAPI:0}" in
- 5)
-
- ;;
- *)
- die "EAPI=${EAPI} is not supported by perl-virtual-2.eclass";
- ;;
-esac
-
-DESCRIPTION="Virtual for perl-core/${PN#perl-}"
-# Note: This has to be blank, repoman doesn't like it.
-# But otherwise we'd link to http://wiki.gentoo.org/wiki/Project:Perl/Ongoing_tasks#Updating_the_virtuals
-HOMEPAGE=""
-SRC_URI=""
-LICENSE=""
-IUSE=""
-
-[[ ${ON_CPAN} ]] || ON_CPAN=""
-ON_PERL="1"
-
-[[ ${PERL_VERSIONS} ]] || ON_PERL="";
-
-[[ ${ON_CPAN} || ${ON_PERL} ]] || die "One of ON_CPAN or PERL_VERSIONS must be specified for perl-virtual-2.eclass";
-
-# CPAN + Perl =>
-# perl_5_18 ? ( =perl-5.18* , !perl-core/ )
-# perl_5_16 ? ( =perl-5.16* , !perl-core/ )
-# !perl_5_18? ( !perl_5_16? (
-# || ( =perl-5.18* =perl-5.18* =perl-core/ )
-# !<perl-core/...$PV !>perl-core/..$PV
-# ))
-if [[ ${ON_CPAN} && ${ON_PERL} ]]; then
- PL_DEPS="";
- EXCL_DEPS="";
- NEXCL_START="";
- NEXCL_STOP="";
- NPLS=0;
- OLDIFS=$IFS;
- IFS=" ";
- for i in ${PERL_VERSIONS}; do
- IUSE="$IUSE perl_${i//./_}"
- EXCL_DEPS="$EXCL_DEPS perl_${i//./_}? ( =dev-lang/perl-${i}* !perl-core/${PN#perl-} )"
- NEXCL_START="$NEXCL_START !perl_${i//./_}? ("
- NEXCL_STOP=") $NEXCL_STOP"
- PL_DEPS="$PL_DEPS =dev-lang/perl-${i}*"
- NPLS=$(( $NPLS + 1 ));
- done
- IFS=$OLDIFS;
- RDEPEND="
- $EXCL_DEPS
- $NEXCL_START
- || ( $PL_DEPS ~perl-core/${PN#perl-}-${PV} )
- !<perl-core/${PN#perl-}-${PV}
- !>perl-core/${PN#perl-}-${PV}-r999
- $NEXCL_STOP"
-fi
-
-# CPAN + !Perl =>
-# =perl-core/..$PV
-#
-if [[ ${ON_CPAN} && ! ${ON_PERL} ]]; then
- RDEPEND="~perl-core/${PN#perl-}-${PV}"
-fi
-
-# !CPAN + Perl =>
-#
-# either:
-# =perl-5.18
-# !perl-core/..
-#
-# or
-#
-# perl_5_18? ( =perl-5.18* )
-# perl_5_16? ( =perl-5.16* )
-# !perl_5_18? ( !perl_5_16? (
-# || ( =perl-5.18* =perl-5.16* )
-# ))
-# !perl-core/
-#
-if [[ ! ${ON_CPAN} && ${ON_PERL} ]]; then
- PL_DEPS="";
- NPLS=0;
- EXCL_DEPS="";
- NEXCL_START="";
- NEXCL_STOP="";
- XIUSE="";
- OLDIFS=$IFS;
- IFS=" ";
- for i in ${PERL_VERSIONS}; do
- XIUSE="$XIUSE perl_${i//./_}"
- EXCL_DEPS="$EXCL_DEPS perl_${i//./_}? ( =dev-lang/perl-${i}* )"
- NEXCL_START="$NEXCL_START !perl_${i//./_}? ("
- NEXCL_STOP=") $NEXCL_STOP"
- PL_DEPS="$PL_DEPS =dev-lang/perl-${i}*"
- NPLS=$(( $NPLS + 1 ));
- done
- IFS=$OLDIFS;
- if [[ $NPLS > 1 ]]; then
- IUSE="$IUSE ${XIUSE}";
- RDEPEND="
- $EXCL_DEPS
- $NEXCL_START
- || ( $PL_DEPS )
- $NEXCL_STOP
- !perl-core/${PN#perl-}
- "
- else
- RDEPEND="
- $PL_DEPS
- !perl-core/${PN#perl-}
- "
- fi
-fi
diff --git a/eclass/perl-virtual.eclass b/eclass/perl-virtual.eclass
deleted file mode 100644
index 9d7e69a..0000000
--- a/eclass/perl-virtual.eclass
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-# @ECLASS: perl-virtual.eclass
-# @MAINTAINER:
-# perl@gentoo.org
-# @BLURB: Set up virtuals for perl modules more easily
-# @DESCRIPTION:
-# The perl-virtual.eclass sets all possible ebuild variables. It uses the
-# PM_PROVIDER array to set the any-of-many runtime dependencies.
-# @EXAMPLE:
-# An ebuild might look like this:
-#
-# @CODE
-#
-# PM_PROVIDER+=( "~dev-lang/perl-5.12.3" )
-# PM_PROVIDER+=( "5.10.1" )
-# inherit perl-virtual
-# KEYWORDS="~amd64 ~x86"
-# IUSE=""
-#
-# @CODE
-
-# @ECLASS-VARIABLE: PM_PROVIDER
-# @DEFAULT_UNSET
-# @DESCRIPTION:
-# The array should list the providers to be added to RDEPEND
-# with preference from highest to lowest.
-# If an element starts with "5", it is considered a ~dev-lang/perl version.
-# If PM_PROVIDER is not defined, RDEPEND isn't set.
-# ~perl-core/${PN#perl-}-${PV} is added at the end automatically.
-
-DESCRIPTION="Virtual for ${PN#perl-}"
-HOMEPAGE=""
-SRC_URI=""
-
-LICENSE=""
-SLOT="0"
-IUSE=""
-
-if [[ $(declare -p PM_PROVIDER 2>&-) != "declare -a PM_PROVIDER="* ]] ; then
- RDEPEND="~perl-core/${PN#perl-}-${PV}"
-elif [[ ${#PM_PROVIDER[*]} -gt 0 ]] ; then
- RDEPEND="|| ( ${PM_PROVIDER[@]/#5/~dev-lang/perl-5} ~perl-core/${PN#perl-}-${PV} )"
-fi
next reply other threads:[~2014-10-11 18:46 UTC|newest]
Thread overview: 59+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-11 18:46 Kent Fredric [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-09-17 0:51 [gentoo-commits] proj/perl-overlay:master commit in: eclass/ Kent Fredric
2017-09-17 0:51 Kent Fredric
2017-09-17 0:51 Kent Fredric
2017-09-17 0:51 Kent Fredric
2017-09-17 0:51 Kent Fredric
2017-09-17 0:51 Kent Fredric
2017-09-17 0:51 Kent Fredric
2017-09-17 0:51 Kent Fredric
2017-09-17 0:51 Kent Fredric
2017-09-17 0:51 Kent Fredric
2017-09-17 0:51 Kent Fredric
2017-09-17 0:51 Kent Fredric
2017-09-17 0:51 Kent Fredric
2017-09-17 0:51 Kent Fredric
2017-09-17 0:51 Kent Fredric
2017-09-17 0:51 Kent Fredric
2017-09-17 0:51 Kent Fredric
2017-09-17 0:51 Kent Fredric
2017-09-17 0:51 Kent Fredric
2017-09-17 0:51 Kent Fredric
2017-09-17 0:51 Kent Fredric
2017-09-17 0:51 Kent Fredric
2017-09-17 0:51 Kent Fredric
2017-09-17 0:51 Kent Fredric
2017-09-17 0:51 Kent Fredric
2015-06-25 1:26 Kent Fredric
2015-06-21 0:39 Kent Fredric
2015-06-21 0:39 Kent Fredric
2015-06-20 22:13 Kent Fredric
2015-06-20 22:13 Kent Fredric
2015-06-20 22:13 Kent Fredric
2015-06-20 22:13 Kent Fredric
2015-03-26 12:14 Kent Fredric
2015-03-15 17:06 Kent Fredric
2015-03-15 5:10 Kent Fredric
2015-03-15 5:10 Kent Fredric
2014-12-23 18:19 Kent Fredric
2014-12-23 18:19 Kent Fredric
2014-12-23 14:43 Kent Fredric
2014-10-11 18:46 Kent Fredric
2014-10-11 18:46 Kent Fredric
2014-08-26 19:06 Kent Fredric
2014-08-24 13:56 Kent Fredric
2014-08-20 13:24 Kent Fredric
2014-04-04 23:09 Kent Fredric
2013-09-17 4:35 Kent Fredric
2013-09-17 4:28 Kent Fredric
2013-04-28 16:53 Kent Fredric
2012-09-15 16:58 Torsten Veller
2012-06-07 6:06 Torsten Veller
2012-06-05 18:22 Torsten Veller
2012-06-05 18:22 Torsten Veller
2012-04-23 13:04 Torsten Veller
2012-04-23 13:04 Torsten Veller
2012-04-23 13:04 Torsten Veller
2011-08-16 17:02 Torsten Veller
2011-04-24 8:37 Torsten Veller
2011-02-04 8:15 tove
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1413047592.1def0baf7b39421cef041897d5e276f5064a515f.kent@gentoo \
--to=kentfredric@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox