diff options
author | 2012-11-02 21:31:39 +0000 | |
---|---|---|
committer | 2012-11-02 21:31:39 +0000 | |
commit | 49972ce4a1f4592f0308215353df76ce3e3caf33 (patch) | |
tree | 69a07749a6641476b875e4130055219fd5dafe56 /dev-python/argparse | |
parent | Version bunp to add fixes to support /etc/portage/make.conf and (diff) | |
download | historical-49972ce4a1f4592f0308215353df76ce3e3caf33.tar.gz historical-49972ce4a1f4592f0308215353df76ce3e3caf33.tar.bz2 historical-49972ce4a1f4592f0308215353df76ce3e3caf33.zip |
Re-enable all Python implementations but warn if the package is not useful, requesting people to depclean it.
Package-Manager: portage-2.2.0_alpha142/cvs/Linux x86_64
Manifest-Sign-Key: 0x42B9401D
Diffstat (limited to 'dev-python/argparse')
-rw-r--r-- | dev-python/argparse/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/argparse/Manifest | 14 | ||||
-rw-r--r-- | dev-python/argparse/argparse-1.2.1-r1.ebuild | 38 |
3 files changed, 47 insertions, 11 deletions
diff --git a/dev-python/argparse/ChangeLog b/dev-python/argparse/ChangeLog index 35c1477e1016..e7bb94cac48f 100644 --- a/dev-python/argparse/ChangeLog +++ b/dev-python/argparse/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/argparse # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/argparse/ChangeLog,v 1.33 2012/10/29 13:50:04 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/argparse/ChangeLog,v 1.34 2012/11/02 21:31:36 mgorny Exp $ + + 02 Nov 2012; Michał Górny <mgorny@gentoo.org> argparse-1.2.1-r1.ebuild: + Re-enable all Python implementations but warn if the package is not useful, + requesting people to depclean it. *argparse-1.2.1-r1 (29 Oct 2012) diff --git a/dev-python/argparse/Manifest b/dev-python/argparse/Manifest index 7d6440a9356f..05f3fcd0e0ff 100644 --- a/dev-python/argparse/Manifest +++ b/dev-python/argparse/Manifest @@ -2,16 +2,16 @@ Hash: SHA256 DIST argparse-1.2.1.tar.gz 69297 SHA256 ddaf4b0a618335a32b6664d4ae038a1de8fbada3b25033f9021510ed2b3941a4 SHA512 1d965cce0ba88baabe9d8a12fd4780aff390f3efae1261990990e963116748ce109587303e59a7ae9c42893bfb1e9b5d380af49c54f8d20d0489b349445e4fd3 WHIRLPOOL 74dc4498c36af603a103ff36fe03d7a52acf7e2251eb3e20d4adb9db4c019a142c8af94647ac51dc8d74bc698d666ab9dd9814f10a247848cc13fe3c66d6f501 -EBUILD argparse-1.2.1-r1.ebuild 995 SHA256 ed8c83894c0bc441b1c4b7f4b2096b562bc4c4943031b1cbf6d613b43a0fc55e SHA512 2ed5404539506ad314f694ad532d5699823e6c2e8dc5b466d414d740c710d52d8127a27c077b79f0a3d2a3f05c80dcfd5919db2be841992b1423edbd836e1a98 WHIRLPOOL 4b2e3cf0696e9034b2848f1b8e04ea7f1a8e26b28e3ba6e13bbf6745437f0e80df9f085a48268d216f4ae02a7ff7f6140fb4d20814e3bb8f37cb714c96a34a9a +EBUILD argparse-1.2.1-r1.ebuild 2054 SHA256 c3615bb63afef05f331be69c549b4d1e1d43f156a4e8a0fad09feae7616fd992 SHA512 4d92185a5f98b54f9acd4c04c18c12ed19d6dbd5caa48ce81abd02dcc611dffe9681e404e9e3789b1def9dd353cf51abeaea652d0fae4a1b6539a15bf2eee450 WHIRLPOOL fdadcdc345d17e29547da973061f621217de126bac224afbd550822ecb657357a6aeb75a71187cc589e98ddf4c1e63b33da852c2aa00289f89f1a84d6032824b EBUILD argparse-1.2.1.ebuild 1020 SHA256 53eafe0c28ada3ed3679cf84d02af92058d35a5e6dbbfe3740fd5cbcc0f511bf SHA512 5f814106a9603876b5253700319a70b744a0527d3973bb4bdc520cac2850ed5b9517f710232f90aa71afe5dcc7356beb8d5a8e87b3020cc82ce0df639de5880a WHIRLPOOL 8cbe7d00e05909b731416fdbe7eee2b3970a39f42af9b9fad0323731cd19909a95c212ba2ecddca43b8fd7286c83cbf531781a06ef10d0e3de9fb2d9a36795fd -MISC ChangeLog 4113 SHA256 9257a1a8512fe90ab650ecdf7678db9d7d7946964820864875a29b1b3a9396ee SHA512 602035a48395401503b486565e42af92d96471671e7a9722b25b3da055265c7704e0c030175f0b6fe4153868bace86c33566596c081402f72fd8ab83a17bc7ae WHIRLPOOL 3f4d77638764aa7b977420d356d92ef88fd984b2e5b83168c7f2e2d4533d77f98c03a39072d5b7bf3e34edb8a8b68844076031d21bd8f5d0e7d7e9f981e31e73 +MISC ChangeLog 4304 SHA256 22464df04dfab56e2a049970564ea7536f6abc339433958662f7358d728a24c3 SHA512 0c9e257967a73a2a15386f3736f673a9c41dae8dfe8fb42dfee09c98dcc872e78b75f805b86d24da209f8030c54a80ad7fffb86efa6411091286b0d47e86205e WHIRLPOOL 46b4103615edd51f94627758b0bd1f4635fb202d77e7fd04f3049c7a4031eb9f37e75f6af95762f595d07bcbca59557b5ace2e39e92ddcfe1b214b99fcfd9903 MISC metadata.xml 238 SHA256 701d5333de88e46edf8714e046ea1966cd6796ef16140b0768d1897c60340ae0 SHA512 670ede1bcc8088e8bc65921260c51801cb528e76361a06584241a2127ad29a1cd2817e889a98e5f399bdd5d0b190461bd4354d62c969ae9c8e9e18bd1f58e94a WHIRLPOOL e47c5631683d6e0337f299211b26ee0d1552608708f96cf324a191e0a42df49ec311f89a4ab6a61c403515fa4fd9369a1a1f62d3bc43d20429bb64b177b2219d -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iJwEAQEIAAYFAlCOicsACgkQfXuS5UK5QB0EBAP8Dk1U9p0HaeOLB4JRq0YI5Cdq -832tTaME3yI14/arvYH51mz857PMo0sPoh9p7ERIcO6Hjfa/cJ1UzoWLDzQmSTYW -BW4G1Gl6X1oRtMNngUh4pTFbXrbfN62GW/8poMuwkeQwCHhxAzjIUI+ModlepzG6 -/VVHjllG0piRcYzQTOs= -=Y1d4 +iJwEAQEIAAYFAlCUO/gACgkQfXuS5UK5QB34sgQAjmbL8V0qpzH3feMHKk4sJMS+ +0trUg87LuaCQqsOuPS2bNCOoAne2rGGcXFqvlR/FC3gjzou51voNDNoQPyq2NU+T +3EbFX+Zx0Qh3d/RDSlBxWH0OpqUlTMuopksyO6eVZj5NAJ5y9uJKjNs1BmVNKNsP +2KR3NAMAFXeqTANubWo= +=ecvc -----END PGP SIGNATURE----- diff --git a/dev-python/argparse/argparse-1.2.1-r1.ebuild b/dev-python/argparse/argparse-1.2.1-r1.ebuild index be412a6690da..bbee3c1acefd 100644 --- a/dev-python/argparse/argparse-1.2.1-r1.ebuild +++ b/dev-python/argparse/argparse-1.2.1-r1.ebuild @@ -1,10 +1,18 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/argparse/argparse-1.2.1-r1.ebuild,v 1.1 2012/10/29 13:50:04 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/argparse/argparse-1.2.1-r1.ebuild,v 1.2 2012/11/02 21:31:36 mgorny Exp $ EAPI=4 -# Newer versions provide built-in argparse. -PYTHON_COMPAT=( python2_5 python2_6 python3_1 jython2_5 ) +PYTHON_COMPAT_REAL=( + # actual targets + python{2_5,2_6,3_1} jython2_5 +) +PYTHON_COMPAT=( + ${PYTHON_COMPAT_REAL[@]} + # these versions provide built-in argparse + # but we still list them to warn user to migrate + python{2_7,3_2,3_3} pypy{1_8,1_9} +) inherit distutils-r1 @@ -19,6 +27,30 @@ IUSE="" DEPEND="dev-python/setuptools" +pkg_pretend() { + local x + for x in ${PYTHON_COMPAT_REAL[@]}; do + if use python_targets_${x}; then + return + fi + done + + ewarn 'You have installed this version of argparse only for Python' + ewarn 'implementations which provide the argparse module already.' + ewarn 'Most likely, this means that something in your system depends on' + ewarn 'dev-python/argparse instead of virtual/python-argparse.' + ewarn + ewarn 'Please try running the following command or an equivalent one:' + ewarn + ewarn ' emerge --verbose --depclean dev-python/argparse' + ewarn + ewarn 'If your package manager refuses to uninstall the package due to' + ewarn 'unsatisfied dependencies, please first try re-installing the listed' + ewarn 'packages and running --depclean again. If that does not help, please' + ewarn 'report a bug against the package, requesting its maintainer to fix' + ewarn 'the dependency on argparse to use virtual/argparse.' +} + python_test() { COLUMNS=80 PYTHONPATH="${BUILD_DIR}/lib" \ "${PYTHON}" test/test_argparse.py |