From 31a71b2368b3d17ecff533ff0acc7ddfaed0615c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 8 Nov 2014 23:10:11 +0000 Subject: [PATCH] Drop old. Package-Manager: portage-2.2.14/cvs/Linux x86_64 Manifest-Sign-Key: 0xEFB4464E! --- dev-python/pypy-bin/ChangeLog | 8 +- dev-python/pypy-bin/Manifest | 50 +-- ...ix_handling_of_executables_and_flags.patch | 323 ------------------ ...ix_handling_of_executables_and_flags.patch | 317 ----------------- dev-python/pypy-bin/pypy-bin-2.0.2-r1.ebuild | 149 -------- dev-python/pypy-bin/pypy-bin-2.2.1-r1.ebuild | 163 --------- dev-python/pypy/ChangeLog | 8 +- dev-python/pypy/Manifest | 36 +- ...ix_handling_of_executables_and_flags.patch | 323 ------------------ ...ix_handling_of_executables_and_flags.patch | 317 ----------------- dev-python/pypy/pypy-2.0.2-r1.ebuild | 165 --------- dev-python/pypy/pypy-2.2.1.ebuild | 176 ---------- 12 files changed, 44 insertions(+), 1991 deletions(-) delete mode 100644 dev-python/pypy-bin/files/2.0.2-distutils-fix_handling_of_executables_and_flags.patch delete mode 100644 dev-python/pypy-bin/files/2.1-distutils-fix_handling_of_executables_and_flags.patch delete mode 100644 dev-python/pypy-bin/pypy-bin-2.0.2-r1.ebuild delete mode 100644 dev-python/pypy-bin/pypy-bin-2.2.1-r1.ebuild delete mode 100644 dev-python/pypy/files/2.0.2-distutils-fix_handling_of_executables_and_flags.patch delete mode 100644 dev-python/pypy/files/2.1-distutils-fix_handling_of_executables_and_flags.patch delete mode 100644 dev-python/pypy/pypy-2.0.2-r1.ebuild delete mode 100644 dev-python/pypy/pypy-2.2.1.ebuild diff --git a/dev-python/pypy-bin/ChangeLog b/dev-python/pypy-bin/ChangeLog index 6e4b7a801fa4..cf73fc5b0160 100644 --- a/dev-python/pypy-bin/ChangeLog +++ b/dev-python/pypy-bin/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/pypy-bin # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pypy-bin/ChangeLog,v 1.27 2014/11/08 23:04:06 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pypy-bin/ChangeLog,v 1.28 2014/11/08 23:08:57 mgorny Exp $ + + 08 Nov 2014; Michał Górny + -files/2.0.2-distutils-fix_handling_of_executables_and_flags.patch, + -files/2.1-distutils-fix_handling_of_executables_and_flags.patch, + -pypy-bin-2.0.2-r1.ebuild, -pypy-bin-2.2.1-r1.ebuild: + Drop old. 08 Nov 2014; Michał Górny pypy-bin-2.4.0.ebuild: Update and clean up the ebuild. Provide sane binary packages based on the diff --git a/dev-python/pypy-bin/Manifest b/dev-python/pypy-bin/Manifest index 6f4b349683df..a53b04f94ded 100644 --- a/dev-python/pypy-bin/Manifest +++ b/dev-python/pypy-bin/Manifest @@ -3,27 +3,9 @@ Hash: SHA256 AUX 1.9-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.patch 551 SHA256 dc17421bd12e4df5fed2fb1d113c9a8ca691b127631c48350aea1801c52360f1 SHA512 bdac189cbee2e4e91594bc8ea13f2477c3ab0dabec5a44bacf7a021f26d03ad5ceb813ffb38956b8a56e0791fc54c6396a909b9b40232476dd4cd6e0ee908bc0 WHIRLPOOL 035261b0659bdeeb24f6d45959dd1e218cde84dc6ded8d2ee8f9032b2311f7b5f32c6446f25aa81d6e80702d26ef8d4785e21e987282af737f6c9dfc57aa5bcf AUX 1.9-scripts-location.patch 394 SHA256 d02ef738b6c82a7a671b50bdc5dc623887e97c3cb033c11ea997b88e6ccb8bdc SHA512 4566ff947ad79c1ab71fbe5999f262d045271e4ae30962ff93de0bf58d592b2d20b996ae6f6fea2139eeb2391fb33357ec9ecde2e600bad593901b391918d1f7 WHIRLPOOL 963306d68bb5d82d13da54452cbc824c82c1e45aa8eb9ff5dff8bc702b789dfbdb1f6b25daa2f40876a6dbf53a38dc61251dbb2386feb2abb38f64e6652aa239 -AUX 2.0.2-distutils-fix_handling_of_executables_and_flags.patch 15206 SHA256 0e0c1ad3971abf7318c6add811caff2b755ea0e42397cfd92611d47668cf82b4 SHA512 965a10eb8de03d78d4a0b2a0dc23a5f8b9dd54ce42ef0f975cb26ef3de8c07b92f4ca1f415d41156aae3b9d0ce97b27912f7d10b06c24d2f44b371df66613fde WHIRLPOOL b830af87d2881dbf23df89980b3aed0089a4ffa38ebd99b1d93608cf5482377a7d6680a3b446227bae9f9357bbd8c814f4d083f0a057de98faf81522c3dcf15e -AUX 2.1-distutils-fix_handling_of_executables_and_flags.patch 15045 SHA256 7f93949bc00a225694e9f106eade2057f12c4d0f34341e47a98ef7a4323884ed SHA512 b76a980b0bd3db8b01d12f8f16d147b446bef08bd98e8874ea4fb5304e28f443a69763a442e3ccffd130600d3b0f4e895aff0a2b875059597bb74e1b3aed3889 WHIRLPOOL 8d093a952696b4e6fbbc15f10aa6890db2928bc3de8f65dadc6812a334289233a1e4c8202e1dea13238dee2a5722e7e0c9f2e7557aff88f0204a890058f79afa AUX 2.3-21_all_distutils_c++.patch 14825 SHA256 99fc72d254a903a5445c991ac5e1f7ab95d1df6dde684250e145bd908131ebda SHA512 8b53016ae48cae39e9fee030fa18b9cebb72bf72b180be1a0a605a97ab6a0ad62d32317f459728a324f83179ec624885bd3cbe61ac0b5594690cca0c0e74c76e WHIRLPOOL 6718f3e998f0d7174e7088881c74d0e2063e935b5610e076eaf2233ee84f6478c0a1689f5d01de9aeb8f53a97ed73fb4957de16be4adc83045b21c48b93e8646 -DIST pypy-2.0.2-src.tar.bz2 14819848 SHA256 1991c90d6b98e2408b3790d4b57b71ec1c69346328b8321505ce8f6ab4544c3c SHA512 5b8b56194dff468dd249dea0014fadafb791eb69858ffae0b9c7638f087df277a84ddadc7d5b0fdb48a12ca8e6b70eb95cb5b7a5f56fe8fe3396820b814ecfd7 WHIRLPOOL bb1f71e0b2d3e145edcb1baa17b0a13c09f5229cf1b0532edbb3d0d5c87ef39543c0ef6b9dc7ce2778c4a3336d4a1580fce9cf960f82b72ddfed02e06d10d8af -DIST pypy-2.2.1-src.tar.bz2 14439822 SHA256 252045187e443656a2beb412dadac9296e8fe8db0f75a66ed5265db58c35035f SHA512 68b52c5b1a9b96593aa1dd38ad0b1b7b282852008e3ae3c488a5e19ab2bede68e2b40afdb79d85a4ab21cb1da6647b8b958fcefe34c99a1f6cbc1a19d695d3b6 WHIRLPOOL 6eca63959d8ee5663f868daaaac32ad1180b07e2f8b63d839652902095a098ffbfa29c6f83451733270a4b2f73b65450cb3b80a878b9dd1ec71089bfff11e9f6 DIST pypy-2.3.1-src.tar.bz2 15225332 SHA256 3fd10d97c0177c33ed358a78eb26f5bf1f91b266af853564b1a9d8c310a1e439 SHA512 86aab86c5f413cdd6a56680915605de5c1416255b43a8dce1b4dcf8f1febdb3275076a4a9c7de30002387d59e4171a52da2528436eb205d8d947de7edd049c65 WHIRLPOOL c78d41240f1803d9461f797fd0ef647a40a6990a4e3a504e80a0eaaf460d052bb60fe6240cacdb3ee8737500c9c7f418b1d55c619d01ac7b73aace3d82157aa6 DIST pypy-2.4.0-src.tar.bz2 15495214 SHA256 38810007aee4885ca0703b566db6594dd7649adaaa287df7a1012f10e067740f SHA512 91b41ed80a6ff0d7b2b134a7802f098de35ffd2068dc3e477d27b0bc821c6d329eb8bcad4db4a5ff9ff429830d4abfbeb435a2a2d2d9bbc2c36f2d21af0b2e0c WHIRLPOOL affb14b805b2dcb8b579dd421bfb8276e80d3b31cea41bf57ad5dd9260e2e27d838b0303e4a3af5ca38b0b4f08ac88b142d6f1db20753bec6f8cbfdfc482099b -DIST pypy-bin-2.0.2-amd64+bzip2+jit+ncurses+shadowstack.tar.xz 9652340 SHA256 100c1119fe08c47d1a15ca6c98b91c510f41c670d87526fb392e3b292d791ac3 SHA512 ac8d91e740fc8a49860ec47717b160a59ac68807aabd8ddc3a578682d6d75d3ddd47bc5e8b7db6e2be0af5f9414596831372225ab657194ba72d22c2360f98c0 WHIRLPOOL 5dc07128fc8db9df062053803a2792eb6f3795cf2cdef5d011a594c73a158bb4061fcd862c39eb074805f0b4e46d0846708f3fd0fdf3464b02cbe8efa406bb1f -DIST pypy-bin-2.0.2-amd64+bzip2+jit+ncurses.tar.xz 10469416 SHA256 4f8a64d8cc679b8ba6751fc47307df679bca2658848d009c8c724682c76fbf0a SHA512 1d1bedc80d12982074a09516674bee71e57bac9b2b9dac1d9834295edb3b8fb79c0e93de708eef0dbf232dd198a4a728b09a9f86ab5dabad8a293072446b2a2b WHIRLPOOL 08753da5e1e6361bd21b03813cb4482164cc2933d8bf2a2d7443379b1be1b6ac0b87fde571af8519e7fa9e14893bb570799ad6dae02ba42a936dc4d964b0e821 -DIST pypy-bin-2.0.2-amd64+bzip2+ncurses.tar.xz 6527192 SHA256 ff2ac88da94978388b20d54b0a2add839facc5e605c54cc7bfd96faa088ec266 SHA512 58b9e6acc9038b4aeccadf0f1dd257b320cca8e536edd2835c0d9b95f27268b3b71e3af59daa4033580f2fc43f590205e1ed6de2fe475c60cf00c1a781ad1f86 WHIRLPOOL b5410e2b7a0816dffb64b32169be82193820c345d5b4000dc3fd8f827ce82a783fe62605efc0be7794d38dbdeb59d68cf0ac46c62f24f4a8025a2506739db4d1 -DIST pypy-bin-2.0.2-x86+bzip2+jit+ncurses+shadowstack+sse2.tar.xz 7754056 SHA256 b10da2cede4c04299730ac3e001b269b81c42584b8b09bff78098fe94218a78c SHA512 b512b67a4de9bdacb1f4e13888fefd4ed2ca4bb9ca3ffecafa825e6ddc36bb62cd4eff34e23c8f9a4baf9f601544cdb59d5249a240932109d98dba532e2915d1 WHIRLPOOL 187cbe9e2778243ff7c82ca4fa25705ff78be216dc66547a4f4f4b78eba4854ce11b843170b76cb17ea34d85647dfbdb664b4394c3641ffe364e2f91eb21e9aa -DIST pypy-bin-2.0.2-x86+bzip2+jit+ncurses+sse2.tar.xz 9000040 SHA256 cc27253d53cca461e4d4aa8ca3943cae783d4d6389b99d3b7f9f88055d3cf6bf SHA512 90fa4762933a3cbed297a5eb8f1e95fbc70ba02286fc66beb012f27dde1cd06c8eeff0fa2d4a32586d84acbda2608530880d3cc14ea099e3debd239d3c154780 WHIRLPOOL e5a241d3b15aff2bda92f578c2aed7ccc9fbb68f45baaad75eb7229a30dcaabefd6d81cb883f4de7122459a91c521a8c1e6f332500a3f73fa546a42a2e60cfde -DIST pypy-bin-2.0.2-x86+bzip2+ncurses+sse2.tar.xz 5132392 SHA256 8d434ca55cf969016e0c739b4671b97981f9af36b3937c4f4c1acba4d54df8fc SHA512 cb7ba91f1bb6b67f540e5b573bcc27ae92741407e44e204fb401a6ac38653ecdd2a3084b53216f3ed209279a3d01725d2b7d174e6f7d1038da80d448d40b00f1 WHIRLPOOL d171742333d7209ce2dcd50b0ab8bd2e6382c8bb9f0d7a5d69d2268217afdd155abf5c41a96f9bad18c2606b2f554b7a8ef2f1e943ae41412270582b476cd345 -DIST pypy-bin-2.0.2-x86+bzip2+ncurses.tar.xz 5137536 SHA256 c34e60673346b59022560608f633962dee47d79b96e4015677e86f507ad61248 SHA512 0d737a7d5018d6a4d70d3c0921ed4d8882bce4e6f9ff2b9742ab1763cc760a4ed22fcf683e4e7a1693f35897fa4d20500e6d5a31803e34b15175f4081a2ec6d8 WHIRLPOOL 04de2b1aa32f1a098d38b2b0512822c24385bed9db94f0cad03611a45e189812654f2f33ea6dad1a71a77bab878a8109ddf9c8873dc127a49352adac2a8ff7df -DIST pypy-bin-2.2.1-r1-amd64+bzip2+jit+ncurses+shadowstack.tar.xz 9607224 SHA256 458c2d76d86998db9fd3bfb910bdbab87251ae658f52a916baeefeeaa62d0f67 SHA512 5ec70946ff0c7664bacdcb5a03456a1cb3ba56bba80e1781b0544eeae1626329523200e31ea449c58833c0288841b4016e375a9e4cd2035b4dc4f71b0de31187 WHIRLPOOL 156edb8f57e9dbe8e5d2995a6dcff82ea9da38537afbb79fff99cc762f6b2aae3090cff0105b06accb857a5702fc4f3efee33e56a58f378c2773cd8338613c7b -DIST pypy-bin-2.2.1-r1-amd64+bzip2+jit+ncurses.tar.xz 10297432 SHA256 83ee64cb1ea2a333bbcc4ae46078940eba5444790b994e021746d82a65984c6a SHA512 cad7056b41db3bd1f1ee4028c89953ae7cdecdb2f6dd8c58d2f5d86b67e27bc472575dac332b55946efa755216fed7bce457e773c6f992adefcf5225ea3dcaff WHIRLPOOL e63197858bd97a69f3224b65794963291393d7064f22b025954681df412ecce3d8b157eb65fc1bc3e4a85fb4c4d9b4ea45c6804c907468ae20f1f13ac028fa5b -DIST pypy-bin-2.2.1-r1-amd64+bzip2+ncurses.tar.xz 6493176 SHA256 ad0c6befaad066082dc19f833981c6136fca27d7e803b2de6e7b7cb237b831e7 SHA512 331d7bb36afd400af0824c71825fccec7bc3f9b3e8131443ece7d654e5897930d278f4e6be71a034794ec96cc3217f017237df09c7113f23a3994582f9ffef1f WHIRLPOOL 0eab078d234bc91d94c926c57b85c8f7ac5cda7fce54ccd77830b27d3681df8ac323f29f089dfa0334b909a89ff627fa4381d5b751b8c8cfb0e11700d58683a0 -DIST pypy-bin-2.2.1-r1-x86+bzip2+jit+ncurses+shadowstack+sse2.tar.xz 7789720 SHA256 f3538c4f4496cce6199b155e384e50dd43a174416a2399220e7ab8634ec7bfe0 SHA512 2e294241bc7fd00486d999ffd5349c5c7a5debf8e24f0411dec4901cb8e5ab4edfc822591f68182df7fb9fed2505a3a0aed0248584ee2a4d327332f610f88564 WHIRLPOOL c4220cf9e8bc09898a268e007ccd08a89d2e54b3b0174ab7c6961de32039ebc8df6e5b3a0b47dcabb82d4e2c9669ddc72808b3a9f4802671861593aba26e18ea -DIST pypy-bin-2.2.1-r1-x86+bzip2+jit+ncurses+sse2.tar.xz 8981480 SHA256 e965e343bf5e43c2f21e1bb9317a22f06ebc07c57127ffdb6ed5a9768a834e0e SHA512 1731aa4db600fb5cf79f17607a0e68321c5be5d969acafa249708e9b91a3f4b5fcde96a64c85f2fbd8977ccae288e3e9b31531dbdf090bc816a783c06b983b5b WHIRLPOOL ed03fbe804127b33b853df19a7462b40931826cb906e60f645737bc7df17870132e8a68bfbe55e6c7a79fc971e2c93e63e6e897da6ff29da0aa1c0998c848f51 -DIST pypy-bin-2.2.1-r1-x86+bzip2+ncurses+sse2.tar.xz 5179532 SHA256 2cc4e6208303ed64a09e9769a866523217dadfb81322ea0dc931e6d4f2cd757c SHA512 3bd1b3a45c60461294eee63d25f4f71c93289d5aa18193585a478dae343fd2930cf3f2ce0ef001fa33b3a6c77abc26842e4941f0573ed163c8a60feb0fe6ff51 WHIRLPOOL 536a6dfbc6f11fb8e3d3f3fab232263e4731ec97cc3eca4c952042c747b30f761821bc4ddf7c7e896d9692d555a5b5fcb6057f3c3c31e8f8cd6bc9edbbd88503 -DIST pypy-bin-2.2.1-r1-x86+bzip2+ncurses.tar.xz 5179732 SHA256 2889b1b3e0af8d7a763f9d237295ab181c9661c0f57d26e799c71d28df388714 SHA512 ce34e0cb0d362381ce6ba8fab84a55463d2c4cc0834df550e0823b6ec97d762386d382ba1a7a5e039ef531070bfa27ed76c88326a48f948cb9f82af78fda2391 WHIRLPOOL e6cc06898e967010d30d225a4ca59b70080da3763e0ad153211719bc99fd707ac8ee8d28ee2c286f87404439424ab59ecf7332162658f0b4cb0a3efbac35f54c DIST pypy-bin-2.3.1-r1-amd64+bzip2+jit+ncurses+shadowstack.tar.xz 10724632 SHA256 e897fce8057d6ffd8a8f66ddd3736d82c4edae9e30bf0622b5695c083a5f249d SHA512 b3b9ccb63bf2922c734874d745a40c49d5af1e9d9a3a1188c31040fef20faf4fdc00ac1be90ed35848e09bf86dfe5552a720b7c5c4d845777fc85479b515dac6 WHIRLPOOL 583864f5923dc0e0ee59e2397d1ed0f7ecd027605470bb2462f70b40338167f932a235fc40bf0b7349d9facdb7b1a07d86ff46ccc296acc3bb0f21cf7f8709e9 DIST pypy-bin-2.3.1-r1-amd64+bzip2+jit+ncurses.tar.xz 12234132 SHA256 2169569b4f85869607d4ba7fa57852f954815a9bbb344da4fa842fbc59e4081a SHA512 7484fa22d79dfb1970c926fa27579184f3a38548d8072c49f239f31a8dc5549786776c27c0aa28583736f144e16ea0edb6fb8be81c0e394af783c6916e775cc1 WHIRLPOOL 3b1124526531cbf86e503933e8294ad7d11cb0993c1d103c59ced46830323e7e7c540194a13880d46b730e7b6498b1b48a1a902766948d28379ccf1020f05f35 DIST pypy-bin-2.3.1-r1-amd64+bzip2+ncurses.tar.xz 6893836 SHA256 e547e1c5674e53e955373f44ab2ef7ef81f0f3f27240070e634c72b666428456 SHA512 5cb35f6a88aea9e92a8bbbdd873235e8b0b5bcce52d749dd80f68ddb7127eae27122ece74e13c4a2360a0dd65449fa7207a5279f0195732946f7ce8f8aa54142 WHIRLPOOL 4eaa864a456fc29a3731801901f93b62b559eb1bd5867f790840f8f8de1c98fa63bc17bd3dec0f9de82d8f639c2ecf8d3831555503c0089a727ff820c525b24a @@ -38,28 +20,26 @@ DIST pypy-bin-2.4.0-x86+bzip2+jit+ncurses+shadowstack+sse2.tar.xz 8596232 SHA256 DIST pypy-bin-2.4.0-x86+bzip2+jit+ncurses+sse2.tar.xz 9511800 SHA256 5178ce53d9da16a0d989797dd909677aaec4a8d4a936a4d27d8be1ea248489d9 SHA512 4910c72ea0b0849245657772eebfc598779f4a3eb077cec7d6e735c8aae3564ab064f9462fb0576f18792df2459d6c8f372578803497a83e4525671ffe0f8054 WHIRLPOOL 1ae421817e5f5f30ae7e9c446b4afe024de7d271a4fd8185002240e942c96dae93d45e80f6fe794dcb4a1c542a5b2ba76ab1ee81702e501de53861901ba7092b DIST pypy-bin-2.4.0-x86+bzip2+ncurses+sse2.tar.xz 5655980 SHA256 fcfbd71b903e9c6a26cd6590090d8d0c2f8c507e9f4650f7972f36a8ef86fcc6 SHA512 45d71f2d785a65091c9f25376bcb2f7f7e02cf1f00111fcb4b0a3bf0fc5e56947be7f66f5281744de31424f9e0b7249523a4bcd5fec7bf4f3c829b66598b02af WHIRLPOOL a9fef84296f9e77062b0e0cb17537615a02f3ba7d0ed804cf63cce9baf7c1ab843b326301bde5e5a33744b716ea0efd4619e9ba55c0387acfa1622aa11b875de DIST pypy-bin-2.4.0-x86+bzip2+ncurses.tar.xz 5634780 SHA256 2d0494fdab270c26efbe84fa42118b822b3fc021940e2d260a5c39938dcbed8d SHA512 672468e436646ed0334352addeda824ddd76a4cf1ad46231983aec7b697ae6ef2cc2b9072ae5149b4b0987b06caade65ab8bf67ca1dea10219030a9b3fd5b4b4 WHIRLPOOL 003bf4ef085b01c6625f43d34bdcfc2fa035e93373197c67540548856b160db39aed8f0a319ff3f77063dbb8abd2b6a4b412dccbab8c6a70689cf701cf98c4cc -EBUILD pypy-bin-2.0.2-r1.ebuild 4217 SHA256 d312cb044b3be67ce903dff972a09a54105895d5f6bf03c65837cc9918116537 SHA512 a766357aaf8c99d5d12979f072baf3d1cc0cb68fe3146c609b73beaf69ff9b955fd105368c51bd27bd3566d738c7f9e9cd0de4210d8b5f4e64e6bfc7c6cef928 WHIRLPOOL b2f9a1d8145cf9c41be2040959acd76374b6c41b47a96002e12e69eb7ec2811400f37b17e30df4e46ef0a2eca54e9c5bc8b91cfbed6010c6b447288ea463765e -EBUILD pypy-bin-2.2.1-r1.ebuild 4862 SHA256 94bf541b95559b0245b0ece541325a185427d8e9fbc720fbf5838d72ad86206d SHA512 3c65a1e5f437da9ccc1276b151acfa6b866f4ed3a289473395fb2fe1ec79fbaf127aeb57200009d29dbe7bd769a17f9811a0b0329af10776b8bd347c9e15e911 WHIRLPOOL ee6f704731df42db5093f3d2fb549db56668bd9eea52709a98fdf2da1bd1a4e63f12164eef085e09af1de137c7b178a089147b26caf496bd82fc079505485ed8 EBUILD pypy-bin-2.3.1-r2.ebuild 5590 SHA256 9e7304be8c769be51a69c7e95025b262ccf3baea9bb106aca1e720a2dcc453b9 SHA512 2e50f087513f1b1ee5a15c701c20ad59bf267ce4ecfa506addcc88d5e15556367baba689427ad6ed5d412871216209f9ff6d6fc63c53e68c1b7918c0bacd3498 WHIRLPOOL a6eb1d6bb73d305da286524502de6ad6c42ce52fb1e145253499a6ba11dd7b5ed1a3ef99c38b28ef6ab2f0dae11d78d7a083e536b470fee9d3a02ab1c88cde27 EBUILD pypy-bin-2.4.0.ebuild 5194 SHA256 444f66f3bccfc3c922a4fc16bfb85b4292d73d8d31dfd41c9bc0e9d5644526d1 SHA512 cca13e6caa6e6064b6e63ca0332a96b4f8404eeba61cf68bd3a84eb67db3aea686802c6fb3ef72bc8d0bb43b0f41893a022003498b62ac8cb9d5b504d2e48ea4 WHIRLPOOL fe58022011b6006522d8fb393d5954d9ea03d6b3efec8e8e5924a1088a20cceead5f8f2f25200972a9d6a7f105b39454654ecfe962542529505b6b21ebf920ea -MISC ChangeLog 5851 SHA256 7433b13a00366b8e5e083f1c39d0e2616ea02df7153b7b1ebfd74ebcdbc4bcdf SHA512 fd229dacd405f107906fe1816a1f3b5e53b3cce7b752a086d4a7b2b9c6245af058fc3506548e042e85046d494c944cc25799bc655b1a66050e6ba1eee3354856 WHIRLPOOL fad918aabc346467c24c1b0bdd2f563792e3b18bfc602301a57d740147c7cd50651e978300e719c714e92669bcdae5f52585758fb63e9d7f3a0b671f9549e5fb +MISC ChangeLog 6108 SHA256 ad835e82864e47e849cca0835dae1e507ec936a8039866d807fb765887c84067 SHA512 cee79c59a6562987eb055be9e6236a62f9a69d6b5b9371d399e486bf7cf3b48118593c5adeb51e699d1fb7fadf6eb0b9c269034d4833e98de1c8c0366cb03a6f WHIRLPOOL 69bf9335bc471b258c409373a4d45e950f9b31c0ec8e5a6cce5b12d28991bc7b62a173f91c7bda6a816d4d0d0f5eaa296a84d433fd5afcca7a9f28d4de09b9b0 MISC metadata.xml 428 SHA256 99cbecab117f387c279567957835aa68a397906b2309e9c9b8feb80d10812899 SHA512 fda6cede1be6fe8c7d1cbaceebe3193cd16102ad2a570afb1a2269c02ee3021ed9130fc8b09e9f6c5cf742afa95af6864577030b3eaeb41ea29a500826bf7260 WHIRLPOOL 2d765c32b3534dd8fedeee10ea0e3cfcf22fd51121046009a5196ce206dbaf1625f363e8b6dcf3798c6a185de90f27fe06e73b755ad27723ecd8c8bf3ff13ca8 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQJ8BAEBCABmBQJUXqFnXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +iQJ8BAEBCABmBQJUXqKKXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC -MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOzZ4P+wRp/wswsPxdu3+TlYLmLU8p -IXLDyh4/xL1SphiUalGsaU24ev96H0+AbjL2RK/lhHuUn9D7pF+za4x0RBkt8x6m -0AjkH09B0YVXvATvfSOdJ1RSRA98Jk4O7MHEhnsAamjbRPlmtLnAMEjg5wDXibK/ -h714XSiN3Lx/kZ/T+ZydAX2ufJ1yCjx/h1huTlRG4B4pDtA3C2YGOPgd88K20xMa -lxTAJs5A6wa9l72zUtY0Er8eTGnJh5dLyUUlhfR6qnaVVwUCGpm7uZC5+roZIOGl -3XkeCbfbLYg4koGlphaNnSLa4b6bw6dvf5K2+qpb7/rHID72U/D2iOlVmTX1kPsX -NeqOuE0CS9LXzpDvkR+VXESFb07h9+5ft0XR7Xt3S49I14QyP/xPwX19TnjYN/HS -LxmmEI2hy0trFPkyLF5FvZHOwNgOVhMd3G7QrUzZtJbUZx3uo7gXww8N4QHU7bWy -8r3t5vlHM9JWrBdYx7+QPuGM9jw5xuBhSBpirRGkzjQ5+0r67AL4i3QGiSF/5ezJ -dQmMdT2lL/ftLjl9Rmh+5/yuonlpjMEyaenNssjOPa+x8fH30x3MherTOzMG00By -7sMOaoCSgH3o7yErCCBuY/mDNGAHMCqL4SwKzBLBtslpGmFyen99suN6AvqR5mJP -Ts4pZDwY7O3lqAYp266X -=5lYH +MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOVe4P/ipNlMjE+BPYvMT5/E3gvyl7 +/XzM+JqKHAWMzCl+/GDs8B53rRhM4juOqwEU+fn0UuXwUiyZ1Ewlppukc2/Kjfpz +1pCQHiUw94KWDStV+B0Xt4B4awykhM7iD+fRN4PkVbDUv0q6g7ZpxIDYDWx92NcA +Nt1it54RsBHUeLXGKTB6WBulzT07io2t5tWx51/yX6z2GHS/f13H8GKUujY1g+A3 +Z8sffYbQezo9PYVtpFUpcXWZd8cZeRNopJpZNMEd8Ap7URDO+s7s7FsYkPMN5lZB +fXN1PWYQOm9qyYhNqwGN5MATGGVdKtR8fuBpjH3lXqpe8Fstl8wjxd6zi6cRcUUM +m4Gt9YcD7fLJlVATeGCkdocD3UTYFFjafsKevKoLXd7BPBT12SDRU1nQMmnjXRxg +1UwS4sz5FNR6GtveYtcibcDK2cdAD4rwwTCApzHMHWVML5Idi74fKzma0ptD1czo +JfAnCThIQppS+ioalTAa+ISQqtBxxxoFet10SC12ewuDbBbkvIiFszZufMo6DIA7 +puHmysy528eUiWqACW8zaw8ycSvEM94eIOeHt2iNsFx925kq/UZZu0yIYVomzdEh +8Harb3lwwlGxViOissXUyNzT+I4O8COtZ8oTbJyidvj3HNwgQw1zIDub60CuFVR7 +NNDHpwifMS2cxvHZBl++ +=ulzV -----END PGP SIGNATURE----- diff --git a/dev-python/pypy-bin/files/2.0.2-distutils-fix_handling_of_executables_and_flags.patch b/dev-python/pypy-bin/files/2.0.2-distutils-fix_handling_of_executables_and_flags.patch deleted file mode 100644 index db7db3bad7fe..000000000000 --- a/dev-python/pypy-bin/files/2.0.2-distutils-fix_handling_of_executables_and_flags.patch +++ /dev/null @@ -1,323 +0,0 @@ -http://bugs.python.org/issue1222585 - ---- lib-python/2.7/distutils/cygwinccompiler.py -+++ lib-python/2.7/distutils/cygwinccompiler.py -@@ -132,9 +132,13 @@ - self.set_executables(compiler='gcc -mcygwin -O -Wall', - compiler_so='gcc -mcygwin -mdll -O -Wall', - compiler_cxx='g++ -mcygwin -O -Wall', -+ compiler_so_cxx='g++ -mcygwin -mdll -O -Wall', - linker_exe='gcc -mcygwin', - linker_so=('%s -mcygwin %s' % -- (self.linker_dll, shared_option))) -+ (self.linker_dll, shared_option)), -+ linker_exe_cxx='g++ -mcygwin', -+ linker_so_cxx=('%s -mcygwin %s' % -+ (self.linker_dll, shared_option))) - - # cygwin and mingw32 need different sets of libraries - if self.gcc_version == "2.91.57": -@@ -160,8 +164,12 @@ - raise CompileError, msg - else: # for other files use the C-compiler - try: -- self.spawn(self.compiler_so + cc_args + [src, '-o', obj] + -- extra_postargs) -+ if self.detect_language(src) == 'c++': -+ self.spawn(self.compiler_so_cxx + cc_args + [src, '-o', obj] + -+ extra_postargs) -+ else: -+ self.spawn(self.compiler_so + cc_args + [src, '-o', obj] + -+ extra_postargs) - except DistutilsExecError, msg: - raise CompileError, msg - -@@ -322,10 +330,15 @@ - self.set_executables(compiler='gcc -mno-cygwin -O -Wall', - compiler_so='gcc -mno-cygwin -mdll -O -Wall', - compiler_cxx='g++ -mno-cygwin -O -Wall', -+ compiler_so_cxx='g++ -mno-cygwin -mdll -O -Wall', - linker_exe='gcc -mno-cygwin', - linker_so='%s -mno-cygwin %s %s' - % (self.linker_dll, shared_option, -- entry_point)) -+ entry_point), -+ linker_exe_cxx='g++ -mno-cygwin', -+ linker_so_cxx='%s -mno-cygwin %s %s' -+ % (self.linker_dll, shared_option, -+ entry_point)) - # Maybe we should also append -mthreads, but then the finished - # dlls need another dll (mingwm10.dll see Mingw32 docs) - # (-mthreads: Support thread-safe exception handling on `Mingw32') ---- lib-python/2.7/distutils/emxccompiler.py -+++ lib-python/2.7/distutils/emxccompiler.py -@@ -65,8 +65,12 @@ - # XXX optimization, warnings etc. should be customizable. - self.set_executables(compiler='gcc -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall', - compiler_so='gcc -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall', -+ compiler_cxx='g++ -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall', -+ compiler_so_cxx='g++ -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall', - linker_exe='gcc -Zomf -Zmt -Zcrtdll', -- linker_so='gcc -Zomf -Zmt -Zcrtdll -Zdll') -+ linker_so='gcc -Zomf -Zmt -Zcrtdll -Zdll', -+ linker_exe_cxx='g++ -Zomf -Zmt -Zcrtdll', -+ linker_so_cxx='g++ -Zomf -Zmt -Zcrtdll -Zdll') - - # want the gcc library statically linked (so that we don't have - # to distribute a version dependent on the compiler we have) -@@ -83,8 +87,12 @@ - raise CompileError, msg - else: # for other files use the C-compiler - try: -- self.spawn(self.compiler_so + cc_args + [src, '-o', obj] + -- extra_postargs) -+ if self.detect_language(src) == 'c++': -+ self.spawn(self.compiler_so_cxx + cc_args + [src, '-o', obj] + -+ extra_postargs) -+ else: -+ self.spawn(self.compiler_so + cc_args + [src, '-o', obj] + -+ extra_postargs) - except DistutilsExecError, msg: - raise CompileError, msg - ---- lib-python/2.7/distutils/sysconfig_cpython.py -+++ lib-python/2.7/distutils/sysconfig_cpython.py -@@ -150,10 +150,12 @@ - varies across Unices and is stored in Python's Makefile. - """ - if compiler.compiler_type == "unix": -- (cc, cxx, opt, cflags, ccshared, ldshared, so_ext, ar, ar_flags) = \ -- get_config_vars('CC', 'CXX', 'OPT', 'CFLAGS', -- 'CCSHARED', 'LDSHARED', 'SO', 'AR', -- 'ARFLAGS') -+ (cc, cxx, ccshared, ldshared, ldcxxshared, so_ext, ar, ar_flags) = \ -+ get_config_vars('CC', 'CXX', 'CCSHARED', 'LDSHARED', 'LDCXXSHARED', -+ 'SO', 'AR', 'ARFLAGS') -+ -+ cflags = '' -+ cxxflags = '' - - newcc = None - if 'CC' in os.environ: -@@ -191,19 +193,27 @@ - cxx = os.environ['CXX'] - if 'LDSHARED' in os.environ: - ldshared = os.environ['LDSHARED'] -+ if 'LDCXXSHARED' in os.environ: -+ ldcxxshared = os.environ['LDCXXSHARED'] - if 'CPP' in os.environ: - cpp = os.environ['CPP'] - else: - cpp = cc + " -E" # not always - if 'LDFLAGS' in os.environ: - ldshared = ldshared + ' ' + os.environ['LDFLAGS'] -+ ldcxxshared = ldcxxshared + ' ' + os.environ['LDFLAGS'] - if 'CFLAGS' in os.environ: -- cflags = opt + ' ' + os.environ['CFLAGS'] -+ cflags = os.environ['CFLAGS'] - ldshared = ldshared + ' ' + os.environ['CFLAGS'] -+ if 'CXXFLAGS' in os.environ: -+ cxxflags = os.environ['CXXFLAGS'] -+ ldcxxshared = ldcxxshared + ' ' + os.environ['CXXFLAGS'] - if 'CPPFLAGS' in os.environ: - cpp = cpp + ' ' + os.environ['CPPFLAGS'] - cflags = cflags + ' ' + os.environ['CPPFLAGS'] -+ cxxflags = cxxflags + ' ' + os.environ['CPPFLAGS'] - ldshared = ldshared + ' ' + os.environ['CPPFLAGS'] -+ ldcxxshared = ldcxxshared + ' ' + os.environ['CPPFLAGS'] - if 'AR' in os.environ: - ar = os.environ['AR'] - if 'ARFLAGS' in os.environ: -@@ -212,13 +222,17 @@ - archiver = ar + ' ' + ar_flags - - cc_cmd = cc + ' ' + cflags -+ cxx_cmd = cxx + ' ' + cxxflags - compiler.set_executables( - preprocessor=cpp, - compiler=cc_cmd, - compiler_so=cc_cmd + ' ' + ccshared, -- compiler_cxx=cxx, -+ compiler_cxx=cxx_cmd, -+ compiler_so_cxx=cxx_cmd + ' ' + ccshared, - linker_so=ldshared, - linker_exe=cc, -+ linker_so_cxx=ldcxxshared, -+ linker_exe_cxx=cxx, - archiver=archiver) - - compiler.shared_lib_extension = so_ext -@@ -530,7 +544,7 @@ - for key in ('LDFLAGS', 'BASECFLAGS', 'LDSHARED', - # a number of derived variables. These need to be - # patched up as well. -- 'CFLAGS', 'PY_CFLAGS', 'BLDSHARED'): -+ 'CFLAGS', 'CXXFLAGS', 'PY_CFLAGS', 'BLDSHARED'): - flags = _config_vars[key] - flags = re.sub('-arch\s+\w+\s', ' ', flags) - flags = re.sub('-isysroot [^ \t]*', ' ', flags) -@@ -549,7 +563,7 @@ - for key in ('LDFLAGS', 'BASECFLAGS', 'LDSHARED', - # a number of derived variables. These need to be - # patched up as well. -- 'CFLAGS', 'PY_CFLAGS', 'BLDSHARED'): -+ 'CFLAGS', 'CXXFLAGS', 'PY_CFLAGS', 'BLDSHARED'): - - flags = _config_vars[key] - flags = re.sub('-arch\s+\w+\s', ' ', flags) -@@ -573,7 +587,7 @@ - for key in ('LDFLAGS', 'BASECFLAGS', 'LDSHARED', - # a number of derived variables. These need to be - # patched up as well. -- 'CFLAGS', 'PY_CFLAGS', 'BLDSHARED'): -+ 'CFLAGS', 'CXXFLAGS', 'PY_CFLAGS', 'BLDSHARED'): - - flags = _config_vars[key] - flags = re.sub('-isysroot\s+\S+(\s|$)', ' ', flags) ---- lib-python/2.7/distutils/sysconfig_pypy.py -+++ lib-python/2.7/distutils/sysconfig_pypy.py -@@ -114,13 +114,56 @@ - optional C speedup components. - """ - if compiler.compiler_type == "unix": -- compiler.compiler_so.extend(['-O2', '-fPIC', '-Wimplicit']) -+ cc = ' '.join(compiler.compiler) -+ cxx = ' '.join(compiler.compiler_cxx) -+ ldshared = ' '.join(compiler.linker_so) -+ ldcxxshared = ' '.join(compiler.linker_so_cxx) -+ -+ cflags = '' -+ cxxflags = '' -+ ccshared = '-fPIC' -+ -+ if 'CC' in os.environ: -+ cc = os.environ['CC'] -+ if 'CXX' in os.environ: -+ cxx = os.environ['CXX'] -+ if 'LDSHARED' in os.environ: -+ ldshared = os.environ['LDSHARED'] -+ if 'LDCXXSHARED' in os.environ: -+ ldcxxshared = os.environ['LDCXXSHARED'] -+ if 'CPP' in os.environ: -+ cpp = os.environ['CPP'] -+ else: -+ cpp = cc + " -E" # not always -+ if 'LDFLAGS' in os.environ: -+ ldshared = ldshared + ' ' + os.environ['LDFLAGS'] -+ ldcxxshared = ldcxxshared + ' ' + os.environ['LDFLAGS'] -+ if 'CFLAGS' in os.environ: -+ cflags = os.environ['CFLAGS'] -+ ldshared = ldshared + ' ' + os.environ['CFLAGS'] -+ if 'CXXFLAGS' in os.environ: -+ cxxflags = os.environ['CXXFLAGS'] -+ ldcxxshared = ldcxxshared + ' ' + os.environ['CXXFLAGS'] -+ if 'CPPFLAGS' in os.environ: -+ cpp = cpp + ' ' + os.environ['CPPFLAGS'] -+ cflags = cflags + ' ' + os.environ['CPPFLAGS'] -+ cxxflags = cxxflags + ' ' + os.environ['CPPFLAGS'] -+ ldshared = ldshared + ' ' + os.environ['CPPFLAGS'] -+ ldcxxshared = ldcxxshared + ' ' + os.environ['CPPFLAGS'] -+ -+ cc_cmd = cc + ' ' + cflags -+ cxx_cmd = cxx + ' ' + cxxflags -+ compiler.set_executables( -+ preprocessor=cpp, -+ compiler=cc_cmd, -+ compiler_so=cc_cmd + ' ' + ccshared, -+ compiler_cxx=cxx_cmd, -+ compiler_so_cxx=cxx_cmd + ' ' + ccshared, -+ linker_so=ldshared, -+ linker_exe=cc, -+ linker_so_cxx=ldcxxshared, -+ linker_exe_cxx=cxx) - compiler.shared_lib_extension = get_config_var('SO') -- if "CFLAGS" in os.environ: -- cflags = os.environ["CFLAGS"] -- compiler.compiler.append(cflags) -- compiler.compiler_so.append(cflags) -- compiler.linker_so.append(cflags) - - - from sysconfig_cpython import ( ---- lib-python/2.7/distutils/unixccompiler.py -+++ lib-python/2.7/distutils/unixccompiler.py -@@ -114,14 +114,17 @@ - # are pretty generic; they will probably have to be set by an outsider - # (eg. using information discovered by the sysconfig about building - # Python extensions). -- executables = {'preprocessor' : None, -- 'compiler' : ["cc"], -- 'compiler_so' : ["cc"], -- 'compiler_cxx' : ["cc"], -- 'linker_so' : ["cc", "-shared"], -- 'linker_exe' : ["cc"], -- 'archiver' : ["ar", "-cr"], -- 'ranlib' : None, -+ executables = {'preprocessor' : None, -+ 'compiler' : ["cc"], -+ 'compiler_so' : ["cc"], -+ 'compiler_cxx' : ["c++"], -+ 'compiler_so_cxx' : ["c++"], -+ 'linker_so' : ["cc", "-shared"], -+ 'linker_exe' : ["cc"], -+ 'linker_so_cxx' : ["c++", "-shared"], -+ 'linker_exe_cxx' : ["c++"], -+ 'archiver' : ["ar", "-cr"], -+ 'ranlib' : None, - } - - if sys.platform[:6] == "darwin": -@@ -171,11 +174,18 @@ - - def _compile(self, obj, src, ext, cc_args, extra_postargs, pp_opts): - compiler_so = self.compiler_so -+ compiler_so_cxx = self.compiler_so_cxx - if sys.platform == 'darwin': - compiler_so = _darwin_compiler_fixup(compiler_so, cc_args + extra_postargs) -+ compiler_so_cxx = _darwin_compiler_fixup(compiler_so_cxx, cc_args + -+ extra_postargs) - try: -- self.spawn(compiler_so + cc_args + [src, '-o', obj] + -- extra_postargs) -+ if self.detect_language(src) == 'c++': -+ self.spawn(compiler_so_cxx + cc_args + [src, '-o', obj] + -+ extra_postargs) -+ else: -+ self.spawn(compiler_so + cc_args + [src, '-o', obj] + -+ extra_postargs) - except DistutilsExecError, msg: - raise CompileError, msg - -@@ -232,23 +242,16 @@ - ld_args.extend(extra_postargs) - self.mkpath(os.path.dirname(output_filename)) - try: -- if target_desc == CCompiler.EXECUTABLE: -- linker = self.linker_exe[:] -+ if target_lang == "c++": -+ if target_desc == CCompiler.EXECUTABLE: -+ linker = self.linker_exe_cxx[:] -+ else: -+ linker = self.linker_so_cxx[:] - else: -- linker = self.linker_so[:] -- if target_lang == "c++" and self.compiler_cxx: -- # skip over environment variable settings if /usr/bin/env -- # is used to set up the linker's environment. -- # This is needed on OSX. Note: this assumes that the -- # normal and C++ compiler have the same environment -- # settings. -- i = 0 -- if os.path.basename(linker[0]) == "env": -- i = 1 -- while '=' in linker[i]: -- i = i + 1 -- -- linker[i] = self.compiler_cxx[i] -+ if target_desc == CCompiler.EXECUTABLE: -+ linker = self.linker_exe[:] -+ else: -+ linker = self.linker_so[:] - - if sys.platform == 'darwin': - linker = _darwin_compiler_fixup(linker, ld_args) diff --git a/dev-python/pypy-bin/files/2.1-distutils-fix_handling_of_executables_and_flags.patch b/dev-python/pypy-bin/files/2.1-distutils-fix_handling_of_executables_and_flags.patch deleted file mode 100644 index 2a27e3a94e2a..000000000000 --- a/dev-python/pypy-bin/files/2.1-distutils-fix_handling_of_executables_and_flags.patch +++ /dev/null @@ -1,317 +0,0 @@ -http://bugs.python.org/issue1222585 - ---- lib-python/2.7/distutils/cygwinccompiler.py -+++ lib-python/2.7/distutils/cygwinccompiler.py -@@ -135,9 +135,13 @@ - self.set_executables(compiler='gcc -mcygwin -O -Wall', - compiler_so='gcc -mcygwin -mdll -O -Wall', - compiler_cxx='g++ -mcygwin -O -Wall', -+ compiler_so_cxx='g++ -mcygwin -mdll -O -Wall', - linker_exe='gcc -mcygwin', - linker_so=('%s -mcygwin %s' % -- (self.linker_dll, shared_option))) -+ (self.linker_dll, shared_option)), -+ linker_exe_cxx='g++ -mcygwin', -+ linker_so_cxx=('%s -mcygwin %s' % -+ (self.linker_dll, shared_option))) - - # cygwin and mingw32 need different sets of libraries - if self.gcc_version == "2.91.57": -@@ -163,8 +167,12 @@ - raise CompileError, msg - else: # for other files use the C-compiler - try: -- self.spawn(self.compiler_so + cc_args + [src, '-o', obj] + -- extra_postargs) -+ if self.detect_language(src) == 'c++': -+ self.spawn(self.compiler_so_cxx + cc_args + [src, '-o', obj] + -+ extra_postargs) -+ else: -+ self.spawn(self.compiler_so + cc_args + [src, '-o', obj] + -+ extra_postargs) - except DistutilsExecError, msg: - raise CompileError, msg - -@@ -325,10 +338,15 @@ - self.set_executables(compiler='gcc -mno-cygwin -O -Wall', - compiler_so='gcc -mno-cygwin -mdll -O -Wall', - compiler_cxx='g++ -mno-cygwin -O -Wall', -+ compiler_so_cxx='g++ -mno-cygwin -mdll -O -Wall', - linker_exe='gcc -mno-cygwin', - linker_so='%s -mno-cygwin %s %s' - % (self.linker_dll, shared_option, -- entry_point)) -+ entry_point), -+ linker_exe_cxx='g++ -mno-cygwin', -+ linker_so_cxx='%s -mno-cygwin %s %s' -+ % (self.linker_dll, shared_option, -+ entry_point)) - # Maybe we should also append -mthreads, but then the finished - # dlls need another dll (mingwm10.dll see Mingw32 docs) - # (-mthreads: Support thread-safe exception handling on `Mingw32') ---- lib-python/2.7/distutils/emxccompiler.py -+++ lib-python/2.7/distutils/emxccompiler.py -@@ -65,8 +65,12 @@ - # XXX optimization, warnings etc. should be customizable. - self.set_executables(compiler='gcc -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall', - compiler_so='gcc -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall', -+ compiler_cxx='g++ -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall', -+ compiler_so_cxx='g++ -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall', - linker_exe='gcc -Zomf -Zmt -Zcrtdll', -- linker_so='gcc -Zomf -Zmt -Zcrtdll -Zdll') -+ linker_so='gcc -Zomf -Zmt -Zcrtdll -Zdll', -+ linker_exe_cxx='g++ -Zomf -Zmt -Zcrtdll', -+ linker_so_cxx='g++ -Zomf -Zmt -Zcrtdll -Zdll') - - # want the gcc library statically linked (so that we don't have - # to distribute a version dependent on the compiler we have) -@@ -83,8 +87,12 @@ - raise CompileError, msg - else: # for other files use the C-compiler - try: -- self.spawn(self.compiler_so + cc_args + [src, '-o', obj] + -- extra_postargs) -+ if self.detect_language(src) == 'c++': -+ self.spawn(self.compiler_so_cxx + cc_args + [src, '-o', obj] + -+ extra_postargs) -+ else: -+ self.spawn(self.compiler_so + cc_args + [src, '-o', obj] + -+ extra_postargs) - except DistutilsExecError, msg: - raise CompileError, msg - ---- lib-python/2.7/distutils/sysconfig_cpython.py -+++ lib-python/2.7/distutils/sysconfig_cpython.py -@@ -149,10 +149,12 @@ - varies across Unices and is stored in Python's Makefile. - """ - if compiler.compiler_type == "unix": -- (cc, cxx, opt, cflags, ccshared, ldshared, so_ext, ar, ar_flags) = \ -- get_config_vars('CC', 'CXX', 'OPT', 'CFLAGS', -- 'CCSHARED', 'LDSHARED', 'SO', 'AR', -- 'ARFLAGS') -+ (cc, cxx, ccshared, ldshared, ldcxxshared, so_ext, ar, ar_flags) = \ -+ get_config_vars('CC', 'CXX', 'CCSHARED', 'LDSHARED', 'LDCXXSHARED', -+ 'SO', 'AR', 'ARFLAGS') -+ -+ cflags = '' -+ cxxflags = '' - - newcc = None - if 'CC' in os.environ: -@@ -190,19 +192,27 @@ - cxx = os.environ['CXX'] - if 'LDSHARED' in os.environ: - ldshared = os.environ['LDSHARED'] -+ if 'LDCXXSHARED' in os.environ: -+ ldcxxshared = os.environ['LDCXXSHARED'] - if 'CPP' in os.environ: - cpp = os.environ['CPP'] - else: - cpp = cc + " -E" # not always - if 'LDFLAGS' in os.environ: - ldshared = ldshared + ' ' + os.environ['LDFLAGS'] -+ ldcxxshared = ldcxxshared + ' ' + os.environ['LDFLAGS'] - if 'CFLAGS' in os.environ: -- cflags = opt + ' ' + os.environ['CFLAGS'] -+ cflags = os.environ['CFLAGS'] - ldshared = ldshared + ' ' + os.environ['CFLAGS'] -+ if 'CXXFLAGS' in os.environ: -+ cxxflags = os.environ['CXXFLAGS'] -+ ldcxxshared = ldcxxshared + ' ' + os.environ['CXXFLAGS'] - if 'CPPFLAGS' in os.environ: - cpp = cpp + ' ' + os.environ['CPPFLAGS'] - cflags = cflags + ' ' + os.environ['CPPFLAGS'] -+ cxxflags = cxxflags + ' ' + os.environ['CPPFLAGS'] - ldshared = ldshared + ' ' + os.environ['CPPFLAGS'] -+ ldcxxshared = ldcxxshared + ' ' + os.environ['CPPFLAGS'] - if 'AR' in os.environ: - ar = os.environ['AR'] - if 'ARFLAGS' in os.environ: -@@ -211,13 +221,17 @@ - archiver = ar + ' ' + ar_flags - - cc_cmd = cc + ' ' + cflags -+ cxx_cmd = cxx + ' ' + cxxflags - compiler.set_executables( - preprocessor=cpp, - compiler=cc_cmd, - compiler_so=cc_cmd + ' ' + ccshared, -- compiler_cxx=cxx, -+ compiler_cxx=cxx_cmd, -+ compiler_so_cxx=cxx_cmd + ' ' + ccshared, - linker_so=ldshared, - linker_exe=cc, -+ linker_so_cxx=ldcxxshared, -+ linker_exe_cxx=cxx, - archiver=archiver) - - compiler.shared_lib_extension = so_ext -@@ -529,7 +543,7 @@ - for key in ('LDFLAGS', 'BASECFLAGS', 'LDSHARED', - # a number of derived variables. These need to be - # patched up as well. -- 'CFLAGS', 'PY_CFLAGS', 'BLDSHARED'): -+ 'CFLAGS', 'CXXFLAGS', 'PY_CFLAGS', 'BLDSHARED'): - flags = _config_vars[key] - flags = re.sub('-arch\s+\w+\s', ' ', flags) - flags = re.sub('-isysroot [^ \t]*', ' ', flags) -@@ -548,7 +562,7 @@ - for key in ('LDFLAGS', 'BASECFLAGS', 'LDSHARED', - # a number of derived variables. These need to be - # patched up as well. -- 'CFLAGS', 'PY_CFLAGS', 'BLDSHARED'): -+ 'CFLAGS', 'CXXFLAGS', 'PY_CFLAGS', 'BLDSHARED'): - - flags = _config_vars[key] - flags = re.sub('-arch\s+\w+\s', ' ', flags) -@@ -572,7 +586,7 @@ - for key in ('LDFLAGS', 'BASECFLAGS', 'LDSHARED', - # a number of derived variables. These need to be - # patched up as well. -- 'CFLAGS', 'PY_CFLAGS', 'BLDSHARED'): -+ 'CFLAGS', 'CXXFLAGS', 'PY_CFLAGS', 'BLDSHARED'): - - flags = _config_vars[key] - flags = re.sub('-isysroot\s+\S+(\s|$)', ' ', flags) ---- lib-python/2.7/distutils/sysconfig_pypy.py -+++ lib-python/2.7/distutils/sysconfig_pypy.py -@@ -123,7 +123,55 @@ - optional C speedup components. - """ - if compiler.compiler_type == "unix": -- compiler.compiler_so.extend(['-O2', '-fPIC', '-Wimplicit']) -+ cc = ' '.join(compiler.compiler) -+ cxx = ' '.join(compiler.compiler_cxx) -+ ldshared = ' '.join(compiler.linker_so) -+ ldcxxshared = ' '.join(compiler.linker_so_cxx) -+ -+ cflags = '' -+ cxxflags = '' -+ ccshared = '-fPIC' -+ -+ if 'CC' in os.environ: -+ cc = os.environ['CC'] -+ if 'CXX' in os.environ: -+ cxx = os.environ['CXX'] -+ if 'LDSHARED' in os.environ: -+ ldshared = os.environ['LDSHARED'] -+ if 'LDCXXSHARED' in os.environ: -+ ldcxxshared = os.environ['LDCXXSHARED'] -+ if 'CPP' in os.environ: -+ cpp = os.environ['CPP'] -+ else: -+ cpp = cc + " -E" # not always -+ if 'LDFLAGS' in os.environ: -+ ldshared = ldshared + ' ' + os.environ['LDFLAGS'] -+ ldcxxshared = ldcxxshared + ' ' + os.environ['LDFLAGS'] -+ if 'CFLAGS' in os.environ: -+ cflags = os.environ['CFLAGS'] -+ ldshared = ldshared + ' ' + os.environ['CFLAGS'] -+ if 'CXXFLAGS' in os.environ: -+ cxxflags = os.environ['CXXFLAGS'] -+ ldcxxshared = ldcxxshared + ' ' + os.environ['CXXFLAGS'] -+ if 'CPPFLAGS' in os.environ: -+ cpp = cpp + ' ' + os.environ['CPPFLAGS'] -+ cflags = cflags + ' ' + os.environ['CPPFLAGS'] -+ cxxflags = cxxflags + ' ' + os.environ['CPPFLAGS'] -+ ldshared = ldshared + ' ' + os.environ['CPPFLAGS'] -+ ldcxxshared = ldcxxshared + ' ' + os.environ['CPPFLAGS'] -+ -+ cc_cmd = cc + ' ' + cflags -+ cxx_cmd = cxx + ' ' + cxxflags -+ compiler.set_executables( -+ preprocessor=cpp, -+ compiler=cc_cmd, -+ compiler_so=cc_cmd + ' ' + ccshared, -+ compiler_cxx=cxx_cmd, -+ compiler_so_cxx=cxx_cmd + ' ' + ccshared, -+ linker_so=ldshared, -+ linker_exe=cc, -+ linker_so_cxx=ldcxxshared, -+ linker_exe_cxx=cxx) - compiler.shared_lib_extension = get_config_var('SO') - if "CPPFLAGS" in os.environ: - cppflags = shlex.split(os.environ["CPPFLAGS"]) ---- lib-python/2.7/distutils/unixccompiler.py -+++ lib-python/2.7/distutils/unixccompiler.py -@@ -114,14 +114,17 @@ - # are pretty generic; they will probably have to be set by an outsider - # (eg. using information discovered by the sysconfig about building - # Python extensions). -- executables = {'preprocessor' : None, -- 'compiler' : ["cc"], -- 'compiler_so' : ["cc"], -- 'compiler_cxx' : ["cc"], -- 'linker_so' : ["cc", "-shared"], -- 'linker_exe' : ["cc"], -- 'archiver' : ["ar", "-cr"], -- 'ranlib' : None, -+ executables = {'preprocessor' : None, -+ 'compiler' : ["cc"], -+ 'compiler_so' : ["cc"], -+ 'compiler_cxx' : ["c++"], -+ 'compiler_so_cxx' : ["c++"], -+ 'linker_so' : ["cc", "-shared"], -+ 'linker_exe' : ["cc"], -+ 'linker_so_cxx' : ["c++", "-shared"], -+ 'linker_exe_cxx' : ["c++"], -+ 'archiver' : ["ar", "-cr"], -+ 'ranlib' : None, - } - - if sys.platform[:6] == "darwin": -@@ -171,11 +174,18 @@ - - def _compile(self, obj, src, ext, cc_args, extra_postargs, pp_opts): - compiler_so = self.compiler_so -+ compiler_so_cxx = self.compiler_so_cxx - if sys.platform == 'darwin': - compiler_so = _darwin_compiler_fixup(compiler_so, cc_args + extra_postargs) -+ compiler_so_cxx = _darwin_compiler_fixup(compiler_so_cxx, cc_args + -+ extra_postargs) - try: -- self.spawn(compiler_so + cc_args + [src, '-o', obj] + -- extra_postargs) -+ if self.detect_language(src) == 'c++': -+ self.spawn(compiler_so_cxx + cc_args + [src, '-o', obj] + -+ extra_postargs) -+ else: -+ self.spawn(compiler_so + cc_args + [src, '-o', obj] + -+ extra_postargs) - except DistutilsExecError, msg: - raise CompileError, msg - -@@ -232,23 +242,16 @@ - ld_args.extend(extra_postargs) - self.mkpath(os.path.dirname(output_filename)) - try: -- if target_desc == CCompiler.EXECUTABLE: -- linker = self.linker_exe[:] -+ if target_lang == "c++": -+ if target_desc == CCompiler.EXECUTABLE: -+ linker = self.linker_exe_cxx[:] -+ else: -+ linker = self.linker_so_cxx[:] - else: -- linker = self.linker_so[:] -- if target_lang == "c++" and self.compiler_cxx: -- # skip over environment variable settings if /usr/bin/env -- # is used to set up the linker's environment. -- # This is needed on OSX. Note: this assumes that the -- # normal and C++ compiler have the same environment -- # settings. -- i = 0 -- if os.path.basename(linker[0]) == "env": -- i = 1 -- while '=' in linker[i]: -- i = i + 1 -- -- linker[i] = self.compiler_cxx[i] -+ if target_desc == CCompiler.EXECUTABLE: -+ linker = self.linker_exe[:] -+ else: -+ linker = self.linker_so[:] - - if sys.platform == 'darwin': - linker = _darwin_compiler_fixup(linker, ld_args) diff --git a/dev-python/pypy-bin/pypy-bin-2.0.2-r1.ebuild b/dev-python/pypy-bin/pypy-bin-2.0.2-r1.ebuild deleted file mode 100644 index 74ef91103d61..000000000000 --- a/dev-python/pypy-bin/pypy-bin-2.0.2-r1.ebuild +++ /dev/null @@ -1,149 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pypy-bin/pypy-bin-2.0.2-r1.ebuild,v 1.5 2014/07/06 13:18:56 mgorny Exp $ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 pypy pypy2_0 ) -inherit eutils multilib pax-utils python-any-r1 versionator - -BINHOST="http://dev.gentoo.org/~mgorny/dist/${PN}" - -DESCRIPTION="A fast, compliant alternative implementation of the Python language (binary package)" -HOMEPAGE="http://pypy.org/" -SRC_URI="https://www.bitbucket.org/pypy/pypy/downloads/pypy-${PV}-src.tar.bz2 - amd64? ( - jit? ( shadowstack? ( - ${BINHOST}/${P}-amd64+bzip2+jit+ncurses+shadowstack.tar.xz - ) ) - jit? ( !shadowstack? ( - ${BINHOST}/${P}-amd64+bzip2+jit+ncurses.tar.xz - ) ) - !jit? ( !shadowstack? ( - ${BINHOST}/${P}-amd64+bzip2+ncurses.tar.xz - ) ) - ) - x86? ( - sse2? ( - jit? ( shadowstack? ( - ${BINHOST}/${P}-x86+bzip2+jit+ncurses+shadowstack+sse2.tar.xz - ) ) - jit? ( !shadowstack? ( - ${BINHOST}/${P}-x86+bzip2+jit+ncurses+sse2.tar.xz - ) ) - !jit? ( !shadowstack? ( - ${BINHOST}/${P}-x86+bzip2+ncurses+sse2.tar.xz - ) ) - ) - !sse2? ( - !jit? ( !shadowstack? ( - ${BINHOST}/${P}-x86+bzip2+ncurses.tar.xz - ) ) - ) - )" - -# Supported variants -REQUIRED_USE="!jit? ( !shadowstack ) - x86? ( !sse2? ( !jit !shadowstack ) )" - -LICENSE="MIT" -SLOT="0/$(get_version_component_range 1-2 ${PV})" -KEYWORDS="~amd64 ~x86" -IUSE="doc +jit shadowstack sqlite sse2 test" - -# yep, world would be easier if people started filling subslots... -RDEPEND=" - ~app-arch/bzip2-1.0.6:0 - ~dev-libs/expat-2.1.0:0 - ( =dev-libs/libffi-3.0.11:0 ) - ( =dev-libs/openssl-1.0.1c:0 ) - ( =sys-libs/glibc-2.15:2.2 ) - ~sys-libs/ncurses-5.9:5 - ( =sys-libs/zlib-1.2.7:0 ) - sqlite? ( dev-db/sqlite:3 ) - !dev-python/pypy:0" -DEPEND="app-arch/xz-utils - doc? ( dev-python/sphinx ) - test? ( ${RDEPEND} )" -PDEPEND="app-admin/python-updater" - -S=${WORKDIR}/pypy-${PV}-src - -pkg_setup() { - use doc && python-any-r1_pkg_setup -} - -src_prepare() { - epatch "${FILESDIR}/1.9-scripts-location.patch" - epatch "${FILESDIR}/1.9-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.patch" - epatch "${FILESDIR}/2.0.2-distutils-fix_handling_of_executables_and_flags.patch" - - epatch_user -} - -src_compile() { - # Tadaam! PyPy compiled! - mv "${WORKDIR}"/${P}*/pypy-c . || die - mv "${WORKDIR}"/${P}*/include/*.h include/ || die - mv pypy/module/cpyext/include/*.h include/ || die - - use doc && emake -C pypy/doc/ html - #needed even without jit :( also needed in both compile and install phases - pax-mark m pypy-c -} - -src_test() { - # (unset) - local -x PYTHONDONTWRITEBYTECODE - - ./pypy-c ./pypy/test_all.py --pypy=./pypy-c lib-python || die -} - -src_install() { - einfo "Installing PyPy ..." - insinto "/usr/$(get_libdir)/pypy" - doins -r include lib_pypy lib-python pypy-c - fperms a+x ${INSDESTTREE}/pypy-c - #needed even without jit :( - pax-mark m "${ED%/}${INSDESTTREE}/pypy-c" - dosym ../$(get_libdir)/pypy/pypy-c /usr/bin/pypy - dodoc README.rst - - if ! use sqlite; then - rm -r "${ED%/}${INSDESTTREE}"/lib-python/*2.7/sqlite3 || die - rm "${ED%/}${INSDESTTREE}"/lib_pypy/_sqlite3.py || die - fi - - # Install docs - use doc && dohtml -r pypy/doc/_build/html/ - - einfo "Generating caches and byte-compiling ..." - - python_export pypy EPYTHON PYTHON PYTHON_SITEDIR - local PYTHON=${ED%/}${INSDESTTREE}/pypy-c - - echo "EPYTHON='${EPYTHON}'" > epython.py - python_domodule epython.py - - # Note: call portage helpers before this line. - # PYTHONPATH confuses them and will result in random failures. - - local -x PYTHONPATH="${ED%/}${INSDESTTREE}/lib_pypy:${ED%/}${INSDESTTREE}/lib-python/2.7" - - # Generate Grammar and PatternGrammar pickles. - "${PYTHON}" -c "import lib2to3.pygram, lib2to3.patcomp; lib2to3.patcomp.PatternCompiler()" \ - || die "Generation of Grammar and PatternGrammar pickles failed" - - # Generate cffi cache - "${PYTHON}" -c "import _curses" || die "Failed to import _curses" - if use sqlite; then - "${PYTHON}" -c "import _sqlite3" || die "Failed to import _sqlite3" - fi - - # compile the installed modules - python_optimize "${ED%/}${INSDESTTREE}" -} diff --git a/dev-python/pypy-bin/pypy-bin-2.2.1-r1.ebuild b/dev-python/pypy-bin/pypy-bin-2.2.1-r1.ebuild deleted file mode 100644 index 6ad5478aa383..000000000000 --- a/dev-python/pypy-bin/pypy-bin-2.2.1-r1.ebuild +++ /dev/null @@ -1,163 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pypy-bin/pypy-bin-2.2.1-r1.ebuild,v 1.4 2014/07/06 13:18:56 mgorny Exp $ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 pypy pypy2_0 ) -inherit eutils multilib pax-utils python-any-r1 versionator - -BINHOST="http://pypy.aliceinwire.net/pypy-bin/" - -DESCRIPTION="A fast, compliant alternative implementation of the Python language (binary package)" -HOMEPAGE="http://pypy.org/" -SRC_URI="https://www.bitbucket.org/pypy/pypy/downloads/pypy-${PV}-src.tar.bz2 - amd64? ( - jit? ( shadowstack? ( - ${BINHOST}/${P}-amd64+bzip2+jit+ncurses+shadowstack.tar.xz - -> ${P}-r1-amd64+bzip2+jit+ncurses+shadowstack.tar.xz - ) ) - jit? ( !shadowstack? ( - ${BINHOST}/${P}-amd64+bzip2+jit+ncurses.tar.xz - -> ${P}-r1-amd64+bzip2+jit+ncurses.tar.xz - ) ) - !jit? ( !shadowstack? ( - ${BINHOST}/${P}-amd64+bzip2+ncurses.tar.xz - -> ${P}-r1-amd64+bzip2+ncurses.tar.xz - ) ) - ) - x86? ( - sse2? ( - jit? ( shadowstack? ( - ${BINHOST}/${P}-x86+bzip2+jit+ncurses+shadowstack+sse2.tar.xz - -> ${P}-r1-x86+bzip2+jit+ncurses+shadowstack+sse2.tar.xz - ) ) - jit? ( !shadowstack? ( - ${BINHOST}/${P}-x86+bzip2+jit+ncurses+sse2.tar.xz - -> ${P}-r1-x86+bzip2+jit+ncurses+sse2.tar.xz - ) ) - !jit? ( !shadowstack? ( - ${BINHOST}/${P}-x86+bzip2+ncurses+sse2.tar.xz - -> ${P}-r1-x86+bzip2+ncurses+sse2.tar.xz - ) ) - ) - !sse2? ( - !jit? ( !shadowstack? ( - ${BINHOST}/${P}-x86+bzip2+ncurses.tar.xz - -> ${P}-r1-x86+bzip2+ncurses.tar.xz - ) ) - ) - )" - -# Supported variants -REQUIRED_USE="!jit? ( !shadowstack ) - x86? ( !sse2? ( !jit !shadowstack ) )" - -LICENSE="MIT" -SLOT="0/$(get_version_component_range 1-2 ${PV})" -KEYWORDS="~amd64 ~x86" -IUSE="doc +jit shadowstack sqlite sse2 test tk" - -# yep, world would be easier if people started filling subslots... -RDEPEND=" - app-arch/bzip2:0 - dev-libs/expat:0 - dev-libs/libffi:0 - dev-libs/openssl:0 - sys-libs/glibc:2.2 - sys-libs/ncurses:5 - sys-libs/zlib:0 - sqlite? ( dev-db/sqlite:3 ) - tk? ( dev-lang/tk:0 ) - !dev-python/pypy:0" -DEPEND="app-arch/xz-utils - doc? ( dev-python/sphinx ) - test? ( ${RDEPEND} )" -PDEPEND="app-admin/python-updater" - -S=${WORKDIR}/pypy-${PV}-src - -pkg_setup() { - use doc && python-any-r1_pkg_setup -} - -src_prepare() { - epatch "${FILESDIR}/1.9-scripts-location.patch" - epatch "${FILESDIR}/1.9-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.patch" - epatch "${FILESDIR}/2.1-distutils-fix_handling_of_executables_and_flags.patch" - - epatch_user -} - -src_compile() { - # Tadaam! PyPy compiled! - mv "${WORKDIR}"/${P}*/pypy-c . || die - mv "${WORKDIR}"/${P}*/include/*.h include/ || die - mv pypy/module/cpyext/include/*.h include/ || die - - use doc && emake -C pypy/doc/ html - #needed even without jit :( also needed in both compile and install phases - pax-mark m pypy-c -} - -src_test() { - # (unset) - local -x PYTHONDONTWRITEBYTECODE - - ./pypy-c ./pypy/test_all.py --pypy=./pypy-c lib-python || die -} - -src_install() { - einfo "Installing PyPy ..." - insinto "/usr/$(get_libdir)/pypy" - doins -r include lib_pypy lib-python pypy-c - fperms a+x ${INSDESTTREE}/pypy-c - #needed even without jit :( - pax-mark m "${ED%/}${INSDESTTREE}/pypy-c" - dosym ../$(get_libdir)/pypy/pypy-c /usr/bin/pypy - dodoc README.rst - - if ! use sqlite; then - rm -r "${ED%/}${INSDESTTREE}"/lib-python/*2.7/sqlite3 \ - "${ED%/}${INSDESTTREE}"/lib_pypy/_sqlite3.py \ - "${ED%/}${INSDESTTREE}"/lib-python/*2.7/test/test_sqlite.py || die - fi - if ! use tk; then - rm -r "${ED%/}${INSDESTTREE}"/lib-python/*2.7/{idlelib,lib-tk} \ - "${ED%/}${INSDESTTREE}"/lib_pypy/_tkinter \ - "${ED%/}${INSDESTTREE}"/lib-python/*2.7/test/test_{tcl,tk,ttk*}.py || die - fi - - # Install docs - use doc && dohtml -r pypy/doc/_build/html/ - - einfo "Generating caches and byte-compiling ..." - - python_export pypy EPYTHON PYTHON PYTHON_SITEDIR - local PYTHON=${ED%/}${INSDESTTREE}/pypy-c - - echo "EPYTHON='${EPYTHON}'" > epython.py - python_domodule epython.py - - # Note: call portage helpers before this line. - # PYTHONPATH confuses them and will result in random failures. - - local -x PYTHONPATH="${ED%/}${INSDESTTREE}/lib_pypy:${ED%/}${INSDESTTREE}/lib-python/2.7" - - # Generate Grammar and PatternGrammar pickles. - "${PYTHON}" -c "import lib2to3.pygram, lib2to3.patcomp; lib2to3.patcomp.PatternCompiler()" \ - || die "Generation of Grammar and PatternGrammar pickles failed" - - # Generate cffi cache - "${PYTHON}" -c "import _curses" || die "Failed to import _curses (cffi)" - "${PYTHON}" -c "import syslog" || die "Failed to import syslog (cffi)" - if use sqlite; then - "${PYTHON}" -c "import _sqlite3" || die "Failed to import _sqlite3 (cffi)" - fi - if use tk; then - "${PYTHON}" -c "import _tkinter" || die "Failed to import _tkinter (cffi)" - fi - - # compile the installed modules - python_optimize "${ED%/}${INSDESTTREE}" -} diff --git a/dev-python/pypy/ChangeLog b/dev-python/pypy/ChangeLog index 9fa51541932d..9d4e23a50d2d 100644 --- a/dev-python/pypy/ChangeLog +++ b/dev-python/pypy/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/pypy # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pypy/ChangeLog,v 1.79 2014/11/08 23:04:12 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pypy/ChangeLog,v 1.80 2014/11/08 23:10:10 mgorny Exp $ + + 08 Nov 2014; Michał Górny + -files/2.0.2-distutils-fix_handling_of_executables_and_flags.patch, + -files/2.1-distutils-fix_handling_of_executables_and_flags.patch, + -pypy-2.0.2-r1.ebuild, -pypy-2.2.1.ebuild: + Drop old. 08 Nov 2014; Michał Górny pypy-2.4.0.ebuild: Restore keywords now that pypy-bin packages are built. diff --git a/dev-python/pypy/Manifest b/dev-python/pypy/Manifest index 3e904f22f7c7..cb243873fc47 100644 --- a/dev-python/pypy/Manifest +++ b/dev-python/pypy/Manifest @@ -3,36 +3,30 @@ Hash: SHA256 AUX 1.9-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.patch 555 SHA256 110c15482123bc6fbf11e237df30eb0daad7f6032e2f73903e9e3c225121737a SHA512 f2df0a67480bbe46fbb25dd06abcbc226a7034410855105012045287e662a598fae467f5bc81b3d4adb738f812bf41819aaa5827151db0d6bba573305ee88474 WHIRLPOOL 14084d22388b2bbda7fbd19195f448265f99b1437b7cefdac276ccab52785c67b71768303e1d1ea9009f8533ba07de0014eb237b4de675cf8dbc1acbeacb8508 AUX 1.9-scripts-location.patch 354 SHA256 efceb2fabe7e2a9ca8cc3d8b86653d19b1a7e729c01ce70486da597f1fe9b1a0 SHA512 739f3620cf5c71d292e9a4c8cd2341184961313f42a23d794e2031ea165d82fab9628924800425fa70d27b3fd759138f62bf04345654c97ee1883bb069d8d261 WHIRLPOOL 6e607663498bf62d39cf420a586a82cad4c7ba660228987133c0ba9ebec3a20257e7dccb677815a0ad886de466cad79daa79dc8a434a52b21d44e84f46c00830 -AUX 2.0.2-distutils-fix_handling_of_executables_and_flags.patch 15226 SHA256 ff9af8fc2ee17c9ef9a239fb7f728245ccf6533559b8d8e94197db9decf21c60 SHA512 cb7cc7bc2d9e72b18dc022b7fb9605a3af2d0f8e192af9b420315e772861a2082f6dfd0d0b969b8916635e3b57e78ead9c9707258c4e7ae5fb4f175685204868 WHIRLPOOL 219bc0fa734e319e3f9102b2c860a3163acdf5d7b65a5bc4799c898f36c8816ed6847317b18f79e91de322d740f676f3dc3ba1e65934f382dcfe36f67f8a110d -AUX 2.1-distutils-fix_handling_of_executables_and_flags.patch 15065 SHA256 bfac2289b4d3e481e1c126750658a6fd15b37cd2425ff1b4ad0f67848dbeb8d7 SHA512 b4e173056ca8b462efdc8fee7853d34bd7c7a952542155110168f675ae7550127a6ce8db35c6a83f699729da4e7962d2dbe2a567ba39c7a60a07251515e03960 WHIRLPOOL 335cb8bd6a5c52c6ca9f62180887109bb0fccf70da60fdd1277eb2b9bd1db5286b447072639379d2a3de526c30a8541846d4cebdbc8acee76ede75edc80e9b1c AUX 2.3-21_all_distutils_c++.patch 14825 SHA256 99fc72d254a903a5445c991ac5e1f7ab95d1df6dde684250e145bd908131ebda SHA512 8b53016ae48cae39e9fee030fa18b9cebb72bf72b180be1a0a605a97ab6a0ad62d32317f459728a324f83179ec624885bd3cbe61ac0b5594690cca0c0e74c76e WHIRLPOOL 6718f3e998f0d7174e7088881c74d0e2063e935b5610e076eaf2233ee84f6478c0a1689f5d01de9aeb8f53a97ed73fb4957de16be4adc83045b21c48b93e8646 AUX 2.3.1-shared-lib.patch 525 SHA256 865514044a180aaf707054aafbf78f8b834aedd4cee96f2fbafdff5360dd219a SHA512 e7c5e4a6ed36e4fe74ea30fc5c936a7ff147a25b275cad5713b6f492b042ac64950086430cee0c89baf1b1e084858a40f61b884c88fdd5a39addc3a452f41b83 WHIRLPOOL 5ac8d50805b16eec50b309f3812011ede31564b16d2c782dce4eb006b37accc2c4818134cc562da5fea5c77fa3fdb909bbba707bef1ee0c440b5cce039d2ba94 -DIST pypy-2.0.2-src.tar.bz2 14819848 SHA256 1991c90d6b98e2408b3790d4b57b71ec1c69346328b8321505ce8f6ab4544c3c SHA512 5b8b56194dff468dd249dea0014fadafb791eb69858ffae0b9c7638f087df277a84ddadc7d5b0fdb48a12ca8e6b70eb95cb5b7a5f56fe8fe3396820b814ecfd7 WHIRLPOOL bb1f71e0b2d3e145edcb1baa17b0a13c09f5229cf1b0532edbb3d0d5c87ef39543c0ef6b9dc7ce2778c4a3336d4a1580fce9cf960f82b72ddfed02e06d10d8af -DIST pypy-2.2.1-src.tar.bz2 14439822 SHA256 252045187e443656a2beb412dadac9296e8fe8db0f75a66ed5265db58c35035f SHA512 68b52c5b1a9b96593aa1dd38ad0b1b7b282852008e3ae3c488a5e19ab2bede68e2b40afdb79d85a4ab21cb1da6647b8b958fcefe34c99a1f6cbc1a19d695d3b6 WHIRLPOOL 6eca63959d8ee5663f868daaaac32ad1180b07e2f8b63d839652902095a098ffbfa29c6f83451733270a4b2f73b65450cb3b80a878b9dd1ec71089bfff11e9f6 DIST pypy-2.3.1-src.tar.bz2 15225332 SHA256 3fd10d97c0177c33ed358a78eb26f5bf1f91b266af853564b1a9d8c310a1e439 SHA512 86aab86c5f413cdd6a56680915605de5c1416255b43a8dce1b4dcf8f1febdb3275076a4a9c7de30002387d59e4171a52da2528436eb205d8d947de7edd049c65 WHIRLPOOL c78d41240f1803d9461f797fd0ef647a40a6990a4e3a504e80a0eaaf460d052bb60fe6240cacdb3ee8737500c9c7f418b1d55c619d01ac7b73aace3d82157aa6 DIST pypy-2.4.0-src.tar.bz2 15495214 SHA256 38810007aee4885ca0703b566db6594dd7649adaaa287df7a1012f10e067740f SHA512 91b41ed80a6ff0d7b2b134a7802f098de35ffd2068dc3e477d27b0bc821c6d329eb8bcad4db4a5ff9ff429830d4abfbeb435a2a2d2d9bbc2c36f2d21af0b2e0c WHIRLPOOL affb14b805b2dcb8b579dd421bfb8276e80d3b31cea41bf57ad5dd9260e2e27d838b0303e4a3af5ca38b0b4f08ac88b142d6f1db20753bec6f8cbfdfc482099b -EBUILD pypy-2.0.2-r1.ebuild 4238 SHA256 5daf6f2699b734e0f4812de31472ee0f8beef335a892f233e2a5243327305214 SHA512 83e093cfc1e66f7e63d660d17d4c9e669f80fdb33eaa708b34e6a3c5008cc9e65d5107e41abc8557645eaecf9139cba596e87a7738042efdcf60306b3140509d WHIRLPOOL d35333732552971bf29cacfba6c73b45616f43dd20626384beba8488bf3b9092e9a8cec0b02ea2e62ef9a3a0ccb2f5599e068ddb239f3221ce61a2f17c045f73 -EBUILD pypy-2.2.1.ebuild 4607 SHA256 8c2b5bf6168831e5231a5af1fab6faeb9615c5675039d387a662db8d4afc711e SHA512 dd0a8594d4cd294a2100b02be56f99f2db86f573e75f5c34eb4db6fd40b2925806ec34586ff656226a20577322944b8d0b166677692b49fa8828bac24992e865 WHIRLPOOL 92646486accd408db4a4e671c390c806ebc4d7f256636f8c642e290ad5200d4e5b9d26a4620f2fe1cbecb4c2ff608abd0b37ce566619b192e218e3be0d0c5e77 EBUILD pypy-2.3.1-r2.ebuild 6515 SHA256 3584119843cd8d8adc5b3ea7c27d53c99808ee318daf79ac68aa35bba7a36eaa SHA512 fc09ac9e3f47f2d986b14a53553b8c7eb447afbaed20ad8d55258d50a24132352633550326a9f81563365a5ce82932df06abc8d352917e1469ef651ef88caa4e WHIRLPOOL 1e472d27e7b1c068cbae7ce3287c55ce28524952a3faa1eec96274e132d22e5fefd0c95183444daf06951194939bddcaffcefaf8f97645056c15edb15735c6fe EBUILD pypy-2.4.0.ebuild 6478 SHA256 e5dd433780d37ec333377a96588300df5e6b2f0f3b52c55f0974843e9fed4a3f SHA512 21b84c7d2c8eee29d3d54350d41af97c7f200b86fbc02c009c0798f42ca5a5addd7bc8e9ebcbef2abb9c2472e8a6d59fb93785e968c0b7dd6cb0f2beb07970d5 WHIRLPOOL eb6a209d45743efd4c4417ef92df5e9bdbde70d83b262751e1c35344ddb9ec6bbe4221aadf7049cfbc194a34c8098a30d54db123bce4d6ffc5f780c95df98976 -MISC ChangeLog 14620 SHA256 afc4ce2525565091c55292e4e76a89561a4fe587215c97fec0478be70eb0dd19 SHA512 d515a82cac12dceaafdd91575e369c5dfbbe11a8e964c1bff9c6f9d20128b5aeb927f725b7ccd6a1f9ceba356101ded1a4804b689a172e58a66c1ac6f97d5a40 WHIRLPOOL 4913c78b97cf83d1aa8ffaaba52315fa0d6db10be4333ceaa2ccb37f6929f468e9523a731a051123a2239ab6aaf22cc739f4a77ff97a053192fb779cb4b887fe +MISC ChangeLog 14866 SHA256 4276b9a8735a95afacfb41c15f0b4ca2078017a4d04e4ae667f9c542ac1d84a3 SHA512 35c59eddbc7fb933d356da1ee14cd5ab2dc55f97a2c478633d7d2539f9f2925438d616d9b2264f7a95c0ef5c92bc72d1dfb67057fe392b97a4c814eacfa9fb1d WHIRLPOOL ab5532afcaa88f8391ac40b34329d83c854f0fc71defb952529777301cb156f2db5d920bd1b12de990a5f255d16c03167817deb57427bfc0f64ae95e74096e08 MISC metadata.xml 886 SHA256 90dfb3efc5ed246caf98dcf6b97d6b9106a71c9851592b1ae67d002930cc6704 SHA512 6d4b2898758739a8bb4aedc7b3d6a47f4223bd6c2403de65e7e913d6e1695afb94dd272dd05a239234fda5febdc78e62022d4f36cbfcaf87f4083a2720704304 WHIRLPOOL cbb63a846ca9e6ef5ce23d7165cdbdfe052a1ce559fdb2933db04d4081e3515a880672f9dda0759dc566e924b1375c21c7191a2c1ba11a61d0121923363567f1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQJ8BAEBCABmBQJUXqFtXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +iQJ8BAEBCABmBQJUXqLTXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC -MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZO9LEP/iXjY7t+JxCZRVX0VzBsy1sa -1IfNP3z9tTm6Wi1mgG4kUtkflLW48BKyaXMJk1v3erv7kBS7QcOWQQFVK4Y8gQ7F -YvA3I3vFnpawzd/ejI5CaVhQzoqADWOR4GhLQSCYz3xFRN21zROWInIip2PdJPYw -H1aJHxd9bBqAWiR7iJezm9uGgj6KS6GKIW/7nU/zBBDJJaOEEnQbJMRs3vmY3ePc -6uuBH3FpVM4cSWDFuTs7GizBhs52xs3IpkPs9FArrhz5wuApLOfC+rVV5mZCZu1r -I6OATD/M4xu2HQpP1oQi4ppzuzTkBzQVsT0SWr2iLjDMO/dztnUfMB8QEozszHDv -Cy5DdwReWr2sYOoszbllNegl8jExfQ91LIhbzmRklXgFW43322QBIY92JOpOzlnI -6bND/ufFF1rdJBu0BntmPYNS2gq+utQZcsW0/B4I44cAG0VqBQBNd7BAZ1JMCzqI -WVdLiGrEz8YIA1KnW+wRCN1OmjtbRM3Nio5DP+tSSt04kFeke5W9f65B5pMqK/av -eJWVg7muZfMEgG/4zMmhwWXbRIDzX4uWuwWUgVQfvCUa/78ZFAmfMNN4FcYm9tvY -9WCp06JCWXqSW9vmfF8gBj/yjOdoryOI2FedNOiUU4qruCCKsbiPopGXuHTZ6g8s -SaQFc5HGgYVjXrZU0cu2 -=Ikrs +MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOzXYQAMXA3Bvk+37EjmlnMLwPJJ9n +YX+lV3NaNpE8PQhNFgdG4uajVQsGoh270R8PW9Jn2VMQnL1JBn/yEZJtc6465bjw +dyV70RmqUfsOFTRIgBlkXr9JmmqlhIq0I5XO8cd76ZZ+SevKBooN3Kc7DLzdjmNJ +RZK8hduK4/l3SWNLBKUN6NyLepcifEQ8Ws6dWlUqfMzlyfbUb+3JXhgnLamF9Ur/ +wnEpqnyFq3jUwNbtfxWn+e0bozs4EE2/1DjZpt3I7LhttTAeIGG8eAvQv3cum94q +h5ar4hVH1x5xNiYR5KyuB8Y0Nq388JgZrDWmGZAoZ3sAFvQo4cbrP+Crcs9tejP8 +cg/ZwNXBrafPjHZF5/H9tjJmJHmsRM8HDOa82Nd1K3nu3eA5zUOTOdTlqCdL+Yxa +77+9IqDrcBivaw9tLisfVr4P5XK+aY2vEwXTLybU6ek9MP/k8UmEBkwMb/O3K3m/ +MGqwEVF47NNWfTwiIjeHi9cLBLLNMZBh/2qZFAJ8D7s0DX/L2UAjViIbSmhczUIw +JaAM9/CBRKZByjrp0tql/KDM8PAGgxSRJ4VtjjNTO3JWR5MlJMC9033MQaIhjRWH +HlPW1m6jDyu12mcxj7mhdOuE8Aw4wk8j1d2JPfcQGTbtfYlQpDuRNawGF3P69Wkg +TbnEkettK3b4HVxqh6L0 +=0FmH -----END PGP SIGNATURE----- diff --git a/dev-python/pypy/files/2.0.2-distutils-fix_handling_of_executables_and_flags.patch b/dev-python/pypy/files/2.0.2-distutils-fix_handling_of_executables_and_flags.patch deleted file mode 100644 index e73836904d59..000000000000 --- a/dev-python/pypy/files/2.0.2-distutils-fix_handling_of_executables_and_flags.patch +++ /dev/null @@ -1,323 +0,0 @@ -http://bugs.python.org/issue1222585 - ---- a/lib-python/2.7/distutils/cygwinccompiler.py -+++ b/lib-python/2.7/distutils/cygwinccompiler.py -@@ -132,9 +132,13 @@ - self.set_executables(compiler='gcc -mcygwin -O -Wall', - compiler_so='gcc -mcygwin -mdll -O -Wall', - compiler_cxx='g++ -mcygwin -O -Wall', -+ compiler_so_cxx='g++ -mcygwin -mdll -O -Wall', - linker_exe='gcc -mcygwin', - linker_so=('%s -mcygwin %s' % -- (self.linker_dll, shared_option))) -+ (self.linker_dll, shared_option)), -+ linker_exe_cxx='g++ -mcygwin', -+ linker_so_cxx=('%s -mcygwin %s' % -+ (self.linker_dll, shared_option))) - - # cygwin and mingw32 need different sets of libraries - if self.gcc_version == "2.91.57": -@@ -160,8 +164,12 @@ - raise CompileError, msg - else: # for other files use the C-compiler - try: -- self.spawn(self.compiler_so + cc_args + [src, '-o', obj] + -- extra_postargs) -+ if self.detect_language(src) == 'c++': -+ self.spawn(self.compiler_so_cxx + cc_args + [src, '-o', obj] + -+ extra_postargs) -+ else: -+ self.spawn(self.compiler_so + cc_args + [src, '-o', obj] + -+ extra_postargs) - except DistutilsExecError, msg: - raise CompileError, msg - -@@ -322,10 +330,15 @@ - self.set_executables(compiler='gcc -mno-cygwin -O -Wall', - compiler_so='gcc -mno-cygwin -mdll -O -Wall', - compiler_cxx='g++ -mno-cygwin -O -Wall', -+ compiler_so_cxx='g++ -mno-cygwin -mdll -O -Wall', - linker_exe='gcc -mno-cygwin', - linker_so='%s -mno-cygwin %s %s' - % (self.linker_dll, shared_option, -- entry_point)) -+ entry_point), -+ linker_exe_cxx='g++ -mno-cygwin', -+ linker_so_cxx='%s -mno-cygwin %s %s' -+ % (self.linker_dll, shared_option, -+ entry_point)) - # Maybe we should also append -mthreads, but then the finished - # dlls need another dll (mingwm10.dll see Mingw32 docs) - # (-mthreads: Support thread-safe exception handling on `Mingw32') ---- a/lib-python/2.7/distutils/emxccompiler.py -+++ b/lib-python/2.7/distutils/emxccompiler.py -@@ -65,8 +65,12 @@ - # XXX optimization, warnings etc. should be customizable. - self.set_executables(compiler='gcc -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall', - compiler_so='gcc -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall', -+ compiler_cxx='g++ -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall', -+ compiler_so_cxx='g++ -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall', - linker_exe='gcc -Zomf -Zmt -Zcrtdll', -- linker_so='gcc -Zomf -Zmt -Zcrtdll -Zdll') -+ linker_so='gcc -Zomf -Zmt -Zcrtdll -Zdll', -+ linker_exe_cxx='g++ -Zomf -Zmt -Zcrtdll', -+ linker_so_cxx='g++ -Zomf -Zmt -Zcrtdll -Zdll') - - # want the gcc library statically linked (so that we don't have - # to distribute a version dependent on the compiler we have) -@@ -83,8 +87,12 @@ - raise CompileError, msg - else: # for other files use the C-compiler - try: -- self.spawn(self.compiler_so + cc_args + [src, '-o', obj] + -- extra_postargs) -+ if self.detect_language(src) == 'c++': -+ self.spawn(self.compiler_so_cxx + cc_args + [src, '-o', obj] + -+ extra_postargs) -+ else: -+ self.spawn(self.compiler_so + cc_args + [src, '-o', obj] + -+ extra_postargs) - except DistutilsExecError, msg: - raise CompileError, msg - ---- a/lib-python/2.7/distutils/sysconfig_cpython.py -+++ b/lib-python/2.7/distutils/sysconfig_cpython.py -@@ -150,10 +150,12 @@ - varies across Unices and is stored in Python's Makefile. - """ - if compiler.compiler_type == "unix": -- (cc, cxx, opt, cflags, ccshared, ldshared, so_ext, ar, ar_flags) = \ -- get_config_vars('CC', 'CXX', 'OPT', 'CFLAGS', -- 'CCSHARED', 'LDSHARED', 'SO', 'AR', -- 'ARFLAGS') -+ (cc, cxx, ccshared, ldshared, ldcxxshared, so_ext, ar, ar_flags) = \ -+ get_config_vars('CC', 'CXX', 'CCSHARED', 'LDSHARED', 'LDCXXSHARED', -+ 'SO', 'AR', 'ARFLAGS') -+ -+ cflags = '' -+ cxxflags = '' - - newcc = None - if 'CC' in os.environ: -@@ -191,19 +193,27 @@ - cxx = os.environ['CXX'] - if 'LDSHARED' in os.environ: - ldshared = os.environ['LDSHARED'] -+ if 'LDCXXSHARED' in os.environ: -+ ldcxxshared = os.environ['LDCXXSHARED'] - if 'CPP' in os.environ: - cpp = os.environ['CPP'] - else: - cpp = cc + " -E" # not always - if 'LDFLAGS' in os.environ: - ldshared = ldshared + ' ' + os.environ['LDFLAGS'] -+ ldcxxshared = ldcxxshared + ' ' + os.environ['LDFLAGS'] - if 'CFLAGS' in os.environ: -- cflags = opt + ' ' + os.environ['CFLAGS'] -+ cflags = os.environ['CFLAGS'] - ldshared = ldshared + ' ' + os.environ['CFLAGS'] -+ if 'CXXFLAGS' in os.environ: -+ cxxflags = os.environ['CXXFLAGS'] -+ ldcxxshared = ldcxxshared + ' ' + os.environ['CXXFLAGS'] - if 'CPPFLAGS' in os.environ: - cpp = cpp + ' ' + os.environ['CPPFLAGS'] - cflags = cflags + ' ' + os.environ['CPPFLAGS'] -+ cxxflags = cxxflags + ' ' + os.environ['CPPFLAGS'] - ldshared = ldshared + ' ' + os.environ['CPPFLAGS'] -+ ldcxxshared = ldcxxshared + ' ' + os.environ['CPPFLAGS'] - if 'AR' in os.environ: - ar = os.environ['AR'] - if 'ARFLAGS' in os.environ: -@@ -212,13 +222,17 @@ - archiver = ar + ' ' + ar_flags - - cc_cmd = cc + ' ' + cflags -+ cxx_cmd = cxx + ' ' + cxxflags - compiler.set_executables( - preprocessor=cpp, - compiler=cc_cmd, - compiler_so=cc_cmd + ' ' + ccshared, -- compiler_cxx=cxx, -+ compiler_cxx=cxx_cmd, -+ compiler_so_cxx=cxx_cmd + ' ' + ccshared, - linker_so=ldshared, - linker_exe=cc, -+ linker_so_cxx=ldcxxshared, -+ linker_exe_cxx=cxx, - archiver=archiver) - - compiler.shared_lib_extension = so_ext -@@ -530,7 +544,7 @@ - for key in ('LDFLAGS', 'BASECFLAGS', 'LDSHARED', - # a number of derived variables. These need to be - # patched up as well. -- 'CFLAGS', 'PY_CFLAGS', 'BLDSHARED'): -+ 'CFLAGS', 'CXXFLAGS', 'PY_CFLAGS', 'BLDSHARED'): - flags = _config_vars[key] - flags = re.sub('-arch\s+\w+\s', ' ', flags) - flags = re.sub('-isysroot [^ \t]*', ' ', flags) -@@ -549,7 +563,7 @@ - for key in ('LDFLAGS', 'BASECFLAGS', 'LDSHARED', - # a number of derived variables. These need to be - # patched up as well. -- 'CFLAGS', 'PY_CFLAGS', 'BLDSHARED'): -+ 'CFLAGS', 'CXXFLAGS', 'PY_CFLAGS', 'BLDSHARED'): - - flags = _config_vars[key] - flags = re.sub('-arch\s+\w+\s', ' ', flags) -@@ -573,7 +587,7 @@ - for key in ('LDFLAGS', 'BASECFLAGS', 'LDSHARED', - # a number of derived variables. These need to be - # patched up as well. -- 'CFLAGS', 'PY_CFLAGS', 'BLDSHARED'): -+ 'CFLAGS', 'CXXFLAGS', 'PY_CFLAGS', 'BLDSHARED'): - - flags = _config_vars[key] - flags = re.sub('-isysroot\s+\S+(\s|$)', ' ', flags) ---- a/lib-python/2.7/distutils/sysconfig_pypy.py -+++ b/lib-python/2.7/distutils/sysconfig_pypy.py -@@ -114,13 +114,56 @@ - optional C speedup components. - """ - if compiler.compiler_type == "unix": -- compiler.compiler_so.extend(['-O2', '-fPIC', '-Wimplicit']) -+ cc = ' '.join(compiler.compiler) -+ cxx = ' '.join(compiler.compiler_cxx) -+ ldshared = ' '.join(compiler.linker_so) -+ ldcxxshared = ' '.join(compiler.linker_so_cxx) -+ -+ cflags = '' -+ cxxflags = '' -+ ccshared = '-fPIC' -+ -+ if 'CC' in os.environ: -+ cc = os.environ['CC'] -+ if 'CXX' in os.environ: -+ cxx = os.environ['CXX'] -+ if 'LDSHARED' in os.environ: -+ ldshared = os.environ['LDSHARED'] -+ if 'LDCXXSHARED' in os.environ: -+ ldcxxshared = os.environ['LDCXXSHARED'] -+ if 'CPP' in os.environ: -+ cpp = os.environ['CPP'] -+ else: -+ cpp = cc + " -E" # not always -+ if 'LDFLAGS' in os.environ: -+ ldshared = ldshared + ' ' + os.environ['LDFLAGS'] -+ ldcxxshared = ldcxxshared + ' ' + os.environ['LDFLAGS'] -+ if 'CFLAGS' in os.environ: -+ cflags = os.environ['CFLAGS'] -+ ldshared = ldshared + ' ' + os.environ['CFLAGS'] -+ if 'CXXFLAGS' in os.environ: -+ cxxflags = os.environ['CXXFLAGS'] -+ ldcxxshared = ldcxxshared + ' ' + os.environ['CXXFLAGS'] -+ if 'CPPFLAGS' in os.environ: -+ cpp = cpp + ' ' + os.environ['CPPFLAGS'] -+ cflags = cflags + ' ' + os.environ['CPPFLAGS'] -+ cxxflags = cxxflags + ' ' + os.environ['CPPFLAGS'] -+ ldshared = ldshared + ' ' + os.environ['CPPFLAGS'] -+ ldcxxshared = ldcxxshared + ' ' + os.environ['CPPFLAGS'] -+ -+ cc_cmd = cc + ' ' + cflags -+ cxx_cmd = cxx + ' ' + cxxflags -+ compiler.set_executables( -+ preprocessor=cpp, -+ compiler=cc_cmd, -+ compiler_so=cc_cmd + ' ' + ccshared, -+ compiler_cxx=cxx_cmd, -+ compiler_so_cxx=cxx_cmd + ' ' + ccshared, -+ linker_so=ldshared, -+ linker_exe=cc, -+ linker_so_cxx=ldcxxshared, -+ linker_exe_cxx=cxx) - compiler.shared_lib_extension = get_config_var('SO') -- if "CFLAGS" in os.environ: -- cflags = os.environ["CFLAGS"] -- compiler.compiler.append(cflags) -- compiler.compiler_so.append(cflags) -- compiler.linker_so.append(cflags) - - - from sysconfig_cpython import ( ---- a/lib-python/2.7/distutils/unixccompiler.py -+++ b/lib-python/2.7/distutils/unixccompiler.py -@@ -114,14 +114,17 @@ - # are pretty generic; they will probably have to be set by an outsider - # (eg. using information discovered by the sysconfig about building - # Python extensions). -- executables = {'preprocessor' : None, -- 'compiler' : ["cc"], -- 'compiler_so' : ["cc"], -- 'compiler_cxx' : ["cc"], -- 'linker_so' : ["cc", "-shared"], -- 'linker_exe' : ["cc"], -- 'archiver' : ["ar", "-cr"], -- 'ranlib' : None, -+ executables = {'preprocessor' : None, -+ 'compiler' : ["cc"], -+ 'compiler_so' : ["cc"], -+ 'compiler_cxx' : ["c++"], -+ 'compiler_so_cxx' : ["c++"], -+ 'linker_so' : ["cc", "-shared"], -+ 'linker_exe' : ["cc"], -+ 'linker_so_cxx' : ["c++", "-shared"], -+ 'linker_exe_cxx' : ["c++"], -+ 'archiver' : ["ar", "-cr"], -+ 'ranlib' : None, - } - - if sys.platform[:6] == "darwin": -@@ -171,11 +174,18 @@ - - def _compile(self, obj, src, ext, cc_args, extra_postargs, pp_opts): - compiler_so = self.compiler_so -+ compiler_so_cxx = self.compiler_so_cxx - if sys.platform == 'darwin': - compiler_so = _darwin_compiler_fixup(compiler_so, cc_args + extra_postargs) -+ compiler_so_cxx = _darwin_compiler_fixup(compiler_so_cxx, cc_args + -+ extra_postargs) - try: -- self.spawn(compiler_so + cc_args + [src, '-o', obj] + -- extra_postargs) -+ if self.detect_language(src) == 'c++': -+ self.spawn(compiler_so_cxx + cc_args + [src, '-o', obj] + -+ extra_postargs) -+ else: -+ self.spawn(compiler_so + cc_args + [src, '-o', obj] + -+ extra_postargs) - except DistutilsExecError, msg: - raise CompileError, msg - -@@ -232,23 +242,16 @@ - ld_args.extend(extra_postargs) - self.mkpath(os.path.dirname(output_filename)) - try: -- if target_desc == CCompiler.EXECUTABLE: -- linker = self.linker_exe[:] -+ if target_lang == "c++": -+ if target_desc == CCompiler.EXECUTABLE: -+ linker = self.linker_exe_cxx[:] -+ else: -+ linker = self.linker_so_cxx[:] - else: -- linker = self.linker_so[:] -- if target_lang == "c++" and self.compiler_cxx: -- # skip over environment variable settings if /usr/bin/env -- # is used to set up the linker's environment. -- # This is needed on OSX. Note: this assumes that the -- # normal and C++ compiler have the same environment -- # settings. -- i = 0 -- if os.path.basename(linker[0]) == "env": -- i = 1 -- while '=' in linker[i]: -- i = i + 1 -- -- linker[i] = self.compiler_cxx[i] -+ if target_desc == CCompiler.EXECUTABLE: -+ linker = self.linker_exe[:] -+ else: -+ linker = self.linker_so[:] - - if sys.platform == 'darwin': - linker = _darwin_compiler_fixup(linker, ld_args) diff --git a/dev-python/pypy/files/2.1-distutils-fix_handling_of_executables_and_flags.patch b/dev-python/pypy/files/2.1-distutils-fix_handling_of_executables_and_flags.patch deleted file mode 100644 index 5da730a19d7f..000000000000 --- a/dev-python/pypy/files/2.1-distutils-fix_handling_of_executables_and_flags.patch +++ /dev/null @@ -1,317 +0,0 @@ -http://bugs.python.org/issue1222585 - ---- a/lib-python/2.7/distutils/cygwinccompiler.py -+++ b/lib-python/2.7/distutils/cygwinccompiler.py -@@ -135,9 +135,13 @@ - self.set_executables(compiler='gcc -mcygwin -O -Wall', - compiler_so='gcc -mcygwin -mdll -O -Wall', - compiler_cxx='g++ -mcygwin -O -Wall', -+ compiler_so_cxx='g++ -mcygwin -mdll -O -Wall', - linker_exe='gcc -mcygwin', - linker_so=('%s -mcygwin %s' % -- (self.linker_dll, shared_option))) -+ (self.linker_dll, shared_option)), -+ linker_exe_cxx='g++ -mcygwin', -+ linker_so_cxx=('%s -mcygwin %s' % -+ (self.linker_dll, shared_option))) - - # cygwin and mingw32 need different sets of libraries - if self.gcc_version == "2.91.57": -@@ -163,8 +167,12 @@ - raise CompileError, msg - else: # for other files use the C-compiler - try: -- self.spawn(self.compiler_so + cc_args + [src, '-o', obj] + -- extra_postargs) -+ if self.detect_language(src) == 'c++': -+ self.spawn(self.compiler_so_cxx + cc_args + [src, '-o', obj] + -+ extra_postargs) -+ else: -+ self.spawn(self.compiler_so + cc_args + [src, '-o', obj] + -+ extra_postargs) - except DistutilsExecError, msg: - raise CompileError, msg - -@@ -325,10 +338,15 @@ - self.set_executables(compiler='gcc -mno-cygwin -O -Wall', - compiler_so='gcc -mno-cygwin -mdll -O -Wall', - compiler_cxx='g++ -mno-cygwin -O -Wall', -+ compiler_so_cxx='g++ -mno-cygwin -mdll -O -Wall', - linker_exe='gcc -mno-cygwin', - linker_so='%s -mno-cygwin %s %s' - % (self.linker_dll, shared_option, -- entry_point)) -+ entry_point), -+ linker_exe_cxx='g++ -mno-cygwin', -+ linker_so_cxx='%s -mno-cygwin %s %s' -+ % (self.linker_dll, shared_option, -+ entry_point)) - # Maybe we should also append -mthreads, but then the finished - # dlls need another dll (mingwm10.dll see Mingw32 docs) - # (-mthreads: Support thread-safe exception handling on `Mingw32') ---- a/lib-python/2.7/distutils/emxccompiler.py -+++ b/lib-python/2.7/distutils/emxccompiler.py -@@ -65,8 +65,12 @@ - # XXX optimization, warnings etc. should be customizable. - self.set_executables(compiler='gcc -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall', - compiler_so='gcc -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall', -+ compiler_cxx='g++ -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall', -+ compiler_so_cxx='g++ -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall', - linker_exe='gcc -Zomf -Zmt -Zcrtdll', -- linker_so='gcc -Zomf -Zmt -Zcrtdll -Zdll') -+ linker_so='gcc -Zomf -Zmt -Zcrtdll -Zdll', -+ linker_exe_cxx='g++ -Zomf -Zmt -Zcrtdll', -+ linker_so_cxx='g++ -Zomf -Zmt -Zcrtdll -Zdll') - - # want the gcc library statically linked (so that we don't have - # to distribute a version dependent on the compiler we have) -@@ -83,8 +87,12 @@ - raise CompileError, msg - else: # for other files use the C-compiler - try: -- self.spawn(self.compiler_so + cc_args + [src, '-o', obj] + -- extra_postargs) -+ if self.detect_language(src) == 'c++': -+ self.spawn(self.compiler_so_cxx + cc_args + [src, '-o', obj] + -+ extra_postargs) -+ else: -+ self.spawn(self.compiler_so + cc_args + [src, '-o', obj] + -+ extra_postargs) - except DistutilsExecError, msg: - raise CompileError, msg - ---- a/lib-python/2.7/distutils/sysconfig_cpython.py -+++ b/lib-python/2.7/distutils/sysconfig_cpython.py -@@ -149,10 +149,12 @@ - varies across Unices and is stored in Python's Makefile. - """ - if compiler.compiler_type == "unix": -- (cc, cxx, opt, cflags, ccshared, ldshared, so_ext, ar, ar_flags) = \ -- get_config_vars('CC', 'CXX', 'OPT', 'CFLAGS', -- 'CCSHARED', 'LDSHARED', 'SO', 'AR', -- 'ARFLAGS') -+ (cc, cxx, ccshared, ldshared, ldcxxshared, so_ext, ar, ar_flags) = \ -+ get_config_vars('CC', 'CXX', 'CCSHARED', 'LDSHARED', 'LDCXXSHARED', -+ 'SO', 'AR', 'ARFLAGS') -+ -+ cflags = '' -+ cxxflags = '' - - newcc = None - if 'CC' in os.environ: -@@ -190,19 +192,27 @@ - cxx = os.environ['CXX'] - if 'LDSHARED' in os.environ: - ldshared = os.environ['LDSHARED'] -+ if 'LDCXXSHARED' in os.environ: -+ ldcxxshared = os.environ['LDCXXSHARED'] - if 'CPP' in os.environ: - cpp = os.environ['CPP'] - else: - cpp = cc + " -E" # not always - if 'LDFLAGS' in os.environ: - ldshared = ldshared + ' ' + os.environ['LDFLAGS'] -+ ldcxxshared = ldcxxshared + ' ' + os.environ['LDFLAGS'] - if 'CFLAGS' in os.environ: -- cflags = opt + ' ' + os.environ['CFLAGS'] -+ cflags = os.environ['CFLAGS'] - ldshared = ldshared + ' ' + os.environ['CFLAGS'] -+ if 'CXXFLAGS' in os.environ: -+ cxxflags = os.environ['CXXFLAGS'] -+ ldcxxshared = ldcxxshared + ' ' + os.environ['CXXFLAGS'] - if 'CPPFLAGS' in os.environ: - cpp = cpp + ' ' + os.environ['CPPFLAGS'] - cflags = cflags + ' ' + os.environ['CPPFLAGS'] -+ cxxflags = cxxflags + ' ' + os.environ['CPPFLAGS'] - ldshared = ldshared + ' ' + os.environ['CPPFLAGS'] -+ ldcxxshared = ldcxxshared + ' ' + os.environ['CPPFLAGS'] - if 'AR' in os.environ: - ar = os.environ['AR'] - if 'ARFLAGS' in os.environ: -@@ -211,13 +221,17 @@ - archiver = ar + ' ' + ar_flags - - cc_cmd = cc + ' ' + cflags -+ cxx_cmd = cxx + ' ' + cxxflags - compiler.set_executables( - preprocessor=cpp, - compiler=cc_cmd, - compiler_so=cc_cmd + ' ' + ccshared, -- compiler_cxx=cxx, -+ compiler_cxx=cxx_cmd, -+ compiler_so_cxx=cxx_cmd + ' ' + ccshared, - linker_so=ldshared, - linker_exe=cc, -+ linker_so_cxx=ldcxxshared, -+ linker_exe_cxx=cxx, - archiver=archiver) - - compiler.shared_lib_extension = so_ext -@@ -529,7 +543,7 @@ - for key in ('LDFLAGS', 'BASECFLAGS', 'LDSHARED', - # a number of derived variables. These need to be - # patched up as well. -- 'CFLAGS', 'PY_CFLAGS', 'BLDSHARED'): -+ 'CFLAGS', 'CXXFLAGS', 'PY_CFLAGS', 'BLDSHARED'): - flags = _config_vars[key] - flags = re.sub('-arch\s+\w+\s', ' ', flags) - flags = re.sub('-isysroot [^ \t]*', ' ', flags) -@@ -548,7 +562,7 @@ - for key in ('LDFLAGS', 'BASECFLAGS', 'LDSHARED', - # a number of derived variables. These need to be - # patched up as well. -- 'CFLAGS', 'PY_CFLAGS', 'BLDSHARED'): -+ 'CFLAGS', 'CXXFLAGS', 'PY_CFLAGS', 'BLDSHARED'): - - flags = _config_vars[key] - flags = re.sub('-arch\s+\w+\s', ' ', flags) -@@ -572,7 +586,7 @@ - for key in ('LDFLAGS', 'BASECFLAGS', 'LDSHARED', - # a number of derived variables. These need to be - # patched up as well. -- 'CFLAGS', 'PY_CFLAGS', 'BLDSHARED'): -+ 'CFLAGS', 'CXXFLAGS', 'PY_CFLAGS', 'BLDSHARED'): - - flags = _config_vars[key] - flags = re.sub('-isysroot\s+\S+(\s|$)', ' ', flags) ---- a/lib-python/2.7/distutils/sysconfig_pypy.py -+++ b/lib-python/2.7/distutils/sysconfig_pypy.py -@@ -123,7 +123,55 @@ - optional C speedup components. - """ - if compiler.compiler_type == "unix": -- compiler.compiler_so.extend(['-O2', '-fPIC', '-Wimplicit']) -+ cc = ' '.join(compiler.compiler) -+ cxx = ' '.join(compiler.compiler_cxx) -+ ldshared = ' '.join(compiler.linker_so) -+ ldcxxshared = ' '.join(compiler.linker_so_cxx) -+ -+ cflags = '' -+ cxxflags = '' -+ ccshared = '-fPIC' -+ -+ if 'CC' in os.environ: -+ cc = os.environ['CC'] -+ if 'CXX' in os.environ: -+ cxx = os.environ['CXX'] -+ if 'LDSHARED' in os.environ: -+ ldshared = os.environ['LDSHARED'] -+ if 'LDCXXSHARED' in os.environ: -+ ldcxxshared = os.environ['LDCXXSHARED'] -+ if 'CPP' in os.environ: -+ cpp = os.environ['CPP'] -+ else: -+ cpp = cc + " -E" # not always -+ if 'LDFLAGS' in os.environ: -+ ldshared = ldshared + ' ' + os.environ['LDFLAGS'] -+ ldcxxshared = ldcxxshared + ' ' + os.environ['LDFLAGS'] -+ if 'CFLAGS' in os.environ: -+ cflags = os.environ['CFLAGS'] -+ ldshared = ldshared + ' ' + os.environ['CFLAGS'] -+ if 'CXXFLAGS' in os.environ: -+ cxxflags = os.environ['CXXFLAGS'] -+ ldcxxshared = ldcxxshared + ' ' + os.environ['CXXFLAGS'] -+ if 'CPPFLAGS' in os.environ: -+ cpp = cpp + ' ' + os.environ['CPPFLAGS'] -+ cflags = cflags + ' ' + os.environ['CPPFLAGS'] -+ cxxflags = cxxflags + ' ' + os.environ['CPPFLAGS'] -+ ldshared = ldshared + ' ' + os.environ['CPPFLAGS'] -+ ldcxxshared = ldcxxshared + ' ' + os.environ['CPPFLAGS'] -+ -+ cc_cmd = cc + ' ' + cflags -+ cxx_cmd = cxx + ' ' + cxxflags -+ compiler.set_executables( -+ preprocessor=cpp, -+ compiler=cc_cmd, -+ compiler_so=cc_cmd + ' ' + ccshared, -+ compiler_cxx=cxx_cmd, -+ compiler_so_cxx=cxx_cmd + ' ' + ccshared, -+ linker_so=ldshared, -+ linker_exe=cc, -+ linker_so_cxx=ldcxxshared, -+ linker_exe_cxx=cxx) - compiler.shared_lib_extension = get_config_var('SO') - if "CPPFLAGS" in os.environ: - cppflags = shlex.split(os.environ["CPPFLAGS"]) ---- a/lib-python/2.7/distutils/unixccompiler.py -+++ b/lib-python/2.7/distutils/unixccompiler.py -@@ -114,14 +114,17 @@ - # are pretty generic; they will probably have to be set by an outsider - # (eg. using information discovered by the sysconfig about building - # Python extensions). -- executables = {'preprocessor' : None, -- 'compiler' : ["cc"], -- 'compiler_so' : ["cc"], -- 'compiler_cxx' : ["cc"], -- 'linker_so' : ["cc", "-shared"], -- 'linker_exe' : ["cc"], -- 'archiver' : ["ar", "-cr"], -- 'ranlib' : None, -+ executables = {'preprocessor' : None, -+ 'compiler' : ["cc"], -+ 'compiler_so' : ["cc"], -+ 'compiler_cxx' : ["c++"], -+ 'compiler_so_cxx' : ["c++"], -+ 'linker_so' : ["cc", "-shared"], -+ 'linker_exe' : ["cc"], -+ 'linker_so_cxx' : ["c++", "-shared"], -+ 'linker_exe_cxx' : ["c++"], -+ 'archiver' : ["ar", "-cr"], -+ 'ranlib' : None, - } - - if sys.platform[:6] == "darwin": -@@ -171,11 +174,18 @@ - - def _compile(self, obj, src, ext, cc_args, extra_postargs, pp_opts): - compiler_so = self.compiler_so -+ compiler_so_cxx = self.compiler_so_cxx - if sys.platform == 'darwin': - compiler_so = _darwin_compiler_fixup(compiler_so, cc_args + extra_postargs) -+ compiler_so_cxx = _darwin_compiler_fixup(compiler_so_cxx, cc_args + -+ extra_postargs) - try: -- self.spawn(compiler_so + cc_args + [src, '-o', obj] + -- extra_postargs) -+ if self.detect_language(src) == 'c++': -+ self.spawn(compiler_so_cxx + cc_args + [src, '-o', obj] + -+ extra_postargs) -+ else: -+ self.spawn(compiler_so + cc_args + [src, '-o', obj] + -+ extra_postargs) - except DistutilsExecError, msg: - raise CompileError, msg - -@@ -232,23 +242,16 @@ - ld_args.extend(extra_postargs) - self.mkpath(os.path.dirname(output_filename)) - try: -- if target_desc == CCompiler.EXECUTABLE: -- linker = self.linker_exe[:] -+ if target_lang == "c++": -+ if target_desc == CCompiler.EXECUTABLE: -+ linker = self.linker_exe_cxx[:] -+ else: -+ linker = self.linker_so_cxx[:] - else: -- linker = self.linker_so[:] -- if target_lang == "c++" and self.compiler_cxx: -- # skip over environment variable settings if /usr/bin/env -- # is used to set up the linker's environment. -- # This is needed on OSX. Note: this assumes that the -- # normal and C++ compiler have the same environment -- # settings. -- i = 0 -- if os.path.basename(linker[0]) == "env": -- i = 1 -- while '=' in linker[i]: -- i = i + 1 -- -- linker[i] = self.compiler_cxx[i] -+ if target_desc == CCompiler.EXECUTABLE: -+ linker = self.linker_exe[:] -+ else: -+ linker = self.linker_so[:] - - if sys.platform == 'darwin': - linker = _darwin_compiler_fixup(linker, ld_args) diff --git a/dev-python/pypy/pypy-2.0.2-r1.ebuild b/dev-python/pypy/pypy-2.0.2-r1.ebuild deleted file mode 100644 index f7cfd39b8782..000000000000 --- a/dev-python/pypy/pypy-2.0.2-r1.ebuild +++ /dev/null @@ -1,165 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pypy/pypy-2.0.2-r1.ebuild,v 1.4 2014/07/06 13:18:53 mgorny Exp $ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 pypy pypy2_0 ) -inherit check-reqs eutils multilib multiprocessing pax-utils \ - python-any-r1 toolchain-funcs versionator - -DESCRIPTION="A fast, compliant alternative implementation of the Python language" -HOMEPAGE="http://pypy.org/" -SRC_URI="https://www.bitbucket.org/pypy/pypy/downloads/${P}-src.tar.bz2" - -LICENSE="MIT" -SLOT="0/$(get_version_component_range 1-2 ${PV})" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="bzip2 doc +jit ncurses sandbox shadowstack sqlite sse2" - -RDEPEND=">=sys-libs/zlib-1.1.3 - virtual/libffi - virtual/libintl - dev-libs/expat - dev-libs/openssl - bzip2? ( app-arch/bzip2 ) - ncurses? ( sys-libs/ncurses ) - sqlite? ( dev-db/sqlite:3 ) - !dev-python/pypy-bin:0" -DEPEND="${RDEPEND} - doc? ( dev-python/sphinx ) - ${PYTHON_DEPS}" -PDEPEND="app-admin/python-updater" - -S="${WORKDIR}/${P}-src" - -pkg_pretend() { - CHECKREQS_MEMORY="2G" - use amd64 && CHECKREQS_MEMORY="4G" - check-reqs_pkg_pretend -# if [[ ${MERGE_TYPE} != binary && "$(gcc-version)" == "4.8" ]]; then -# die "PyPy does not build correctly with GCC 4.8" -# fi -} - -pkg_setup() { - pkg_pretend - python-any-r1_pkg_setup -} - -src_prepare() { - epatch "${FILESDIR}/1.9-scripts-location.patch" - epatch "${FILESDIR}/1.9-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.patch" - epatch "${FILESDIR}/2.0.2-distutils-fix_handling_of_executables_and_flags.patch" - - epatch_user -} - -src_compile() { - tc-export CC - - local jit_backend - if use jit; then - jit_backend='--jit-backend=' - - # We only need the explicit sse2 switch for x86. - # On other arches we can rely on autodetection which uses - # compiler macros. Plus, --jit-backend= doesn't accept all - # the modern values... - - if use x86; then - if use sse2; then - jit_backend+=x86 - else - jit_backend+=x86-without-sse2 - fi - else - jit_backend+=auto - fi - fi - - local args=( - $(usex jit -Ojit -O2) - $(usex shadowstack --gcrootfinder=shadowstack '') - $(usex sandbox --sandbox '') - - ${jit_backend} - --make-jobs=$(makeopts_jobs) - - pypy/goal/targetpypystandalone - ) - - # Avoid linking against libraries disabled by use flags - local opts=( - bzip2:bz2 - ncurses:_minimal_curses - ) - - local opt - for opt in "${opts[@]}"; do - local flag=${opt%:*} - local mod=${opt#*:} - - args+=( - $(usex ${flag} --withmod --withoutmod)-${mod} - ) - done - - set -- "${PYTHON}" rpython/bin/rpython --batch "${args[@]}" - echo -e "\033[1m${@}\033[0m" - "${@}" || die "compile error" - - use doc && emake -C pypy/doc/ html - pax-mark m "${ED%/}${INSDESTTREE}/pypy-c" -} - -src_test() { - # (unset) - local -x PYTHONDONTWRITEBYTECODE - - ./pypy-c ./pypy/test_all.py --pypy=./pypy-c lib-python || die -} - -src_install() { - einfo "Installing PyPy ..." - insinto "/usr/$(get_libdir)/pypy" - doins -r include lib_pypy lib-python pypy-c - fperms a+x ${INSDESTTREE}/pypy-c - pax-mark m "${ED%/}${INSDESTTREE}/pypy-c" - dosym ../$(get_libdir)/pypy/pypy-c /usr/bin/pypy - dodoc README.rst - - if ! use sqlite; then - rm -r "${ED%/}${INSDESTTREE}"/lib-python/*2.7/sqlite3 || die - rm "${ED%/}${INSDESTTREE}"/lib_pypy/_sqlite3.py || die - fi - - # Install docs - use doc && dohtml -r pypy/doc/_build/html/ - - einfo "Generating caches and byte-compiling ..." - - python_export pypy EPYTHON PYTHON PYTHON_SITEDIR - local PYTHON=${ED%/}${INSDESTTREE}/pypy-c - - echo "EPYTHON='${EPYTHON}'" > epython.py - python_domodule epython.py - - # Note: call portage helpers before this line. - # PYTHONPATH confuses them and will result in random failures. - - local -x PYTHONPATH="${ED%/}${INSDESTTREE}/lib_pypy:${ED%/}${INSDESTTREE}/lib-python/2.7" - - # Generate Grammar and PatternGrammar pickles. - "${PYTHON}" -c "import lib2to3.pygram, lib2to3.patcomp; lib2to3.patcomp.PatternCompiler()" \ - || die "Generation of Grammar and PatternGrammar pickles failed" - - # Generate cffi cache - "${PYTHON}" -c "import _curses" || die "Failed to import _curses" - if use sqlite; then - "${PYTHON}" -c "import _sqlite3" || die "Failed to import _sqlite3" - fi - - # compile the installed modules - python_optimize "${ED%/}${INSDESTTREE}" -} diff --git a/dev-python/pypy/pypy-2.2.1.ebuild b/dev-python/pypy/pypy-2.2.1.ebuild deleted file mode 100644 index e2bdb0d2934b..000000000000 --- a/dev-python/pypy/pypy-2.2.1.ebuild +++ /dev/null @@ -1,176 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pypy/pypy-2.2.1.ebuild,v 1.7 2014/07/06 13:18:53 mgorny Exp $ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 pypy pypy2_0 ) -inherit check-reqs eutils multilib multiprocessing pax-utils \ - python-any-r1 toolchain-funcs versionator - -DESCRIPTION="A fast, compliant alternative implementation of the Python language" -HOMEPAGE="http://pypy.org/" -SRC_URI="https://www.bitbucket.org/pypy/pypy/downloads/${P}-src.tar.bz2" - -LICENSE="MIT" -SLOT="0/$(get_version_component_range 1-2 ${PV})" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="bzip2 doc +jit ncurses sandbox shadowstack sqlite sse2 tk" - -RDEPEND=">=sys-libs/zlib-1.1.3 - virtual/libffi - virtual/libintl - dev-libs/expat - dev-libs/openssl - bzip2? ( app-arch/bzip2 ) - ncurses? ( sys-libs/ncurses ) - sqlite? ( dev-db/sqlite:3 ) - tk? ( - dev-lang/tk:0 - dev-tcltk/tix - ) - !dev-python/pypy-bin:0" -DEPEND="${RDEPEND} - doc? ( dev-python/sphinx ) - ${PYTHON_DEPS}" -PDEPEND="app-admin/python-updater" - -S="${WORKDIR}/${P}-src" - -pkg_pretend() { - CHECKREQS_MEMORY="2G" - use amd64 && CHECKREQS_MEMORY="4G" - check-reqs_pkg_pretend -} - -pkg_setup() { - pkg_pretend - python-any-r1_pkg_setup -} - -src_prepare() { - epatch "${FILESDIR}/1.9-scripts-location.patch" - epatch "${FILESDIR}/1.9-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.patch" - epatch "${FILESDIR}/2.1-distutils-fix_handling_of_executables_and_flags.patch" - - epatch_user -} - -src_compile() { - tc-export CC - - local jit_backend - if use jit; then - jit_backend='--jit-backend=' - - # We only need the explicit sse2 switch for x86. - # On other arches we can rely on autodetection which uses - # compiler macros. Plus, --jit-backend= doesn't accept all - # the modern values... - - if use x86; then - if use sse2; then - jit_backend+=x86 - else - jit_backend+=x86-without-sse2 - fi - else - jit_backend+=auto - fi - fi - - local args=( - $(usex jit -Ojit -O2) - $(usex shadowstack --gcrootfinder=shadowstack '') - $(usex sandbox --sandbox '') - - ${jit_backend} - --make-jobs=$(makeopts_jobs) - - pypy/goal/targetpypystandalone - ) - - # Avoid linking against libraries disabled by use flags - local opts=( - bzip2:bz2 - ncurses:_minimal_curses - ) - - local opt - for opt in "${opts[@]}"; do - local flag=${opt%:*} - local mod=${opt#*:} - - args+=( - $(usex ${flag} --withmod --withoutmod)-${mod} - ) - done - - set -- "${PYTHON}" rpython/bin/rpython --batch "${args[@]}" - echo -e "\033[1m${@}\033[0m" - "${@}" || die "compile error" - - use doc && emake -C pypy/doc/ html - pax-mark m "${ED%/}${INSDESTTREE}/pypy-c" -} - -src_test() { - # (unset) - local -x PYTHONDONTWRITEBYTECODE - - ./pypy-c ./pypy/test_all.py --pypy=./pypy-c lib-python || die -} - -src_install() { - einfo "Installing PyPy ..." - insinto "/usr/$(get_libdir)/pypy" - doins -r include lib_pypy lib-python pypy-c - fperms a+x ${INSDESTTREE}/pypy-c - pax-mark m "${ED%/}${INSDESTTREE}/pypy-c" - dosym ../$(get_libdir)/pypy/pypy-c /usr/bin/pypy - dodoc README.rst - - if ! use sqlite; then - rm -r "${ED%/}${INSDESTTREE}"/lib-python/*2.7/sqlite3 \ - "${ED%/}${INSDESTTREE}"/lib_pypy/_sqlite3.py \ - "${ED%/}${INSDESTTREE}"/lib-python/*2.7/test/test_sqlite.py || die - fi - if ! use tk; then - rm -r "${ED%/}${INSDESTTREE}"/lib-python/*2.7/{idlelib,lib-tk} \ - "${ED%/}${INSDESTTREE}"/lib_pypy/_tkinter \ - "${ED%/}${INSDESTTREE}"/lib-python/*2.7/test/test_{tcl,tk,ttk*}.py || die - fi - - # Install docs - use doc && dohtml -r pypy/doc/_build/html/ - - einfo "Generating caches and byte-compiling ..." - - python_export pypy EPYTHON PYTHON PYTHON_SITEDIR - local PYTHON=${ED%/}${INSDESTTREE}/pypy-c - - echo "EPYTHON='${EPYTHON}'" > epython.py - python_domodule epython.py - - # Note: call portage helpers before this line. - # PYTHONPATH confuses them and will result in random failures. - - local -x PYTHONPATH="${ED%/}${INSDESTTREE}/lib_pypy:${ED%/}${INSDESTTREE}/lib-python/2.7" - - # Generate Grammar and PatternGrammar pickles. - "${PYTHON}" -c "import lib2to3.pygram, lib2to3.patcomp; lib2to3.patcomp.PatternCompiler()" \ - || die "Generation of Grammar and PatternGrammar pickles failed" - - # Generate cffi cache - "${PYTHON}" -c "import _curses" || die "Failed to import _curses (cffi)" - "${PYTHON}" -c "import syslog" || die "Failed to import syslog (cffi)" - if use sqlite; then - "${PYTHON}" -c "import _sqlite3" || die "Failed to import _sqlite3 (cffi)" - fi - if use tk; then - "${PYTHON}" -c "import _tkinter" || die "Failed to import _tkinter (cffi)" - fi - - # compile the installed modules - python_optimize "${ED%/}${INSDESTTREE}" -} -- 2.26.2