1 |
commit: 8958a49a531c23b1063e2a2287a0cf9c5dffb97d |
2 |
Author: Thomas Sachau <tommy <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 2 20:13:18 2014 +0000 |
4 |
Commit: Thomas Sachau <tommy <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 2 20:13:18 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/multilib-portage.git;a=commit;h=8958a49a |
7 |
|
8 |
Sync portage |
9 |
|
10 |
--- |
11 |
sys-apps/portage/Manifest | 2 +- |
12 |
...ge-2.2.6-r1.ebuild => portage-2.2.10-r1.ebuild} | 45 +++++++++++++--------- |
13 |
2 files changed, 27 insertions(+), 20 deletions(-) |
14 |
|
15 |
diff --git a/sys-apps/portage/Manifest b/sys-apps/portage/Manifest |
16 |
index d3c679c..ca1ac98 100644 |
17 |
--- a/sys-apps/portage/Manifest |
18 |
+++ b/sys-apps/portage/Manifest |
19 |
@@ -1,2 +1,2 @@ |
20 |
-EBUILD portage-2.2.6-r1.ebuild 19203 SHA256 4b55bde3431be8fc113897279020dc60e294f1050af67d7f4703cfc6a074bd26 SHA512 8b8fd51b4c9473b23eea27050274d7453a68b285dd9eae066cdbbf11572d85fd4185bc11ef31f1d6fa7e616fb2a56d870b21d210b750cba1308474c279453c85 WHIRLPOOL cb33b890bf919fd80b66f2484296b5bf0569e3e8fce365252ac5287467050f03f0da96e1fe62801560788aa5cbff6fc7425c736a87db441b6ad746a9a5a3f955 |
21 |
+EBUILD portage-2.2.10-r1.ebuild 19359 SHA256 a1360fe9e6259719baebbac0a8cac92da30741c65dc0e9a36f5ad9f6e2a9bb81 SHA512 e705109a9d87652d8e321565c36fb95823f7f78f662c49315d5d43d650e27346b233fb6aa3a7d2ef9f0035d17fbdc8e6136ea6a9fa344d65a23b1e5e9fda89a8 WHIRLPOOL a11aa143962f827a07d5232dda38bc3a476e108912489e274629334766a01724bba8978d29b6659175aa17485bb37b3a2fe0ffc6f89e0f146a964cee4d8a334f |
22 |
MISC metadata.xml 365 SHA256 475a792c24a7db2ae5fab7fb108bf39af08c272d03d87ef942883b297de95d6a SHA512 45a78cd446f546ca81c6d6623e0f7215e13ed81d58d6dfcf7a2614b2ad8250a7af4c9ed8b3d1c301a103f3f17b2f5d8eb16caa82267b7565798fb00383957fb6 WHIRLPOOL 1f744a508a6d6d9225087850a85e47b8effadeff6eb0600daca677f761f22c8ddcc08a972bf4b4c2d6545518710365b560f54dd43d283f19eebdb3b2a0972630 |
23 |
|
24 |
diff --git a/sys-apps/portage/portage-2.2.6-r1.ebuild b/sys-apps/portage/portage-2.2.10-r1.ebuild |
25 |
similarity index 93% |
26 |
rename from sys-apps/portage/portage-2.2.6-r1.ebuild |
27 |
rename to sys-apps/portage/portage-2.2.10-r1.ebuild |
28 |
index f76f707..81e157e 100644 |
29 |
--- a/sys-apps/portage/portage-2.2.6-r1.ebuild |
30 |
+++ b/sys-apps/portage/portage-2.2.10-r1.ebuild |
31 |
@@ -1,12 +1,12 @@ |
32 |
# Copyright 1999-2013 Gentoo Foundation |
33 |
# Distributed under the terms of the GNU General Public License v2 |
34 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.2.5.ebuild,v 1.1 2013/09/15 11:18:49 zmedico Exp $ |
35 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.2.10.ebuild,v 1.2 2014/04/06 17:00:03 mgorny Exp $ |
36 |
|
37 |
# Require EAPI 2 since we now require at least python-2.6 (for python 3 |
38 |
# syntax support) which also requires EAPI 2. |
39 |
EAPI=2 |
40 |
PYTHON_COMPAT=( |
41 |
- pypy2_0 |
42 |
+ pypy pypy2_0 |
43 |
python3_2 python3_3 python3_4 |
44 |
python2_6 python2_7 |
45 |
) |
46 |
@@ -14,13 +14,13 @@ inherit eutils git-2 multilib |
47 |
|
48 |
EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/portage.git" |
49 |
EGIT_BRANCH="multilib" |
50 |
-EGIT_COMMIT="5e951e83a79c1e7e6ae64d60f768b4b46e4c6f9e" |
51 |
+EGIT_COMMIT="aa18688b2ff79a1d2c6b2036a3beb79781363051" |
52 |
DESCRIPTION="Portage is the package management and distribution system for Gentoo" |
53 |
HOMEPAGE="http://www.gentoo.org/proj/en/portage/index.xml" |
54 |
LICENSE="GPL-2" |
55 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
56 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
57 |
SLOT="0" |
58 |
-IUSE="build doc epydoc +ipc linguas_ru pypy2_0 python2 python3 selinux xattr" |
59 |
+IUSE="build doc epydoc +ipc linguas_ru pypy python2 python3 selinux xattr" |
60 |
|
61 |
for _pyimpl in ${PYTHON_COMPAT[@]} ; do |
62 |
IUSE+=" python_targets_${_pyimpl}" |
63 |
@@ -30,16 +30,17 @@ unset _pyimpl |
64 |
# Import of the io module in python-2.6 raises ImportError for the |
65 |
# thread module if threading is disabled. |
66 |
python_dep_ssl="python3? ( =dev-lang/python-3*[ssl] ) |
67 |
- !pypy2_0? ( !python2? ( !python3? ( |
68 |
+ !pypy? ( !python2? ( !python3? ( |
69 |
|| ( >=dev-lang/python-2.7[ssl] dev-lang/python:2.6[threads,ssl] ) |
70 |
) ) ) |
71 |
- pypy2_0? ( !python2? ( !python3? ( virtual/pypy:2.0[bzip2] ) ) ) |
72 |
+ pypy? ( !python2? ( !python3? ( virtual/pypy:0[bzip2] ) ) ) |
73 |
python2? ( !python3? ( || ( dev-lang/python:2.7[ssl] dev-lang/python:2.6[ssl,threads] ) ) )" |
74 |
python_dep="${python_dep_ssl//\[ssl\]}" |
75 |
python_dep="${python_dep//,ssl}" |
76 |
python_dep="${python_dep//ssl,}" |
77 |
|
78 |
python_dep="${python_dep} |
79 |
+ python_targets_pypy? ( virtual/pypy:0 ) |
80 |
python_targets_pypy2_0? ( virtual/pypy:2.0 ) |
81 |
python_targets_python2_6? ( dev-lang/python:2.6 ) |
82 |
python_targets_python2_7? ( dev-lang/python:2.7 ) |
83 |
@@ -73,8 +74,11 @@ RDEPEND="${python_dep} |
84 |
elibc_glibc? ( >=sys-apps/sandbox-2.2 ) |
85 |
elibc_uclibc? ( >=sys-apps/sandbox-2.2 ) |
86 |
>=app-misc/pax-utils-0.1.17 |
87 |
- xattr? ( kernel_linux? ( || ( >=dev-lang/python-3.3_pre20110902 dev-python/pyxattr ) ) ) |
88 |
selinux? ( || ( >=sys-libs/libselinux-2.0.94[python] <sys-libs/libselinux-2.0.94 ) ) |
89 |
+ xattr? ( kernel_linux? ( |
90 |
+ $(for python_impl in python{2_6,2_7,3_2} pypy pypy2_0; do |
91 |
+ echo "python_targets_${python_impl}? ( dev-python/pyxattr[python_targets_${python_impl}] )" |
92 |
+ done) ) ) |
93 |
!<app-shells/bash-3.2_p17 |
94 |
!<app-admin/logrotate-3.8.0 |
95 |
>=sys-apps/abi-wrapper-1.0-r6" |
96 |
@@ -109,6 +113,9 @@ get_python_interpreter() { |
97 |
python*) |
98 |
python=${impl/_/.} |
99 |
;; |
100 |
+ pypy) |
101 |
+ python=${impl} |
102 |
+ ;; |
103 |
pypy*) |
104 |
python=${impl/_/.} |
105 |
python=${python/pypy/pypy-c} |
106 |
@@ -153,15 +160,15 @@ pkg_setup() { |
107 |
ewarn "Both python2 and python3 USE flags are enabled, but only one" |
108 |
ewarn "can be in the shebangs. Using python3." |
109 |
fi |
110 |
- if use pypy2_0 && use python3 ; then |
111 |
- ewarn "Both pypy2_0 and python3 USE flags are enabled, but only one" |
112 |
+ if use pypy && use python3 ; then |
113 |
+ ewarn "Both pypy and python3 USE flags are enabled, but only one" |
114 |
ewarn "can be in the shebangs. Using python3." |
115 |
fi |
116 |
- if use pypy2_0 && use python2 ; then |
117 |
- ewarn "Both pypy2_0 and python2 USE flags are enabled, but only one" |
118 |
+ if use pypy && use python2 ; then |
119 |
+ ewarn "Both pypy and python2 USE flags are enabled, but only one" |
120 |
ewarn "can be in the shebangs. Using python2" |
121 |
fi |
122 |
- if ! use pypy2_0 && ! use python2 && ! use python3 && \ |
123 |
+ if ! use pypy && ! use python2 && ! use python3 && \ |
124 |
! compatible_python_is_selected ; then |
125 |
ewarn "Attempting to select a compatible default python interpreter" |
126 |
local x success=0 |
127 |
@@ -190,8 +197,8 @@ pkg_setup() { |
128 |
EPYTHON=python3 |
129 |
elif use python2; then |
130 |
EPYTHON=python2 |
131 |
- elif use pypy2_0; then |
132 |
- EPYTHON=pypy-c2.0 |
133 |
+ elif use pypy; then |
134 |
+ EPYTHON=pypy |
135 |
fi |
136 |
} |
137 |
|
138 |
@@ -205,7 +212,7 @@ src_prepare() { |
139 |
epatch "${WORKDIR}/${PN}-${PATCHVER}.patch" |
140 |
fi |
141 |
einfo "Setting portage.VERSION to ${PVR} ..." |
142 |
- sed -e "s/^VERSION=.*/VERSION=\"${PVR}\"/" -i pym/portage/__init__.py || \ |
143 |
+ sed -e "s/^VERSION = .*/VERSION = \"${PVR}\"/" -i pym/portage/__init__.py || \ |
144 |
die "Failed to patch portage.VERSION" |
145 |
sed -e "1s/VERSION/${PVR}/" -i doc/fragment/version || \ |
146 |
die "Failed to patch VERSION in doc/fragment/version" |
147 |
@@ -230,8 +237,8 @@ src_prepare() { |
148 |
set_shebang=python3 |
149 |
elif use python2; then |
150 |
set_shebang=python2 |
151 |
- elif use pypy2_0; then |
152 |
- set_shebang=pypy-c2.0 |
153 |
+ elif use pypy; then |
154 |
+ set_shebang=pypy |
155 |
fi |
156 |
if [[ -n ${set_shebang} ]] ; then |
157 |
einfo "Converting shebangs for ${set_shebang}..." |
158 |
@@ -273,7 +280,7 @@ src_prepare() { |
159 |
sed -e "s|^\(main-repo = \).*|\\1gentoo_prefix|" \ |
160 |
-e "s|^\\[gentoo\\]|[gentoo_prefix]|" \ |
161 |
-e "s|^\(location = \)\(/usr/portage\)|\\1${EPREFIX}\\2|" \ |
162 |
- -e "s|^\(sync-uri = \).*|\\1rsync://rsync.prefix.freens.org/gentoo-portage-prefix|" \ |
163 |
+ -e "s|^\(sync-uri = \).*|\\1rsync://prefix.gentooexperimental.org/gentoo-portage-prefix|" \ |
164 |
-i cnf/repos.conf || die "sed failed" |
165 |
|
166 |
einfo "Adding FEATURES=force-prefix to make.globals ..." |