diff options
author | 2011-02-08 01:32:32 +0000 | |
---|---|---|
committer | 2011-02-08 01:32:32 +0000 | |
commit | b6de3d0c8380e04d357de00dbad97e9d711bd237 (patch) | |
tree | e49ac1441d5f483c465decb1887efe81071f0196 /sys-apps | |
parent | 0.7.44 version bump. (diff) | |
download | historical-b6de3d0c8380e04d357de00dbad97e9d711bd237.tar.gz historical-b6de3d0c8380e04d357de00dbad97e9d711bd237.tar.bz2 historical-b6de3d0c8380e04d357de00dbad97e9d711bd237.zip |
*portage-2.2.0_alpha22 (08 Feb 2011)
08 Feb 2011; Zac Medico <zmedico@gentoo.org> +portage-2.2.0_alpha22.ebuild:
2.2.0_alpha22 version bump. This includes all of the fixes in
portage-2.1.9.38. Bug #210077 tracks all bugs fixed since portage-2.1.x.
*portage-2.1.9.38 (08 Feb 2011)
08 Feb 2011; Zac Medico <zmedico@gentoo.org> +portage-2.1.9.38.ebuild:
2.1.9.38 version bump. This fixes bug #354003 (equery crashes with
InvalidDependString triggered by EAPI 4 USE dep default atoms).
Bug #349307 tracks all bugs fixed since 2.1.9.25.
08 Feb 2011; Zac Medico <zmedico@gentoo.org> -portage-2.1.9.36.ebuild,
-portage-2.1.9.37.ebuild, -portage-2.2.0_alpha20.ebuild,
-portage-2.2.0_alpha21.ebuild:
Remove old versions.
Package-Manager: portage-2.2.0_alpha22/cvs/Linux i686
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/portage/ChangeLog | 20 | ||||
-rw-r--r-- | sys-apps/portage/Manifest | 21 | ||||
-rw-r--r-- | sys-apps/portage/portage-2.1.9.37.ebuild | 313 | ||||
-rw-r--r-- | sys-apps/portage/portage-2.1.9.38.ebuild (renamed from sys-apps/portage/portage-2.1.9.36.ebuild) | 2 | ||||
-rw-r--r-- | sys-apps/portage/portage-2.2.0_alpha20.ebuild | 368 | ||||
-rw-r--r-- | sys-apps/portage/portage-2.2.0_alpha22.ebuild (renamed from sys-apps/portage/portage-2.2.0_alpha21.ebuild) | 2 |
6 files changed, 30 insertions, 696 deletions
diff --git a/sys-apps/portage/ChangeLog b/sys-apps/portage/ChangeLog index 3dcacdb70a02..dcfe6af1304f 100644 --- a/sys-apps/portage/ChangeLog +++ b/sys-apps/portage/ChangeLog @@ -1,6 +1,24 @@ # ChangeLog for sys-apps/portage # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/ChangeLog,v 1.797 2011/02/07 00:52:34 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/ChangeLog,v 1.798 2011/02/08 01:32:32 zmedico Exp $ + +*portage-2.2.0_alpha22 (08 Feb 2011) + + 08 Feb 2011; Zac Medico <zmedico@gentoo.org> +portage-2.2.0_alpha22.ebuild: + 2.2.0_alpha22 version bump. This includes all of the fixes in + portage-2.1.9.38. Bug #210077 tracks all bugs fixed since portage-2.1.x. + +*portage-2.1.9.38 (08 Feb 2011) + + 08 Feb 2011; Zac Medico <zmedico@gentoo.org> +portage-2.1.9.38.ebuild: + 2.1.9.38 version bump. This fixes bug #354003 (equery crashes with + InvalidDependString triggered by EAPI 4 USE dep default atoms). + Bug #349307 tracks all bugs fixed since 2.1.9.25. + + 08 Feb 2011; Zac Medico <zmedico@gentoo.org> -portage-2.1.9.36.ebuild, + -portage-2.1.9.37.ebuild, -portage-2.2.0_alpha20.ebuild, + -portage-2.2.0_alpha21.ebuild: + Remove old versions. *portage-2.2.0_alpha21 (07 Feb 2011) diff --git a/sys-apps/portage/Manifest b/sys-apps/portage/Manifest index f3c173b659de..8ad9fade81a9 100644 --- a/sys-apps/portage/Manifest +++ b/sys-apps/portage/Manifest @@ -9,30 +9,27 @@ DIST portage-2.1.8.3.patch.bz2 11222 RMD160 43f99de135eccd78731dfa6105edca68497b DIST portage-2.1.8.tar.bz2 522621 RMD160 12a079f48552b78162a857b732ab8bfe76bd7b6e SHA1 390c97f3783af2d9e52482747ead3681655ea9c3 SHA256 9440bea218a059fc52c5639945c91c8ad6fdcd8d1d4a9dc7672d0da783345303 DIST portage-2.1.9.25.tar.bz2 736245 RMD160 96b8dc89ea2bcbe2932161e0604d31d97fe877af SHA1 d445211758bead0835e275b4e3534fb635dff38b SHA256 2d19a9bda3228852bf628cf5d4fe361eae2f531e729bd9a41b76fd57bf079ef5 DIST portage-2.1.9.35.tar.bz2 751404 RMD160 97115a7b01dd214fcf903e8ec836a081bd154178 SHA1 c8f05ec908dd99fd9218ff038935fd868f45eff4 SHA256 b41a9f501b83049808c7cf6b17db8d56a5063fc513300e138f1a2f1dbf9ab377 -DIST portage-2.1.9.36.tar.bz2 757150 RMD160 30775e4cb05433a39f7472c27a0720ade94131a3 SHA1 4fb3ace9faaceca29bf500e662c6078d3148fc85 SHA256 ff04f8dd44ed92f9fd35a03a13d22e18c2f265bee92e9f7a4d31c6521a0b9613 -DIST portage-2.1.9.37.tar.bz2 756582 RMD160 8198d9b44c3adeb93c7cfc27c5d55f697662c87d SHA1 8ab08c018854d6d6c893145d25291309320dd989 SHA256 93b98be675dbf5bf4a6b6671668848d6000d704cf73fe8c6b56b8b38cb137aaa +DIST portage-2.1.9.38.tar.bz2 757442 RMD160 3535caf42add8ec7e310c6bb8743046ec9e0a855 SHA1 d9ede485181ca28a258404e113bb84d9193d923a SHA256 5da8d500f869f43d28e3cf4255ad2bf60063f918b6f0632b03dfc52715e01bdb DIST portage-2.2.0_alpha18.tar.bz2 762657 RMD160 54bb6ceef5bdbbbd99a494ea2f2d0bfa2c517463 SHA1 2a3f2193d0e27b7e2792ba40bec730d3c70b0d79 SHA256 85e56651343225f54bf868e4b50045237e79e34ecd483bd55f4fc94a3f5e203f DIST portage-2.2.0_alpha19.patch.bz2 2708 RMD160 c5d34b4843ee3307e7c1527ad7f7b76095be65c0 SHA1 f77b037ea4466b4a40af3c29c79b2e53289aeb89 SHA256 1b042fc6bcd3010e26e61c678030093a5bc6c47c701c19cf4a8eba3afcccb086 -DIST portage-2.2.0_alpha20.patch.bz2 34258 RMD160 6ae89c91382b1e81a4153ed230d6e4f3e9409745 SHA1 e09e58f7fb285a9a1c0b68518e42bdbcb7b23ba9 SHA256 6e4ee0c36e19e44bd150d52a9adc3d448e5af55fa81c76ec47489104d84c1f52 DIST portage-2.2.0_alpha21.tar.bz2 771353 RMD160 3243e61924dc9565328b14110dbacba34e31ec19 SHA1 bb0342127d12689cd6892e47b45e1c26f08182a9 SHA256 324fb6e440eca0f6221cad3a8ce716563a7e17ceac6303db2a8993a625200721 +DIST portage-2.2.0_alpha22.patch.bz2 2272 RMD160 61ead9d2859a77c76da5c06d38300c8dec6b5a39 SHA1 e8a141941cb709417d1e8f917d566b515de677e4 SHA256 2099b309af7131f29076ac59dcb8dc9476a7a21b080d9bbe8a7cdcc65ac06e59 DIST portage-man-pl-2.1.2.tar.bz2 53893 RMD160 46c3656b40bf4ad2530ab2b5fbc563708b86748c SHA1 c3151e0b330c589625830e54053fbc676b2c64de SHA256 960eaa7c6f3a2af44bdc665266a8e884628a562373cc477d301597ecc5ef961f EBUILD portage-2.1.6.13.ebuild 9886 RMD160 830a84ad6f5c8640f55351d67edeb1a1bf75e70a SHA1 29aa8a43789805fca31b5a32d98c082fe9f510a4 SHA256 e0ad29eeb0bda0c9c137bdc933e2b286990264364672498b56cc5e057ae7ba4a EBUILD portage-2.1.6.7.ebuild 8538 RMD160 af018f60721b1d1e581d48e4ecadea2e6fe2a4e7 SHA1 7b9a758aba1f35784f55f2a14ad59584456e5ee6 SHA256 d29ccc18665540c61e5f65f09bd66b71c60c7d6e3e69613cdb47ccc3a4758745 EBUILD portage-2.1.8.3.ebuild 9340 RMD160 780017b0883c831955afdacd4f244abef4abd6b7 SHA1 4ff771cde579fa6cbc114db2dd0679cba068c91e SHA256 00cab3ffd5bfa21d9dd757ccc78107287f13725748333f9d68dd7391c855c58f EBUILD portage-2.1.9.25.ebuild 9704 RMD160 e5c4a8b8277794cde6c04cc15430b7976991eaea SHA1 89376d1548770de9273c09023b300f6af736e5bb SHA256 5598c3d543f5642618428badcb57935882e5e14649fecf43f26a9c12fa2cf8b8 EBUILD portage-2.1.9.35.ebuild 9716 RMD160 2a1b50be813e65570b6a70efba8703457c523d48 SHA1 3ed2feafb64cf6508aa1839e26f95312acf77d53 SHA256 2d8eb6756a949870102b8de951fe44755b88c704cabe333c243998d3c27c1f9d -EBUILD portage-2.1.9.36.ebuild 9716 RMD160 57e0f9202daa4b8e1c835887c54b1b294b6bdf5a SHA1 78a0b4538f52ea08b671b80a95c07ae18353bbb5 SHA256 d7fd557e1dcb8655f9e74b93eeceba60e33161cb160ba4d9fc0e4c90caf41820 -EBUILD portage-2.1.9.37.ebuild 9716 RMD160 dc0fb25389490e5f724b46ed923e855cb9de5b60 SHA1 e9524d5df3b7b5272cb39ad445aaac6f6f6d9312 SHA256 405ef587a91a0006f7ba2408c5dd88969511a1098bba26269639d7ad620f5076 +EBUILD portage-2.1.9.38.ebuild 9716 RMD160 46c976bb990648136d9c3f72a239f131db9d5b6a SHA1 f401c8f1da660065a20d9c183002b53acc2768a6 SHA256 aa616d14337d547f26b35fe0954d5337469bd3c83a2122fd1659a9a82cda0f9b EBUILD portage-2.2.0_alpha19.ebuild 11478 RMD160 c0c4ea734a80a22b58fad79af45a1a672d22684b SHA1 110d3a4b2b52702ef3a9b3f4a21760bd29d8fe6b SHA256 50d2165b771f6f86bb73e67c05d4f1943e47e7b5ce568e8d1f8e5964849e7e54 -EBUILD portage-2.2.0_alpha20.ebuild 11478 RMD160 0cdeccd40eade3262067ec842e4e21cf808b5ff3 SHA1 98eab1f4698fa0425f542ae1f9b2afbcb4b1f43b SHA256 e3f06c93635d682cd6629ced3b76a9532564931bbf92172407b7a26148093ba6 -EBUILD portage-2.2.0_alpha21.ebuild 11478 RMD160 39462519ad5b79167c5748155e8f13e23b98a2b6 SHA1 76ec0dd772a4a93adb4b9ea4f9c7051fe12eabf6 SHA256 90d94720489d012dbcba34b08b50a5ab71de9969683d3798767dc945aeaa23ee +EBUILD portage-2.2.0_alpha22.ebuild 11478 RMD160 d493c0b7534d0b89e243033062bf563761aecff6 SHA1 41c88026c167955e9087146e6837409141a63622 SHA256 6c8fdd4d679e17315735f904d07c9aee081d48c06e4183b40006a9de1bd58d33 EBUILD portage-9999.ebuild 10693 RMD160 b77ea220025ab1d3912b0197eb53163edc9cda78 SHA1 fcf6862dfbb372d01e785aa5c4699745f58785d4 SHA256 4d762759a1a0d244f33defd8fb2a012dd70ef085bcccfa68298b5600cae0d580 -MISC ChangeLog 56425 RMD160 b5d17eac7a0e23b8d9f818e429608618621ec34b SHA1 255ce30243fe1951ad8f04dad5f758dd35a0d087 SHA256 e68e03adcfe249751a964bed5b406d5c95c0c75908796e364d0baf88588a14e4 +MISC ChangeLog 57164 RMD160 265667a6f1f375b1409d7932956c19d03773e799 SHA1 3d42bf5af4a480f2f0dbf23a310b62d5788e28ce SHA256 2b62da35afd398d02762e1823d8dd7c5f730b4463d95fccda74d705754e83d5d MISC metadata.xml 659 RMD160 7ee0e47eb8f485c2a0d45164b90e0aa4f91bd738 SHA1 afeb226c303b15eb2157cf9f97293c77f92a2919 SHA256 e141c1ecbca4c7c97009ecf16a70628c0470f291683c788dfed5d06efcd6ae2e -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.16 (GNU/Linux) +Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAk1PQk0ACgkQ/ejvha5XGaOQ8ACfcHOQPRHHVCC2xoyqejzWvsKA -IEgAoMG8ltuVowVflORd2/Ftls8VR4nJ -=9rTG +iEYEARECAAYFAk1QnScACgkQ/ejvha5XGaN2SgCg18tP5M52gUo7K+kdkMN7wbwy +4tEAnjEhvfznHakvC86LZNcn/jscJz2Z +=TITz -----END PGP SIGNATURE----- diff --git a/sys-apps/portage/portage-2.1.9.37.ebuild b/sys-apps/portage/portage-2.1.9.37.ebuild deleted file mode 100644 index 29b7dd775a38..000000000000 --- a/sys-apps/portage/portage-2.1.9.37.ebuild +++ /dev/null @@ -1,313 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.1.9.37.ebuild,v 1.1 2011/02/07 00:52:34 zmedico 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 -inherit eutils multilib python - -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" -PROVIDE="virtual/portage" -SLOT="0" -IUSE="build doc epydoc +ipc linguas_pl python3 selinux" - -python_dep="python3? ( =dev-lang/python-3* ) - !python3? ( - build? ( || ( dev-lang/python:2.8 dev-lang/python:2.7 dev-lang/python:2.6 ) ) - !build? ( || ( dev-lang/python:2.8 dev-lang/python:2.7 dev-lang/python:2.6 >=dev-lang/python-3 ) ) - )" - -# The pysqlite blocker is for bug #282760. -DEPEND="${python_dep} - !build? ( >=sys-apps/sed-4.0.5 ) - doc? ( app-text/xmlto ~app-text/docbook-xml-dtd-4.4 ) - epydoc? ( >=dev-python/epydoc-2.0 !<=dev-python/pysqlite-2.4.1 )" - -RDEPEND="${python_dep} - !build? ( >=sys-apps/sed-4.0.5 - >=app-shells/bash-3.2_p17 - >=app-admin/eselect-1.2 ) - elibc_FreeBSD? ( sys-freebsd/freebsd-bin ) - elibc_glibc? ( >=sys-apps/sandbox-1.6 ) - elibc_uclibc? ( >=sys-apps/sandbox-1.6 ) - >=app-misc/pax-utils-0.1.17 - selinux? ( || ( >=sys-libs/libselinux-2.0.94[python] <sys-libs/libselinux-2.0.94 ) ) - !<app-shells/bash-3.2_p17" -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 -# rsync-2.6.4 rdep is for the --filter option #167668 - -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 ]] -} - -pkg_setup() { - if ! 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 - - if use python3; then - python_set_active_version 3 - 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 man/* || \ - 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 python3; then - einfo "Converting shebangs for python3..." - python_convert_shebangs -r 3 . - fi -} - -src_compile() { - if use doc; then - cd "${S}"/doc - touch fragment/date - make xhtml xhtml-nochunks || die "failed to make docs" - fi - - if use epydoc; then - einfo "Generating api docs" - mkdir "${WORKDIR}"/api - local my_modules epydoc_opts="" - my_modules="$(find "${S}/pym" -name "*.py" \ - | sed -e 's:/__init__.py$::' -e 's:\.py$::' -e "s:^${S}/pym/::" \ - -e 's:/:.:g' | sort)" || die "error listing modules" - # workaround for bug 282760 - > "$S/pym/pysqlite2.py" - PYTHONPATH=${S}/pym:${PYTHONPATH:+:}${PYTHONPATH} \ - epydoc -o "${WORKDIR}"/api \ - -qqqqq --no-frames --show-imports $epydoc_opts \ - --name "${PN}" --url "${HOMEPAGE}" \ - ${my_modules} || die "epydoc failed" - rm "$S/pym/pysqlite2.py" - fi -} - -src_test() { - # make files executable, in case they were created by patch - find bin -type f | xargs chmod +x - PYTHONPATH=${S}/pym:${PYTHONPATH:+:}${PYTHONPATH} \ - ./pym/portage/tests/runTests || die "test(s) failed" -} - -src_install() { - local libdir=$(get_libdir) - local portage_base="/usr/${libdir}/portage" - local portage_share_config=/usr/share/portage/config - - cd "${S}"/cnf - insinto /etc - doins etc-update.conf dispatch-conf.conf || die - - insinto "$portage_share_config" - doins "$S/cnf/make.globals" || die - if [ -f "make.conf.${ARCH}".diff ]; then - patch make.conf "make.conf.${ARCH}".diff || \ - die "Failed to patch make.conf.example" - newins make.conf make.conf.example || die - 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 "" - newins make.conf make.conf.example || die - fi - - dosym ..${portage_share_config}/make.globals /etc/make.globals - - insinto /etc/logrotate.d - doins "${S}"/cnf/logrotate.d/elog-save-summary || die - - # BSD and OSX need a sed wrapper so that find/xargs work properly - if use userland_GNU; then - rm "${S}"/bin/ebuild-helpers/sed || die "Failed to remove sed wrapper" - fi - - local x symlinks - - cd "$S" || die "cd failed" - for x in $(find bin -type d) ; do - exeinto $portage_base/$x || die "exeinto failed" - cd "$S"/$x || die "cd failed" - doexe $(find . -mindepth 1 -maxdepth 1 -type f ! -type l) || \ - die "doexe failed" - symlinks=$(find . -mindepth 1 -maxdepth 1 -type l) - if [ -n "$symlinks" ] ; then - cp -P $symlinks "$D$portage_base/$x" || die "cp failed" - fi - done - - cd "$S" || die "cd failed" - for x in $(find pym/* -type d) ; do - insinto $portage_base/$x || die "insinto failed" - cd "$S"/$x || die "cd failed" - # __pycache__ directories contain no py files - [[ "*.py" != $(echo *.py) ]] || continue - doins *.py || die "doins failed" - symlinks=$(find . -mindepth 1 -maxdepth 1 -type l) - if [ -n "$symlinks" ] ; then - cp -P $symlinks "$D$portage_base/$x" || die "cp failed" - fi - done - - # Symlinks to directories cause up/downgrade issues and the use of these - # modules outside of portage is probably negligible. - for x in "${D}${portage_base}/pym/"{cache,elog_modules} ; do - [ ! -L "${x}" ] && continue - die "symlink to directory will cause upgrade/downgrade issues: '${x}'" - done - - exeinto ${portage_base}/pym/portage/tests - doexe "${S}"/pym/portage/tests/runTests - - doman "${S}"/man/*.[0-9] - if use linguas_pl; then - doman -i18n=pl "${S_PL}"/man/pl/*.[0-9] - doman -i18n=pl_PL.UTF-8 "${S_PL}"/man/pl_PL.UTF-8/*.[0-9] - fi - - dodoc "${S}"/{ChangeLog,NEWS,RELEASE-NOTES} - use doc && dohtml -r "${S}"/doc/* - use epydoc && dohtml -r "${WORKDIR}"/api - - dodir /usr/bin - for x in ebuild egencache emerge portageq quickpkg repoman ; do - dosym ../${libdir}/portage/bin/${x} /usr/bin/${x} - done - - dodir /usr/sbin - local my_syms="archive-conf - dispatch-conf - emaint - emerge-webrsync - env-update - etc-update - fixpackages - regenworld" - local x - for x in ${my_syms}; do - dosym ../${libdir}/portage/bin/${x} /usr/sbin/${x} - done - dosym env-update /usr/sbin/update-env - dosym etc-update /usr/sbin/update-etc - - dodir /etc/portage - keepdir /etc/portage -} - -pkg_preinst() { - if ! use build && ! has_version dev-python/pycrypto && \ - ! has_version '>=dev-lang/python-2.6[ssl]' ; then - ewarn "If you are an ebuild developer and you plan to commit ebuilds" - ewarn "with this system then please install dev-python/pycrypto or" - ewarn "enable the ssl USE flag for >=dev-lang/python-2.6 in order" - ewarn "to enable RMD160 hash support." - ewarn "See bug #198398 for more information." - fi - if [ -f "${ROOT}/etc/make.globals" ]; then - rm "${ROOT}/etc/make.globals" - fi - - [[ -n $PORTDIR_OVERLAY ]] && has_version "<${CATEGORY}/${PN}-2.1.6.12" - REPO_LAYOUT_CONF_WARN=$? -} - -pkg_postinst() { - # Compile all source files recursively. Any orphans - # will be identified and removed in postrm. - python_mod_optimize /usr/$(get_libdir)/portage/pym - - if [ $REPO_LAYOUT_CONF_WARN = 0 ] ; then - ewarn - echo "If you want overlay eclasses to override eclasses from" \ - "other repos then see the portage(5) man page" \ - "for information about the new layout.conf and repos.conf" \ - "configuration files." \ - | fmt -w 75 | while read -r ; do ewarn "$REPLY" ; done - ewarn - fi - - einfo - einfo "For help with using portage please consult the Gentoo Handbook" - einfo "at http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3" - einfo -} - -pkg_postrm() { - python_mod_cleanup /usr/$(get_libdir)/portage/pym -} diff --git a/sys-apps/portage/portage-2.1.9.36.ebuild b/sys-apps/portage/portage-2.1.9.38.ebuild index 4913b7c34c48..3114e04297d4 100644 --- a/sys-apps/portage/portage-2.1.9.36.ebuild +++ b/sys-apps/portage/portage-2.1.9.38.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.1.9.36.ebuild,v 1.2 2011/02/06 19:36:59 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.1.9.38.ebuild,v 1.1 2011/02/08 01:32:32 zmedico Exp $ # Require EAPI 2 since we now require at least python-2.6 (for python 3 # syntax support) which also requires EAPI 2. diff --git a/sys-apps/portage/portage-2.2.0_alpha20.ebuild b/sys-apps/portage/portage-2.2.0_alpha20.ebuild deleted file mode 100644 index 5762a8a670fc..000000000000 --- a/sys-apps/portage/portage-2.2.0_alpha20.ebuild +++ /dev/null @@ -1,368 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.2.0_alpha20.ebuild,v 1.2 2011/02/06 19:36:59 zmedico 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 -inherit eutils multilib python - -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="~sparc-fbsd ~x86-fbsd" -PROVIDE="virtual/portage" -SLOT="0" -IUSE="build doc epydoc +ipc linguas_pl python3 selinux" - -python_dep="python3? ( =dev-lang/python-3* ) - !python3? ( - build? ( || ( dev-lang/python:2.8 dev-lang/python:2.7 dev-lang/python:2.6 ) ) - !build? ( || ( dev-lang/python:2.8 dev-lang/python:2.7 dev-lang/python:2.6 >=dev-lang/python-3 ) ) - )" - -# The pysqlite blocker is for bug #282760. -DEPEND="${python_dep} - !build? ( >=sys-apps/sed-4.0.5 ) - 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. -RDEPEND="${python_dep} - !build? ( >=sys-apps/sed-4.0.5 - >=app-shells/bash-3.2_p17 - >=app-admin/eselect-1.2 ) - 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 - selinux? ( || ( >=sys-libs/libselinux-2.0.94[python] <sys-libs/libselinux-2.0.94 ) ) - !<app-shells/bash-3.2_p17" -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 -# rsync-2.6.4 rdep is for the --filter option #167668 - -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=2.2.0_alpha18 -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 ]] -} - -pkg_setup() { - if ! 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 - - if use python3; then - python_set_active_version 3 - 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 man/* || \ - 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 python3; then - einfo "Converting shebangs for python3..." - python_convert_shebangs -r 3 . - fi -} - -src_compile() { - if use doc; then - cd "${S}"/doc - touch fragment/date - make xhtml xhtml-nochunks || die "failed to make docs" - fi - - if use epydoc; then - einfo "Generating api docs" - mkdir "${WORKDIR}"/api - local my_modules epydoc_opts="" - my_modules="$(find "${S}/pym" -name "*.py" \ - | sed -e 's:/__init__.py$::' -e 's:\.py$::' -e "s:^${S}/pym/::" \ - -e 's:/:.:g' | sort)" || die "error listing modules" - # workaround for bug 282760 - > "$S/pym/pysqlite2.py" - PYTHONPATH=${S}/pym:${PYTHONPATH:+:}${PYTHONPATH} \ - epydoc -o "${WORKDIR}"/api \ - -qqqqq --no-frames --show-imports $epydoc_opts \ - --name "${PN}" --url "${HOMEPAGE}" \ - ${my_modules} || die "epydoc failed" - rm "$S/pym/pysqlite2.py" - fi -} - -src_test() { - # make files executable, in case they were created by patch - find bin -type f | xargs chmod +x - PYTHONPATH=${S}/pym:${PYTHONPATH:+:}${PYTHONPATH} \ - ./pym/portage/tests/runTests || die "test(s) failed" -} - -src_install() { - local libdir=$(get_libdir) - local portage_base="/usr/${libdir}/portage" - local portage_share_config=/usr/share/portage/config - - cd "${S}"/cnf - insinto /etc - doins etc-update.conf dispatch-conf.conf || die - - insinto "$portage_share_config/sets" - doins "$S"/cnf/sets/*.conf || die - insinto "$portage_share_config" - doins "$S/cnf/make.globals" || die - if [ -f "make.conf.${ARCH}".diff ]; then - patch make.conf "make.conf.${ARCH}".diff || \ - die "Failed to patch make.conf.example" - newins make.conf make.conf.example || die - 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 "" - newins make.conf make.conf.example || die - fi - - dosym ..${portage_share_config}/make.globals /etc/make.globals - - insinto /etc/logrotate.d - doins "${S}"/cnf/logrotate.d/elog-save-summary || die - - # BSD and OSX need a sed wrapper so that find/xargs work properly - if use userland_GNU; then - rm "${S}"/bin/ebuild-helpers/sed || die "Failed to remove sed wrapper" - fi - - local x symlinks - - cd "$S" || die "cd failed" - for x in $(find bin -type d) ; do - exeinto $portage_base/$x || die "exeinto failed" - cd "$S"/$x || die "cd failed" - doexe $(find . -mindepth 1 -maxdepth 1 -type f ! -type l) || \ - die "doexe failed" - symlinks=$(find . -mindepth 1 -maxdepth 1 -type l) - if [ -n "$symlinks" ] ; then - cp -P $symlinks "$D$portage_base/$x" || die "cp failed" - fi - done - - cd "$S" || die "cd failed" - for x in $(find pym/* -type d) ; do - insinto $portage_base/$x || die "insinto failed" - cd "$S"/$x || die "cd failed" - # __pycache__ directories contain no py files - [[ "*.py" != $(echo *.py) ]] || continue - doins *.py || die "doins failed" - symlinks=$(find . -mindepth 1 -maxdepth 1 -type l) - if [ -n "$symlinks" ] ; then - cp -P $symlinks "$D$portage_base/$x" || die "cp failed" - fi - done - - # Symlinks to directories cause up/downgrade issues and the use of these - # modules outside of portage is probably negligible. - for x in "${D}${portage_base}/pym/"{cache,elog_modules} ; do - [ ! -L "${x}" ] && continue - die "symlink to directory will cause upgrade/downgrade issues: '${x}'" - done - - exeinto ${portage_base}/pym/portage/tests - doexe "${S}"/pym/portage/tests/runTests - - doman "${S}"/man/*.[0-9] - if use linguas_pl; then - doman -i18n=pl "${S_PL}"/man/pl/*.[0-9] - doman -i18n=pl_PL.UTF-8 "${S_PL}"/man/pl_PL.UTF-8/*.[0-9] - fi - - dodoc "${S}"/{ChangeLog,NEWS,RELEASE-NOTES} - use doc && dohtml -r "${S}"/doc/* - use epydoc && dohtml -r "${WORKDIR}"/api - - dodir /usr/bin - for x in ebuild egencache emerge portageq quickpkg repoman ; do - dosym ../${libdir}/portage/bin/${x} /usr/bin/${x} - done - - dodir /usr/sbin - local my_syms="archive-conf - dispatch-conf - emaint - emerge-webrsync - env-update - etc-update - fixpackages - regenworld" - local x - for x in ${my_syms}; do - dosym ../${libdir}/portage/bin/${x} /usr/sbin/${x} - done - dosym env-update /usr/sbin/update-env - dosym etc-update /usr/sbin/update-etc - - dodir /etc/portage - keepdir /etc/portage -} - -pkg_preinst() { - if ! use build && ! has_version dev-python/pycrypto && \ - ! has_version '>=dev-lang/python-2.6[ssl]' ; then - ewarn "If you are an ebuild developer and you plan to commit ebuilds" - ewarn "with this system then please install dev-python/pycrypto or" - ewarn "enable the ssl USE flag for >=dev-lang/python-2.6 in order" - ewarn "to enable RMD160 hash support." - ewarn "See bug #198398 for more information." - fi - if [ -f "${ROOT}/etc/make.globals" ]; then - rm "${ROOT}/etc/make.globals" - fi - - has_version "<${CATEGORY}/${PN}-2.2_alpha" - MINOR_UPGRADE=$? - - has_version "<=${CATEGORY}/${PN}-2.2_pre5" - WORLD_MIGRATION_UPGRADE=$? - - # 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=$? - - [[ -n $PORTDIR_OVERLAY ]] && has_version "<${CATEGORY}/${PN}-2.1.6.12" - REPO_LAYOUT_CONF_WARN=$? -} - -pkg_postinst() { - # Compile all source files recursively. Any orphans - # will be identified and removed in postrm. - python_mod_optimize /usr/$(get_libdir)/portage/pym - - if [ $WORLD_MIGRATION_UPGRADE = 0 ] ; then - einfo "moving set references from the worldfile into world_sets" - cd "${ROOT}/var/lib/portage/" - grep "^@" world >> world_sets - sed -i -e '/^@/d' world - fi - - if [ $NEEDED_REBUILD_UPGRADE = 0 ] ; then - einfo "rebuilding NEEDED.ELF.2 files" - for cpv in "${ROOT}/var/db/pkg"/*/*; do - if [ -f "${cpv}/NEEDED" ]; then - rm -f "${cpv}/NEEDED.ELF.2" - while read line; do - filename=${line% *} - needed=${line#* } - needed=${needed//+/++} - needed=${needed//#/##} - needed=${needed//%/%%} - newline=$(scanelf -BF "%a;%F;%S;%r;${needed}" $filename) - newline=${newline// - } - echo "${newline:3}" >> "${cpv}/NEEDED.ELF.2" - done < "${cpv}/NEEDED" - fi - done - fi - - if [ $REPO_LAYOUT_CONF_WARN = 0 ] ; then - ewarn - echo "If you want overlay eclasses to override eclasses from" \ - "other repos then see the portage(5) man page" \ - "for information about the new layout.conf and repos.conf" \ - "configuration files." \ - | fmt -w 75 | while read -r ; do ewarn "$REPLY" ; done - ewarn - fi - - einfo - einfo "For help with using portage please consult the Gentoo Handbook" - einfo "at http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3" - einfo - - if [ $MINOR_UPGRADE = 0 ] ; then - elog "If you're upgrading from a pre-2.2 version of portage you might" - elog "want to remerge world (emerge -e world) to take full advantage" - elog "of some of the new features in 2.2." - elog "This is not required however for portage to function properly." - elog - fi - - if [ -z "${PV/*_alpha*}" ]; then - elog "If you always want to use the latest development version of portage" - elog "please read http://www.gentoo.org/proj/en/portage/doc/testing.xml" - elog - fi -} - -pkg_postrm() { - python_mod_cleanup /usr/$(get_libdir)/portage/pym -} diff --git a/sys-apps/portage/portage-2.2.0_alpha21.ebuild b/sys-apps/portage/portage-2.2.0_alpha22.ebuild index 8dcf64f3d287..3d1ee5a5419a 100644 --- a/sys-apps/portage/portage-2.2.0_alpha21.ebuild +++ b/sys-apps/portage/portage-2.2.0_alpha22.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.2.0_alpha21.ebuild,v 1.1 2011/02/07 00:52:34 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.2.0_alpha22.ebuild,v 1.1 2011/02/08 01:32:32 zmedico Exp $ # Require EAPI 2 since we now require at least python-2.6 (for python 3 # syntax support) which also requires EAPI 2. |