diff options
author | Mike Gilbert <floppym@gentoo.org> | 2013-07-06 23:42:05 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2013-07-06 23:42:05 +0000 |
commit | 7e6bfe262fb171b88c5456fce1615fe4094a0054 (patch) | |
tree | 5a35ba3b6bb6810f835b6898556ff20864a49f0a /dev-lang/python | |
parent | Depend on gtk+ introspection (bug 475938). (diff) | |
download | historical-7e6bfe262fb171b88c5456fce1615fe4094a0054.tar.gz historical-7e6bfe262fb171b88c5456fce1615fe4094a0054.tar.bz2 historical-7e6bfe262fb171b88c5456fce1615fe4094a0054.zip |
Remove old.
Package-Manager: portage-2.2.0_alpha186/cvs/Linux x86_64
Manifest-Sign-Key: 0x0BBEEA1FEA4843A4
Diffstat (limited to 'dev-lang/python')
-rw-r--r-- | dev-lang/python/ChangeLog | 5 | ||||
-rw-r--r-- | dev-lang/python/Manifest | 11 | ||||
-rw-r--r-- | dev-lang/python/python-2.7.4.ebuild | 390 |
3 files changed, 8 insertions, 398 deletions
diff --git a/dev-lang/python/ChangeLog b/dev-lang/python/ChangeLog index 64ac9df30e47..0b98569443be 100644 --- a/dev-lang/python/ChangeLog +++ b/dev-lang/python/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-lang/python # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/ChangeLog,v 1.676 2013/07/06 18:44:09 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/ChangeLog,v 1.677 2013/07/06 23:42:04 floppym Exp $ + + 06 Jul 2013; Mike Gilbert <floppym@gentoo.org> -python-2.7.4.ebuild: + Remove old. 06 Jul 2013; Mike Gilbert <floppym@gentoo.org> python-2.7.5.ebuild: Move uclibc test removal after everything else, bug 475972. diff --git a/dev-lang/python/Manifest b/dev-lang/python/Manifest index bb0b41ed86c5..fceb74b86531 100644 --- a/dev-lang/python/Manifest +++ b/dev-lang/python/Manifest @@ -19,7 +19,6 @@ AUX python-config-2.4-r1 1624 SHA256 923a9e896f99cca5aa4ccbb02f981c6e26a2b1aa423 DIST Python-2.5.4.tar.bz2 9821313 SHA256 bc8d896a2bfe5523ba93b8d89b71017b74e8e6cb21dc676a0ccff668c8780110 SHA512 84e74d16d188282080402d6edbb58fd7a2c7b52b892a746709fc6a1a4c96169e421dd6f5497226f08be974293485ab38143b19ed93990db2d5fd2c192e3b673e WHIRLPOOL 4affb7c71eeffebb3e132db15c55f1435ceac418143a79e1a77cd26844d69f15cd8cef986dd8f3ef74af0392a8b27a495f345b4cbec8a19c4b30a2ce0a22eebf DIST Python-2.6.8.tar.bz2 11127915 SHA256 c34036718ee1f091736677f543bc7960861cf9fcbea77d49572b59f7f1ab3c3f SHA512 91aa96574328d7165b7ff799cc4f33e021c18865bb0b08a4bc2d1361633c3290964cc54beb817fe42ab0a569b57652c990e2c6aa6d4d8aefe0063fcefcff7642 WHIRLPOOL 03403bcd7fd47fd670d3176e12e6778519487da168cf08c46ce663c89caa65f1f792f1b1611516d0b099c4746f17a1a595ad22caa550fefa658e8b982efb6ea2 DIST Python-2.7.3.tar.bz2 11793433 SHA256 726457e11cb153adc3f428aaf1901fc561a374c30e5e7da6742c0742a338663c SHA512 1fc5866b7bdbd3d6b89d92797ea4ad612a3dd6b77c4b9dde9feae64ce6c70013ea1b4d2086dd8e8be426689b4465b1a15d22b048d2f5335de629f5e8b0cb3820 WHIRLPOOL c980f465066ef0881d8b1141c6d8d4c54991c765fc258ddcd37ed2ec483f0686b8cc4cd076c56e0c8fa8891852905bed74d70b3f5071210cef7a9713542ab1a8 -DIST Python-2.7.4.tar.xz 10250644 SHA256 b6626eb6d07d72351f251116ab14427fc934b5f24e6ebc751356a44a7d23b62d SHA512 e6cd1cd4b09adcf72cee30d53b33eb1bdcffefa85bce7d9a8a6e842def0987a6fef7e99168b1fabdb1919dc6f5b2797238eeeca1719d419ea7f40cbf234c6a2c WHIRLPOOL 6c502ba97f44579ce47e18fa7e6379e6dfb3f33e6f048782afd9ceda4f43e4de1084bc25c26f3d8cce401b6e732efd5e01d5d12b99b6fa2c3a0211168b6b99e5 DIST Python-2.7.5.tar.xz 10252148 SHA256 f33c4cab167dc69e10962e1cebf1c0768e2d0e8575648130c20e6bda84551db1 SHA512 c4691199d770cc4130604cd801375967ae0bb8a39ef34e01a4c8ab58d1c23ae83a1b493305178c4317c5622a19857750d33ffc3f10075becd5766ae664c68ee1 WHIRLPOOL fc5d3762cd67214b30de8b43024f5952362c4c811f23837e43ac2a7747c5353cc49b8785e75edd760ea58420609cd67a9a7e94abd2ea8ab25b3271af6a85168d DIST Python-3.1.5.tar.xz 8189536 SHA256 035c4370354d901924ce0fd8df65c5452839f590ec1b9c17fae2ada3e5f3b4d7 SHA512 68581803b9d8276912503869d80494a135cc77aed204e1df3c83eb88c9fc06c8774402b885d80be38dfbc8229432b4ba53d6227f562504c4338464da7ed4bcb1 WHIRLPOOL c9b492d37e3220f9dda3f06f58569b2bd831de5f65fa92e644f016e21231a188a7310058e37081a2038769e65bc281ce4f5a464abfc4571e7337cfd9f17d7d9e DIST Python-3.2.3.tar.xz 8970368 SHA256 23c16f621f21e54987079765c060196cbe50235c7867147c6126d433054b1754 SHA512 80a84cc0818b28e0d52828cf23e3618dc25bde5d40dad3d76f1f66d36bdbe14845d6a8582659b304320564ba53cbd5e917f7d435998bbb4c4e2004474d1e7154 WHIRLPOOL 2bdf34a09b12d7b0d7c2df921b74d355eb2ac5dd9d9d979e493f1dba5bbc11034a5b8dfaf11c4210952a56165f8e1d7c0b9badad374fb7ac2236851f93035d0f @@ -30,7 +29,6 @@ DIST Python-3.3.2.tar.xz 11847676 SHA256 745b32c4b810e36fa66346198dbc2e313524fd6 DIST python-gentoo-patches-2.5.4-r3.tar.bz2 19473 SHA256 03f5bdb0a4ac8eb498a90c5cd444a5c76ed7e79bff5e8dca00efe77cf80c6391 SHA512 8100bf894e1fae03888a3e66fa74147fdd65912200e0324c3ae4164b88e589aa2756f2d331eed8a0342695b64594c33be7c67633fa390c1993e1dd5196b14a37 WHIRLPOOL 910c225736065263ad01c07a16ee10fe1671a227f62df060d5ee93cb76b983aed5c019e3beb51210e1fddcfc4d8b74d7623ec608e4505ebb9c7124f63dcdbd78 DIST python-gentoo-patches-2.6.8-0.tar.bz2 17608 SHA256 277dbeb19107d3244e58aee98f130ce98d03775e7d4074ff9e1577125c999c06 SHA512 2a988a81db888ce56e07d4591ab37b641e51f73f85c087ac0505dc2b703b1dd450ed36b2533e5e562935d2f5e17d581fbbcfd0b0dc4bee69c882f3442da29632 WHIRLPOOL 8ae0f01e1218ed758b9dfca9b4de6a9115c09db665a2831f9af7b8e3f9aa178c10d129104273b551b8a26e9ba575e3f8d3256d7622506a69d496935ce9d87685 DIST python-gentoo-patches-2.7.3-1.tar.bz2 13858 SHA256 51f6981ba02064998dfb020725c33233641b3743c4f5cf04091657313a49b8fd SHA512 afccc52ed695d3c99cb20a36d1673c0f5d9abe5e69ed42024a1cc27bb68feeafaff796b8e4e88c7264e5766aadef98d19cf548112e235848d0ca2fa271dc16c7 WHIRLPOOL b8c4e83354f913eb50b9c91ad558a4cc042a395fd4bd7227cc2e5e6ede8962eb699d44ec3b3a05b47ea658fce2e90b2d0e035282d9737d602f313bad1a7d314a -DIST python-gentoo-patches-2.7.4-2.tar.xz 13944 SHA256 26268be3d79ae9a4669035f8bdba26b044a2b6e5b5a3177e4e32d0bf114dadbf SHA512 0d2eab1f7a62b55d0746ad7bc92df366a3eff453182deb99cd37acaa7e0a006bb530ce2eb64839dfc4bddee37d6b8b64fdad06949147c33f04c43226ea79a2f6 WHIRLPOOL bfcb2b28402a1223878aff5ef550945e169e43c8fab56073c99f96dec1c9c55af2a78877036c2fee1200c1c61b2f4c89b2a2abb51e4c601ac7df08e33d77bc94 DIST python-gentoo-patches-2.7.5-0.tar.xz 13848 SHA256 b84ff6a7669d639272cb2f94d4268d3be3af64903a380f4f60ab539e4a29b111 SHA512 9fec0ba9d958894861d4282ff9145f0387ad7fd3914a3689d148308f56158c1b397f0816c58383d2cf198f9a3b9bf321f2f441ec4aa91e4a503cd957b4a7fbd4 WHIRLPOOL 39d807453f6510f14db1b74f5dac1cd2c52d00be356d132c0f9229caeb8ba8bcbbbf32b05b3d3f6236e853b204ecb961e6b12cabacaadf5f515e93f00cda71d5 DIST python-gentoo-patches-3.1.5-0.tar.bz2 16939 SHA256 ceacc96a370dfaa232d0a62336af37b809dd7d55adacf5f8befe17e2f72981ff SHA512 c9bd442bf8f69ea5ddd28e732a3912b629e3d392fe58d478acef291332f7f35358c6864132d1c32de3e640c0a6b26305db3de81829e38743603cc43a3b8ae6f8 WHIRLPOOL e5ff0ef4e8cab2df9067f0d26e799bbb89a3a4a46f7d4001412d979457ddd96a6698a1d345f852bf591175a268a8322e0cb22bb396cbcf65028b4960d71c0a7f DIST python-gentoo-patches-3.2.3-0.tar.bz2 14265 SHA256 2ad8829aa6594edc405afd0ed148a2b4b608d7c6f09ea90bfb90d87580a4784b SHA512 1ea0c8711ec5952a8c0bafeaceec0d8f8821123fe4f622626b57c6e0b1065c349885537b933a4ef22c29e6c8f6c44f44dec587892a2b13dbfe92ec342f16197d WHIRLPOOL b6f6a4d8e7dcafbf944266d1b5744c71568ddb0c21c5b54c5e041ef8bfd5e1fc5a1e68fa3083d8a466182022a07ebe88d536a4742a5fe0443e5d73d5d4bc64ed @@ -44,7 +42,6 @@ EBUILD python-2.6.8-r1.ebuild 10967 SHA256 d28318fe2567d4dcab80f872646073ed54570 EBUILD python-2.6.8-r2.ebuild 11004 SHA256 0dbb22d66969e6ac00ab9666fd076b8cc6513a6489ccb1d01f64ffb25ed0dd85 SHA512 906616a674535b4d957d256e50d637d2b2d9d6a5fdcde6933f0c3a36acf704ca25b864311118d6e854818830639a0add472ab62220edeb9be6cf6ed5c8b90855 WHIRLPOOL d2993a663d3128a3f5d7430019dd6c65999b771065e6fc9a385e94014d97eec21d739b2c25a365c526e9d426127ae6def0661d9ba8c1d1c0dfae629ab8fea995 EBUILD python-2.7.3-r2.ebuild 9907 SHA256 b339b4e83a9b7d75d0e04b85300cfa827ed7ede252784ac1b3b2ace60b07e32c SHA512 fc37232bbe6c7344d0381c9b79c967519ee401e14c596d87d4dc07d8100c6f672c7a69b2b204af7db50c3961273f5408f3b8ba01dd35ba5307af1894774bca40 WHIRLPOOL e455203a9a9610f9ef076d2c448f5da4aade7955209b58f17eca30f949794af18dac8d7c3fcf85df9a074826c8947b07e5c69a726d77a6011dd34675321c434d EBUILD python-2.7.3-r3.ebuild 11622 SHA256 ea158b63a1c75c839d64c0f62992e2ff4bde28146a6ee0425d074638b1335eed SHA512 fd62ca48d9dc3d1ce0e2c100a0a4a45ed3cc9e78ac8b2a32b3bfd938e894455176ff445a89f2b1075e4112dfce9203e15116178861655deb1c4ccaf157f00c23 WHIRLPOOL 5431b0fab0ee90e4c4399d16ede72cf41dc4569a80d85d425e154fb5962a8499c492af04acab697ffbdf08cd3b67a640d559399a52d01567187bad399a898b34 -EBUILD python-2.7.4.ebuild 11534 SHA256 5ec6e6e62562f3de736f52a69afa179c396865a174d3ed6e2734aefcaa1db7c7 SHA512 86d15029562c14e5e5e8d5ede6f83dfb54897a4357915a723f6d5b5f1f3406d9f0a27ecd8b5fa98ea5378fb8f5d3d483694e33baecdecbfaeefd16f06dfe881a WHIRLPOOL 11b13f542a057c6b98723c6f6d8ca0b278cee40eac448de258c64aa25ece2604e8a9d7f034c0812227bbc213e0b871e881a583bf733be80a9b33921dde4ed384 EBUILD python-2.7.5.ebuild 11585 SHA256 d78c009e3cd3850c83780eab64193fe248327c9e8bac7575bfaf2dda788694b7 SHA512 4b773fabac8bc9783877bffc6f3cd70cf97a3e8198dbc197f05551224b054815a8a883cea497bd69bcda45c1227a4819a34564eaa66f43dc4d6a25bd4b543bc4 WHIRLPOOL eab188dd63cbe563abb07cb71bde4f0c5ef4c0137c4cd2b5c51ce020845c906a279e0f653fb59a4a156a69ab135fad4e30df766f5e86ae5b5529f1b5fa4db94d EBUILD python-3.1.5-r1.ebuild 9806 SHA256 cbea376cf423f5355e21526c4e05919d35c0ffe24bc35655ecfaa0adf9d4f77e SHA512 27cff82c911017b40c4011bfa623e60c6e7aafa57794c908d7aef11b0e4fc36fae716f2e5a5253632832b3cc499609a9b9e0750602fcbf76470ef9d984929aa1 WHIRLPOOL 5abd6a4fc19e050742b74ca3a09cc2aa0c6d966c6a7aaddc648eb5b1a291dfe4a61042311d146fb0ea8b446009396f000c45792781c1f368ffd683820b5905a1 EBUILD python-3.1.5.ebuild 8243 SHA256 925c87e1b3f3b839b5b07a1465f9ceef834f8d726bca5eb106a3304fb6a09245 SHA512 36bd432ffc21c39a582577d428b6af78d942ad5fd5710ddfa58853fcbcfd279080cff8575b9b28bce5b161d7207c937cce21184ca729a4222aa27ef6208f57a3 WHIRLPOOL c8aaa3697c0d53e92756c152c47b7c278f2cc5212c544d4f6856249441a2b4d05481444109b1d401b52c7d5b517b0be02e60aa04f7fd2da5bd8dfb0e7bcc69fd @@ -57,13 +54,13 @@ EBUILD python-3.2.5.ebuild 10595 SHA256 37fd9d73921c0e6bbab2e9b9260aa7ead4e796e1 EBUILD python-3.3.1.ebuild 10337 SHA256 014e508a7b939f30d69e671775027e3cf1c9ec3f0d44afe4e60421147d16feeb SHA512 52d87b931d2782bc1c4ae9275adae6fe8ad675f424a2e4546c0e4bc8956996449cbc1983a7cbc377f26a0fab9f20adb29fc4d20cfa997d0375252c76556ea0de WHIRLPOOL 9b27ba2e99eab62af1ffe9e5a000856da0797b0640c46ee2b9cd74e7f2e7c3c45627d9d803a608c7013e98af970649705d1262bfb4c3e2acf07a850a10bb9439 EBUILD python-3.3.2-r1.ebuild 10505 SHA256 392bba7c335ee826ac72af1fc342aaa7962727856351e7f478e3bff2004ac23c SHA512 304713a3167ef3c813172d30d570f370859f27a324a2e088aad5b7b7686f6812559d0a833ad88af147eefd2128211bfb8cfdbc45c0b826d0b77dc7349540f338 WHIRLPOOL c6eeefb8b52d5c83ee97d7a7471502da0032fe152d36556f0be6bd08f9679a136d2bbcebcac8e7ab571868cfbecd7a5df839f479c76fed8903cc2271bdb12b6d EBUILD python-3.3.2.ebuild 10449 SHA256 4612eb9ed4c2eaa6b4b65f073a3b74f566027e19a466c61e29fe2d6a40871c27 SHA512 83bf55465e655394d2b09f6aae83c6783e93e2ae9b5adf91b07280d96a68db65eaf0228e8791e3fcf79b026bbd8d6cfcef9ff7214e30f42572e40d93a59a367c WHIRLPOOL b92ff94f1eafd965b2981fa3f3f2dc19810970ffe5b892c9531f476d0c1a8da7ef49fab72dd8deebd1e448cc37d8486b44d11a82c71979c6772cfa67ad6c26f0 -MISC ChangeLog 19934 SHA256 919dccd93cd625d2005a2d5cb0b477a42affd0acda07cab6eff53b799e0bca0c SHA512 4a1754266565803340182be6147fec79b3b23962a0feb66746ec238b2070f4f09dcac9a9c00ebbc6eedb9170f4ac91759772912076feb6e244f3d1c7ad4193d6 WHIRLPOOL 32e62ea6e65181d9653c14d671de26c69165522a072d27b88ba5f548b644b499d6acd47e95980948f147c92f5fdf025322cad4559a5762db66bc77dcf6b1bc01 +MISC ChangeLog 20020 SHA256 b75a1bc5676a8ed56348f0b25525198b68f4a2241c00f469fd449c8711326afa SHA512 05f5caef804d0f793d3273099b29fb9a22df3626b3b15db5e99ebcb46b5b3fd7779b3b45d07ff4d58d9342adf34bceab45028a1f082bbc8475ed3d49a801f27d WHIRLPOOL 62507c97a134575b88006b0af666a8735482da9eaf5bde0cb3c85041c44ed0b8e909c665fb160dd813393e58081d9cda352c2fe75e30902ae2e4339b776bec05 MISC ChangeLog-2011 100599 SHA256 23129cb47321b2a6b1cb9323f1815d0cd11d6f30c3893908ed51575c270a0cc8 SHA512 4181ba9d965139ba58218da5b960c87b7a611b27606a1ab1ce1b4c3c9255b4e0e2947307cbfffc531f0f8b6b545ee11e083fcb29dc7b2b7ba31c6bb40b8ab128 WHIRLPOOL 4ceebb6a6ed58b906d3a7331795748ac6e4fe2e1401bcccae9024a8e81e2c444aebc5fec610398cfe6002354ad3b10487484598da5091867874727f07e239c56 MISC metadata.xml 661 SHA256 2c6c3407251f7ccd6501dee49494e539a9544f2fbae99a4373eefdf4e83e8908 SHA512 871989a29417ce20d95da950fa385f1a958139de7b1567beb9cda28a1217901243cd9d25235fe3c7b0e43a82176d72286e31e4e97310b26488d2a3252ef3a8a0 WHIRLPOOL b694b1b4270ba15640d04a3b0b26a08575ea4afc9be256717f7f3b1768d75da9f71ceca6afd2f69971906227d5ba42263d2df2fc9387441aa240222d39fd094e -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) -iF4EAREIAAYFAlHYZXoACgkQC77qH+pIQ6QDUgD+LZXApgCH9G31cqrDvNXXd/o+ -FREEtdiFQCITHkpIz24A/irO8Y7/KT5/3PeeBsQQ5QWpRZlAkhMjwh8DF4EFyA24 -=uM75 +iF4EAREIAAYFAlHYq00ACgkQC77qH+pIQ6TxxQD/RG4KFdW+d8myn2SeNDegWAbr +JjV+nr3U2AgYG9rJ7+MBALvb9QQy6K45spH/pZ/gOFJp5J53XOUft0umVuM0tAnu +=QD0D -----END PGP SIGNATURE----- diff --git a/dev-lang/python/python-2.7.4.ebuild b/dev-lang/python/python-2.7.4.ebuild deleted file mode 100644 index 22698e276004..000000000000 --- a/dev-lang/python/python-2.7.4.ebuild +++ /dev/null @@ -1,390 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.7.4.ebuild,v 1.9 2013/05/18 13:13:35 zorry Exp $ - -EAPI="4" -WANT_AUTOMAKE="none" -WANT_LIBTOOL="none" - -inherit autotools eutils flag-o-matic multilib pax-utils python-utils-r1 toolchain-funcs multiprocessing - -MY_P="Python-${PV}" -PATCHSET_REVISION="2" - -DESCRIPTION="An interpreted, interactive, object-oriented programming language" -HOMEPAGE="http://www.python.org/" -SRC_URI="http://www.python.org/ftp/python/${PV}/${MY_P}.tar.xz - mirror://gentoo/python-gentoo-patches-${PV}-${PATCHSET_REVISION}.tar.xz" - -LICENSE="PSF-2" -SLOT="2.7" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" -IUSE="-berkdb build doc elibc_uclibc examples gdbm hardened ipv6 +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml" - -# Do not add a dependency on dev-lang/python to this ebuild. -# If you need to apply a patch which requires python for bootstrapping, please -# run the bootstrap code on your dev box and include the results in the -# patchset. See bug 447752. - -RDEPEND="app-arch/bzip2 - >=sys-libs/zlib-1.1.3 - virtual/libffi - virtual/libintl - !build? ( - berkdb? ( || ( - sys-libs/db:5.3 - sys-libs/db:5.2 - sys-libs/db:5.1 - sys-libs/db:5.0 - sys-libs/db:4.8 - sys-libs/db:4.7 - sys-libs/db:4.6 - sys-libs/db:4.5 - sys-libs/db:4.4 - sys-libs/db:4.3 - sys-libs/db:4.2 - ) ) - gdbm? ( sys-libs/gdbm[berkdb] ) - ncurses? ( - >=sys-libs/ncurses-5.2 - readline? ( >=sys-libs/readline-4.1 ) - ) - sqlite? ( >=dev-db/sqlite-3.3.8:3[extensions] ) - ssl? ( dev-libs/openssl ) - tk? ( - >=dev-lang/tk-8.0 - dev-tcltk/blt - ) - xml? ( >=dev-libs/expat-2.1 ) - ) - !!<sys-apps/portage-2.1.9" -DEPEND="${RDEPEND} - virtual/pkgconfig - >=sys-devel/autoconf-2.65 - !sys-devel/gcc[libffi]" -RDEPEND+=" !build? ( app-misc/mime-types ) - doc? ( dev-python/python-docs:${SLOT} )" -PDEPEND="app-admin/eselect-python - app-admin/python-updater" - -S="${WORKDIR}/${MY_P}" - -pkg_setup() { - if use berkdb; then - ewarn "'bsddb' module is out-of-date and no longer maintained inside" - ewarn "dev-lang/python. 'bsddb' and 'dbhash' modules have been additionally" - ewarn "removed in Python 3. A maintained alternative of 'bsddb3' module" - ewarn "is provided by dev-python/bsddb3." - else - if has_version "=${CATEGORY}/${PN}-${PV%%.*}*[berkdb]"; then - ewarn "You are migrating from =${CATEGORY}/${PN}-${PV%%.*}*[berkdb]" - ewarn "to =${CATEGORY}/${PN}-${PV%%.*}*[-berkdb]." - ewarn "You might need to migrate your databases." - fi - fi -} - -src_prepare() { - # Ensure that internal copies of expat, libffi and zlib are not used. - rm -r Modules/expat || die - rm -r Modules/_ctypes/libffi* || die - rm -r Modules/zlib || die - - local excluded_patches - if ! tc-is-cross-compiler; then - excluded_patches="*_all_crosscompile.patch" - fi - - EPATCH_EXCLUDE="${excluded_patches}" EPATCH_SUFFIX="patch" \ - epatch "${WORKDIR}/${PV}-${PATCHSET_REVISION}" - - sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \ - Lib/distutils/command/install.py \ - Lib/distutils/sysconfig.py \ - Lib/site.py \ - Lib/sysconfig.py \ - Lib/test/test_site.py \ - Makefile.pre.in \ - Modules/Setup.dist \ - Modules/getpath.c \ - setup.py || die "sed failed to replace @@GENTOO_LIBDIR@@" - - epatch_user - - eautoconf - eautoheader -} - -src_configure() { - if use build; then - # Disable extraneous modules with extra dependencies. - export PYTHON_DISABLE_MODULES="dbm _bsddb gdbm _curses _curses_panel readline _sqlite3 _tkinter _elementtree pyexpat" - export PYTHON_DISABLE_SSL="1" - else - # dbm module can be linked against berkdb or gdbm. - # Defaults to gdbm when both are enabled, #204343. - local disable - use berkdb || use gdbm || disable+=" dbm" - use berkdb || disable+=" _bsddb" - use gdbm || disable+=" gdbm" - use ncurses || disable+=" _curses _curses_panel" - use readline || disable+=" readline" - use sqlite || disable+=" _sqlite3" - use ssl || export PYTHON_DISABLE_SSL="1" - use tk || disable+=" _tkinter" - use xml || disable+=" _elementtree pyexpat" # _elementtree uses pyexpat. - export PYTHON_DISABLE_MODULES="${disable}" - - if ! use xml; then - ewarn "You have configured Python without XML support." - ewarn "This is NOT a recommended configuration as you" - ewarn "may face problems parsing any XML documents." - fi - fi - - if [[ -n "${PYTHON_DISABLE_MODULES}" ]]; then - einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}" - fi - - if [[ "$(gcc-major-version)" -ge 4 ]]; then - append-flags -fwrapv - fi - - filter-flags -malign-double - - [[ "${ARCH}" == "alpha" ]] && append-flags -fPIC - - # https://bugs.gentoo.org/show_bug.cgi?id=50309 - if is-flagq -O3; then - is-flagq -fstack-protector-all && replace-flags -O3 -O2 - use hardened && replace-flags -O3 -O2 - fi - - # Run the configure scripts in parallel. - multijob_init - - mkdir -p "${WORKDIR}"/{${CBUILD},${CHOST}} - - if tc-is-cross-compiler; then - ( - multijob_child_init - cd "${WORKDIR}"/${CBUILD} >/dev/null - OPT="-O1" CFLAGS="" CPPFLAGS="" LDFLAGS="" CC="" \ - "${S}"/configure \ - --{build,host}=${CBUILD} \ - || die "cross-configure failed" - ) & - multijob_post_fork - - # The configure script assumes it's buggy when cross-compiling. - export ac_cv_buggy_getaddrinfo=no - export ac_cv_have_long_long_format=yes - fi - - # Export CXX so it ends up in /usr/lib/python2.X/config/Makefile. - tc-export CXX - # The configure script fails to use pkg-config correctly. - # http://bugs.python.org/issue15506 - export ac_cv_path_PKG_CONFIG=$(tc-getPKG_CONFIG) - - # Set LDFLAGS so we link modules with -lpython2.7 correctly. - # Needed on FreeBSD unless Python 2.7 is already installed. - # Please query BSD team before removing this! - append-ldflags "-L." - - local dbmliborder - if use gdbm; then - dbmliborder+="${dbmliborder:+:}gdbm" - fi - if use berkdb; then - dbmliborder+="${dbmliborder:+:}bdb" - fi - - cd "${WORKDIR}"/${CHOST} - ECONF_SOURCE="${S}" OPT="" \ - econf \ - --with-fpectl \ - --enable-shared \ - $(use_enable ipv6) \ - $(use_with threads) \ - $(use wide-unicode && echo "--enable-unicode=ucs4" || echo "--enable-unicode=ucs2") \ - --infodir='${prefix}/share/info' \ - --mandir='${prefix}/share/man' \ - --with-dbmliborder="${dbmliborder}" \ - --with-libc="" \ - --enable-loadable-sqlite-extensions \ - --with-system-expat \ - --with-system-ffi - - if tc-is-cross-compiler; then - # Modify the Makefile.pre so we don't regen for the host/ one. - # We need to link the host python programs into $PWD and run - # them from here because the distutils sysconfig module will - # parse Makefile/etc... from argv[0], and we need it to pick - # up the target settings, not the host ones. - sed -i \ - -e '1iHOSTPYTHONPATH = ./hostpythonpath:' \ - -e '/^HOSTPYTHON/s:=.*:= ./hostpython:' \ - -e '/^HOSTPGEN/s:=.*:= ./Parser/hostpgen:' \ - Makefile{.pre,} || die "sed failed" - fi - - multijob_finish -} - -src_compile() { - if tc-is-cross-compiler; then - cd "${WORKDIR}"/${CBUILD} - # Disable as many modules as possible -- but we need a few to install. - PYTHON_DISABLE_MODULES=$( - sed -n "/Extension('/{s:^.*Extension('::;s:'.*::;p}" "${S}"/setup.py | \ - egrep -v '(unicodedata|time|cStringIO|_struct|binascii)' - ) \ - PTHON_DISABLE_SSL="1" \ - SYSROOT= \ - emake - # See comment in src_configure about these. - ln python ../${CHOST}/hostpython || die - ln Parser/pgen ../${CHOST}/Parser/hostpgen || die - ln -s ../${CBUILD}/build/lib.*/ ../${CHOST}/hostpythonpath || die - fi - - cd "${WORKDIR}"/${CHOST} - default - - # Work around bug 329499. See also bug 413751 and 457194. - if has_version dev-libs/libffi[pax_kernel]; then - pax-mark E python - else - pax-mark m python - fi -} - -src_test() { - # Tests will not work when cross compiling. - if tc-is-cross-compiler; then - elog "Disabling tests due to crosscompiling." - return - fi - - cd "${WORKDIR}"/${CHOST} - - # Skip failing tests. - local skipped_tests="distutils gdb" - - for test in ${skipped_tests}; do - mv "${S}"/Lib/test/test_${test}.py "${T}" - done - - # Rerun failed tests in verbose mode (regrtest -w). - emake test EXTRATESTOPTS="-w" < /dev/tty - local result="$?" - - for test in ${skipped_tests}; do - mv "${T}/test_${test}.py" "${S}"/Lib/test - done - - elog "The following tests have been skipped:" - for test in ${skipped_tests}; do - elog "test_${test}.py" - done - - elog "If you would like to run them, you may:" - elog "cd '${EPREFIX}/usr/$(get_libdir)/python${SLOT}/test'" - elog "and run the tests separately." - - if [[ "${result}" -ne 0 ]]; then - die "emake test failed" - fi -} - -src_install() { - local libdir=${ED}/usr/$(get_libdir)/python${SLOT} - - cd "${WORKDIR}"/${CHOST} - emake DESTDIR="${D}" altinstall - - sed -e "s/\(LDFLAGS=\).*/\1/" -i "${libdir}/config/Makefile" || die "sed failed" - - # Backwards compat with Gentoo divergence. - dosym python${SLOT}-config /usr/bin/python-config-${SLOT} - - # Fix collisions between different slots of Python. - mv "${ED}usr/bin/2to3" "${ED}usr/bin/2to3-${SLOT}" - mv "${ED}usr/bin/pydoc" "${ED}usr/bin/pydoc${SLOT}" - mv "${ED}usr/bin/idle" "${ED}usr/bin/idle${SLOT}" - rm -f "${ED}usr/bin/smtpd.py" - - if use build; then - rm -fr "${ED}usr/bin/idle${SLOT}" "${libdir}/"{bsddb,dbhash.py,idlelib,lib-tk,sqlite3,test} - else - use elibc_uclibc && rm -fr "${libdir}/"{bsddb/test,test} - use berkdb || rm -r "${libdir}/"{bsddb,dbhash.py,test/test_bsddb*} || die - use sqlite || rm -r "${libdir}/"{sqlite3,test/test_sqlite*} || die - use tk || rm -r "${ED}usr/bin/idle${SLOT}" "${libdir}/"{idlelib,lib-tk} || die - fi - - use threads || rm -r "${libdir}/multiprocessing" || die - use wininst || rm -r "${libdir}/distutils/command/"wininst-*.exe || die - - dodoc "${S}"/Misc/{ACKS,HISTORY,NEWS} || die "dodoc failed" - - if use examples; then - insinto /usr/share/doc/${PF}/examples - doins -r "${S}"/Tools - fi - insinto /usr/share/gdb/auto-load/usr/$(get_libdir) #443510 - local libname=$(printf 'e:\n\t@echo $(INSTSONAME)\ninclude Makefile\n' | \ - emake --no-print-directory -s -f - 2>/dev/null) - newins "${S}"/Tools/gdb/libpython.py "${libname}"-gdb.py - - newconfd "${FILESDIR}/pydoc.conf" pydoc-${SLOT} - newinitd "${FILESDIR}/pydoc.init" pydoc-${SLOT} - sed \ - -e "s:@PYDOC_PORT_VARIABLE@:PYDOC${SLOT/./_}_PORT:" \ - -e "s:@PYDOC@:pydoc${SLOT}:" \ - -i "${ED}etc/conf.d/pydoc-${SLOT}" "${ED}etc/init.d/pydoc-${SLOT}" || die "sed failed" - - # for python-exec - python_export python${SLOT} EPYTHON PYTHON PYTHON_SITEDIR - - # if not using a cross-compiler, use the fresh binary - if ! tc-is-cross-compiler; then - local PYTHON=./python \ - LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}. - export LD_LIBRARY_PATH - fi - - echo "EPYTHON='${EPYTHON}'" > epython.py - python_domodule epython.py -} - -pkg_preinst() { - if has_version "<${CATEGORY}/${PN}-${SLOT}" && ! has_version "${CATEGORY}/${PN}:2.7"; then - python_updater_warning="1" - fi -} - -eselect_python_update() { - if [[ -z "$(eselect python show)" || ! -f "${EROOT}usr/bin/$(eselect python show)" ]]; then - eselect python update - fi - - if [[ -z "$(eselect python show --python${PV%%.*})" || ! -f "${EROOT}usr/bin/$(eselect python show --python${PV%%.*})" ]]; then - eselect python update --python${PV%%.*} - fi -} - -pkg_postinst() { - eselect_python_update - - if [[ "${python_updater_warning}" == "1" ]]; then - ewarn "You have just upgraded from an older version of Python." - ewarn "You should switch active version of Python ${PV%%.*} and run" - ewarn "'python-updater [options]' to rebuild Python modules." - fi -} - -pkg_postrm() { - eselect_python_update -} |