Gentoo Archives: gentoo-commits

From: Thomas Sachau <tommy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/multilib-portage:master commit in: sys-apps/portage/
Date: Wed, 23 May 2018 13:17:46
Message-Id: 1527078792.1e59cd89e664555492d525db8920d08c0a3378c9.tommy@gentoo
1 commit: 1e59cd89e664555492d525db8920d08c0a3378c9
2 Author: Thomas Sachau <tommy <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 23 12:33:12 2018 +0000
4 Commit: Thomas Sachau <tommy <AT> gentoo <DOT> org>
5 CommitDate: Wed May 23 12:33:12 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/multilib-portage.git/commit/?id=1e59cd89
7
8 sys-apps/portage: Version bump, drop old
9
10 Package-Manager: Portage-2.3.28, Repoman-2.3.9
11 Manifest-Sign-Key: 0xC05330B3211CA2D4
12
13 sys-apps/portage/Manifest | 16 +-
14 sys-apps/portage/portage-2.3.28.ebuild | 2 +-
15 ...portage-2.3.24.ebuild => portage-2.3.38.ebuild} | 10 +-
16 sys-apps/portage/portage-2.3.6-r1.ebuild | 275 ---------------------
17 4 files changed, 19 insertions(+), 284 deletions(-)
18
19 diff --git a/sys-apps/portage/Manifest b/sys-apps/portage/Manifest
20 index f387c6834..a6d67341b 100644
21 --- a/sys-apps/portage/Manifest
22 +++ b/sys-apps/portage/Manifest
23 @@ -1,6 +1,16 @@
24 +-----BEGIN PGP SIGNED MESSAGE-----
25 +Hash: SHA256
26 +
27 AUX README.RESCUE 137 BLAKE2B af986752f516bf1925852271f2cea558fe02990c1180ac696c9234c25d1266e4f6eba6ac72f907757c5f98394e1248b436286f8ba1c48456b752ee4ceb8405da SHA512 dba0f0d6d4cd140e636cc70dfb7bdb298e2f2fb040bc07b0874cac994bdbabd26bfd9361d85a0f8b9a92a185281e4901606b9e4f563afdc8867341bbe6af1cb0
28 AUX portage-ccache.conf 60 BLAKE2B b45ac69ba4bf6b221191ab9618aa484948ad8765ae906402e83df4b72fd10e006621523fe5b6d59219318a978e368649047784bb85771cd189b2542a2e19f941 SHA512 36427e57046118ecf982fc3b1a80a3543b5682e3eef7df5dfc8a50b261a5da56f997dd75f63c5194049aceea204c37aee638a3bc383b9f7a0eff8ac9c35f3b1c
29 -EBUILD portage-2.3.24.ebuild 9445 BLAKE2B a81f62ec06cd28837b8ec92bbbb2009eb01cc524b291d75ed144d279eef308cfc1abdd84c25e9cf01fb271f8212ce68693114a0d67e395b52b6cb3ac5d4ce490 SHA512 8d483d6eeff3cd77b3f0e64e32883321522e3ab09de0c1afbe9ef66df39b93d4ebc74738da30f6083b8b389db89661c3b0257561d84f4240ed73c45097b63836
30 -EBUILD portage-2.3.28.ebuild 9484 BLAKE2B 705df8b4545d81239364258a33ce5b79afe7274ebd4fe06dd6e2354015e18626c2b5cc152c096a8ddb5a4ea56c889f49298ee659f1e1076bd454b2f9dae5921e SHA512 9ca0e65ea17e13c96aef27bcdb5bcb0953935d9f328cc79416329b486555ce2a66b40fff6a728bc95cb10cfa5e0352a27318efd52501b24733966d2e2e1c9daf
31 -EBUILD portage-2.3.6-r1.ebuild 8865 BLAKE2B 1b23e2d79aa89d8b30faf5eee38d95e75df43086b61a64606675d920cc477200151e7bb3d3a920b70457761f391072f3e746283c005adc1ed6eaccef997f3afa SHA512 50991bc94f2934454f5254dce47460a57d4e933a78e26cb2db9374856efff135c7d0564a52297f0416d922a22bb011ef6cc0623d17fa8b1ad9a880395c8e2f6c
32 +EBUILD portage-2.3.28.ebuild 9472 BLAKE2B 1aff941173e46a1773970efc55a475241b9a4e7f48a265cd1b6e5227909d317b4ef02b7ff4284e3170923ce896ec3b0cfc42fa5e282b0a776d3527dc28069e64 SHA512 e227ac35eb4c57f6c7ad5c79f1d7b0cd7c39348c27dedecc9e81d28ad8e84ef774c1124b4ecac3b838540346dbfc34715ac2d9b3556702f537d0919549493dc5
33 +EBUILD portage-2.3.38.ebuild 9488 BLAKE2B 1d92f0d50c4c918ccbfee33ef76d532509a3e392b9fb41d48217167b03eec3e961dd94affa10886a1d6bf4862dc96c135ca62dd726f4018b530f48e0a38dc794 SHA512 fb977e96f2033df5e39aa17168aec68a4679b3840e06f8794dc17696389b7fc3588625885f9b286b961627f9b92ca3f32cd23a5fca41e6903f6a84d715e9636e
34 MISC metadata.xml 1415 BLAKE2B 0bad16a272e536342079102034e68130eb96a93e46fb811d1c89d00a4b4bf911f8cf42a93bb4d8fae8086c9e47601a709bd4fa5fb41c3e754c1f08c2f7acbe33 SHA512 a4556fbc0ae69691bff793e73b504e9898a5ec187df28d23a37a3290a94c78d4eaa3a3ac70a997c6456be9b72281916965fdea6a057df58aa15090f630d2ce59
35 +-----BEGIN PGP SIGNATURE-----
36 +
37 +iLMEAQEIAB0WIQQUEEce6kYbCwkDe/sbuSpxNYmQZwUCWwVfgAAKCRAbuSpxNYmQ
38 +ZwR6A/4ztf1hEl4Biu//4460EHCF7676AhDjDZUCaD0yFa2EQTDdcp3fG1Y4n70x
39 +nHCQqF6BDVsnlqzyLuHOgx/SjCSmXc/WoPK0RQC4gELt/zT3KaFsUWncx1OiXuLc
40 +roCj7g7WadZX2Pe+dwiAb2YwUGgql7Fw+iebsQMmlcYPMD0gwg==
41 +=gyTY
42 +-----END PGP SIGNATURE-----
43
44 diff --git a/sys-apps/portage/portage-2.3.28.ebuild b/sys-apps/portage/portage-2.3.28.ebuild
45 index f6238e782..69cb0e980 100644
46 --- a/sys-apps/portage/portage-2.3.28.ebuild
47 +++ b/sys-apps/portage/portage-2.3.28.ebuild
48 @@ -19,7 +19,7 @@ DESCRIPTION="Portage is the package management and distribution system for Gento
49 HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage"
50
51 LICENSE="GPL-2"
52 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd"
53 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
54 SLOT="0"
55 IUSE="build doc epydoc gentoo-dev +ipc +native-extensions +rsync-verify selinux xattr"
56
57
58 diff --git a/sys-apps/portage/portage-2.3.24.ebuild b/sys-apps/portage/portage-2.3.38.ebuild
59 similarity index 97%
60 rename from sys-apps/portage/portage-2.3.24.ebuild
61 rename to sys-apps/portage/portage-2.3.38.ebuild
62 index 7c532f6bd..172a4f3b9 100644
63 --- a/sys-apps/portage/portage-2.3.24.ebuild
64 +++ b/sys-apps/portage/portage-2.3.38.ebuild
65 @@ -14,12 +14,12 @@ inherit distutils-r1 git-2 multilib systemd
66
67 EGIT_REPO_URI="git://anongit.gentoo.org/proj/portage.git"
68 EGIT_BRANCH="multilib"
69 -EGIT_COMMIT="3228956aed7ba7caaaad7a07e48ed6013f73e523"
70 +EGIT_COMMIT="b74e878839a2b1e8d6148776d5a44019d8fffbc1"
71 DESCRIPTION="Portage is the package management and distribution system for Gentoo"
72 HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage"
73
74 LICENSE="GPL-2"
75 -KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
76 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
77 SLOT="0"
78 IUSE="build doc epydoc gentoo-dev +ipc +native-extensions +rsync-verify selinux xattr"
79
80 @@ -49,9 +49,9 @@ RDEPEND="
81 $(python_gen_cond_dep 'dev-python/pyblake2[${PYTHON_USEDEP}]' \
82 python{2_7,3_4,3_5} pypy)
83 rsync-verify? (
84 - >=app-portage/gemato-10
85 - app-crypt/gentoo-keys
86 - app-crypt/gnupg[ssl(-)]
87 + >=app-portage/gemato-12.1
88 + app-crypt/openpgp-keys-gentoo-release
89 + >=app-crypt/gnupg-2.2.4-r2[ssl(-)]
90 )
91 )
92 elibc_FreeBSD? ( sys-freebsd/freebsd-bin )
93
94 diff --git a/sys-apps/portage/portage-2.3.6-r1.ebuild b/sys-apps/portage/portage-2.3.6-r1.ebuild
95 deleted file mode 100644
96 index 97dcf36b0..000000000
97 --- a/sys-apps/portage/portage-2.3.6-r1.ebuild
98 +++ /dev/null
99 @@ -1,275 +0,0 @@
100 -# Copyright 1999-2018 Gentoo Foundation
101 -# Distributed under the terms of the GNU General Public License v2
102 -
103 -EAPI=5
104 -
105 -PYTHON_COMPAT=(
106 - pypy
107 - python3_4 python3_5 python3_6
108 - python2_7
109 -)
110 -PYTHON_REQ_USE='bzip2(+),threads(+)'
111 -
112 -inherit distutils-r1 git-2 multilib
113 -
114 -EGIT_REPO_URI="git://anongit.gentoo.org/proj/portage.git"
115 -EGIT_BRANCH="multilib"
116 -EGIT_COMMIT="c7938eca955a49b2fc7c7ce714bf0ab6d1a53c7b"
117 -DESCRIPTION="Portage is the package management and distribution system for Gentoo"
118 -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage"
119 -
120 -LICENSE="GPL-2"
121 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
122 -SLOT="0"
123 -IUSE="build doc epydoc +ipc linguas_ru +native-extensions selinux xattr"
124 -
125 -DEPEND="!build? ( $(python_gen_impl_dep 'ssl(+)') )
126 - >=app-arch/tar-1.27
127 - dev-lang/python-exec:2
128 - >=sys-apps/sed-4.0.5 sys-devel/patch
129 - doc? ( app-text/xmlto ~app-text/docbook-xml-dtd-4.4 )
130 - epydoc? ( >=dev-python/epydoc-2.0[$(python_gen_usedep 'python2*')] )
131 - >=sys-apps/abi-wrapper-1.0-r6"
132 -# Require sandbox-2.2 for bug #288863.
133 -# For xattr, we can spawn getfattr and setfattr from sys-apps/attr, but that's
134 -# quite slow, so it's not considered in the dependencies as an alternative to
135 -# to python-3.3 / pyxattr. Also, xattr support is only tested with Linux, so
136 -# for now, don't pull in xattr deps for other kernels.
137 -# For whirlpool hash, require python[ssl] (bug #425046).
138 -# For compgen, require bash[readline] (bug #445576).
139 -RDEPEND="
140 - >=app-arch/tar-1.27
141 - dev-lang/python-exec:2
142 - !build? (
143 - >=sys-apps/sed-4.0.5
144 - app-shells/bash:0[readline]
145 - >=app-admin/eselect-1.2
146 - )
147 - elibc_FreeBSD? ( sys-freebsd/freebsd-bin )
148 - elibc_glibc? ( >=sys-apps/sandbox-2.2 )
149 - elibc_musl? ( >=sys-apps/sandbox-2.2 )
150 - elibc_uclibc? ( >=sys-apps/sandbox-2.2 )
151 - >=app-misc/pax-utils-0.1.17
152 - selinux? ( >=sys-libs/libselinux-2.0.94[python,${PYTHON_USEDEP}] )
153 - xattr? ( kernel_linux? (
154 - >=sys-apps/install-xattr-0.3
155 - $(python_gen_cond_dep 'dev-python/pyxattr[${PYTHON_USEDEP}]' \
156 - python2_7 pypy)
157 - ) )
158 - !<app-admin/logrotate-3.8.0
159 - >=sys-apps/abi-wrapper-1.0-r6"
160 -PDEPEND="
161 - !build? (
162 - >=net-misc/rsync-2.6.4
163 - userland_GNU? ( >=sys-apps/coreutils-6.4 )
164 - )"
165 -# coreutils-6.4 rdep is for date format in emerge-webrsync #164532
166 -# NOTE: FEATURES=installsources requires debugedit and rsync
167 -
168 -REQUIRED_USE="epydoc? ( $(python_gen_useflags 'python2*') )"
169 -
170 -pkg_setup() {
171 - use epydoc && DISTUTILS_ALL_SUBPHASE_IMPLS=( python2.7 )
172 -}
173 -
174 -python_prepare_all() {
175 - distutils-r1_python_prepare_all
176 -
177 - if use native-extensions; then
178 - printf "[build_ext]\nportage-ext-modules=true\n" >> \
179 - setup.cfg || die
180 - fi
181 -
182 - if ! use ipc ; then
183 - einfo "Disabling ipc..."
184 - sed -e "s:_enable_ipc_daemon = True:_enable_ipc_daemon = False:" \
185 - -i pym/_emerge/AbstractEbuildProcess.py || \
186 - die "failed to patch AbstractEbuildProcess.py"
187 - fi
188 -
189 - if use xattr && use kernel_linux ; then
190 - einfo "Adding FEATURES=xattr to make.globals ..."
191 - echo -e '\nFEATURES="${FEATURES} xattr"' >> cnf/make.globals \
192 - || die "failed to append to make.globals"
193 - fi
194 -
195 - if [[ -n ${EPREFIX} ]] ; then
196 - einfo "Setting portage.const.EPREFIX ..."
197 - sed -e "s|^\(SANDBOX_BINARY[[:space:]]*=[[:space:]]*\"\)\(/usr/bin/sandbox\"\)|\\1${EPREFIX}\\2|" \
198 - -e "s|^\(FAKEROOT_BINARY[[:space:]]*=[[:space:]]*\"\)\(/usr/bin/fakeroot\"\)|\\1${EPREFIX}\\2|" \
199 - -e "s|^\(BASH_BINARY[[:space:]]*=[[:space:]]*\"\)\(/bin/bash\"\)|\\1${EPREFIX}\\2|" \
200 - -e "s|^\(MOVE_BINARY[[:space:]]*=[[:space:]]*\"\)\(/bin/mv\"\)|\\1${EPREFIX}\\2|" \
201 - -e "s|^\(PRELINK_BINARY[[:space:]]*=[[:space:]]*\"\)\(/usr/sbin/prelink\"\)|\\1${EPREFIX}\\2|" \
202 - -e "s|^\(EPREFIX[[:space:]]*=[[:space:]]*\"\).*|\\1${EPREFIX}\"|" \
203 - -i pym/portage/const.py || \
204 - die "Failed to patch portage.const.EPREFIX"
205 -
206 - einfo "Prefixing shebangs ..."
207 - while read -r -d $'\0' ; do
208 - local shebang=$(head -n1 "$REPLY")
209 - if [[ ${shebang} == "#!"* && ! ${shebang} == "#!${EPREFIX}/"* ]] ; then
210 - sed -i -e "1s:.*:#!${EPREFIX}${shebang:2}:" "$REPLY" || \
211 - die "sed failed"
212 - fi
213 - done < <(find . -type f -print0)
214 -
215 - einfo "Adjusting make.globals ..."
216 - sed -e "s|\(/usr/portage\)|${EPREFIX}\\1|" \
217 - -e "s|^\(PORTAGE_TMPDIR=\"\)\(/var/tmp\"\)|\\1${EPREFIX}\\2|" \
218 - -i cnf/make.globals || die "sed failed"
219 -
220 - einfo "Adjusting repos.conf ..."
221 - sed -e "s|^\(main-repo = \).*|\\1gentoo_prefix|" \
222 - -e "s|^\\[gentoo\\]|[gentoo_prefix]|" \
223 - -e "s|^\(location = \)\(/usr/portage\)|\\1${EPREFIX}\\2|" \
224 - -e "s|^\(sync-uri = \).*|\\1rsync://rsync.prefix.bitzolder.nl/gentoo-portage-prefix|" \
225 - -i cnf/repos.conf || die "sed failed"
226 -
227 - einfo "Adding FEATURES=force-prefix to make.globals ..."
228 - echo -e '\nFEATURES="${FEATURES} force-prefix"' >> cnf/make.globals \
229 - || die "failed to append to make.globals"
230 - fi
231 -
232 - cd "${S}/cnf" || die
233 - if [ -f "make.conf.example.${ARCH}".diff ]; then
234 - patch make.conf.example "make.conf.example.${ARCH}".diff || \
235 - die "Failed to patch make.conf.example"
236 - else
237 - eerror ""
238 - eerror "Portage does not have an arch-specific configuration for this arch."
239 - eerror "Please notify the arch maintainer about this issue. Using generic."
240 - eerror ""
241 - fi
242 -}
243 -
244 -python_compile_all() {
245 - local targets=()
246 - use doc && targets+=( docbook )
247 - use epydoc && targets+=( epydoc )
248 -
249 - if [[ ${targets[@]} ]]; then
250 - esetup.py "${targets[@]}"
251 - fi
252 -}
253 -
254 -python_test() {
255 - esetup.py test
256 -}
257 -
258 -python_install() {
259 - # Install sbin scripts to bindir for python-exec linking
260 - # they will be relocated in pkg_preinst()
261 - distutils-r1_python_install \
262 - --system-prefix="${EPREFIX}/usr" \
263 - --bindir="$(python_get_scriptdir)" \
264 - --docdir="${EPREFIX}/usr/share/doc/${PF}" \
265 - --htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \
266 - --portage-bindir="${EPREFIX}/usr/lib/portage/${EPYTHON}" \
267 - --sbindir="$(python_get_scriptdir)" \
268 - --sysconfdir="${EPREFIX}/etc" \
269 - "${@}"
270 -}
271 -
272 -python_install_all() {
273 - distutils-r1_python_install_all
274 -
275 - local targets=()
276 - use doc && targets+=( install_docbook )
277 - use epydoc && targets+=( install_epydoc )
278 -
279 - # install docs
280 - if [[ ${targets[@]} ]]; then
281 - esetup.py "${targets[@]}"
282 - fi
283 -
284 - # Due to distutils/python-exec limitations
285 - # these must be installed to /usr/bin.
286 - local sbin_relocations='archive-conf dispatch-conf emaint env-update etc-update fixpackages regenworld'
287 - einfo "Moving admin scripts to the correct directory"
288 - dodir /usr/sbin
289 - for target in ${sbin_relocations}; do
290 - einfo "Moving /usr/bin/${target} to /usr/sbin/${target}"
291 - mv "${ED}usr/bin/${target}" "${ED}usr/sbin/${target}" || die "sbin scripts move failed!"
292 - done
293 -}
294 -
295 -pkg_preinst() {
296 - # comment out sanity test until it is fixed to work
297 - # with the new PORTAGE_PYM_PATH
298 - #if [[ $ROOT == / ]] ; then
299 - ## Run some minimal tests as a sanity check.
300 - #local test_runner=$(find "${ED}" -name runTests)
301 - #if [[ -n $test_runner && -x $test_runner ]] ; then
302 - #einfo "Running preinst sanity tests..."
303 - #"$test_runner" || die "preinst sanity tests failed"
304 - #fi
305 - #fi
306 -
307 - # elog dir must exist to avoid logrotate error for bug #415911.
308 - # This code runs in preinst in order to bypass the mapping of
309 - # portage:portage to root:root which happens after src_install.
310 - keepdir /var/log/portage/elog
311 - # This is allowed to fail if the user/group are invalid for prefix users.
312 - if chown portage:portage "${ED}"var/log/portage{,/elog} 2>/dev/null ; then
313 - chmod g+s,ug+rwx "${ED}"var/log/portage{,/elog}
314 - fi
315 -
316 - if has_version ">=${CATEGORY}/${PN}-2.3.1" && \
317 - has_version "<${CATEGORY}/${PN}-2.3.3"; then
318 - SYNC_DEPTH_UPGRADE=true
319 - else
320 - SYNC_DEPTH_UPGRADE=false
321 - fi
322 -}
323 -
324 -get_ownership() {
325 - case ${USERLAND} in
326 - BSD)
327 - stat -f '%Su:%Sg' "${1}"
328 - ;;
329 - *)
330 - stat -c '%U:%G' "${1}"
331 - ;;
332 - esac
333 -}
334 -
335 -new_config_protect() {
336 - # Generate a ._cfg file even if the target file
337 - # does not exist, ensuring that the user will
338 - # notice the config change.
339 - local basename=${1##*/}
340 - local dirname=${1%/*}
341 - local i=0
342 - while true ; do
343 - local filename=$(
344 - echo -n "${dirname}/._cfg"
345 - printf "%04d" ${i}
346 - echo -n "_${basename}"
347 - )
348 - [[ -e ${filename} ]] || break
349 - (( i++ ))
350 - done
351 - echo "${filename}"
352 -}
353 -
354 -pkg_postinst() {
355 - if ${SYNC_DEPTH_UPGRADE}; then
356 - ewarn "Please note that this release no longer respects sync-depth for"
357 - ewarn "git repositories. There have been too many problems and"
358 - ewarn "performance issues. See bugs 552814, 559008"
359 - fi
360 -
361 - einfo
362 - elog "For setup instructions after switching to portage-multilib"
363 - elog "read doc/portage-multilib-instructions inside the multilib overlay"
364 - einfo
365 - elog "The bin/ dir of the overlay has some scripts to switch from lib32"
366 - elog "to MULTILIB_ABI or to add the default MULTILIB_ABI flags"
367 -
368 - einfo ""
369 - einfo "This release of portage NO LONGER contains the repoman code base."
370 - einfo "Repoman has its own ebuild and release package."
371 - einfo "For repoman functionality please emerge app-portage/repoman"
372 - einfo "Please report any bugs you may encounter."
373 - einfo ""
374 -}