summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2014-09-26 20:32:10 +0000
committerBrian Dolbec <dolsen@gentoo.org>2014-09-26 20:32:10 +0000
commit1b88f4ad554cf4e7b04cdb133a0e9ef0bf7de69c (patch)
treeea75ac8907f168d6f5d225c707f492a6b1399d5c
parentMake app-admin/eselect-ctags an rdep (bug #519834 by Nick Bowler). (diff)
downloadhistorical-1b88f4ad554cf4e7b04cdb133a0e9ef0bf7de69c.tar.gz
historical-1b88f4ad554cf4e7b04cdb133a0e9ef0bf7de69c.tar.bz2
historical-1b88f4ad554cf4e7b04cdb133a0e9ef0bf7de69c.zip
Update bash dep, bug 523768, remove 1 more old version
Package-Manager: portage-2.2.14_rc1/cvs/Linux x86_64 RepoMan-Options: --force Manifest-Sign-Key: 0x65E309F2189DB0B8
-rw-r--r--sys-apps/portage/ChangeLog9
-rw-r--r--sys-apps/portage/Manifest11
-rw-r--r--sys-apps/portage/portage-2.1.12.2.ebuild426
-rw-r--r--sys-apps/portage/portage-2.2.14_rc1.ebuild5
-rw-r--r--sys-apps/portage/portage-2.2.8-r2.ebuild (renamed from sys-apps/portage/portage-2.2.8-r1.ebuild)5
-rw-r--r--sys-apps/portage/portage-9999.ebuild5
6 files changed, 18 insertions, 443 deletions
diff --git a/sys-apps/portage/ChangeLog b/sys-apps/portage/ChangeLog
index 22923687a205..dd309b8f2d01 100644
--- a/sys-apps/portage/ChangeLog
+++ b/sys-apps/portage/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-apps/portage
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/ChangeLog,v 1.1412 2014/09/26 18:58:45 dolsen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/ChangeLog,v 1.1413 2014/09/26 20:32:03 dolsen Exp $
+
+*portage-2.2.8-r2 (26 Sep 2014)
+
+ 26 Sep 2014; Brian Dolbec <dolsen@gentoo.org> -portage-2.1.12.2.ebuild,
+ -portage-2.2.8-r1.ebuild, +portage-2.2.8-r2.ebuild,
+ portage-2.2.14_rc1.ebuild, portage-9999.ebuild:
+ Update the bash dep bug # 523768, remove 1 more old version
*portage-2.2.14_rc1 (26 Sep 2014)
diff --git a/sys-apps/portage/Manifest b/sys-apps/portage/Manifest
index 0d6335ac9a6c..ccc88a5b80b0 100644
--- a/sys-apps/portage/Manifest
+++ b/sys-apps/portage/Manifest
@@ -1,14 +1,11 @@
AUX README.RESCUE 137 SHA256 69bea0c755eab59b6b4d90838b8551744f0b0c8eeac170b1cd13a71ee83f9ac4 SHA512 dba0f0d6d4cd140e636cc70dfb7bdb298e2f2fb040bc07b0874cac994bdbabd26bfd9361d85a0f8b9a92a185281e4901606b9e4f563afdc8867341bbe6af1cb0 WHIRLPOOL 713fcc790442999d56e13efaf536fec9954dadeda680b3642d0358311332096ddedf8b55697bd1ca620d84f0dc7d025ff7931e086c74c1f5032be72dca2ff8f5
-DIST portage-2.1.12.2.tar.bz2 868695 SHA256 700cf7118d60aa14a2d759887e50988a3e527e04fe980100f25cc69357ae2437 SHA512 53bfbcad9743b2613501191f4883d0b99d1e99ca6fdff550996121cb47c7b8333837d825f6174cb82f83cc16069ebe66a0aba0cc7b13f86a65a055d961e2c70b WHIRLPOOL 736dcc71a323d83c7fd75aa9f5c047b0fe234c66545a1744a2d69ca1b15af4d9bc60d9dfb2f9e76f1645e4d9c061f86bc56f4beac4e146b5cef970198b9010f6
DIST portage-2.2.12.tar.bz2 879865 SHA256 d745d3d20abc0347632bf3a66bd80e5a45db24f3ba047cfbbacea8812156062f SHA512 55426a2d34227a4e0998342a62cd76ae9e1499ae5a92b62a10c93f7957012170615ab9d204878a25e815ee5ef9e925fe800f0eb7c3c35307577ba0ed8b38461c WHIRLPOOL 7f6987fbda9f59643e8693d75b3ed10a9b57ce5fa82a80679cc663ef1c02dbbf9986542c0e3b6638a3f4a5fb6058a0e06738a46e0f44fc5f56daed509f5bf12b
DIST portage-2.2.14_rc1.tar.bz2 896187 SHA256 fb37bba1c45dbec949fb3ecf8cb531841e87f8b2e17a426d47962c91d51b0cb5 SHA512 bc6a131c8f4f69dd114f602140c303ef880ff698913282d9db6973c84b9a1d43136f89ab4598a6b090c169f326d32fcfb8a5e587eff1dd63b365ab4f821a732d WHIRLPOOL 447fdf8e5bdf2546d2574522c650120b4be5b0056261a1cc7fda96dec0d90bf68749d9528fd8e67ea8f4f4ae06453436770fc6fcd6c5dc2f4d259ecd1f32b235
DIST portage-2.2.8.tar.bz2 874672 SHA256 c1074e01173df5384e003598dbc5f64f09e92f83fd26faab2f88f9f0bc64aa7e SHA512 acc47d94ff8c08e5a7bf2d4c4e600863430dd1e7d0bb8b4254d6477a498933cae663db84debf9487d2243c2cba689629ef8e8b6cf108e10d40e89e8e8d7e1257 WHIRLPOOL d54290ede8d3d85e5211cda7e86ed740178121ef2f47cf0858c27941d8679d29c11445befff962986d40a47ded50d0d4654de19e7d4aef3fdf2546655a0d6fe2
-DIST portage-man-pl-2.1.2.tar.bz2 53893 SHA256 960eaa7c6f3a2af44bdc665266a8e884628a562373cc477d301597ecc5ef961f SHA512 5f5c8dd1559048546633b1e7291ff8c0f5d637595f1a4c98405424b08c30c089fc9359e0214f78fbe358754f20d327794f4692b9b67639585c29b755975ee853 WHIRLPOOL 756e267b84077501d976f46fa448cda5368cd52aeca6ec43d109c81fe8e2364e0cd0f35630d68a4186c70e3b440b7c870b86ac7ef83cc0afa43e10f9f8e1f422
-EBUILD portage-2.1.12.2.ebuild 14368 SHA256 96e0b3a645114e95baafabc9abfe1b7debf0e18337d794a1df7fc2bfb319dd89 SHA512 b4eb2563499a4258f9e2464b30c68af2582514bad3b9aa4f6b4e033b6df276d2ef737221a537115eb18fccf321bc6e6ce18fef941f33731b9282ac2a60ae3c22 WHIRLPOOL 273895dd314a8d0ea0afab51d4c849b47c1adcc2124b1c46a75d9c35e6ff89c2bf0ffcd7383c0b6b1b8ea667b43ddb6f1bb259a2b60175a1476d9412ea7756ad
EBUILD portage-2.2.12.ebuild 19009 SHA256 820aed7f219c712121eb56211a620e4a7ec2c1b64c813dad18a5ec6e3cefc14c SHA512 86136d2e27f2ad6b7820d29f92bed86559638355c5560618c78fe2dcc9e25b98bc4a7d78f20c0dc601fd7f33b9bbd12be4a8b9ebf5ac099166ae8c480b56d7eb WHIRLPOOL 8284303e34766d2338884dfc328882f959747ce1fefd6436461298b48284703fb857333f76b29936b71f03e8362859c6e218631073b247b68d75da93e4cbcb2a
-EBUILD portage-2.2.14_rc1.ebuild 7404 SHA256 cc5d388133b23b4ed99e5642bfe248047bfb9ae2053ed1c2d8ffafcb8a2f639d SHA512 9131e6b575578b983cf4304f233aac33fa2214fde646a728f1084fddefaa07e729d8dd00e4243ab293544c8e13417072cb106f1b6555b51f6c6d9680ad702502 WHIRLPOOL 4caef1f9496b1405e3a6e7fc8c374b815bcbdc6b50db5b88f86bcdb257a01df25587b7430396c461edd250ab2ba853549b2acb4301a028c128ee6f84c153ef92
-EBUILD portage-2.2.8-r1.ebuild 19344 SHA256 35ab2aa38ca4dd77373cebdfe04a47291601790dbef63be5bb2ec74866bf5f1e SHA512 4e6133e4792423bd426fba0fb951d08ba56866ac0942aa572892bbb6654853ab6ba10c22c209ebc4126af99aaf253aab7647342e984ac5cd41ed5e179e129add WHIRLPOOL 10cf3d7c4c5b4c3e19a0ab459d260779e7f82ce9fe81932b65da0f855450dbe83f0a9d87eb4bb1d735aab4d78a50d3df0c4e911bd19e054f5728cd2f2cc067a2
-EBUILD portage-9999.ebuild 7268 SHA256 c91c2acf49df1dea0bc6b60b32957fb37e507a68a92fb09e3f40bfeb1d4e29ff SHA512 5ca31acfd942b67017a054eae08a791d1968c6e27590b0762b265a7eee1f2fac1b9e22e96c10421d5f0d4bd213ae3061fe596f84ce310ef8b82396dd8fa8d7fa WHIRLPOOL 4aad4e70097fdebed68fbdc29d4b1c215b1d078789f1634d52715366f42a4bc53cd36083c57021ef830935dfab4b2c21e9d7d100a6a2fef3ec437f546f7a422f
-MISC ChangeLog 59584 SHA256 d579ce91acc0fe510d3e8d72981a3e675abddfaea33a6ff23577f4a50debedf8 SHA512 503c649452a7fb524f56a4c28ed41f010e7469093417e7ce69d2acff2a02d53f5521f1914860ef1d4ae6df48c176c8c4a766b282e30bd12081e396abd7ca88fc WHIRLPOOL 868246b3894b593ae00ac61f3dc4a0568b42d11a9a6a1f3b23d035c70db1598657d01a3a4753e30881db3421dcd62176767c4b56762d3b9c460b03f26841a37b
+EBUILD portage-2.2.14_rc1.ebuild 7307 SHA256 e1428ce92365b42ca69f210baea9b21f10c3d9cffd77b2869c5ce26a82b32595 SHA512 33e4e92886fb635191de862db470f7626e974eebd64213a06b7a2b5ac0b812fe361e366793de4518d3767218f703f6191fc0f0a5170d6527097089f188af905d WHIRLPOOL f234073362ccc24a986a2694745464a83ca47dede58f8159162357090bcf806aa30067d26c0df7fcd5572f51b119633b9cc33fe9269e0e80895ee3c4108e1be3
+EBUILD portage-2.2.8-r2.ebuild 19246 SHA256 e5117305e6132b0460e73b6f05de6f0c408a7ecb7d3303f3ea19c65d37e485cf SHA512 64bb817cb9467335117c96b69aa533b7e34edb0f0c3d50b87278f2c35c49d7074d3b702447cd18a646c66fc512a163b584bb1d5ec023a8077123ffde171785c7 WHIRLPOOL 99fcf94232e0de66fa33e0f0150a56b085cf67bf1a2c1434f8cc773561e5390cdbe33ca4a8d3d940c80f5209a94b9803d27503d4152420b8e1f3127a590a8666
+EBUILD portage-9999.ebuild 7171 SHA256 ef597137643ad6843c93767282b1a08c6a342ec3fe2297baf0363ccb47856b0f SHA512 3d417540b4f5f36452dbb52f1157425decfdc3ae7bdfedf35297655933e3ead0da21aeb02a519c66ebc7f819282aae111374325e212d75df52db9e88dc9f75d2 WHIRLPOOL d18b81709918b4cc6b1efdfa9281d455dbac20cb6874dcc6a71be76a4e3e946a956f57c5cd09c9fb96a8a7a5184d9b7580df9a3f5153efd72eba93a9f4b0c58b
+MISC ChangeLog 59858 SHA256 8ac2ffb7f528db6cd24783e9d0442a58b9606b614c5077ee1791dfe6b9b0f5a9 SHA512 03b33d4c1702ddd8c140ae8087fde6b6525848ce2feada4cfa6dea9f740c13c0a76258bf56ce0dd23d921264007ddd5794f99d434f19431f15fe2e94ff5ed251 WHIRLPOOL 29b104b4b5ae08313f3adca7d3014f84138df05e89158a593313acc0088431658b09ff1c566a33d17a0fd169056b745fd82c39f677c4473d89736ce66aa8ef71
MISC ChangeLog-2012 133873 SHA256 157a7eb13d4cf2e2c94bfcb7e91f218af1ea88f5ff20c24a50546950a9839c94 SHA512 1241f4ccd7b31bdd340649417257b0e95202992feb66e0cd4d41fc2d35bf0baeac19680f34a831d2fefce0c0fec03aa6e7a191f783e59cf9b93aaf266f010a3f WHIRLPOOL b027bdba0f5ccc1b3a2dc18df92d82b473af5e55536816b7177071c1ae1a89e4d50d42c2093fa1bbe28b92a42014fbefbfc9e7daa4e6426ebecbd5bffc3d479f
MISC metadata.xml 1170 SHA256 15c6872c40d2c334c6c7bb2d020f5486296e1727c02254257ed5bba0c58af955 SHA512 ca57a95360f6becef6c622d8a5c384d864bd6118776b43d88b7deb1b058dc46b47019813d7e2606b6d4665bd1bed113eae5445ddb948f939954172b5fe859d74 WHIRLPOOL 77e420267361675e733e8364d1fde83d7b2833d6e28823599078f1d771aeb592d0e9146019a45268696b05709e56880e7707e0240f843015e17a82930bac5cf2
diff --git a/sys-apps/portage/portage-2.1.12.2.ebuild b/sys-apps/portage/portage-2.1.12.2.ebuild
deleted file mode 100644
index 55b4b45cd499..000000000000
--- a/sys-apps/portage/portage-2.1.12.2.ebuild
+++ /dev/null
@@ -1,426 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.1.12.2.ebuild,v 1.17 2014/01/17 06:16:22 vapier Exp $
-
-# Require EAPI 2 since we now require at least python-2.6 (for python 3
-# syntax support) which also requires EAPI 2.
-EAPI=2
-PYTHON_COMPAT=(
- pypy2_0
- python3_2 python3_3 python3_4
- python2_6 python2_7
-)
-inherit eutils multilib
-
-DESCRIPTION="Portage is the package management and distribution system for Gentoo"
-HOMEPAGE="http://www.gentoo.org/proj/en/portage/index.xml"
-LICENSE="GPL-2"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
-SLOT="0"
-IUSE="build doc epydoc +ipc linguas_pl linguas_ru pypy2_0 python2 python3 selinux xattr"
-
-for _pyimpl in ${PYTHON_COMPAT[@]} ; do
- IUSE+=" python_targets_${_pyimpl}"
-done
-unset _pyimpl
-
-# Import of the io module in python-2.6 raises ImportError for the
-# thread module if threading is disabled.
-python_dep_ssl="python3? ( =dev-lang/python-3*[ssl] )
- !pypy2_0? ( !python2? ( !python3? (
- || ( >=dev-lang/python-2.7[ssl] dev-lang/python:2.6[threads,ssl] )
- ) ) )
- pypy2_0? ( !python2? ( !python3? ( virtual/pypy:2.0[bzip2] ) ) )
- python2? ( !python3? ( || ( dev-lang/python:2.7[ssl] dev-lang/python:2.6[ssl,threads] ) ) )"
-python_dep="${python_dep_ssl//\[ssl\]}"
-python_dep="${python_dep//,ssl}"
-python_dep="${python_dep//ssl,}"
-
-python_dep="${python_dep}
- python_targets_pypy2_0? ( virtual/pypy:2.0 )
- python_targets_python2_6? ( dev-lang/python:2.6 )
- python_targets_python2_7? ( dev-lang/python:2.7 )
- python_targets_python3_2? ( dev-lang/python:3.2 )
- python_targets_python3_3? ( dev-lang/python:3.3 )
- python_targets_python3_4? ( dev-lang/python:3.4 )
-"
-
-# The pysqlite blocker is for bug #282760.
-# make-3.82 is for bug #455858
-DEPEND="${python_dep}
- >=sys-devel/make-3.82
- >=sys-apps/sed-4.0.5 sys-devel/patch
- doc? ( app-text/xmlto ~app-text/docbook-xml-dtd-4.4 )
- epydoc? ( >=dev-python/epydoc-2.0 !<=dev-python/pysqlite-2.4.1 )"
-# Require sandbox-2.2 for bug #288863.
-# For xattr, we can spawn getfattr and setfattr from sys-apps/attr, but that's
-# quite slow, so it's not considered in the dependencies as an alternative to
-# to python-3.3 / pyxattr. Also, xattr support is only tested with Linux, so
-# for now, don't pull in xattr deps for other kernels.
-# For whirlpool hash, require python[ssl] or python-mhash (bug #425046).
-# For compgen, require bash[readline] (bug #445576).
-RDEPEND="${python_dep}
- !build? ( >=sys-apps/sed-4.0.5
- || ( >=app-shells/bash-4.2_p37[readline] ( <app-shells/bash-4.2_p37 >=app-shells/bash-3.2_p17 ) )
- >=app-admin/eselect-1.2
- || ( ${python_dep_ssl} dev-python/python-mhash )
- )
- elibc_FreeBSD? ( sys-freebsd/freebsd-bin )
- elibc_glibc? ( >=sys-apps/sandbox-2.2 )
- elibc_uclibc? ( >=sys-apps/sandbox-2.2 )
- >=app-misc/pax-utils-0.1.17
- xattr? ( kernel_linux? ( || ( >=dev-lang/python-3.3_pre20110902 dev-python/pyxattr ) ) )
- selinux? ( || ( >=sys-libs/libselinux-2.0.94[python] <sys-libs/libselinux-2.0.94 ) )
- !<app-shells/bash-3.2_p17
- !<app-admin/logrotate-3.8.0"
-PDEPEND="
- !build? (
- >=net-misc/rsync-2.6.4
- userland_GNU? ( >=sys-apps/coreutils-6.4 )
- )"
-# coreutils-6.4 rdep is for date format in emerge-webrsync #164532
-# NOTE: FEATURES=installsources requires debugedit and rsync
-
-SRC_ARCHIVES="http://dev.gentoo.org/~zmedico/portage/archives"
-
-prefix_src_archives() {
- local x y
- for x in ${@}; do
- for y in ${SRC_ARCHIVES}; do
- echo ${y}/${x}
- done
- done
-}
-
-PV_PL="2.1.2"
-PATCHVER_PL=""
-TARBALL_PV=$PV
-SRC_URI="mirror://gentoo/${PN}-${TARBALL_PV}.tar.bz2
- $(prefix_src_archives ${PN}-${TARBALL_PV}.tar.bz2)
- linguas_pl? ( mirror://gentoo/${PN}-man-pl-${PV_PL}.tar.bz2
- $(prefix_src_archives ${PN}-man-pl-${PV_PL}.tar.bz2) )"
-
-PATCHVER=
-[[ $TARBALL_PV = $PV ]] || PATCHVER=$PV
-if [ -n "${PATCHVER}" ]; then
- SRC_URI="${SRC_URI} mirror://gentoo/${PN}-${PATCHVER}.patch.bz2
- $(prefix_src_archives ${PN}-${PATCHVER}.patch.bz2)"
-fi
-
-S="${WORKDIR}"/${PN}-${TARBALL_PV}
-S_PL="${WORKDIR}"/${PN}-${PV_PL}
-
-compatible_python_is_selected() {
- [[ $(/usr/bin/python -c 'import sys ; sys.stdout.write(sys.hexversion >= 0x2060000 and "good" or "bad")') = good ]]
-}
-
-current_python_has_xattr() {
- [[ ${EPYTHON} ]] || die 'No Python implementation set (EPYTHON is null).'
- local PYTHON=/usr/bin/${EPYTHON}
- [[ $("${PYTHON}" -c 'import sys ; sys.stdout.write(sys.hexversion >= 0x3030000 and "yes" or "no")') = yes ]] || \
- "${PYTHON}" -c 'import xattr' 2>/dev/null
-}
-
-call_with_python_impl() {
- [[ ${EPYTHON} ]] || die 'No Python implementation set (EPYTHON is null).'
- env EPYTHON=${EPYTHON} "$@"
-}
-
-get_python_interpreter() {
- [ $# -eq 1 ] || die "expected 1 argument, got $#: $*"
- local impl=$1 python
- case "${impl}" in
- python*)
- python=${impl/_/.}
- ;;
- pypy*)
- python=${impl/_/.}
- python=${python/pypy/pypy-c}
- ;;
- *)
- die "Unrecognized python target: ${impl}"
- esac
- echo ${python}
-}
-
-get_python_sitedir() {
- [ $# -eq 1 ] || die "expected 1 argument, got $#: $*"
- local impl=$1
- local site_dir=/usr/$(get_libdir)/${impl/_/.}/site-packages
- [[ -d ${ROOT}${site_dir} ]] || \
- ewarn "site-packages dir missing for ${impl}: ${ROOT}${site_dir}"
- echo "${site_dir}"
-}
-
-python_compileall() {
- [[ ${EPYTHON} ]] || die 'No Python implementation set (EPYTHON is null).'
- local d=$1 PYTHON=/usr/bin/${EPYTHON}
- local d_image=${D}${d#/}
- [[ -d ${d_image} ]] || die "directory does not exist: ${d_image}"
- case "${EPYTHON}" in
- python*)
- "${PYTHON}" -m compileall -q -f -d "${d}" "${d_image}" || die
- # Note: Using -OO breaks emaint, since it requires __doc__,
- # and __doc__ is None when -OO is used.
- "${PYTHON}" -O -m compileall -q -f -d "${d}" "${d_image}" || die
- ;;
- pypy*)
- "${PYTHON}" -m compileall -q -f -d "${d}" "${d_image}" || die
- ;;
- *)
- die "Unrecognized EPYTHON value: ${EPYTHON}"
- esac
-}
-
-pkg_setup() {
- if use python2 && use python3 ; then
- ewarn "Both python2 and python3 USE flags are enabled, but only one"
- ewarn "can be in the shebangs. Using python3."
- fi
- if use pypy2_0 && use python3 ; then
- ewarn "Both pypy2_0 and python3 USE flags are enabled, but only one"
- ewarn "can be in the shebangs. Using python3."
- fi
- if use pypy2_0 && use python2 ; then
- ewarn "Both pypy2_0 and python2 USE flags are enabled, but only one"
- ewarn "can be in the shebangs. Using python2"
- fi
- if ! use pypy2_0 && ! use python2 && ! use python3 && \
- ! compatible_python_is_selected ; then
- ewarn "Attempting to select a compatible default python interpreter"
- local x success=0
- for x in /usr/bin/python2.* ; do
- x=${x#/usr/bin/python2.}
- if [[ $x -ge 6 ]] 2>/dev/null ; then
- eselect python set python2.$x
- if compatible_python_is_selected ; then
- elog "Default python interpreter is now set to python-2.$x"
- success=1
- break
- fi
- fi
- done
- if [ $success != 1 ] ; then
- eerror "Unable to select a compatible default python interpreter!"
- die "This version of portage requires at least python-2.6 to be selected as the default python interpreter (see \`eselect python --help\`)."
- fi
- fi
-
- # We use EPYTHON to designate the active python interpreter,
- # but we only export when needed, via call_with_python_impl.
- EPYTHON=python
- export -n EPYTHON
- if use python3; then
- EPYTHON=python3
- elif use python2; then
- EPYTHON=python2
- elif use pypy2_0; then
- EPYTHON=pypy-c2.0
- fi
-}
-
-src_prepare() {
- if [ -n "${PATCHVER}" ] ; then
- if [[ -L $S/bin/ebuild-helpers/portageq ]] ; then
- rm "$S/bin/ebuild-helpers/portageq" \
- || die "failed to remove portageq helper symlink"
- fi
- epatch "${WORKDIR}/${PN}-${PATCHVER}.patch"
- fi
- einfo "Setting portage.VERSION to ${PVR} ..."
- sed -e "s/^VERSION=.*/VERSION=\"${PVR}\"/" -i pym/portage/__init__.py || \
- die "Failed to patch portage.VERSION"
- sed -e "1s/VERSION/${PVR}/" -i doc/fragment/version || \
- die "Failed to patch VERSION in doc/fragment/version"
- sed -e "1s/VERSION/${PVR}/" -i $(find man -type f) || \
- die "Failed to patch VERSION in man page headers"
-
- if ! use ipc ; then
- einfo "Disabling ipc..."
- sed -e "s:_enable_ipc_daemon = True:_enable_ipc_daemon = False:" \
- -i pym/_emerge/AbstractEbuildProcess.py || \
- die "failed to patch AbstractEbuildProcess.py"
- fi
-
- if use xattr && use kernel_linux ; then
- einfo "Adding FEATURES=xattr to make.globals ..."
- echo -e '\nFEATURES="${FEATURES} xattr"' >> cnf/make.globals \
- || die "failed to append to make.globals"
- fi
-
- local set_shebang=
- if use python3; then
- set_shebang=python3
- elif use python2; then
- set_shebang=python2
- elif use pypy2_0; then
- set_shebang=pypy-c2.0
- fi
- if [[ -n ${set_shebang} ]] ; then
- einfo "Converting shebangs for ${set_shebang}..."
- while read -r -d $'\0' ; do
- local shebang=$(head -n1 "$REPLY")
- if [[ ${shebang} == "#!/usr/bin/python"* ]] ; then
- sed -i -e "1s:python:${set_shebang}:" "$REPLY" || \
- die "sed failed"
- fi
- done < <(find . -type f -print0)
- fi
-
- cd "${S}/cnf" || die
- if [ -f "make.conf.${ARCH}".diff ]; then
- patch make.conf "make.conf.${ARCH}".diff || \
- die "Failed to patch make.conf.example"
- else
- eerror ""
- eerror "Portage does not have an arch-specific configuration for this arch."
- eerror "Please notify the arch maintainer about this issue. Using generic."
- eerror ""
- fi
-}
-
-src_compile() {
- if use doc; then
- call_with_python_impl \
- emake docbook || die
- fi
-
- if use epydoc; then
- einfo "Generating api docs"
- call_with_python_impl \
- emake epydoc || die
- fi
-}
-
-src_test() {
- call_with_python_impl \
- emake test || die
-}
-
-src_install() {
- call_with_python_impl \
- emake DESTDIR="${D}" \
- sysconfdir="/etc" \
- prefix="/usr" \
- install || die
-
- # Extended set config is currently disabled in portage-2.1.x.
- rm -rf "${D}/usr/share/portage/config/sets" || die
-
- # Use dodoc for compression, since the Makefile doesn't do that.
- dodoc "${S}"/{ChangeLog,NEWS,RELEASE-NOTES} || die
-
- if use linguas_pl; then
- doman -i18n=pl "${S_PL}"/man/pl/*.[0-9] || die
- doman -i18n=pl_PL.UTF-8 "${S_PL}"/man/pl_PL.UTF-8/*.[0-9] || die
- fi
-
- # Allow external portage API consumers to import portage python modules
- # (this used to be done with PYTHONPATH setting in /etc/env.d).
- # For each of PYTHON_TARGETS, install a tree of *.py symlinks in
- # site-packages, and compile with the corresponding interpreter.
- local impl files mod_dir dest_mod_dir python relative_path x
- for impl in "${PYTHON_COMPAT[@]}" ; do
- use "python_targets_${impl}" || continue
- if use build && [[ ${ROOT} == / &&
- ! -x /usr/bin/$(get_python_interpreter ${impl}) ]] ; then
- # Tolerate --nodeps at beginning of stage1 for catalyst
- ewarn "skipping python_targets_${impl}, interpreter not found"
- continue
- fi
- while read -r mod_dir ; do
- cd "${D}/usr/lib/portage/pym/${mod_dir}" || die
- files=$(echo *.py)
- if [ -z "${files}" ] || [ "${files}" = "*.py" ]; then
- # __pycache__ directories contain no py files
- continue
- fi
- dest_mod_dir=$(get_python_sitedir ${impl})/${mod_dir}
- dodir "${dest_mod_dir}" || die
- relative_path=../../../lib/portage/pym/${mod_dir}
- x=/${mod_dir}
- while [ -n "${x}" ] ; do
- relative_path=../${relative_path}
- x=${x%/*}
- done
- for x in ${files} ; do
- dosym "${relative_path}/${x}" \
- "${dest_mod_dir}/${x}" || die
- done
- done < <(cd "${D}"/usr/lib/portage/pym || die ; find * -type d ! -path "portage/tests*")
- cd "${S}" || die
- EPYTHON=$(get_python_interpreter ${impl}) \
- python_compileall "$(get_python_sitedir ${impl})"
- done
-
- # Compile /usr/lib/portage/pym with the active interpreter, since portage
- # internal commands force this directory to the beginning of sys.path.
- python_compileall /usr/lib/portage/pym
-}
-
-pkg_preinst() {
- if [[ $ROOT == / ]] ; then
- # Run some minimal tests as a sanity check.
- local test_runner=$(find "$D" -name runTests)
- if [[ -n $test_runner && -x $test_runner ]] ; then
- einfo "Running preinst sanity tests..."
- "$test_runner" || die "preinst sanity tests failed"
- fi
- fi
-
- if use xattr && ! current_python_has_xattr ; then
- ewarn "For optimal performance in xattr handling, install"
- ewarn "dev-python/pyxattr, or install >=dev-lang/python-3.3 and"
- ewarn "enable USE=python3 for $CATEGORY/$PN."
- fi
-
- # elog dir must exist to avoid logrotate error for bug #415911.
- # This code runs in preinst in order to bypass the mapping of
- # portage:portage to root:root which happens after src_install.
- keepdir /var/log/portage/elog
- # This is allowed to fail if the user/group are invalid for prefix users.
- if chown portage:portage "${D}"var/log/portage{,/elog} 2>/dev/null ; then
- chmod g+s,ug+rwx "${D}"var/log/portage{,/elog}
- fi
-
- if [[ -d ${ROOT}var/log/portage && \
- $(ls -ld "${ROOT}var/log/portage") != *" portage portage "* ]] && \
- has_version '<sys-apps/portage-2.1.10.11' ; then
- # Initialize permissions for bug #378451 and bug #377177, since older
- # portage does not create /var/log/portage with the desired default
- # permissions.
- einfo "Applying portage group permission to ${ROOT}var/log/portage for bug #378451"
- chown portage:portage "${ROOT}var/log/portage"
- chmod g+ws "${ROOT}var/log/portage"
- fi
-
- if has_version '<sys-apps/portage-2.1.10.61' ; then
- ewarn "FEATURES=config-protect-if-modified is now enabled by default."
- ewarn "This causes the CONFIG_PROTECT behavior to be skipped for"
- ewarn "files that have not been modified since they were installed."
- fi
-
- # If portage-2.1.6 is installed and the preserved_libs_registry exists,
- # assume that the NEEDED.ELF.2 files have already been generated.
- has_version "<=${CATEGORY}/${PN}-2.2_pre7" && \
- ! { [ -e "${ROOT}"var/lib/portage/preserved_libs_registry ] && \
- has_version ">=${CATEGORY}/${PN}-2.1.6_rc" ; } \
- && NEEDED_REBUILD_UPGRADE=true || NEEDED_REBUILD_UPGRADE=false
-}
-
-pkg_postinst() {
- if ${NEEDED_REBUILD_UPGRADE} ; then
- einfo "rebuilding NEEDED.ELF.2 files"
- local cpv filename line newline
- for cpv in "${ROOT}/var/db/pkg"/*/*; do
- [[ -f "${cpv}/NEEDED" && ! -f "${cpv}/NEEDED.ELF.2" ]] || continue
- while read -r line; do
- filename=${line% *}
- newline=$(scanelf -BF "%a;%F;%S;%r;%n" "${ROOT%/}${filename}")
- newline=${newline// - }
- [[ ${#ROOT} -gt 1 ]] && newline=${newline/${ROOT%/}}
- echo "${newline:3}" >> "${cpv}/NEEDED.ELF.2"
- done < "${cpv}/NEEDED"
- done
- fi
-}
diff --git a/sys-apps/portage/portage-2.2.14_rc1.ebuild b/sys-apps/portage/portage-2.2.14_rc1.ebuild
index 8830a0ab89f0..e2b836cb2c58 100644
--- a/sys-apps/portage/portage-2.2.14_rc1.ebuild
+++ b/sys-apps/portage/portage-2.2.14_rc1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.2.14_rc1.ebuild,v 1.1 2014/09/26 18:58:45 dolsen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.2.14_rc1.ebuild,v 1.2 2014/09/26 20:32:03 dolsen Exp $
EAPI=5
@@ -38,7 +38,7 @@ RDEPEND="
dev-lang/python-exec:2
!build? (
>=sys-apps/sed-4.0.5
- || ( >=app-shells/bash-4.2_p37[readline] ( <app-shells/bash-4.2_p37 >=app-shells/bash-3.2_p17 ) )
+ app-shells/bash:0[readline]
>=app-admin/eselect-1.2
)
elibc_FreeBSD? ( sys-freebsd/freebsd-bin )
@@ -51,7 +51,6 @@ RDEPEND="
$(python_gen_cond_dep 'dev-python/pyxattr[${PYTHON_USEDEP}]' \
python{2_7,3_2} pypy)
) )
- !<app-shells/bash-3.2_p17
!<app-admin/logrotate-3.8.0"
PDEPEND="
!build? (
diff --git a/sys-apps/portage/portage-2.2.8-r1.ebuild b/sys-apps/portage/portage-2.2.8-r2.ebuild
index 3bd00a523cc5..824b5cd44b1d 100644
--- a/sys-apps/portage/portage-2.2.8-r1.ebuild
+++ b/sys-apps/portage/portage-2.2.8-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.2.8-r1.ebuild,v 1.11 2014/03/25 17:24:02 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.2.8-r2.ebuild,v 1.1 2014/09/26 20:32:03 dolsen Exp $
# Require EAPI 2 since we now require at least python-2.6 (for python 3
# syntax support) which also requires EAPI 2.
@@ -61,7 +61,7 @@ DEPEND="${python_dep}
# For compgen, require bash[readline] (bug #445576).
RDEPEND="${python_dep}
!build? ( >=sys-apps/sed-4.0.5
- || ( >=app-shells/bash-4.2_p37[readline] ( <app-shells/bash-4.2_p37 >=app-shells/bash-3.2_p17 ) )
+ app-shells/bash:0[readline]
>=app-admin/eselect-1.2
|| ( ${python_dep_ssl} dev-python/python-mhash )
)
@@ -74,7 +74,6 @@ RDEPEND="${python_dep}
$(for python_impl in python{2_6,2_7,3_2} pypy2_0; do
echo "python_targets_${python_impl}? ( dev-python/pyxattr[python_targets_${python_impl}] )"
done) ) )
- !<app-shells/bash-3.2_p17
!<app-admin/logrotate-3.8.0"
PDEPEND="
!build? (
diff --git a/sys-apps/portage/portage-9999.ebuild b/sys-apps/portage/portage-9999.ebuild
index 028c7f5268f5..239f71b9547f 100644
--- a/sys-apps/portage/portage-9999.ebuild
+++ b/sys-apps/portage/portage-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-9999.ebuild,v 1.104 2014/09/26 18:58:45 dolsen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-9999.ebuild,v 1.105 2014/09/26 20:32:03 dolsen Exp $
EAPI=5
@@ -38,7 +38,7 @@ RDEPEND="
dev-lang/python-exec:2
!build? (
>=sys-apps/sed-4.0.5
- || ( >=app-shells/bash-4.2_p37[readline] ( <app-shells/bash-4.2_p37 >=app-shells/bash-3.2_p17 ) )
+ app-shells/bash:0[readline]
>=app-admin/eselect-1.2
)
elibc_FreeBSD? ( sys-freebsd/freebsd-bin )
@@ -51,7 +51,6 @@ RDEPEND="
$(python_gen_cond_dep 'dev-python/pyxattr[${PYTHON_USEDEP}]' \
python{2_7,3_2} pypy)
) )
- !<app-shells/bash-3.2_p17
!<app-admin/logrotate-3.8.0"
PDEPEND="
!build? (