1 |
dilfridge 13/12/29 21:37:09 |
2 |
|
3 |
Modified: ChangeLog perl-module.eclass |
4 |
Log: |
5 |
Use subslot dependencies on dev-lang/perl if possible, bug 479298 |
6 |
|
7 |
Revision Changes Path |
8 |
1.1101 eclass/ChangeLog |
9 |
|
10 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1101&view=markup |
11 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1101&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.1100&r2=1.1101 |
13 |
|
14 |
Index: ChangeLog |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v |
17 |
retrieving revision 1.1100 |
18 |
retrieving revision 1.1101 |
19 |
diff -u -r1.1100 -r1.1101 |
20 |
--- ChangeLog 29 Dec 2013 18:19:48 -0000 1.1100 |
21 |
+++ ChangeLog 29 Dec 2013 21:37:09 -0000 1.1101 |
22 |
@@ -1,6 +1,9 @@ |
23 |
# ChangeLog for eclass directory |
24 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
25 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1100 2013/12/29 18:19:48 mgorny Exp $ |
26 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1101 2013/12/29 21:37:09 dilfridge Exp $ |
27 |
+ |
28 |
+ 29 Dec 2013; Andreas K. Huettel <dilfridge@g.o> perl-module.eclass: |
29 |
+ Use subslot dependencies on dev-lang/perl if possible, bug 479298 |
30 |
|
31 |
29 Dec 2013; Michał Górny <mgorny@g.o> python-r1.eclass: |
32 |
Update doc link to point to the docs on Wiki. |
33 |
|
34 |
|
35 |
|
36 |
1.138 eclass/perl-module.eclass |
37 |
|
38 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/perl-module.eclass?rev=1.138&view=markup |
39 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/perl-module.eclass?rev=1.138&content-type=text/plain |
40 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/perl-module.eclass?r1=1.137&r2=1.138 |
41 |
|
42 |
Index: perl-module.eclass |
43 |
=================================================================== |
44 |
RCS file: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v |
45 |
retrieving revision 1.137 |
46 |
retrieving revision 1.138 |
47 |
diff -u -r1.137 -r1.138 |
48 |
--- perl-module.eclass 31 Jul 2013 05:15:43 -0000 1.137 |
49 |
+++ perl-module.eclass 29 Dec 2013 21:37:09 -0000 1.138 |
50 |
@@ -1,6 +1,6 @@ |
51 |
# Copyright 1999-2013 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.137 2013/07/31 05:15:43 mattst88 Exp $ |
54 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.138 2013/12/29 21:37:09 dilfridge Exp $ |
55 |
|
56 |
# @ECLASS: perl-module.eclass |
57 |
# @MAINTAINER: |
58 |
@@ -27,10 +27,24 @@ |
59 |
PERL_EXPF+=" pkg_postinst pkg_postrm" |
60 |
|
61 |
case "${GENTOO_DEPEND_ON_PERL:-yes}" in |
62 |
- yes) |
63 |
+ yes) |
64 |
+ case "${EAPI:-0}" in |
65 |
+ 5) |
66 |
+ case "${GENTOO_DEPEND_ON_PERL_SUBSLOT:-yes}" in |
67 |
+ yes) |
68 |
+ DEPEND="dev-lang/perl:=[-build(-)]" |
69 |
+ ;; |
70 |
+ *) |
71 |
+ DEPEND="dev-lang/perl[-build(-)]" |
72 |
+ ;; |
73 |
+ esac |
74 |
+ ;; |
75 |
+ *) |
76 |
DEPEND="|| ( >=dev-lang/perl-5.16 <dev-lang/perl-5.16[-build] )" |
77 |
- RDEPEND="${DEPEND}" |
78 |
;; |
79 |
+ esac |
80 |
+ RDEPEND="${DEPEND}" |
81 |
+ ;; |
82 |
esac |
83 |
;; |
84 |
*) |