mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-18 21:11:08 +02:00
bump(eclass): sync with upstream
Update eclasses and profiles. Since python2.6 has been dropped from the allowed list in the python eclass all ebuilds must stop referring to it so a extra ebuilds have to get pulled in with this change. Packages removed: dev-python/argparse virtual/python-argparse virtual/python-unittest2 Packages updated: app-portage/gentoolkit dev-lang/python-exec dev-libs/boost dev-libs/libxml2 dev-libs/libxslt dev-python/dbus-python dev-python/logilab-common dev-python/lxml dev-python/mock dev-python/pygobject dev-util/cmake dev-vcs/git eclass licenses profiles scripts sys-devel/automake sys-devel/automake-wrapper sys-fs/cryptsetup
This commit is contained in:
parent
816c95c815
commit
70760aaf9b
@ -1,6 +1,84 @@
|
||||
# ChangeLog for app-portage/gentoolkit
|
||||
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/ChangeLog,v 1.298 2013/09/05 18:25:00 mgorny Exp $
|
||||
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/ChangeLog,v 1.314 2014/07/06 12:35:20 mgorny Exp $
|
||||
|
||||
06 Jul 2014; Michał Górny <mgorny@gentoo.org> gentoolkit-0.3.0.8-r2.ebuild,
|
||||
gentoolkit-0.3.0.9-r1.ebuild, gentoolkit-0.3.0.9.ebuild,
|
||||
gentoolkit-9999.ebuild:
|
||||
Clean up obsolete dependencies on virtual/python-argparse and virtual/python-
|
||||
unittest2 (those packages were only required for <=python-2.6).
|
||||
|
||||
06 Apr 2014; Michał Górny <mgorny@gentoo.org> gentoolkit-0.3.0.9-r1.ebuild,
|
||||
gentoolkit-9999.ebuild:
|
||||
Enable PYTHON_TARGETS=pypy.
|
||||
|
||||
20 Mar 2014; Paul Varner <fuzzyray@gentoo.org> gentoolkit-0.3.0.9-r1.ebuild,
|
||||
gentoolkit-9999.ebuild:
|
||||
Update sys-apps/gentoo-functions dependency for prefix.
|
||||
|
||||
*gentoolkit-0.3.0.9-r1 (19 Mar 2014)
|
||||
|
||||
19 Mar 2014; Paul Varner <fuzzyray@gentoo.org> +gentoolkit-0.3.0.9-r1.ebuild,
|
||||
gentoolkit-9999.ebuild, +files/0.3.0.9-revdep-rebuild-py-504654-1.patch,
|
||||
+files/0.3.0.9-revdep-rebuild-py-504654-2.patch:
|
||||
Revision bump to fix issues with revdep-rebuild.py (Bug 504654).
|
||||
Fix portage dependency and add dependency on sys-apps/gentoo-functions.
|
||||
|
||||
*gentoolkit-0.3.0.9 (12 Mar 2014)
|
||||
|
||||
12 Mar 2014; Paul Varner <fuzzyray@gentoo.org> -gentoolkit-0.3.0.6-r3.ebuild,
|
||||
-gentoolkit-0.3.0.7.ebuild, -gentoolkit-0.3.0.7-r1.ebuild,
|
||||
-gentoolkit-0.3.0.7-r2.ebuild, -gentoolkit-0.3.0.8.ebuild,
|
||||
-gentoolkit-0.3.0.8-r1.ebuild, +gentoolkit-0.3.0.9.ebuild,
|
||||
-files/0.3.0.6-gentoolkit-304125.patch, -files/0.3.0.6-eshowkw-409449.patch,
|
||||
-files/0.3.0.6-euse-410365.patch, -files/0.3.0.7-configroot.patch,
|
||||
-files/0.3.0.6-eread-413577.patch, -files/0.3.0.6-eshowkw-414627.patch,
|
||||
-files/0.3.0.6-euse-422675.patch, -files/0.3.0.7-root.patch:
|
||||
Version bump for bug fixes. See
|
||||
http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=shortlog;h=ref
|
||||
s/heads/gentoolkit
|
||||
for full list of changes. Removed old ebuilds.
|
||||
|
||||
19 Jan 2014; Mike Frysinger <vapier@gentoo.org> gentoolkit-0.3.0.8-r2.ebuild:
|
||||
Add arm64 love.
|
||||
|
||||
22 Dec 2013; Agostino Sarubbo <ago@gentoo.org> gentoolkit-0.3.0.8-r2.ebuild:
|
||||
Stable for ppc64, wrt bug #492234
|
||||
|
||||
21 Dec 2013; Agostino Sarubbo <ago@gentoo.org> gentoolkit-0.3.0.8-r2.ebuild:
|
||||
Stable for ppc, wrt bug #492234
|
||||
|
||||
17 Dec 2013; Raúl Porcel <armin76@gentoo.org> gentoolkit-0.3.0.8-r2.ebuild:
|
||||
alpha/ia64/m68k/s390/sh/sparc stable wrt #492234
|
||||
|
||||
01 Dec 2013; Markus Meier <maekke@gentoo.org> gentoolkit-0.3.0.8-r2.ebuild:
|
||||
arm stable, bug #492234
|
||||
|
||||
01 Dec 2013; Johannes Huber <johu@gentoo.org> gentoolkit-0.3.0.8-r2.ebuild:
|
||||
x86 stable wrt bug #492234
|
||||
|
||||
26 Nov 2013; Pacho Ramos <pacho@gentoo.org> gentoolkit-0.3.0.8-r2.ebuild:
|
||||
amd64 stable, bug #492234
|
||||
|
||||
26 Nov 2013; Jeroen Roovers <jer@gentoo.org> gentoolkit-0.3.0.8-r2.ebuild:
|
||||
Stable for HPPA (bug #492234).
|
||||
|
||||
*gentoolkit-0.3.0.8-r2 (02 Oct 2013)
|
||||
|
||||
02 Oct 2013; Justin Lecher <jlec@gentoo.org> +gentoolkit-0.3.0.8-r2.ebuild,
|
||||
metadata.xml:
|
||||
Fix pyABI specific installation of revdep-rebuild.py
|
||||
|
||||
11 Sep 2013; Paul Varner <fuzzyray@gentoo.org> gentoolkit-0.3.0.8-r1.ebuild,
|
||||
gentoolkit-9999.ebuild:
|
||||
Change fowners call to use gid 0 for compatibilty with FreeBSD (Bug 484006).
|
||||
|
||||
*gentoolkit-0.3.0.8-r1 (10 Sep 2013)
|
||||
|
||||
10 Sep 2013; Paul Varner <fuzzyray@gentoo.org> +gentoolkit-0.3.0.8-r1.ebuild,
|
||||
+files/0.3.0.8-revdep-rebuild-476740.patch,
|
||||
+files/0.3.0.8-revdep-rebuild-484340.patch:
|
||||
Revison bump to add patches to fix revdep-rebuild bugs 476740 and 484340.
|
||||
|
||||
05 Sep 2013; Michał Górny <mgorny@gentoo.org> gentoolkit-9999.ebuild:
|
||||
Clean up PYTHON_COMPAT from old implementations.
|
||||
|
@ -1,41 +1,34 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX 0.3.0.6-eread-413577.patch 2360 SHA256 333bec7fb612b104633766d58d6299adf2cd798a585b5d69303bdb5c9d92f276 SHA512 22c859cda0c6fe0114515551974c43e72f22773cc9d035e9241e65fe18f47af4e3044829335044626c0db9a6081cde7725761c491e51cf2de95fab6eeb4c5b63 WHIRLPOOL 3810a248c8a28bafa21a00a0b01da5fb90d0ee178166bc3a1ea40d2ecd0d6305d01d99763ef6528edbd4a52956b15ad6ac9076fafd707561ec9850a3cc7fe744
|
||||
AUX 0.3.0.6-eshowkw-409449.patch 920 SHA256 1a6510da53fd94b618f5564e7b66c7cf97be5310655f7d315c18a58326b6d537 SHA512 1bf59e6c41cf52120688db78c48737d5d0a304dc1edd30ac93859f0e1b4eebc24ea680cdc445a3e669c7eb0ef29f6d2ae384ecd9a5ce4221a03bc48c59cd2835 WHIRLPOOL 7f919aa1c4ac4db5774443e6471b524308a00f0fbd36858d462c091982c7d592804e556671737c99991135da06e34dd87d428f9281ec748bdac5431a542956bb
|
||||
AUX 0.3.0.6-eshowkw-414627.patch 1654 SHA256 bb1687141292d613e1cb52dc6c88c61dd44f12a33cd77f3788f945f2586bcaac SHA512 39537338bd719080477fa22be7ee99515d2771ef3c19dd4f9674c9d57d9e8ce3331f0ad67e98b7a104adc292faa0cbde6194b9877b677893cb7ce5824987e0c2 WHIRLPOOL 8c13dccff0177d1aaaa318bfb6414a8bf28e88609f632a70434ca93a7bffd3a1058b8795589a6aeeeb788b8b3f5140aa69b3009676b6cf2f115cc23f9deba6c3
|
||||
AUX 0.3.0.6-euse-410365.patch 1106 SHA256 337ff7a7b09dd5c8701cd2746dc5ab2412c51664cfbc81f6a09e806cfa1bea7d SHA512 f954a344914f1462174560b12841376831963e9e1aca9ce9108ea3a3ccc1405548bda5756abe3112941c1961701028434e201be94c406044f9941fb1f16229c6 WHIRLPOOL 6a25aadadf11847264e395e9a9e2f007d6ae558e43c0261647472d8986abe76a1df81dc9e22206322dca20edad4b29b01a2a964a164a26c7d969d125234490bf
|
||||
AUX 0.3.0.6-euse-422675.patch 2705 SHA256 11420d7cf47fe8af9d9d61d267ba6d7674dabeb7e16a083a9a5d52d80aa39e5d SHA512 6230fca66134f1c71628fac39af9571da5d2df5251bdd50bcdb6162e36ef4ecf95ea430f269e66ebe78786013a912e34aa1a09db5b5cc4128500190eb7a1da12 WHIRLPOOL b295c47bcba730b56f2f4e70db35a680c1525eaeddae58598666fa9ef92ae0b3a736f5e6fcfd41bb79ddfa3abd682b0574dfc646a07d73c074b34794f0591cb9
|
||||
AUX 0.3.0.6-gentoolkit-304125.patch 1092 SHA256 2de37146351e90b1bcc2ed7074ff66f607df379bd6b2f53bf83efe4c3d086b6e SHA512 e05d0fc1afe0e6b0fdb95736382ae288d66bc43c3fcb7d3a3be270e20feec4718675d01512867740a25a3c22a9bd21270c4ca6a7e3a21bb7fab4e44ac7936bb3 WHIRLPOOL d19d40ba4154713c4f41ba58d2f5d431213a7089c202374199a718b8e9d30e62c22e362d19c13c920423ea094c8033f87f06010ecc92c4bcd758cf94821d23b1
|
||||
AUX 0.3.0.7-configroot.patch 820 SHA256 d27661499dd92c23d3f0b74fd15b405dcae1ead711fa178fa51611b131fe7a0e SHA512 f50d6b84351b222579548f0021f452fac9a4e3dac9fbb8f566f251d19bb5a09d182d14abf6d6ab01dcfaee3dcb0a9bbfd5a48f07d5d8883cb3a5d0d7d9f722f3 WHIRLPOOL f34431e82126b9c6032cf1c597c66a54e1c0448f069d699cd9f04938a2f67ea59eea26da666e11e0e518e87e22955cd248ace3465a5cc271a118c81eb4237c79
|
||||
AUX 0.3.0.7-root.patch 4857 SHA256 8727fab6a19cdb024fddb79f09d93b6dcebaff0715043d19bae23c165259a63b SHA512 202bbda5e880a4481f063beb1c47f71ad9784c31490c8c3c59fbead56923324793dc94c4bd78b636d679de198ec3e450ef2859fb232a41f09f6943bca9d22ec4 WHIRLPOOL ab95567f22588ddc4e9928e766820f6f22d4fa218db40871db906dd736e4eb6fddb3a0d3869ee133b9e8a5488f1bb855ad35c2e4969c0241c76857e5affd9b30
|
||||
DIST gentoolkit-0.3.0.6.tar.gz 191896 SHA256 5b1b7e9e0363764b3c8349540e3a16fcdd850ec2441bb56b24fdb729130e604a SHA512 6bc46fd364cba3326e9e4f1083485f1220a8dc6675b75ad058fbee59d3c103f2ca103be6035f5f726e92f496a854dca72ec08b0d2cfe012aa7efbdc3a95891a0 WHIRLPOOL e928b8d3c493ac00b622b859985e144cd7828d4c4e1be7c2a4b8abae9864f10aa22c4626b991d9ba81c6408dc7769be2346f2f9abf3c2ec864ce9eed2ae3d9e5
|
||||
DIST gentoolkit-0.3.0.7.tar.gz 3191108 SHA256 45ca2b48cfba7939a76428213f2fc4c3a1fc58716290f7a352ccd9299beb49d7 SHA512 798a058a58cf881a24b92ae32fabe7c6d49305e2611bab568004dd711392e5af97b7d66029e344f4e7c52d0b6cf47690b76cf7e3d77b5482c30b6883f872c1d1 WHIRLPOOL c21ce47365500cd93c6c617d79ee9c979f1f6a06966ed41a69eb73014354b6e066fef904c2d221b64f6116a76792f2060a8863ee633f781764c270ce954de1a7
|
||||
AUX 0.3.0.8-revdep-rebuild-476740.patch 990 SHA256 0e41b1ca96b59112af756e6b199349b1165d9ee23d81d0c17a862d52ba30f426 SHA512 9aaff1a7c277a1aefa57213ada599b520f5cea0f76f9d08b94c29324e380223c1e682804ae8e7d683077c436ec007cf2df31ff8285f38d349f5f6478e8df733f WHIRLPOOL 65db69af095d40799e11525439068f68de0eced22b5b7391b3a9e10bbb1f23fef244f7e10395cdaa9e1d0ce2e3bd8f6314e7bab25bfae201ec54f7ff87fb6151
|
||||
AUX 0.3.0.8-revdep-rebuild-484340.patch 1696 SHA256 b82e965072f10d11af4ae89c1633b773c1ffce0454862b26eaa6f153cdfd07fc SHA512 330caf60a34508847323e4f129d8195286b2093c3d2bb023a1a4e7dbee09d8d18f657bd584af8977a4ba46df8d5043fc72fd4fd54caa1076cae544ded15afc3c WHIRLPOOL f8198bcca4fb7764220cad90f8edb9efa32a57cd6c189f5e9733a36dca2ad0490a5e772aa12b4bf23418c43c470ba2b8b1b3ed99f397d3bac71f3d290acbe7d3
|
||||
AUX 0.3.0.9-revdep-rebuild-py-504654-1.patch 828 SHA256 82223ee777fa9467d83263188d91930c23e4dfda5c01eeb9ff9f9b10d84ce03b SHA512 60b6452de8e8323d2b938c31363a007091f9e992c9fc5481e23804e59fbf512d3ca10e05b1aa0d4cb93eb4efe8488afa18ef8a8238ff59eab32f3c781bd3081c WHIRLPOOL bd37f5aff852c02f0452baf6abc95a3e334a6145898e53da6c177224b3a7f71a9a67fdef5cc1471b2106d5d6e7dbe62a11b72d4d3af9d8917501cb6b1d68ab08
|
||||
AUX 0.3.0.9-revdep-rebuild-py-504654-2.patch 1031 SHA256 0a8d05030a4202f2bc671bd19cbfda68837cbb56509ce91fbb971cbde679ef10 SHA512 95ab05306737c898f608b8d9c80e37f5f57ec7d6931f54c3b8225aa99e27a2c8f3ba1ba2dcb7186c523af030cc6f2f9078644c2c440aa70bca4e477c167306ad WHIRLPOOL 18593cc376a0f2e4d900e38b99ba81a58fa12fc90a94df4f39ae8694eaa875fae257eb1a018fef1f177dd2c70d0bb5e76d569cb49c4ffeaadd22abef1fcca1c6
|
||||
DIST gentoolkit-0.3.0.8.tar.gz 3192497 SHA256 0338dee7c295c32b60a84e529b764d2bc61536fa3aca021cd5a75c6e534864a6 SHA512 50efd701d0d056740bcf7c7cdce652ae7c9e2786f799f5d30946e752b8aa735489d3e0dc5c7664a5810a0f22cec05b9bc7ccc10292b07ac4dd0777658651f72d WHIRLPOOL 5a2455e50d4e0f4df8abab5b81deb6bb00e078dfed1687ae046ce97a0427eafea2d3de9b83ac6de8155d207653d001c6684ac92226fa2320515c6e14c8fea6e0
|
||||
EBUILD gentoolkit-0.3.0.6-r3.ebuild 3584 SHA256 338531d464db51d2353f0ceb7cf8930bc48995e198c85ffed7833599bad7fa4d SHA512 e94ce46d660f8f336a70e9d9440be2ab098a9be412e05707d679eb199340fd0f0a31af6fa4bdab58d2c52a7b6469ac79461dac2e4b38fd28d40ec9d1a2c488ea WHIRLPOOL 28181a9c7aee2196d4f68b2d750b655f1dff88a337afc47efc01ede3625c17082bd54a07709f7a7ec473cc1ee280d7183ce8d7da99b75853f0fbd5370dfa7934
|
||||
EBUILD gentoolkit-0.3.0.7-r1.ebuild 3299 SHA256 63a75a6c1bbc4521c1403daa569161627dfa1383f532523dd25796256fc5f966 SHA512 0d8158dfdef74c41a7c7fe844890b7c8357e02a2c69c792429553d3aae4842824f84bb8036fa965219561f1addf8d8a065c8f61faa0202c4b4437ad3ee0aa602 WHIRLPOOL d467b42a72c88155c1322dcff7e4c1b3733bece2b594eadb32d634f332494d5b32276849cd6bdf5add753f77041d6cb9bc8ef22d0254ee2f59477e2243c84ee7
|
||||
EBUILD gentoolkit-0.3.0.7-r2.ebuild 3344 SHA256 7059e57f363b13e74278eacf22ac7af1aaffbb5cc4ee2f3d8df96df533a1ef83 SHA512 188b609391df1da9ecf2ce012c66ed2f1e4d8459cd068a93e6bb5534512fa4313e7ab3130f6442bca5e14da43f6afe2ab76a8617ce13755809737496357d020c WHIRLPOOL f4af731d9f691abf1f983d846a177a05ca7feab4460060bcbf36f242527a68980ef8d368c648f252671fd87c6851226dcff2faff62006d2ce85b8f82da49880b
|
||||
EBUILD gentoolkit-0.3.0.7.ebuild 3221 SHA256 e193c7749cd595c544f2f2390161aa56e89ae01a6f2abec7286fe4f08a57c14f SHA512 b4dba20d1c7a05dffa651c1014c018f80b97548e5c2b65d979c943c5995ca562f6e20a9263d93aa391171ec08d2528e0d169212c90e01a2faf68a547751c59a8 WHIRLPOOL b868a4c297d872d3318febe8072224d38d4e60b629309b2f4445a8a08ee37ccdc4b03436b75afc0559f55fb2389d3a37fa678308cfe4a6b83251b5e7c74b1361
|
||||
EBUILD gentoolkit-0.3.0.8.ebuild 2829 SHA256 f110109855a6337057f0befad6ea9588bebd5bec4d7fc2288a612cbff4048b2a SHA512 852cac25b2cfdba08dc52b83e3f11d65670594544380160963b71fa294b00e47e025c5e67518f7b8e3b28357865067dc0ab971d119deddc35133a9c61626718b WHIRLPOOL e3d407d03dc2098a794dea213b347cfb9411105ac21d263f9f99b9572ef4ad3bd269747f3b838dc34579a2f4df3da571e93cf6c2d226786a4e392cce680dcd3a
|
||||
EBUILD gentoolkit-9999.ebuild 2290 SHA256 c7bd4eb8bd4b80ee1632d05c2e4449eb86c1f11100b2c09f62dccd0eac29c391 SHA512 b6b529217a63a57c07c6e6b2f0833122217e669a1e48731b031fa774261f134c22ec84e65c8dd00e3804d04c83a8e0c7ad588e1113d00c78c7fb89af964edf64 WHIRLPOOL f8606e286059f5c0a9affd4443ea11b68df958d3c87bae75fa2e610f3e5906b385ecf0202af9571c109b6b07a1dfd7228278d80b7cb155a87fe07a69bce63c4d
|
||||
MISC ChangeLog 75447 SHA256 ff541b146d63149ef112b8728dc8f949dfd0766bffe61f1c76717f0e98b37338 SHA512 8a382aa1d6d3dc9857cb869302a806fac40720ccbf2dfa6a8c16ad83fff468a18b33942ebf9777dac60023f36f16535ee6250155e6a3a296a6ddced70e29c707 WHIRLPOOL 628a8df865d6668a939aa81f10b2b9c5f8aa9384aa3f3d22624c19916fb4e349c7940febe92b624a347f553dcd5fd504b076887842bc24ae948aec4e364f123f
|
||||
MISC metadata.xml 451 SHA256 1a2def4d28f69d6bffeb0b09e97ce53e6822e457d5d9308000a1010dca32abeb SHA512 dae13a7b17e9f425f620d1cd71da9c3142353eed53489540f05878b9c6b9799b4ca4b97c72cf81576c095cc99b3b4d57faeb3a052a72110d638c4961ed7a645d WHIRLPOOL 6e333d72a075ae313c914c204dadc66c36686f05b01f6eb9071813555d5d0a12da38e9a8548f7526f315c838c3ada6570d393d7f8dbee6570748090a8c7e8050
|
||||
DIST gentoolkit-0.3.0.9.tar.gz 3194703 SHA256 c660d150dfccbaea6f291fb7fc2659c8e0e38eaebe6e68f92dee728c8c7e320d SHA512 75b2d15b2b9ed08055840b56b239ed5d63838a10e8d31ec3ed8822cf1d3ef32841609763433736e17f93a5fdd293ccbda4a3dfa0f007241321aec3333bcde847 WHIRLPOOL 5e9dc038c161361eb2dd8f0cd17e8efaa41183a281d6fcf620c1631c6da661673d085c60572424cd48504222c29613473591f8dd276792ab96ba3cfda88f1fe1
|
||||
EBUILD gentoolkit-0.3.0.8-r2.ebuild 2859 SHA256 f8b745a384f38872d66d98b0f1a2e786baf94deca4f4e1a5f4bd4bc33974a127 SHA512 4b5d5c5071f68d5e23641c94a14fe58ca8f9c0f3240a1e48f24d7c01228f57b8cf3f9c475cd74191350a45bb5533d2fcc917dba68e419c726e020f9e4f5b8ece WHIRLPOOL 49342e06fd98df054dee0e1dc744463519acbe880748c0bb1ef76306c6ef5f373871509ca407c4dccfca92ded2f2aa3360636db069efc7f1df847dc55defef4b
|
||||
EBUILD gentoolkit-0.3.0.9-r1.ebuild 2990 SHA256 32749ce460d74b23ef87071b6f6ea081e18a51b302758da5592235a87d5bfec6 SHA512 02467fc2c7c5a2445346ba7f4cbf8c9f913b51bb12d35c533644b8fc58f2d2282118b469e6f376449fb2920a6c32848259d53fac8d648fae4a5f22979f5cdb52 WHIRLPOOL c929a95be5eec192b823a5c565439f599f2b851304bb3d7352e22d76d91a2a59a26120876cb458ab0a921a9c13dd9a567f52c5646bbd5ba4afa6ce1fbdb6930e
|
||||
EBUILD gentoolkit-0.3.0.9.ebuild 2815 SHA256 2465e6c0f234ac6ca8736e3280e9714b5324c07d454216af18f4d3c92714f98e SHA512 a073b85b463c68d3f4490a79b6ad66377487e648cb336dea1cb3f568b53dd9777e40891d55fd837f6127085b90dbbd350dcd06e32baeef18ea5136f8d3237f77 WHIRLPOOL 6fb2f0ef72eeb65f61cbc1d3ef1b271575f19c7713e57b828fea500f1e7c74322e38814d16832e03850cdc9db76bd7fee791b82125d8eecf39f04411a1ac34a1
|
||||
EBUILD gentoolkit-9999.ebuild 2307 SHA256 b2318dc816287003d509506c646363de4eacb9d3aefc8e63400e9d3d225d4866 SHA512 d3de1e46a9c0fc2c275c8e0f54a2b51999fc6873c9c358a5065e1a313a8016955c7053229cdbce0e2061b5bd92ba614a257103f715b7317727f19ff61be3c127 WHIRLPOOL b814283f65a5feaad013a808fd492b9dc950ceccc21967176ee183bfb726ddd63b6b21664033ae8e2d8f8fd6b1c79569873fc914e1b615e296d48dfd87e9e96d
|
||||
MISC ChangeLog 78763 SHA256 5b896f76fd41f3bf3d3a84ef61a1f17cb7282a3ec224187604013ce7b522f6f7 SHA512 69127cfeb28e5596c7f84c4af644ded65ac377a16ce540859fca5b3dbd3b68288dc516fef39bb2a8a74bb50a8737c1c1c0a52db03864af697bbd7bc5a656bc49 WHIRLPOOL acd763732a754bf50e1638acbbb5dbea58736f992cfdae5d19cf7522a170b5deeffd34caaca89d9b112addb9a884102a5ed755fe67623076ee0f698af3015e43
|
||||
MISC metadata.xml 454 SHA256 ccc4e0222e09f2b7f198c30cb22756602aba47770c6966abc7570626b6626ea5 SHA512 0edd2bd297d4d40659f67249e0ca49f769a4164cdf8c6e5de38fa732e4978d9f8565ee6142105ecad4bd0c71ce8e64b71c587aa3447a6933c8a7f70493a1c6e8 WHIRLPOOL 62d87243e7e11afff4df2a9f5bedb2c693f0fbcea7b4657c49f1da87bd16dded21e259d8a7788a45270b09211ad7b7cd7f848ce36acac1f8f441350e9656ae10
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.21 (GNU/Linux)
|
||||
Version: GnuPG v2
|
||||
|
||||
iQJ8BAEBCABmBQJSKMyfXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
|
||||
iQJ8BAEBCABmBQJTuUKNXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
|
||||
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC
|
||||
MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOWjMP/iaeSVALBbGDmkDg2zUsfYL4
|
||||
8TbZztmSR/msO/Kp3eDabrydtzV0DkgtXiD16gUDc+YNY7r8h5kQYwhrwOsO3yQb
|
||||
+so9PIdQ1XNh3+uckTEFt81YWf7ZH5rnSS9BKc1HRv6T5abZjJBY+UDRGwJfwGlb
|
||||
Vjs9GNJK8xfuKj0cPHRYtwkJh8YAj7Jx8ac1Fho+Z0J5gkiOUHbStg0kGjvRLALk
|
||||
Zfv2zIZWKS0zr80kbvwNi1jHn6eMz4x9+cPmNXT0UYpKwRGU6cp7M4u2OIDV+pcH
|
||||
1MsKv4UDlJTkKqhaZKtp2vdxRQClZrcmUE+GPRWz72DQDQxdLq2uhe/JCwYCU2CE
|
||||
n/ZvgPoQGC1VBw7HilPMFfwRQJHvmdzmdp8k77iGVUkUomDzsR2vt90e10WL/DuS
|
||||
KrS54vCs8nAp01B+sc2HSe7w3Q4u2kW0WVrwQUuNB/6FzVbtbHijRI4OAx1D04ZK
|
||||
BPWk9VMQDPQm9Ge89Wip5Q/iSckdyeNXR+1VTG6nn9YcvoBx7CAlGkJFD7qqWEXP
|
||||
2RUw2ZNQw30vxRyZSk3gh/jTLhkHTE5k4LkA0u9acprdX2nJzQmtAYBGKyTn0FlF
|
||||
QEQxYoBHbMOwJJWmVUMimOsYu5OOie9EP6HKVxPgODLSwoLP+gpYX6R+NbP2ZkGt
|
||||
Kb42eOwCSDXk5XnS4wsL
|
||||
=CTvp
|
||||
MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOc7oP/1tvIru+ViRMebQ4749KeuLl
|
||||
dkOz2XqKKIiVerAVIVwJfq1IpJfWixJDIqOktfXHC/g3UoZW4/5RAO9EUBQOAS9W
|
||||
h2Jineaxc8WXQTXId8SRrJl2ApdRnxZahN7sOH7Hljt4mrmcJI7FlVd673hbR0Wh
|
||||
O5s6377hbDQYQcC78+R67K18wat6Z43fXgmNfoS9yBifktuO4WIWqAILci3ZDk4e
|
||||
V2vRfKEMgztO75Hb6H9DI5SlUzqrLWbbfQth9iJlOVBuPzCenfsTn3+h27vZlU1L
|
||||
d6jpjQpT7K/JkxUO4jQb0NGpplEXM3LhJ8y9YSeJ+pDBA2OH+25iE/BJdG1b7TJ4
|
||||
yrNtXJDLXM4sfk1DAgI95RJ+FlwtjDMpapSKZKyECLnu+913y5lqiMj2soz05xzU
|
||||
zv8VCCJ9qvwOaSZCY2sfykUMvlk5mcd4YaFm98bqZSeWRmrGRETYljuaQx/U4xFv
|
||||
sc7R3PWhVylPD8BluQEZFvOJSn29y6s8kNQ6CzqnRPlYUTq7EhMf98tI3bvxUCp/
|
||||
a5jVyPobwr+sj8wQetHhvLccafMCb45o3YSk2rbt8PKfwNVjhG58LVZNd0jq9HXO
|
||||
w6kvev36wou1HbKHdhRuxh4qpKZ3ACyuAGoHKjsIdSwxi8wLcWRjwObDAQl0Xlwq
|
||||
On5rpL5rbjdLo4xGqhsk
|
||||
=e+EO
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,97 +0,0 @@
|
||||
From a6a159cd3f8c8a89eccbba57689623a747fea73f Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?S=C5=82awomir=20Nizio?= <slawomir.nizio@sabayon.org>
|
||||
Date: Thu, 26 Apr 2012 00:50:57 +0200
|
||||
Subject: [PATCH 1/2] Extend eread to allow sorting (bug 413577).
|
||||
|
||||
---
|
||||
bin/eread | 35 +++++++++++++++++++++++++++++++++--
|
||||
man/eread.1 | 13 +++++++++++++
|
||||
2 files changed, 46 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/bin/eread b/bin/eread
|
||||
index 7d0a970..d74a167 100755
|
||||
--- a/bin/eread
|
||||
+++ b/bin/eread
|
||||
@@ -5,6 +5,7 @@
|
||||
#
|
||||
# Author: Donnie Berkholz <spyderous@gentoo.org>
|
||||
# Updated by: Uwe Klosa <uwe.klosa@gmail.com>
|
||||
+# Updated by: Slawomir Nizio <slawomir.nizio@sabayon.org>
|
||||
|
||||
# Get prefix
|
||||
EPREFIX=${EPREFIX:-$(portageq envvar EPREFIX)}
|
||||
@@ -30,9 +31,33 @@ fi
|
||||
# Set up select prompt
|
||||
PS3="Choice? "
|
||||
|
||||
+SORT=${EREAD_SORT_ORDER}
|
||||
+
|
||||
+find_unsorted() {
|
||||
+ find . -type f | sed -e "s:\./::g"
|
||||
+}
|
||||
+find_by_name() {
|
||||
+ find . -type f | sort | sed -e "s:\./::g"
|
||||
+}
|
||||
+find_by_time() {
|
||||
+ find . -type f | sort -k 3 -t : | sed -e "s:\./::g"
|
||||
+}
|
||||
+find_files() {
|
||||
+ case ${SORT} in
|
||||
+ alphabet)
|
||||
+ find_by_name
|
||||
+ ;;
|
||||
+ time)
|
||||
+ find_by_time
|
||||
+ ;;
|
||||
+ *)
|
||||
+ find_unsorted
|
||||
+ ;;
|
||||
+ esac
|
||||
+}
|
||||
+
|
||||
select_loop() {
|
||||
- ANY_FILES=$(find . -type f)
|
||||
- ANY_FILES=$(echo ${ANY_FILES} | sed -e "s:\./::g")
|
||||
+ ANY_FILES=$(find_files)
|
||||
|
||||
if [[ -z ${ANY_FILES} ]]; then
|
||||
echo "No log items to read"
|
||||
@@ -51,6 +76,12 @@ select_loop() {
|
||||
QUIT="yes"
|
||||
break
|
||||
;;
|
||||
+ a)
|
||||
+ SORT="alphabet"
|
||||
+ ;;
|
||||
+ t)
|
||||
+ SORT="time"
|
||||
+ ;;
|
||||
*)
|
||||
if [ -f "$FILE" ]; then
|
||||
${PAGER} ${FILE}
|
||||
diff --git a/man/eread.1 b/man/eread.1
|
||||
index 5e18214..c58c7eb 100644
|
||||
--- a/man/eread.1
|
||||
+++ b/man/eread.1
|
||||
@@ -8,5 +8,18 @@ eread
|
||||
.SH "DESCRIPTION"
|
||||
.LP
|
||||
This tool is used to display and manage ELOG files produced by portage version 2.1 and higher.
|
||||
+.SH "USAGE"
|
||||
+.LP
|
||||
+You can use the following commands:
|
||||
+.TP
|
||||
+.B "q"
|
||||
+Quit
|
||||
+.TP
|
||||
+.B "a"
|
||||
+Sort alphabetically
|
||||
+.TP
|
||||
+.B "t"
|
||||
+Sort by time
|
||||
.SH "ENVIRONMENT VARIABLES"
|
||||
The eread utility uses the PAGER environment variable to display the ELOG files. If the variable is not set, it defaults to /usr/bin/less.
|
||||
+Another environment variable is EREAD_SORT_ORDER which can be set to specify default sort order of ELOG files. Values \fBalphabet\fP and \fBtime\fP are recognized. If EREAD_SORT_ORDER is not set or has another value, the output is unsorted.
|
||||
--
|
||||
1.7.8.6
|
||||
|
@ -1,25 +0,0 @@
|
||||
From ba64705ea61bbfe506bee228b56758216ffb987c Mon Sep 17 00:00:00 2001
|
||||
From: Paul Varner <fuzzyray@gentoo.org>
|
||||
Date: Wed, 16 May 2012 16:58:04 -0500
|
||||
Subject: [PATCH 2/3] Fix output to be sorted using portage.versions.vercmp
|
||||
(bug 409449).
|
||||
|
||||
---
|
||||
pym/gentoolkit/eshowkw/keywords_content.py | 1 -
|
||||
1 files changed, 0 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/pym/gentoolkit/eshowkw/keywords_content.py b/pym/gentoolkit/eshowkw/keywords_content.py
|
||||
index 77a68fb..2e6c0fa 100644
|
||||
--- a/pym/gentoolkit/eshowkw/keywords_content.py
|
||||
+++ b/pym/gentoolkit/eshowkw/keywords_content.py
|
||||
@@ -176,7 +176,6 @@ class keywords_content:
|
||||
return port.versions.vercmp(ver_map[cpv1[0]], ver_map[cpv2[0]])
|
||||
|
||||
package_content.sort(key=port.util.cmp_sort_key(cmp_cpv))
|
||||
- package_content.sort(key=itemgetter(2))
|
||||
|
||||
def __xmatch(self, pdb, package):
|
||||
"""xmatch function that searches for all packages over all repos"""
|
||||
--
|
||||
1.7.8.6
|
||||
|
@ -1,44 +0,0 @@
|
||||
From 9369c9a3e8d92ac445ff8929a448e83fd30fb485 Mon Sep 17 00:00:00 2001
|
||||
From: Paul Varner <fuzzyray@gentoo.org>
|
||||
Date: Tue, 8 May 2012 16:03:04 -0500
|
||||
Subject: [PATCH 2/2] Fix Bug 414627, where not all packages were being
|
||||
printed.
|
||||
|
||||
Not sure of why this fixes it, but it appears to be caused by
|
||||
interaction between the map() and zip() iterator objects in python3.
|
||||
|
||||
The fix is to use the list() operator to create a list from the iterator
|
||||
objects.
|
||||
---
|
||||
pym/gentoolkit/eshowkw/keywords_content.py | 5 +++--
|
||||
1 files changed, 3 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/pym/gentoolkit/eshowkw/keywords_content.py b/pym/gentoolkit/eshowkw/keywords_content.py
|
||||
index 3e2551d..77a68fb 100644
|
||||
--- a/pym/gentoolkit/eshowkw/keywords_content.py
|
||||
+++ b/pym/gentoolkit/eshowkw/keywords_content.py
|
||||
@@ -23,10 +23,11 @@ class keywords_content:
|
||||
def __listRedundantSlots(self, masks, keywords, slots):
|
||||
"""Search for redundant packages walking per keywords for specified slot."""
|
||||
output = list()
|
||||
+ zipped = list(zip(masks, keywords, slots))
|
||||
for slot in self.__uniq(slots):
|
||||
ms = list()
|
||||
ks = list()
|
||||
- for m, k, s in zip(masks, keywords, slots):
|
||||
+ for m, k, s in zipped:
|
||||
if slot == s:
|
||||
ms.append(m)
|
||||
ks.append(k)
|
||||
@@ -157,7 +158,7 @@ class keywords_content:
|
||||
self.vartree = port.db[port.root]['vartree'].dbapi
|
||||
self.mysettings = port.config(local_config=False)
|
||||
self.versions = self.__getVersions(packages)
|
||||
- self.masks = map(lambda x: self.__getMaskStatus(x), packages)
|
||||
+ self.masks = list(map(lambda x: self.__getMaskStatus(x), packages))
|
||||
|
||||
@staticmethod
|
||||
def __packages_sort(package_content):
|
||||
--
|
||||
1.7.8.6
|
||||
|
@ -1,29 +0,0 @@
|
||||
From 79135c7585402eadeb9e06cbf3138f0d191b15d9 Mon Sep 17 00:00:00 2001
|
||||
From: Paul Varner <fuzzyray@gentoo.org>
|
||||
Date: Wed, 16 May 2012 17:27:54 -0500
|
||||
Subject: [PATCH 3/3] Change sed statement in euse to fix bug 410365.
|
||||
|
||||
The sed statement was looking for the useflag as part of the regular
|
||||
expression. Since the input to the statement had already grepped for
|
||||
the relevant entries from use.local.desc, this is unneccessary. Changed
|
||||
the sed statement to look for '(.*) *' instead of '(${1}) *'.
|
||||
---
|
||||
bin/euse | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/bin/euse b/bin/euse
|
||||
index 27adb72..4d2c15d 100755
|
||||
--- a/bin/euse
|
||||
+++ b/bin/euse
|
||||
@@ -781,7 +781,7 @@ showdesc() {
|
||||
fi
|
||||
# Fetch all the packages data using this flag
|
||||
infos=$( grep -h ":${1} *-" ${ALL_PORTDIRS[@]/%//profiles/use.local.desc} 2> /dev/null \
|
||||
- | sed -re "s/^([^:]+):(${1}) *- *(.+)/\1|\2|\3/g")
|
||||
+ | sed -re "s/^([^:]+):(.*) *- *(.+)/\1|\2|\3/g")
|
||||
OIFS=$IFS; IFS=$'\n'; infos=($infos); IFS=$OIFS;
|
||||
for line in "${infos[@]}"; do
|
||||
OIFS=$IFS; IFS="|"; line=($line); IFS=$OIFS
|
||||
--
|
||||
1.7.8.6
|
||||
|
@ -1,67 +0,0 @@
|
||||
From 6b94fbd3b74471cf9740a35d669963e0b6c84eac Mon Sep 17 00:00:00 2001
|
||||
From: Paul Varner <fuzzyray@gentoo.org>
|
||||
Date: Wed, 20 Jun 2012 12:11:44 -0500
|
||||
Subject: [PATCH] Add support for the md5-cache metadata format. (Bug 422675)
|
||||
|
||||
The gentoo tree is moving to the md5-cache format instead of pms. This
|
||||
add support for reading the md5-cache metadata format.
|
||||
---
|
||||
bin/euse | 24 ++++++++++++++++++------
|
||||
1 files changed, 18 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/bin/euse b/bin/euse
|
||||
index 85ff924..3b7556f 100755
|
||||
--- a/bin/euse
|
||||
+++ b/bin/euse
|
||||
@@ -385,6 +385,7 @@ get_useflaglist() {
|
||||
#
|
||||
get_useflaglist_ebuild() {
|
||||
local known=$(echo "${ACTIVE_FLAGS[5]}" | egrep "^${1}")
|
||||
+ local cacheformat
|
||||
if [[ -n $known ]]; then
|
||||
# No need to recache
|
||||
return
|
||||
@@ -400,23 +401,34 @@ get_useflaglist_ebuild() {
|
||||
fi
|
||||
# Open the ebuild file and retrieve defined USE flags
|
||||
[[ ! -d "$portdir/${1}" ]] && continue
|
||||
- if [[ ! -d "$portdir/metadata/cache" ]]; then
|
||||
+ cacheformat="unknown"
|
||||
+ [[ -d "$portdir/metadata/cache" ]] && cacheformat="cache" # format is pms
|
||||
+ [[ -d "$portdir/metadata/md5-cache" ]] && cacheformat="md5-cache" # format is md5-cache
|
||||
+ if [[ "$cacheformat" == "unknown" ]]; then
|
||||
echo "!!! Metadata cache not found. You need to run " >&2
|
||||
echo "!!! 'egencache --repo=$overlay --update'" >&2
|
||||
echo "!!! to generate metadata for your overlays" >&2
|
||||
return 1
|
||||
fi
|
||||
- append=$(set +f; ls $portdir/metadata/cache/${1}-* \
|
||||
+ append=$(set +f; ls ${portdir}/metadata/${cacheformat}/${1}-* \
|
||||
| egrep "${1}-[0-9.]+" \
|
||||
- | sed -e "s:$portdir/metadata/cache/${1}-::g" \
|
||||
+ | sed -e "s:${portdir}/metadata/${cacheformat}/${1}-::g" \
|
||||
| while read -d $'\n' version; do
|
||||
IFS=$'\n'
|
||||
- if [[ ! -e "$portdir/metadata/cache/${1}-$version" ]]; then
|
||||
+ if [[ ! -e "${portdir}/metadata/${cacheformat}/${1}-$version" ]]; then
|
||||
# Repo does not have this particular package
|
||||
continue
|
||||
fi
|
||||
- iuse=$(head -11 "$portdir/metadata/cache/${1}-$version"|tail -1)
|
||||
- slot=$(head -3 "$portdir/metadata/cache/${1}-$version"|tail -1)
|
||||
+ if [[ "${cacheformat}" == "cache" ]]; then
|
||||
+ iuse=$(head -n 11 "${portdir}/metadata/${cacheformat}/${1}-$version"|tail -n 1)
|
||||
+ slot=$(head -n 3 "${portdir}/metadata/${cacheformat}/${1}-$version"|tail -n 1)
|
||||
+ elif [[ "${cacheformat}" == "md5-cache" ]]; then
|
||||
+ iuse=$(grep "^IUSE=" "${portdir}/metadata/${cacheformat}/${1}-$version" | sed 's/^IUSE=//')
|
||||
+ slot=$(grep "^SLOT=" "${portdir}/metadata/${cacheformat}/${1}-$version" | sed 's/^SLOT=//')
|
||||
+ else
|
||||
+ # This is a bug, we should have already returned
|
||||
+ return 1
|
||||
+ fi
|
||||
echo "${1};${version};${slot};${iuse};${overlay}"
|
||||
done
|
||||
)
|
||||
--
|
||||
1.7.8.6
|
||||
|
@ -1,30 +0,0 @@
|
||||
From df024db3a4573d89d11a59d0c05be7d4f3d7e143 Mon Sep 17 00:00:00 2001
|
||||
From: Paul Varner <fuzzyray@gentoo.org>
|
||||
Date: Wed, 16 May 2012 16:12:03 -0500
|
||||
Subject: [PATCH 1/3] Make colors for useflags be the same as portage.
|
||||
|
||||
The current colors are the opposite of how portage uses the colors.
|
||||
This just switches them so portage and equery show the same color for
|
||||
the same meaning, Red is a set useflag and blue is an unset useflag.
|
||||
|
||||
Note: This ignores any user defined colormaps in portage.
|
||||
---
|
||||
pym/gentoolkit/pprinter.py | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/pym/gentoolkit/pprinter.py b/pym/gentoolkit/pprinter.py
|
||||
index d9f0375..7d8dc2c 100644
|
||||
--- a/pym/gentoolkit/pprinter.py
|
||||
+++ b/pym/gentoolkit/pprinter.py
|
||||
@@ -116,7 +116,7 @@ def subsection(string):
|
||||
|
||||
def useflag(string, enabled=True):
|
||||
"""Returns a USE flag string."""
|
||||
- return output.blue(string) if enabled else output.red(string)
|
||||
+ return output.red(string) if enabled else output.blue(string)
|
||||
|
||||
def keyword(string, stable=True, hard_masked=False):
|
||||
"""Returns a keyword string."""
|
||||
--
|
||||
1.7.8.6
|
||||
|
@ -1,25 +0,0 @@
|
||||
From 95648e0369e74d65582ee3ef44b0a0a338f82cf0 Mon Sep 17 00:00:00 2001
|
||||
From: Mike Frysinger <vapier@gentoo.org>
|
||||
Date: Tue, 12 Mar 2013 12:08:56 -0400
|
||||
Subject: [PATCH] equery: respect PORTAGE_CONFIGROOT too
|
||||
|
||||
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
||||
---
|
||||
pym/gentoolkit/package.py | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/pym/gentoolkit/package.py b/pym/gentoolkit/package.py
|
||||
index 2a103de..da9d65c 100644
|
||||
--- a/pym/gentoolkit/package.py
|
||||
+++ b/pym/gentoolkit/package.py
|
||||
@@ -61,6 +61,7 @@ from gentoolkit.eprefix import EPREFIX
|
||||
def _NewPortageConfig(local_config):
|
||||
ret = portage.config(local_config=local_config,
|
||||
eprefix=EPREFIX if EPREFIX else None,
|
||||
+ config_root=os.environ.get('PORTAGE_CONFIGROOT', None),
|
||||
target_root=os.environ.get('ROOT', None))
|
||||
ret.lock()
|
||||
return ret
|
||||
--
|
||||
1.8.1.2
|
||||
|
@ -1,153 +0,0 @@
|
||||
From 35cc856ee0ce03858a39210525b9893ca061f079 Mon Sep 17 00:00:00 2001
|
||||
From: Mike Frysinger <vapier@gentoo.org>
|
||||
Date: Wed, 19 Dec 2012 18:50:17 -0500
|
||||
Subject: [PATCH] equery: make more ROOT aware
|
||||
|
||||
This at least fixes:
|
||||
belongs
|
||||
check
|
||||
depends
|
||||
files
|
||||
list
|
||||
size
|
||||
|
||||
URL: https://bugs.gentoo.org/160815
|
||||
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
||||
Signed-off-by: Paul Varner <fuzzyray@gentoo.org>
|
||||
---
|
||||
pym/gentoolkit/equery/check.py | 17 +++++++++--------
|
||||
pym/gentoolkit/package.py | 35 ++++++++++++++++++++++-------------
|
||||
2 files changed, 31 insertions(+), 21 deletions(-)
|
||||
|
||||
diff --git a/pym/gentoolkit/equery/check.py b/pym/gentoolkit/equery/check.py
|
||||
index 84be634..e903355 100644
|
||||
--- a/pym/gentoolkit/equery/check.py
|
||||
+++ b/pym/gentoolkit/equery/check.py
|
||||
@@ -105,26 +105,27 @@ class VerifyContents(object):
|
||||
for cfile in files:
|
||||
n_checked += 1
|
||||
ftype = files[cfile][0]
|
||||
- if not os.path.exists(cfile):
|
||||
+ real_cfile = os.environ.get('ROOT', '') + cfile
|
||||
+ if not os.path.exists(real_cfile):
|
||||
errs.append("%s does not exist" % cfile)
|
||||
continue
|
||||
elif ftype == "dir":
|
||||
- if not os.path.isdir(cfile):
|
||||
+ if not os.path.isdir(real_cfile):
|
||||
err = "%(cfile)s exists, but is not a directory"
|
||||
errs.append(err % locals())
|
||||
continue
|
||||
elif ftype == "obj":
|
||||
- obj_errs = self._verify_obj(files, cfile, errs)
|
||||
+ obj_errs = self._verify_obj(files, cfile, real_cfile, errs)
|
||||
if len(obj_errs) > len(errs):
|
||||
errs = obj_errs[:]
|
||||
continue
|
||||
elif ftype == "sym":
|
||||
target = files[cfile][2].strip()
|
||||
- if not os.path.islink(cfile):
|
||||
+ if not os.path.islink(real_cfile):
|
||||
err = "%(cfile)s exists, but is not a symlink"
|
||||
errs.append(err % locals())
|
||||
continue
|
||||
- tgt = os.readlink(cfile)
|
||||
+ tgt = os.readlink(real_cfile)
|
||||
if tgt != target:
|
||||
err = "%(cfile)s does not point to %(target)s"
|
||||
errs.append(err % locals())
|
||||
@@ -137,14 +138,14 @@ class VerifyContents(object):
|
||||
|
||||
return n_passed, n_checked, errs
|
||||
|
||||
- def _verify_obj(self, files, cfile, errs):
|
||||
+ def _verify_obj(self, files, cfile, real_cfile, errs):
|
||||
"""Verify the MD5 sum and/or mtime and return any errors."""
|
||||
|
||||
obj_errs = errs[:]
|
||||
if self.check_sums:
|
||||
md5sum = files[cfile][2]
|
||||
try:
|
||||
- cur_checksum = checksum.perform_md5(cfile, calc_prelink=1)
|
||||
+ cur_checksum = checksum.perform_md5(real_cfile, calc_prelink=1)
|
||||
except IOError:
|
||||
err = "Insufficient permissions to read %(cfile)s"
|
||||
obj_errs.append(err % locals())
|
||||
@@ -155,7 +156,7 @@ class VerifyContents(object):
|
||||
return obj_errs
|
||||
if self.check_timestamps:
|
||||
mtime = int(files[cfile][1])
|
||||
- st_mtime = int(os.lstat(cfile).st_mtime)
|
||||
+ st_mtime = int(os.lstat(real_cfile).st_mtime)
|
||||
if st_mtime != mtime:
|
||||
err = (
|
||||
"%(cfile)s has wrong mtime (is %(st_mtime)d, should be "
|
||||
diff --git a/pym/gentoolkit/package.py b/pym/gentoolkit/package.py
|
||||
index e324399..2a103de 100644
|
||||
--- a/pym/gentoolkit/package.py
|
||||
+++ b/pym/gentoolkit/package.py
|
||||
@@ -58,16 +58,14 @@ from gentoolkit.eprefix import EPREFIX
|
||||
# Settings
|
||||
# =======
|
||||
|
||||
-if EPREFIX:
|
||||
- default_settings = portage.config(local_config=True, eprefix=EPREFIX)
|
||||
- default_settings.lock()
|
||||
- nolocal_settings = portage.config(local_config=False, eprefix=EPREFIX)
|
||||
- nolocal_settings.lock()
|
||||
-else:
|
||||
- default_settings = portage.config(local_config=True)
|
||||
- default_settings.lock()
|
||||
- nolocal_settings = portage.config(local_config=False)
|
||||
- nolocal_settings.lock()
|
||||
+def _NewPortageConfig(local_config):
|
||||
+ ret = portage.config(local_config=local_config,
|
||||
+ eprefix=EPREFIX if EPREFIX else None,
|
||||
+ target_root=os.environ.get('ROOT', None))
|
||||
+ ret.lock()
|
||||
+ return ret
|
||||
+default_settings = _NewPortageConfig(local_config=True)
|
||||
+nolocal_settings = _NewPortageConfig(local_config=False)
|
||||
|
||||
# =======
|
||||
# Classes
|
||||
@@ -350,14 +348,25 @@ class Package(CPV):
|
||||
iuse, final_flags = get_flags(self.cpv, final_setting=True)
|
||||
return final_flags
|
||||
|
||||
- def parsed_contents(self):
|
||||
+ def parsed_contents(self, prefix_root=False):
|
||||
"""Returns the parsed CONTENTS file.
|
||||
|
||||
@rtype: dict
|
||||
@return: {'/full/path/to/obj': ['type', 'timestamp', 'md5sum'], ...}
|
||||
"""
|
||||
|
||||
- return self.dblink.getcontents()
|
||||
+ contents = self.dblink.getcontents()
|
||||
+
|
||||
+ # Portage will automatically prepend ROOT. Undo that.
|
||||
+ if not prefix_root:
|
||||
+ myroot = self._settings["ROOT"]
|
||||
+ if myroot != '/':
|
||||
+ ret = {}
|
||||
+ for key, val in self.dblink.getcontents().iteritems():
|
||||
+ ret['/' + os.path.relpath(key, myroot)] = val
|
||||
+ contents = ret
|
||||
+
|
||||
+ return contents
|
||||
|
||||
def size(self):
|
||||
"""Estimates the installed size of the contents of this package.
|
||||
@@ -368,7 +377,7 @@ class Package(CPV):
|
||||
|
||||
seen = set()
|
||||
size = n_files = n_uncounted = 0
|
||||
- for f in self.parsed_contents():
|
||||
+ for f in self.parsed_contents(prefix_root=True):
|
||||
try:
|
||||
st = os.lstat(path)
|
||||
except OSError:
|
||||
--
|
||||
1.8.1.2
|
||||
|
@ -0,0 +1,33 @@
|
||||
From 87a01450ab33220f6f0821d4f4209004cdc3aa8b Mon Sep 17 00:00:00 2001
|
||||
From: Paul Varner <fuzzyray@gentoo.org>
|
||||
Date: Tue, 10 Sep 2013 13:52:28 -0500
|
||||
Subject: [PATCH] Fix Ctrl-C handling when running emerge (Bug 476740).
|
||||
|
||||
---
|
||||
bin/revdep-rebuild.sh | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/bin/revdep-rebuild.sh b/bin/revdep-rebuild.sh
|
||||
index 6cb5608..09f5135 100755
|
||||
--- a/bin/revdep-rebuild.sh
|
||||
+++ b/bin/revdep-rebuild.sh
|
||||
@@ -1052,6 +1052,7 @@ portage_settings() {
|
||||
if [[ -n ${REVDEP_REBUILD_DEFAULT_OPTS} ]]; then
|
||||
EMERGE_DEFAULT_OPTS=("${REVDEP_REBUILD_DEFAULT_OPTS[@]}")
|
||||
fi
|
||||
+
|
||||
}
|
||||
|
||||
##
|
||||
@@ -1138,7 +1139,7 @@ rebuild() {
|
||||
REBUILD_LIST=$(sort -u "$EBUILDS_FILE")
|
||||
fi
|
||||
|
||||
- trap - SIGHUP SIGINT SIGQUIT SIGABRT SIGTERM
|
||||
+ trap "kill 0" SIGHUP SIGINT SIGQUIT SIGABRT SIGTERM
|
||||
|
||||
[[ $QUIET -ne 1 ]] && einfo 'All prepared. Starting rebuild'
|
||||
echo "emerge --complete-graph=y --oneshot ${EMERGE_DEFAULT_OPTS[@]} ${EMERGE_OPTIONS[@]} $REBUILD_LIST"
|
||||
--
|
||||
1.8.3.2
|
||||
|
@ -0,0 +1,46 @@
|
||||
From db997501ec8e0ef0c5e4426649c17d2498b40e06 Mon Sep 17 00:00:00 2001
|
||||
From: Paul Varner <fuzzyray@gentoo.org>
|
||||
Date: Tue, 10 Sep 2013 10:59:31 -0500
|
||||
Subject: [PATCH] Fix use of REVDEP_REBUILD_DEFAULT_OPTS (Bug 484340).
|
||||
|
||||
---
|
||||
bin/revdep-rebuild.sh | 7 ++-----
|
||||
1 file changed, 2 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/bin/revdep-rebuild.sh b/bin/revdep-rebuild.sh
|
||||
index 7f848bc..6cb5608 100755
|
||||
--- a/bin/revdep-rebuild.sh
|
||||
+++ b/bin/revdep-rebuild.sh
|
||||
@@ -1034,27 +1034,24 @@ portage_settings() {
|
||||
local ORIG_SEARCH_DIRS="$SEARCH_DIRS"
|
||||
local ORIG_SEARCH_DIRS_MASK="$SEARCH_DIRS_MASK"
|
||||
local ORIG_LD_LIBRARY_MASK="$LD_LIBRARY_MASK"
|
||||
- local ORIG_REVDEP_REBUILD_DEFAULT_OPTS="$REVDEP_REBUILD_DEFAULT_OPTS"
|
||||
unset SEARCH_DIRS
|
||||
unset SEARCH_DIRS_MASK
|
||||
unset LD_LIBRARY_MASK
|
||||
- unset REVDEP_REBUILD_DEFAULT_OPTS
|
||||
|
||||
eval $(portageq envvar -v PORTAGE_ROOT PORTAGE_NICENESS EMERGE_DEFAULT_OPTS NOCOLOR SEARCH_DIRS SEARCH_DIRS_MASK LD_LIBRARY_MASK REVDEP_REBUILD_DEFAULT_OPTS)
|
||||
export NOCOLOR
|
||||
|
||||
# Convert quoted paths to array.
|
||||
eval "EMERGE_DEFAULT_OPTS=(${EMERGE_DEFAULT_OPTS})"
|
||||
+ eval "REVDEP_REBUILD_DEFAULT_OPTS=(${REVDEP_REBUILD_DEFAULT_OPTS})"
|
||||
SEARCH_DIRS="$ORIG_SEARCH_DIRS $SEARCH_DIRS"
|
||||
SEARCH_DIRS_MASK="$ORIG_SEARCH_DIRS_MASK $SEARCH_DIRS_MASK"
|
||||
LD_LIBRARY_MASK="$ORIG_LD_LIBRARY_MASK $LD_LIBRARY_MASK"
|
||||
- REVDEP_REBUILD_DEFAULT_OPTS="$ORIG_REVDEP_REBUILD_DEFAULT_OPTS $REVDEP_REBUILD_DEFAULT_OPTS"
|
||||
|
||||
# Replace EMERGE_DEFAULT_OPTS with REVDEP_REBUILD_DEFAULT_OPTS (if it exists)
|
||||
if [[ -n ${REVDEP_REBUILD_DEFAULT_OPTS} ]]; then
|
||||
- EMERGE_DEFAULT_OPTS=("$REVDEP_REBUILD_DEFAULT_OPTS")
|
||||
+ EMERGE_DEFAULT_OPTS=("${REVDEP_REBUILD_DEFAULT_OPTS[@]}")
|
||||
fi
|
||||
-
|
||||
}
|
||||
|
||||
##
|
||||
--
|
||||
1.8.3.2
|
||||
|
@ -0,0 +1,26 @@
|
||||
From c5baf551987e2fb412caa396ae34f7f4341ad819 Mon Sep 17 00:00:00 2001
|
||||
From: slis <lis.slawek@gmail.com>
|
||||
Date: Mon, 17 Mar 2014 07:42:01 +0100
|
||||
Subject: [PATCH 1/2] Fix #504654 - problem with encoding for non-ascii
|
||||
filenames
|
||||
|
||||
---
|
||||
pym/gentoolkit/revdep_rebuild/stuff.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/pym/gentoolkit/revdep_rebuild/stuff.py b/pym/gentoolkit/revdep_rebuild/stuff.py
|
||||
index cc3da7b..7a8373d 100644
|
||||
--- a/pym/gentoolkit/revdep_rebuild/stuff.py
|
||||
+++ b/pym/gentoolkit/revdep_rebuild/stuff.py
|
||||
@@ -22,7 +22,7 @@ def call_program(args):
|
||||
subp = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
stdout, stderr = subp.communicate()
|
||||
stdout = stdout.decode('utf-8')
|
||||
- return str(stdout)
|
||||
+ return stdout
|
||||
|
||||
|
||||
def scan(params, files, max_args, logger):
|
||||
--
|
||||
1.9.1
|
||||
|
@ -0,0 +1,30 @@
|
||||
From ae20dbd7f2ef2810d3150e870ece6f5b7278f676 Mon Sep 17 00:00:00 2001
|
||||
From: slis <lis.slawek@gmail.com>
|
||||
Date: Mon, 17 Mar 2014 07:48:19 +0100
|
||||
Subject: [PATCH 2/2] Fix for non-existing libraries version
|
||||
(https://bugs.gentoo.org/show_bug.cgi?id=504654#c5)
|
||||
|
||||
---
|
||||
pym/gentoolkit/revdep_rebuild/analyse.py | 6 +++++-
|
||||
1 file changed, 5 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/pym/gentoolkit/revdep_rebuild/analyse.py b/pym/gentoolkit/revdep_rebuild/analyse.py
|
||||
index d7b210b..bd1b6b7 100644
|
||||
--- a/pym/gentoolkit/revdep_rebuild/analyse.py
|
||||
+++ b/pym/gentoolkit/revdep_rebuild/analyse.py
|
||||
@@ -185,7 +185,11 @@ class LibCheck(object):
|
||||
scanned_files = self.scanned_files
|
||||
found_libs = {}
|
||||
for bits in self.searchbits:
|
||||
- scanned = scanned_files[bits]
|
||||
+ try:
|
||||
+ scanned = scanned_files[bits]
|
||||
+ except KeyError:
|
||||
+ self.logger.debug('There are no %s-bit libraries'%bits)
|
||||
+ continue
|
||||
self.logger.debug(self.smsg % bits)
|
||||
self.setlibs(sorted(scanned), bits)
|
||||
for soname, filepaths in scanned.items():
|
||||
--
|
||||
1.9.1
|
||||
|
@ -1,97 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0.6-r3.ebuild,v 1.12 2012/10/29 16:31:11 mgorny Exp $
|
||||
|
||||
EAPI="3"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.[45]"
|
||||
PYTHON_USE_WITH="xml"
|
||||
PYTHON_NONVERSIONED_EXECUTABLES=(".*")
|
||||
|
||||
inherit distutils python eutils
|
||||
|
||||
DESCRIPTION="Collection of administration scripts for Gentoo"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/portage/tools/index.xml"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
# Note: argparse is provided in python 2.7 and 3.2 (Bug 346005)
|
||||
# Note: dev-lang/python dependencies are so emerge will print a blocker if any
|
||||
# installed slot of python is not built with +xml. This is used since
|
||||
# PYTHON_USE_WITH just dies in the middle of the emerge. See bug 399331.
|
||||
DEPEND="sys-apps/portage"
|
||||
RDEPEND="${DEPEND}
|
||||
>=dev-lang/python-2.6[xml]
|
||||
!>=dev-lang/python-2.6[-xml]
|
||||
!<=app-portage/gentoolkit-dev-0.2.7
|
||||
|| ( >=sys-apps/coreutils-8.15 app-misc/realpath sys-freebsd/freebsd-bin )
|
||||
sys-apps/gawk
|
||||
sys-apps/grep
|
||||
virtual/python-argparse"
|
||||
|
||||
distutils_src_compile_pre_hook() {
|
||||
echo VERSION="${PVR}" "$(PYTHON)" setup.py set_version
|
||||
VERSION="${PVR}" "$(PYTHON)" setup.py set_version \
|
||||
|| die "setup.py set_version failed"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PV}-eread-413577.patch"
|
||||
epatch "${FILESDIR}/${PV}-eshowkw-414627.patch"
|
||||
epatch "${FILESDIR}/${PV}-gentoolkit-304125.patch"
|
||||
epatch "${FILESDIR}/${PV}-euse-410365.patch"
|
||||
epatch "${FILESDIR}/${PV}-eshowkw-409449.patch"
|
||||
epatch "${FILESDIR}/${PV}-euse-422675.patch"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_convert_shebangs -r "" build-*/scripts-*
|
||||
distutils_src_install
|
||||
|
||||
# Rename the python versions of revdep-rebuild, since we are not ready
|
||||
# to switch to the python version yet. Link /usr/bin/revdep-rebuild to
|
||||
# revdep-rebuild.sh. Leaving the python version available for potential
|
||||
# testing by a wider audience.
|
||||
mv "${ED}"/usr/bin/revdep-rebuild "${ED}"/usr/bin/revdep-rebuild.py
|
||||
dosym revdep-rebuild.sh /usr/bin/revdep-rebuild
|
||||
|
||||
# Create cache directory for revdep-rebuild
|
||||
dodir /var/cache/revdep-rebuild
|
||||
keepdir /var/cache/revdep-rebuild
|
||||
use prefix || fowners root:root /var/cache/revdep-rebuild
|
||||
fperms 0700 /var/cache/revdep-rebuild
|
||||
|
||||
# remove on Gentoo Prefix platforms where it's broken anyway
|
||||
if use prefix; then
|
||||
elog "The revdep-rebuild command is removed, the preserve-libs"
|
||||
elog "feature of portage will handle issues."
|
||||
rm "${ED}"/usr/bin/revdep-rebuild*
|
||||
rm "${ED}"/usr/share/man/man1/revdep-rebuild.1
|
||||
rm -rf "${ED}"/etc/revdep-rebuild
|
||||
rm -rf "${ED}"/var
|
||||
fi
|
||||
|
||||
# Can distutils handle this?
|
||||
dosym eclean /usr/bin/eclean-dist
|
||||
dosym eclean /usr/bin/eclean-pkg
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
distutils_pkg_postinst
|
||||
|
||||
einfo
|
||||
einfo "For further information on gentoolkit, please read the gentoolkit"
|
||||
einfo "guide: http://www.gentoo.org/doc/en/gentoolkit.xml"
|
||||
einfo
|
||||
einfo "Another alternative to equery is app-portage/portage-utils"
|
||||
ewarn
|
||||
ewarn "glsa-check since gentoolkit 0.3 has modified some output,"
|
||||
ewarn "options and default behavior. The list of injected GLSAs"
|
||||
ewarn "has moved to /var/lib/portage/glsa_injected, please"
|
||||
ewarn "run 'glsa-check -p affected' before copying the existing checkfile."
|
||||
}
|
@ -1,95 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0.7-r1.ebuild,v 1.1 2013/02/25 18:03:52 vapier Exp $
|
||||
|
||||
EAPI="3"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.[45]"
|
||||
PYTHON_USE_WITH="xml"
|
||||
PYTHON_NONVERSIONED_EXECUTABLES=(".*")
|
||||
|
||||
inherit distutils python eutils
|
||||
|
||||
DESCRIPTION="Collection of administration scripts for Gentoo"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/portage/tools/index.xml"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
# Note: dev-lang/python dependencies are so emerge will print a blocker if any
|
||||
# installed slot of python is not built with +xml. This is used since
|
||||
# PYTHON_USE_WITH just dies in the middle of the emerge. See bug 399331.
|
||||
DEPEND="sys-apps/portage"
|
||||
RDEPEND="${DEPEND}
|
||||
>=dev-lang/python-2.6[xml]
|
||||
!>=dev-lang/python-2.6[-xml]
|
||||
!<=app-portage/gentoolkit-dev-0.2.7
|
||||
|| ( >=sys-apps/coreutils-8.15 app-misc/realpath sys-freebsd/freebsd-bin )
|
||||
sys-apps/gawk
|
||||
sys-apps/grep
|
||||
virtual/python-argparse"
|
||||
|
||||
distutils_src_compile_pre_hook() {
|
||||
echo VERSION="${PVR}" "$(PYTHON)" setup.py set_version
|
||||
VERSION="${PVR}" "$(PYTHON)" setup.py set_version \
|
||||
|| die "setup.py set_version failed"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PV}-root.patch
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_convert_shebangs -r "" build-*/scripts-*
|
||||
distutils_src_install
|
||||
|
||||
# Rename the python versions of revdep-rebuild, since we are not ready
|
||||
# to switch to the python version yet. Link /usr/bin/revdep-rebuild to
|
||||
# revdep-rebuild.sh. Leaving the python version available for potential
|
||||
# testing by a wider audience.
|
||||
mv "${ED}"/usr/bin/revdep-rebuild "${ED}"/usr/bin/revdep-rebuild.py
|
||||
dosym revdep-rebuild.sh /usr/bin/revdep-rebuild
|
||||
|
||||
# Create cache directory for revdep-rebuild
|
||||
dodir /var/cache/revdep-rebuild
|
||||
keepdir /var/cache/revdep-rebuild
|
||||
use prefix || fowners root:root /var/cache/revdep-rebuild
|
||||
fperms 0700 /var/cache/revdep-rebuild
|
||||
|
||||
# remove on Gentoo Prefix platforms where it's broken anyway
|
||||
if use prefix; then
|
||||
elog "The revdep-rebuild command is removed, the preserve-libs"
|
||||
elog "feature of portage will handle issues."
|
||||
rm "${ED}"/usr/bin/revdep-rebuild*
|
||||
rm "${ED}"/usr/share/man/man1/revdep-rebuild.1
|
||||
rm -rf "${ED}"/etc/revdep-rebuild
|
||||
rm -rf "${ED}"/var
|
||||
fi
|
||||
|
||||
# Can distutils handle this?
|
||||
dosym eclean /usr/bin/eclean-dist
|
||||
dosym eclean /usr/bin/eclean-pkg
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
distutils_pkg_postinst
|
||||
|
||||
einfo
|
||||
einfo "For further information on gentoolkit, please read the gentoolkit"
|
||||
einfo "guide: http://www.gentoo.org/doc/en/gentoolkit.xml"
|
||||
einfo
|
||||
einfo "Another alternative to equery is app-portage/portage-utils"
|
||||
einfo
|
||||
einfo "Additional tools that may be of interest:"
|
||||
einfo
|
||||
einfo " app-admin/eclean-kernel"
|
||||
einfo " app-portage/diffmask"
|
||||
einfo " app-portage/flaggie"
|
||||
einfo " app-portage/install-mask"
|
||||
einfo " app-portage/portpeek"
|
||||
einfo " app-portage/smart-live-rebuild"
|
||||
}
|
@ -1,96 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0.7-r2.ebuild,v 1.1 2013/03/12 16:14:57 vapier Exp $
|
||||
|
||||
EAPI="3"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.[45]"
|
||||
PYTHON_USE_WITH="xml"
|
||||
PYTHON_NONVERSIONED_EXECUTABLES=(".*")
|
||||
|
||||
inherit distutils python eutils
|
||||
|
||||
DESCRIPTION="Collection of administration scripts for Gentoo"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/portage/tools/index.xml"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
# Note: dev-lang/python dependencies are so emerge will print a blocker if any
|
||||
# installed slot of python is not built with +xml. This is used since
|
||||
# PYTHON_USE_WITH just dies in the middle of the emerge. See bug 399331.
|
||||
DEPEND="sys-apps/portage"
|
||||
RDEPEND="${DEPEND}
|
||||
>=dev-lang/python-2.6[xml]
|
||||
!>=dev-lang/python-2.6[-xml]
|
||||
!<=app-portage/gentoolkit-dev-0.2.7
|
||||
|| ( >=sys-apps/coreutils-8.15 app-misc/realpath sys-freebsd/freebsd-bin )
|
||||
sys-apps/gawk
|
||||
sys-apps/grep
|
||||
virtual/python-argparse"
|
||||
|
||||
distutils_src_compile_pre_hook() {
|
||||
echo VERSION="${PVR}" "$(PYTHON)" setup.py set_version
|
||||
VERSION="${PVR}" "$(PYTHON)" setup.py set_version \
|
||||
|| die "setup.py set_version failed"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PV}-root.patch
|
||||
epatch "${FILESDIR}"/${PV}-configroot.patch
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_convert_shebangs -r "" build-*/scripts-*
|
||||
distutils_src_install
|
||||
|
||||
# Rename the python versions of revdep-rebuild, since we are not ready
|
||||
# to switch to the python version yet. Link /usr/bin/revdep-rebuild to
|
||||
# revdep-rebuild.sh. Leaving the python version available for potential
|
||||
# testing by a wider audience.
|
||||
mv "${ED}"/usr/bin/revdep-rebuild "${ED}"/usr/bin/revdep-rebuild.py
|
||||
dosym revdep-rebuild.sh /usr/bin/revdep-rebuild
|
||||
|
||||
# Create cache directory for revdep-rebuild
|
||||
dodir /var/cache/revdep-rebuild
|
||||
keepdir /var/cache/revdep-rebuild
|
||||
use prefix || fowners root:root /var/cache/revdep-rebuild
|
||||
fperms 0700 /var/cache/revdep-rebuild
|
||||
|
||||
# remove on Gentoo Prefix platforms where it's broken anyway
|
||||
if use prefix; then
|
||||
elog "The revdep-rebuild command is removed, the preserve-libs"
|
||||
elog "feature of portage will handle issues."
|
||||
rm "${ED}"/usr/bin/revdep-rebuild*
|
||||
rm "${ED}"/usr/share/man/man1/revdep-rebuild.1
|
||||
rm -rf "${ED}"/etc/revdep-rebuild
|
||||
rm -rf "${ED}"/var
|
||||
fi
|
||||
|
||||
# Can distutils handle this?
|
||||
dosym eclean /usr/bin/eclean-dist
|
||||
dosym eclean /usr/bin/eclean-pkg
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
distutils_pkg_postinst
|
||||
|
||||
einfo
|
||||
einfo "For further information on gentoolkit, please read the gentoolkit"
|
||||
einfo "guide: http://www.gentoo.org/doc/en/gentoolkit.xml"
|
||||
einfo
|
||||
einfo "Another alternative to equery is app-portage/portage-utils"
|
||||
einfo
|
||||
einfo "Additional tools that may be of interest:"
|
||||
einfo
|
||||
einfo " app-admin/eclean-kernel"
|
||||
einfo " app-portage/diffmask"
|
||||
einfo " app-portage/flaggie"
|
||||
einfo " app-portage/install-mask"
|
||||
einfo " app-portage/portpeek"
|
||||
einfo " app-portage/smart-live-rebuild"
|
||||
}
|
@ -1,91 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0.7.ebuild,v 1.10 2013/02/22 18:07:16 zmedico Exp $
|
||||
|
||||
EAPI="3"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.[45]"
|
||||
PYTHON_USE_WITH="xml"
|
||||
PYTHON_NONVERSIONED_EXECUTABLES=(".*")
|
||||
|
||||
inherit distutils python
|
||||
|
||||
DESCRIPTION="Collection of administration scripts for Gentoo"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/portage/tools/index.xml"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
# Note: dev-lang/python dependencies are so emerge will print a blocker if any
|
||||
# installed slot of python is not built with +xml. This is used since
|
||||
# PYTHON_USE_WITH just dies in the middle of the emerge. See bug 399331.
|
||||
DEPEND="sys-apps/portage"
|
||||
RDEPEND="${DEPEND}
|
||||
>=dev-lang/python-2.6[xml]
|
||||
!>=dev-lang/python-2.6[-xml]
|
||||
!<=app-portage/gentoolkit-dev-0.2.7
|
||||
|| ( >=sys-apps/coreutils-8.15 app-misc/realpath sys-freebsd/freebsd-bin )
|
||||
sys-apps/gawk
|
||||
sys-apps/grep
|
||||
virtual/python-argparse"
|
||||
|
||||
distutils_src_compile_pre_hook() {
|
||||
echo VERSION="${PVR}" "$(PYTHON)" setup.py set_version
|
||||
VERSION="${PVR}" "$(PYTHON)" setup.py set_version \
|
||||
|| die "setup.py set_version failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_convert_shebangs -r "" build-*/scripts-*
|
||||
distutils_src_install
|
||||
|
||||
# Rename the python versions of revdep-rebuild, since we are not ready
|
||||
# to switch to the python version yet. Link /usr/bin/revdep-rebuild to
|
||||
# revdep-rebuild.sh. Leaving the python version available for potential
|
||||
# testing by a wider audience.
|
||||
mv "${ED}"/usr/bin/revdep-rebuild "${ED}"/usr/bin/revdep-rebuild.py
|
||||
dosym revdep-rebuild.sh /usr/bin/revdep-rebuild
|
||||
|
||||
# Create cache directory for revdep-rebuild
|
||||
dodir /var/cache/revdep-rebuild
|
||||
keepdir /var/cache/revdep-rebuild
|
||||
use prefix || fowners root:root /var/cache/revdep-rebuild
|
||||
fperms 0700 /var/cache/revdep-rebuild
|
||||
|
||||
# remove on Gentoo Prefix platforms where it's broken anyway
|
||||
if use prefix; then
|
||||
elog "The revdep-rebuild command is removed, the preserve-libs"
|
||||
elog "feature of portage will handle issues."
|
||||
rm "${ED}"/usr/bin/revdep-rebuild*
|
||||
rm "${ED}"/usr/share/man/man1/revdep-rebuild.1
|
||||
rm -rf "${ED}"/etc/revdep-rebuild
|
||||
rm -rf "${ED}"/var
|
||||
fi
|
||||
|
||||
# Can distutils handle this?
|
||||
dosym eclean /usr/bin/eclean-dist
|
||||
dosym eclean /usr/bin/eclean-pkg
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
distutils_pkg_postinst
|
||||
|
||||
einfo
|
||||
einfo "For further information on gentoolkit, please read the gentoolkit"
|
||||
einfo "guide: http://www.gentoo.org/doc/en/gentoolkit.xml"
|
||||
einfo
|
||||
einfo "Another alternative to equery is app-portage/portage-utils"
|
||||
einfo
|
||||
einfo "Additional tools that may be of interest:"
|
||||
einfo
|
||||
einfo " app-admin/eclean-kernel"
|
||||
einfo " app-portage/diffmask"
|
||||
einfo " app-portage/flaggie"
|
||||
einfo " app-portage/install-mask"
|
||||
einfo " app-portage/portpeek"
|
||||
einfo " app-portage/smart-live-rebuild"
|
||||
}
|
85
sdk_container/src/third_party/portage-stable/app-portage/gentoolkit/gentoolkit-0.3.0.8-r2.ebuild
vendored
Normal file
85
sdk_container/src/third_party/portage-stable/app-portage/gentoolkit/gentoolkit-0.3.0.8-r2.ebuild
vendored
Normal file
@ -0,0 +1,85 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0.8-r2.ebuild,v 1.10 2014/07/06 12:35:20 mgorny Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=(python{2_6,2_7,3_2,3_3} pypy2_0)
|
||||
PYTHON_REQ_USE="xml(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Collection of administration scripts for Gentoo"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/portage/tools/index.xml"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
DEPEND="sys-apps/portage"
|
||||
RDEPEND="${DEPEND}
|
||||
!<=app-portage/gentoolkit-dev-0.2.7
|
||||
|| ( >=sys-apps/coreutils-8.15 app-misc/realpath sys-freebsd/freebsd-bin )
|
||||
sys-apps/gawk
|
||||
sys-apps/grep"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PV}-revdep-rebuild-484340.patch
|
||||
"${FILESDIR}"/${PV}-revdep-rebuild-476740.patch
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
python_export_best
|
||||
echo VERSION="${PVR}" "${PYTHON}" setup.py set_version
|
||||
VERSION="${PVR}" "${PYTHON}" setup.py set_version
|
||||
mv ./bin/revdep-rebuild{,.py} || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
# Rename the python versions of revdep-rebuild, since we are not ready
|
||||
# to switch to the python version yet. Link /usr/bin/revdep-rebuild to
|
||||
# revdep-rebuild.sh. Leaving the python version available for potential
|
||||
# testing by a wider audience.
|
||||
dosym revdep-rebuild.sh /usr/bin/revdep-rebuild
|
||||
|
||||
# Create cache directory for revdep-rebuild
|
||||
keepdir /var/cache/revdep-rebuild
|
||||
use prefix || fowners root:0 /var/cache/revdep-rebuild
|
||||
fperms 0700 /var/cache/revdep-rebuild
|
||||
|
||||
# remove on Gentoo Prefix platforms where it's broken anyway
|
||||
if use prefix; then
|
||||
elog "The revdep-rebuild command is removed, the preserve-libs"
|
||||
elog "feature of portage will handle issues."
|
||||
rm "${ED}"/usr/bin/revdep-rebuild*
|
||||
rm "${ED}"/usr/share/man/man1/revdep-rebuild.1
|
||||
rm -rf "${ED}"/etc/revdep-rebuild
|
||||
rm -rf "${ED}"/var
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Only show the elog information on a new install
|
||||
if [[ ! ${REPLACING_VERSIONS} ]]; then
|
||||
elog
|
||||
elog "For further information on gentoolkit, please read the gentoolkit"
|
||||
elog "guide: http://www.gentoo.org/doc/en/gentoolkit.xml"
|
||||
elog
|
||||
elog "Another alternative to equery is app-portage/portage-utils"
|
||||
elog
|
||||
elog "Additional tools that may be of interest:"
|
||||
elog
|
||||
elog " app-admin/eclean-kernel"
|
||||
elog " app-portage/diffmask"
|
||||
elog " app-portage/flaggie"
|
||||
elog " app-portage/install-mask"
|
||||
elog " app-portage/portpeek"
|
||||
elog " app-portage/smart-live-rebuild"
|
||||
fi
|
||||
}
|
87
sdk_container/src/third_party/portage-stable/app-portage/gentoolkit/gentoolkit-0.3.0.9-r1.ebuild
vendored
Normal file
87
sdk_container/src/third_party/portage-stable/app-portage/gentoolkit/gentoolkit-0.3.0.9-r1.ebuild
vendored
Normal file
@ -0,0 +1,87 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0.9-r1.ebuild,v 1.4 2014/07/06 12:35:20 mgorny Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=(python{2_6,2_7,3_2,3_3} pypy pypy2_0)
|
||||
PYTHON_REQ_USE="xml(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Collection of administration scripts for Gentoo"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/portage/tools/index.xml"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
DEPEND="sys-apps/portage[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}
|
||||
!<=app-portage/gentoolkit-dev-0.2.7
|
||||
|| ( >=sys-apps/coreutils-8.15 app-misc/realpath sys-freebsd/freebsd-bin )
|
||||
sys-apps/gawk
|
||||
!prefix? ( sys-apps/gentoo-functions )
|
||||
sys-apps/grep"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PV}-revdep-rebuild-py-504654-1.patch
|
||||
"${FILESDIR}"/${PV}-revdep-rebuild-py-504654-2.patch
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
python_export_best
|
||||
echo VERSION="${PVR}" "${PYTHON}" setup.py set_version
|
||||
VERSION="${PVR}" "${PYTHON}" setup.py set_version
|
||||
mv ./bin/revdep-rebuild{,.py} || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
# Rename the python versions of revdep-rebuild, since we are not ready
|
||||
# to switch to the python version yet. Link /usr/bin/revdep-rebuild to
|
||||
# revdep-rebuild.sh. Leaving the python version available for potential
|
||||
# testing by a wider audience.
|
||||
dosym revdep-rebuild.sh /usr/bin/revdep-rebuild
|
||||
|
||||
# TODO: Fix this as it is now a QA violation
|
||||
# Create cache directory for revdep-rebuild
|
||||
keepdir /var/cache/revdep-rebuild
|
||||
use prefix || fowners root:0 /var/cache/revdep-rebuild
|
||||
fperms 0700 /var/cache/revdep-rebuild
|
||||
|
||||
# remove on Gentoo Prefix platforms where it's broken anyway
|
||||
if use prefix; then
|
||||
elog "The revdep-rebuild command is removed, the preserve-libs"
|
||||
elog "feature of portage will handle issues."
|
||||
rm "${ED}"/usr/bin/revdep-rebuild*
|
||||
rm "${ED}"/usr/share/man/man1/revdep-rebuild.1
|
||||
rm -rf "${ED}"/etc/revdep-rebuild
|
||||
rm -rf "${ED}"/var
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Only show the elog information on a new install
|
||||
if [[ ! ${REPLACING_VERSIONS} ]]; then
|
||||
elog
|
||||
elog "For further information on gentoolkit, please read the gentoolkit"
|
||||
elog "guide: http://www.gentoo.org/doc/en/gentoolkit.xml"
|
||||
elog
|
||||
elog "Another alternative to equery is app-portage/portage-utils"
|
||||
elog
|
||||
elog "Additional tools that may be of interest:"
|
||||
elog
|
||||
elog " app-admin/eclean-kernel"
|
||||
elog " app-portage/diffmask"
|
||||
elog " app-portage/flaggie"
|
||||
elog " app-portage/install-mask"
|
||||
elog " app-portage/portpeek"
|
||||
elog " app-portage/smart-live-rebuild"
|
||||
fi
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0.8.ebuild,v 1.1 2013/09/05 16:56:38 fuzzyray Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0.9.ebuild,v 1.2 2014/07/06 12:35:20 mgorny Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
@ -17,20 +17,22 @@ LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
DEPEND="sys-apps/portage"
|
||||
RDEPEND="${DEPEND}
|
||||
!<=app-portage/gentoolkit-dev-0.2.7
|
||||
|| ( >=sys-apps/coreutils-8.15 app-misc/realpath sys-freebsd/freebsd-bin )
|
||||
sys-apps/gawk
|
||||
sys-apps/grep
|
||||
virtual/python-argparse[${PYTHON_USEDEP}]"
|
||||
sys-apps/grep"
|
||||
|
||||
PATCHES=()
|
||||
|
||||
python_prepare_all() {
|
||||
python_export_best
|
||||
echo VERSION="${PVR}" "${PYTHON}" setup.py set_version
|
||||
VERSION="${PVR}" "${PYTHON}" setup.py set_version
|
||||
mv ./bin/revdep-rebuild{,.py} || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
@ -41,12 +43,12 @@ python_install_all() {
|
||||
# to switch to the python version yet. Link /usr/bin/revdep-rebuild to
|
||||
# revdep-rebuild.sh. Leaving the python version available for potential
|
||||
# testing by a wider audience.
|
||||
mv "${ED}"/usr/bin/revdep-rebuild "${ED}"/usr/bin/revdep-rebuild.py
|
||||
dosym revdep-rebuild.sh /usr/bin/revdep-rebuild
|
||||
|
||||
# TODO: Fix this as it is now a QA violation
|
||||
# Create cache directory for revdep-rebuild
|
||||
keepdir /var/cache/revdep-rebuild
|
||||
use prefix || fowners root:root /var/cache/revdep-rebuild
|
||||
use prefix || fowners root:0 /var/cache/revdep-rebuild
|
||||
fperms 0700 /var/cache/revdep-rebuild
|
||||
|
||||
# remove on Gentoo Prefix platforms where it's broken anyway
|
@ -1,10 +1,10 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-9999.ebuild,v 1.30 2013/09/05 18:25:00 mgorny Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-9999.ebuild,v 1.35 2014/07/06 12:35:20 mgorny Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=(python{2_6,2_7,3_2,3_3} pypy2_0)
|
||||
PYTHON_COMPAT=(python{2_6,2_7,3_2,3_3} pypy pypy2_0)
|
||||
PYTHON_REQ_USE="xml(+)"
|
||||
|
||||
EGIT_MASTER="gentoolkit"
|
||||
@ -24,13 +24,13 @@ IUSE=""
|
||||
|
||||
KEYWORDS=""
|
||||
|
||||
DEPEND="sys-apps/portage"
|
||||
DEPEND="sys-apps/portage[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}
|
||||
!<=app-portage/gentoolkit-dev-0.2.7
|
||||
|| ( >=sys-apps/coreutils-8.15 app-misc/realpath sys-freebsd/freebsd-bin )
|
||||
sys-apps/gawk
|
||||
sys-apps/grep
|
||||
virtual/python-argparse[${PYTHON_USEDEP}]"
|
||||
!prefix? ( sys-apps/gentoo-functions )
|
||||
sys-apps/grep"
|
||||
|
||||
python_prepare_all() {
|
||||
python_export_best
|
||||
@ -44,7 +44,7 @@ python_install_all() {
|
||||
|
||||
# Create cache directory for revdep-rebuild
|
||||
keepdir /var/cache/revdep-rebuild
|
||||
use prefix || fowners root:root /var/cache/revdep-rebuild
|
||||
use prefix || fowners root:0 /var/cache/revdep-rebuild
|
||||
fperms 0700 /var/cache/revdep-rebuild
|
||||
|
||||
# remove on Gentoo Prefix platforms where it's broken anyway
|
||||
|
@ -1,9 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>tools-portage</herd>
|
||||
|
||||
<longdescription>
|
||||
<herd>tools-portage</herd>
|
||||
<longdescription>
|
||||
Gentoolkit is a collection of useful adminstration scripts particular to
|
||||
the Gentoo Linux distribution. It contains rough drafts and
|
||||
implementations of features that may in time make it into Portage, or
|
||||
|
@ -1,6 +1,77 @@
|
||||
# ChangeLog for dev-lang/python-exec
|
||||
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/python-exec/ChangeLog,v 1.1 2013/10/30 19:12:16 mgorny Exp $
|
||||
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/python-exec/ChangeLog,v 1.19 2014/07/06 13:18:50 mgorny Exp $
|
||||
|
||||
06 Jul 2014; Michał Górny <mgorny@gentoo.org> python-exec-0.3.1-r1.ebuild,
|
||||
python-exec-0.9999.ebuild, python-exec-2.0.1-r1.ebuild,
|
||||
python-exec-2.9999.ebuild:
|
||||
Replace obsolete mirror://bitbucket with the real URI.
|
||||
|
||||
16 May 2014; Michał Górny <mgorny@gentoo.org> -python-exec-0.3.1.ebuild,
|
||||
-python-exec-2.0.1.ebuild, -python-exec-2.0.ebuild:
|
||||
Drop old.
|
||||
|
||||
*python-exec-2.0.1-r1 (06 Mar 2014)
|
||||
*python-exec-0.3.1-r1 (06 Mar 2014)
|
||||
|
||||
06 Mar 2014; Michał Górny <mgorny@gentoo.org> +python-exec-0.3.1-r1.ebuild,
|
||||
+python-exec-2.0.1-r1.ebuild, python-exec-0.9999.ebuild,
|
||||
python-exec-2.9999.ebuild:
|
||||
Remove dev-python/python-exec PDEP since it is going for p.mask.
|
||||
|
||||
29 Jan 2014; Mike Frysinger <vapier@gentoo.org> python-exec-0.3.1.ebuild,
|
||||
python-exec-0.9999.ebuild, python-exec-2.0.1.ebuild, python-exec-2.0.ebuild,
|
||||
python-exec-2.9999.ebuild:
|
||||
Fix LICENSE to right value.
|
||||
|
||||
18 Jan 2014; Mike Frysinger <vapier@gentoo.org> python-exec-0.3.1.ebuild,
|
||||
python-exec-0.9999.ebuild, python-exec-2.0.1.ebuild, python-exec-2.0.ebuild,
|
||||
python-exec-2.9999.ebuild:
|
||||
Add arm64 love.
|
||||
|
||||
18 Jan 2014; Mike Frysinger <vapier@gentoo.org> python-exec-0.3.1.ebuild,
|
||||
python-exec-2.0.1.ebuild:
|
||||
Mark m68k/s390/sh stable.
|
||||
|
||||
01 Dec 2013; Akinori Hattori <hattya@gentoo.org> python-exec-2.0.1.ebuild:
|
||||
ia64 stable wrt bug #491420
|
||||
|
||||
24 Nov 2013; Agostino Sarubbo <ago@gentoo.org> python-exec-2.0.1.ebuild:
|
||||
Stable for x86, wrt bug #491420
|
||||
|
||||
24 Nov 2013; Agostino Sarubbo <ago@gentoo.org> python-exec-2.0.1.ebuild:
|
||||
Stable for sparc, wrt bug #491420
|
||||
|
||||
24 Nov 2013; Agostino Sarubbo <ago@gentoo.org> python-exec-2.0.1.ebuild:
|
||||
Stable for ppc, wrt bug #491420
|
||||
|
||||
24 Nov 2013; Agostino Sarubbo <ago@gentoo.org> python-exec-2.0.1.ebuild:
|
||||
Stable for ppc64, wrt bug #491420
|
||||
|
||||
24 Nov 2013; Agostino Sarubbo <ago@gentoo.org> python-exec-2.0.1.ebuild:
|
||||
Stable for arm, wrt bug #491420
|
||||
|
||||
24 Nov 2013; Agostino Sarubbo <ago@gentoo.org> python-exec-2.0.1.ebuild:
|
||||
Stable for alpha, wrt bug #491420
|
||||
|
||||
23 Nov 2013; Pacho Ramos <pacho@gentoo.org> python-exec-2.0.1.ebuild:
|
||||
amd64 stable, bug #491420
|
||||
|
||||
19 Nov 2013; Jeroen Roovers <jer@gentoo.org> python-exec-2.0.1.ebuild:
|
||||
Stable for HPPA (bug #491420).
|
||||
|
||||
*python-exec-2.0.1 (16 Nov 2013)
|
||||
|
||||
16 Nov 2013; Michał Górny <mgorny@gentoo.org> +python-exec-2.0.1.ebuild:
|
||||
Version bump. Fix unitialized memory access, bug #491410.
|
||||
|
||||
15 Nov 2013; Robin H. Johnson <robbat2@gentoo.org> python-exec-0.3.1.ebuild,
|
||||
python-exec-0.9999.ebuild, python-exec-2.0.ebuild, python-exec-2.9999.ebuild:
|
||||
Use PDEPEND to fix python-exec dep for all users, acked by ZeroChaos & mgorny
|
||||
in #gentoo-dev.
|
||||
|
||||
09 Nov 2013; Pacho Ramos <pacho@gentoo.org> python-exec-2.0.ebuild:
|
||||
amd64 stable, bug #488682
|
||||
|
||||
*python-exec-0.9999 (30 Oct 2013)
|
||||
*python-exec-2.9999 (30 Oct 2013)
|
||||
|
@ -2,29 +2,29 @@
|
||||
Hash: SHA256
|
||||
|
||||
DIST python-exec-0.3.1.tar.bz2 74441 SHA256 460837775167108419b9497353a6f832fc8a249c341469dd235c70633ac37557 SHA512 764d1aaf3b4f9679be6ab1105b4b4d9222b245502114ee3d451b4507f86679ae05136eeae3337351c80b52ee03b9461a2f89c87e63cc4cbb76a1023fb243f84e WHIRLPOOL 6b34c2f44976a33a67269c766bd13401b6b1b39fad3d5df6bbef2bd06e15e09bd2ac13123718b8fa0bdb67f812c7407192b9c16860ab442d3c35259afeb3da82
|
||||
DIST python-exec-2.0.tar.bz2 80777 SHA256 e8a2cf2bbaef012010f23b477d183b17d6021562beff3ede5c7e724a7ee00672 SHA512 ad77f46448461323c15d97f42ebb0a1f44d53397e42a89fdc600dbcc1ccf95a280252011c0b02d71125ca8095bb388d5b3e7e6cb3b93a1cee578a2b1b08b4594 WHIRLPOOL e483fc6eb6d7dd10bbd685c2f3cf9daa0f4165204a2b191c1ae685e8b3e6c7faec929a0bcee647dd94e6b2731f8c1950d0e02334ea8b587aa05cfbe644091367
|
||||
EBUILD python-exec-0.3.1.ebuild 1136 SHA256 4c3cd3f6cce5b92ea1d818469c8d626dda62d8f1cbbec00b91b338cfcd2b6077 SHA512 b5bdcac19fcc26645953b19fc6520b89739f54ab9486a35ff2a1e01ffc52f0cbdacced82783694e1dbce086068f6207eb77d00902547c9d069d8d75041a56f7b WHIRLPOOL f0c8cbe61b245cac1ed284b24c0dcf884a9dd1409c076afcc08a1dfe5df4ad037b72334de86965bcb50846ce83edaff351f0c7f7c854fd19748113c3f871b28d
|
||||
EBUILD python-exec-0.9999.ebuild 1296 SHA256 c2dd2676fa12efdc61321ed3ef8852ae4b86c39ea3ec31d777b1f1a0b3b1c042 SHA512 62837413354dc7611c442f0d16a0ff3f8db30118ac64825cba92d937532d88c736cdf0e1ff9800b856238a62cac15ddedd7886054421e90fba73cc372a9a1022 WHIRLPOOL 6f59647c6a639e73a0b32dc43b67da43968fcc463871e64a6c615aa9ff2d26663f02753605d0f1ef6c12f3d0eb560ad10f7e43104599e2d56a693ceb6bfd1db9
|
||||
EBUILD python-exec-2.0.ebuild 1144 SHA256 af9dcbd24954d13d342a3c00e7a2f507f3ccf081364e275d89fd6a88729b708c SHA512 758affbc4456b1a6df95bf4422a932ba7bf732072b8548d104d86fc660d5d58d235cd8ed4e04e558ce321105bd165acb730881824486557ed3c03f7941593989 WHIRLPOOL e517da74674299ca695da87e353cb4ebb3dd23818b999d9e8c8a24fe4cce3a305e010138bd2e522cb4ab6ac58dff0222eeb10c44bc0ac3fa2ff2294dcf3e92f8
|
||||
EBUILD python-exec-2.9999.ebuild 1323 SHA256 35de32f933d526c222b60b7545425244936ec1ee73108a35dccfea2604a5f2ef SHA512 a3c7ee8bfda3a9daad8f3145726c30cb3133585fcdd0ad3e7b79e50cf103544383bbc377cd86f6dffb5a874b6223a1b64ff3c799dccfaae75210b19ec27ef4d2 WHIRLPOOL 67f828b29d84c16a15e0794c576fde5a526d035b7fe0eae61ad6bd8db5e86d9e3c912cbbd85fde69d34bdefc28899ceabd99025236077c6d2b87d678e72bf70b
|
||||
MISC ChangeLog 598 SHA256 c63feb193b1cfb1b7e31fa2b4c619ce4274007daf3a75fde9727e3e8c8445b9b SHA512 136277f21985920f78b7d1b7f859ba5c82660569ab3147bbed2481dbd493cf24453ea94a97f1cf2ff2d1c6e3167dc4e213543067a31b8a3c3ab382fbd0599185 WHIRLPOOL bb29f09c95e861bbe5276e9edd7509ef8304214ad2ff9307a87231fc930c1a30509f935e6bcc1b94ccfb340afeb1db9778cc58a646d1b0c86a84d002322f3fda
|
||||
DIST python-exec-2.0.1.tar.bz2 80965 SHA256 3eddcb0d6c682a5c182c62578bb8d6ce1140a009873747e9ba1bf9de72ed7efd SHA512 0396e2617c759a66b16e57b0ca60b57e03f3c8096ae4a7f2e402eafcbee4ffd839bf0c6e4d259c6ba90940f9ba7e3f191125e395080cce3ef82e5f52053d0462 WHIRLPOOL 50c0cac1c7e2b5d2a21125647874c83caeabee293b87ef01926474d492b79b7837754c2d26173282977e9d00024559bb070f8d76bb5227df1776e937cd280c32
|
||||
EBUILD python-exec-0.3.1-r1.ebuild 1153 SHA256 803eeb67ee0424d25c93d40470a5f6284ba92f6f8b4a9e09f5dd6183ca8ba8a5 SHA512 137398fd5c5f59826506805e4de1ab638abc8c9d616e81d8415c61f9d5d3a5caa7f238efb372a1c2d0efd6619d3d09f13d64ade2e9185ccb01ddceda0fec7474 WHIRLPOOL 359a526c02478ba8228d1fd1d60511a00470924089d05f73efcbcb453e895bc2629f5d2c947a4ea40b80c43c1c97ffed3819f7c6267f345492a25d5270320ec4
|
||||
EBUILD python-exec-0.9999.ebuild 1312 SHA256 ff6b5b0795dbca84b66e383b812a6957eaccfb8abf143cc32b4c32bb17b7b113 SHA512 ac611885fc1e6659eeb9e792a832af98dfc1833078a5e7eab99e2d3b660df6efc9f7c32beb53a2558b4659f8c9d474e7cd3a9250ea2d996d2066893c162c45c4 WHIRLPOOL 153b537f51e75f6fafef107b9b9fe3297845546f80beb2e09cdbec99ab5e1a3a96e147aa00d79f1e9e50bc56708ea43eb14b000b434a0ca06e1cbe1c05809bde
|
||||
EBUILD python-exec-2.0.1-r1.ebuild 1153 SHA256 58f297a09dc982503090a08b58675e35dcdc90a0fbc7c472f83f6cd567a3ecec SHA512 b9ed372715c97cd0402cf0d8f97d6b7efd734b0706ec9976ae75f71425b67c54c359cf5e4e35a94738b2d9d77fcf9d1eae84b10858b834fd63dbee3c4b7d90bd WHIRLPOOL 18613d2a91545731f5ce74480844c27504ce4bfa1838ef38b5360a234b32991ab8f33fec39b7c2285c910852266ac509a8503c094ae11b54e174d385240a429f
|
||||
EBUILD python-exec-2.9999.ebuild 1339 SHA256 ae09ec2335545f41de7f63eadb445f5a6a9699487d22c4ddd6f13a392d9faa9a SHA512 eb5cb3fbe71dbd7340dda65e1cd6716255dc85a9add42c421f144ee778903c5b79d74b96997b977a5abe8358d85dda9c70e41e8ead5aa1ed514b8c09b4534346 WHIRLPOOL 7839fc08ae4011850250e9180fae2437a6fd052bfaa73e0f84a8932466ea26bf91b171afa3032f3c2e50bc80820555693482bbcb91d73dd2ebc6a68a1a9a6255
|
||||
MISC ChangeLog 3338 SHA256 b02257ede909133b8cd9e885dc28fb79290b2b72f0d13613db78f573da60adb9 SHA512 c2ae18e253e826f68058e4e1a504a987a70140f717c9b0e148d2e4109aacfd77a97bbc18c1d8bd0dd75a1b8ebd26d8dc601383692a5eccff5ab008e9701de07c WHIRLPOOL 2b9c9a7c3b84da8856aaac0e9854e684a20247094b77a74a823e80be88491081752c04efbe4fd293e3567a89efb1c8ce09e37e78851cf03e992b935af45f4dfc
|
||||
MISC metadata.xml 369 SHA256 8b6dcc8bc5a5198e3df4c844ebf07234f8c9eb1ff4e10fa7bccc07a0e5dc7517 SHA512 8cc3738e0fd501a4b374d9e18f5676c78d285549c88061aab63697011f43163275751341dc1199aa9a0e4eb3bc9c8e436df261ede8bcf2f759aab096a53d04e0 WHIRLPOOL c99edc69d860d148ebd3d004131e448a957a1f6a3cb3f32b51e94bed79eee6060e41f0de18edc6dd63b83f507f25ab6f0105e593d7d14b1050106aaa3b45e342
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
Version: GnuPG v2
|
||||
|
||||
iQJ8BAEBCABmBQJScVorXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
|
||||
iQJ8BAEBCABmBQJTuUzCXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
|
||||
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC
|
||||
MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOYggP/R4z/5oNRrsKNVMyWlMB88Fy
|
||||
2VMRBXgNtMAm1Za7YX9y9bCgUQOPlazCugtUUpmFVB0ST3XptsmxzAjD30GR3XVY
|
||||
DUGrXTY96wmMGS9kFEPbX6lCbhENYhLb9LZTE/v9pssgI3+QEGgoHZOPCYckQpgJ
|
||||
C+gIhzqB/xqLHW8put+PK2JjfjojwvQGqIbXzXxUWkvhnVe8ejl88AVzWzv1/BBy
|
||||
aoa3lFSc23bjfVo1N6Z5/GcGGmhJVFE/UHnagzWqNzd+cJKS0TPwKi0pJe9Gd0FW
|
||||
4ajl+U0e6wfm+r82BX/Hm6wK7ja0KA9dookNdwb121ZzjXVSdAxhGJ8IEfpTpJsy
|
||||
AgTNgx8HJvpRghtPAmA8tjZkVYARutEXcdTRSV9/WfMeWbvNE3gi2+EarFm8RU9H
|
||||
a6ETzaR8pvNcgtqVhDMtn5OrOYltWTNX3H6DJ4kjJwtiQj0qgX4+sA3QWxsMHZBz
|
||||
4MhTYxIkzBF4kv/saNqmTrlgAWErPjoYjryFcttevcGSDZLKk2iLefzVsQgI2c2H
|
||||
zJ4F686c58oPqSMCCkxDUnnfPNEtCbX/fucU01Wc5KJ3OQ5QONJDE093Qza/7uM/
|
||||
aGizymVNOSzidAINBBmoUg3o1b6Gh2a/PFUqiyr5wmqwi4sfT7wv4zXEOraZ+EbT
|
||||
ck0xErfoOnNRs7sACLGI
|
||||
=qMZz
|
||||
MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOVi4P/RH+dI6sOolCoIepwYw6yJjo
|
||||
wlevDQg9urGGhv25KaS9e68mXEw0iNSsbmYlBaVy/0jDDojWe2lQ/zq9QYuM6E4s
|
||||
1yBNkAo75D8iHBnzHT90BU0yWbg2NsbOoing5Z6KJJ2/lwurlk2ReVlBkdLlW+mZ
|
||||
mNiO54SvXUI7pb9pIshkWNMP5UXjAaIXZja1vQGRmn2GWwvwoUpcCrkovTaY4jYq
|
||||
6LlZdh7S4N12Hc9FYDEYPBgw3hvqUqSNWt0MUIOskmHAo3GCoj9nZqX0EEHwHd0u
|
||||
0gyaR7wBbtGcUnK8c3ySfPOi6gSq5r9fI6rBWAb1p25JWmh6aWsh8Gm76C7jKy9l
|
||||
8S63yKxnTJVg5yrVroL/y7xokyhRoM5G8Heb0tUdRse4r+Krk/4xJR3wGnMTRKLI
|
||||
TELCzUoggGM6hJMtJLnfuFTJ1HD3gQh04gse2QDDhQPyICwf1gVHjjFdu1le3aMK
|
||||
5JPsOiP0KZeDHmaUBoCqDEPBQ4XitT/3QhmfUjrd72Z4MnVDNNBPSIRiNpuaP5m+
|
||||
CEoYG/AZubJ2S/FIQnMd7u7NXwuH8hCBH3V8LpzoK8XkrsYrqjpyTI+5ttDXeWf2
|
||||
5wobK8eD+R67M0JmOB0BjTsJ2mxLDK36vq8MCzQh5VaFoMQYdrBSnZNWcnNtm2H2
|
||||
plHdPeqiHyenf6Fbtrym
|
||||
=nvBn
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/python-exec/python-exec-0.3.1.ebuild,v 1.1 2013/10/30 19:12:16 mgorny Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/python-exec/python-exec-0.3.1-r1.ebuild,v 1.2 2014/07/06 13:18:50 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
@ -12,11 +12,11 @@ inherit autotools-utils python-r1
|
||||
|
||||
DESCRIPTION="Python script wrapper"
|
||||
HOMEPAGE="https://bitbucket.org/mgorny/python-exec/"
|
||||
SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
|
||||
SRC_URI="https://www.bitbucket.org/mgorny/${PN}/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="!<dev-python/python-exec-10000"
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/python-exec/python-exec-0.9999.ebuild,v 1.1 2013/10/30 19:12:16 mgorny Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/python-exec/python-exec-0.9999.ebuild,v 1.6 2014/07/06 13:18:50 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
@ -19,11 +19,11 @@ inherit autotools-utils python-r1
|
||||
|
||||
DESCRIPTION="Python script wrapper"
|
||||
HOMEPAGE="https://bitbucket.org/mgorny/python-exec/"
|
||||
SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
|
||||
SRC_URI="https://www.bitbucket.org/mgorny/${PN}/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="!<dev-python/python-exec-10000"
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/python-exec/python-exec-2.0.ebuild,v 1.1 2013/10/30 19:12:16 mgorny Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/python-exec/python-exec-2.0.1-r1.ebuild,v 1.2 2014/07/06 13:18:50 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
@ -12,11 +12,11 @@ inherit autotools-utils python-r1
|
||||
|
||||
DESCRIPTION="Python script wrapper"
|
||||
HOMEPAGE="https://bitbucket.org/mgorny/python-exec/"
|
||||
SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
|
||||
SRC_URI="https://www.bitbucket.org/mgorny/${PN}/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
LICENSE="BSD-2"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="!<dev-python/python-exec-10000"
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/python-exec/python-exec-2.9999.ebuild,v 1.1 2013/10/30 19:12:16 mgorny Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/python-exec/python-exec-2.9999.ebuild,v 1.6 2014/07/06 13:18:50 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
@ -20,11 +20,11 @@ inherit autotools-utils python-r1
|
||||
|
||||
DESCRIPTION="Python script wrapper"
|
||||
HOMEPAGE="https://bitbucket.org/mgorny/python-exec/"
|
||||
SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
|
||||
SRC_URI="https://www.bitbucket.org/mgorny/${PN}/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
LICENSE="BSD-2"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="!<dev-python/python-exec-10000"
|
||||
|
@ -1,6 +1,102 @@
|
||||
# ChangeLog for dev-libs/boost
|
||||
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/ChangeLog,v 1.308 2013/11/30 20:32:19 vapier Exp $
|
||||
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/ChangeLog,v 1.330 2014/08/14 09:07:39 pinkbyte Exp $
|
||||
|
||||
14 Aug 2014; Sergey Popov <pinkbyte@gentoo.org> boost-1.52.0-r7.ebuild:
|
||||
Stable for x86, wrt bug #518488
|
||||
|
||||
14 Aug 2014; Sergey Popov <pinkbyte@gentoo.org> boost-1.55.0-r2.ebuild:
|
||||
Add proper blocker for app-emulation/emul-linux-x86-cpplibs, wrt bug #519744,
|
||||
inherit multilib eclass explicitly
|
||||
|
||||
14 Aug 2014; Sergey Popov <pinkbyte@gentoo.org> boost-1.52.0-r7.ebuild,
|
||||
boost-1.53.0-r1.ebuild, boost-1.54.0-r1.ebuild, boost-1.55.0-r1.ebuild,
|
||||
boost-1.55.0-r2.ebuild:
|
||||
Drop obsolete Python 2.6 support
|
||||
|
||||
*boost-1.55.0-r2 (12 Aug 2014)
|
||||
|
||||
12 Aug 2014; Sergey Popov <pinkbyte@gentoo.org> +boost-1.55.0-r2.ebuild:
|
||||
Revision bump: add multilib support, wrt bug #512884
|
||||
|
||||
09 Aug 2014; Markus Meier <maekke@gentoo.org> boost-1.52.0-r7.ebuild:
|
||||
arm stable, bug #518488
|
||||
|
||||
07 Aug 2014; Jeroen Roovers <jer@gentoo.org> boost-1.52.0-r7.ebuild:
|
||||
Stable for HPPA (bug #518488).
|
||||
|
||||
07 Aug 2014; Sergey Popov <pinkbyte@gentoo.org> boost-1.52.0-r7.ebuild:
|
||||
Make dev-util/boost-build dependency less strict
|
||||
|
||||
07 Aug 2014; Sergey Popov <pinkbyte@gentoo.org> boost-1.52.0-r7.ebuild:
|
||||
Backport fix for bug #498134, wrt bug #518840. Thanks to Michael Jones
|
||||
<gentoo AT jonesmz.com> for discovering this issue
|
||||
|
||||
30 Jul 2014; Mikle Kolyada <zlogene@gentoo.org> boost-1.52.0-r7.ebuild:
|
||||
Whitespace
|
||||
|
||||
30 Jul 2014; Julian Ospald <hasufell@gentoo.org> boost-1.52.0-r7.ebuild:
|
||||
backport glibc-2.18 patch to stable candidate wrt #518544
|
||||
|
||||
29 Jul 2014; Mikle Kolyada <zlogene@gentoo.org> boost-1.52.0-r7.ebuild:
|
||||
amd64 stable wrt bug #518488
|
||||
|
||||
*boost-1.52.0-r7 (29 Jul 2014)
|
||||
|
||||
29 Jul 2014; Julian Ospald <hasufell@gentoo.org> +boost-1.52.0-r7.ebuild,
|
||||
boost-1.53.0-r1.ebuild, boost-1.54.0-r1.ebuild, boost-1.55.0-r1.ebuild,
|
||||
+files/boost-1.52.0-threads.patch:
|
||||
fix build with USE=-threads wrt #458404
|
||||
|
||||
23 Jun 2014; Michał Górny <mgorny@gentoo.org> boost-1.55.0-r1.ebuild:
|
||||
Enable python3.4.
|
||||
|
||||
28 Apr 2014; Sergey Popov <pinkbyte@gentoo.org> boost-1.52.0-r6.ebuild,
|
||||
boost-1.53.0-r1.ebuild, boost-1.54.0-r1.ebuild, boost-1.55.0-r1.ebuild:
|
||||
Add apropriate die message on unsupported overriden site-config.jam, wrt bug
|
||||
#456792. Thanks to Raimar Sandner <gentoo-bugzilla AT 404not-found.de> for
|
||||
reporting this issue
|
||||
|
||||
15 Apr 2014; Sergey Popov <pinkbyte@gentoo.org>
|
||||
-files/boost-1.48.0-respect_python-buildid.patch,
|
||||
-files/boost-1.48.0-support_dots_in_python-buildid.patch:
|
||||
Drop obsolete patches
|
||||
|
||||
15 Apr 2014; Sergey Popov <pinkbyte@gentoo.org> -boost-1.49.0-r2.ebuild:
|
||||
Drop old vulnerable version
|
||||
|
||||
07 Apr 2014; Sergey Popov <pinkbyte@gentoo.org> boost-1.53.0-r1.ebuild,
|
||||
boost-1.54.0-r1.ebuild, boost-1.55.0-r1.ebuild:
|
||||
Fix parallel compilation with high number of MAKEOPTS jobs, wrt bugs #506064
|
||||
and #498134
|
||||
|
||||
07 Apr 2014; Sergey Popov <pinkbyte@gentoo.org> boost-1.52.0-r6.ebuild,
|
||||
boost-1.53.0-r1.ebuild, boost-1.54.0-r1.ebuild, boost-1.55.0-r1.ebuild:
|
||||
Add support for user patches via epatch_user
|
||||
|
||||
07 Apr 2014; Sergey Popov <pinkbyte@gentoo.org> boost-1.55.0-r1.ebuild,
|
||||
+files/boost-1.55.0-tools-c98-compat.patch:
|
||||
Fix building with USE='tools', wrt bug #506064, patch by Ed Catmur <ed AT
|
||||
catmur.co.uk>
|
||||
|
||||
*boost-1.55.0-r1 (27 Dec 2013)
|
||||
|
||||
27 Dec 2013; Sergey Popov <pinkbyte@gentoo.org> -boost-1.55.0.ebuild,
|
||||
+boost-1.55.0-r1.ebuild, metadata.xml:
|
||||
Revision bump: implement conditional building of Boost.Context library via
|
||||
'context' USE-flag. Drop old revision
|
||||
|
||||
*boost-1.54.0-r1 (27 Dec 2013)
|
||||
*boost-1.53.0-r1 (27 Dec 2013)
|
||||
|
||||
27 Dec 2013; Sergey Popov <pinkbyte@gentoo.org> -boost-1.53.0.ebuild,
|
||||
+boost-1.53.0-r1.ebuild, -boost-1.54.0.ebuild, +boost-1.54.0-r1.ebuild:
|
||||
Properly disable all code, which depends on Boost.Context and remove all
|
||||
redundant headers, wrt bug #493116. Thanks to Mike Frysinger for discovering
|
||||
this issue. Drop old revisions
|
||||
|
||||
14 Dec 2013; Agostino Sarubbo <ago@gentoo.org> boost-1.52.0-r6.ebuild:
|
||||
Stable for sparc, wrt bug #455464
|
||||
|
||||
30 Nov 2013; Mike Frysinger <vapier@gentoo.org>
|
||||
+files/boost-1.55.0-context-x32.patch, boost-1.55.0.ebuild:
|
||||
|
@ -6,42 +6,36 @@ AUX boost-1.48.0-disable_libboost_python3.patch 1509 SHA256 0b229762863b72a5faa3
|
||||
AUX boost-1.48.0-mpi_python3.patch 2549 SHA256 9120a660469fba15554e790150e03a665ea5497e94a79469053506147bd7dad1 SHA512 7c8aa497ceba42319194dd6400ea8af883656c79e4f697d87c5e825cfdef5733bce91c3e930b504b264cae80f582c85f2c2b29d5f8db11ebcabeb744c888096e WHIRLPOOL 1b740f102467c787bd45813ecf085297171892c1126675f1abd501c11dc9a56506d0cb32222239f4e4bb1e6913533b3884acd2a749633f781c53a6529106264c
|
||||
AUX boost-1.48.0-no_strict_aliasing_python2.patch 741 SHA256 d11db74992a7a692f655b36c1cd78355fcec6703007fde522b6a82c88f171689 SHA512 cd06ba8bf5623a5ca590cbd024ba27fae14d1d2a193ccd4baf91b06c5d41b6442f40561fa49b5ba14deb0c156d5773fc4a15890a85b6cea35cab91d54e94aa6e WHIRLPOOL 1b5cce1374f56d702213d7479beb90d15413c90010442a37a46821f383afa371aac3de49e657e7623d6e9079d1e3b07353233aa40218b760042161effedd813a
|
||||
AUX boost-1.48.0-python_linking.patch 1278 SHA256 5bb937bd4423e039aa406ee4a366c61542a8067ec96b22dbcc48e8826bb7b1f8 SHA512 d588d9391c654a0c3cd49078933563705da4157cd79929ac2ff2021a2e86eec1b87ed85f5ec6d2028b76974abe7e947bd379d78aa60d97da9dc23a6f74c77ec2 WHIRLPOOL 879318dd228ca01841dd3ef0d8020810357c4699fbd1d9f164b0db07319b599634bd823f0e06dd462157d81550bc9f101506d0a7469ad2352d4b1b366bb7fb00
|
||||
AUX boost-1.48.0-respect_python-buildid.patch 1648 SHA256 996395941b5518dd2782cb18ed937273ccb256d5c5e64301b1d152dc81be39cd SHA512 b53432893fb390354dfd98a88a7905b523e528780c349e3d0da2b019255cbc58b3b987065fdef903d4959387994fdf240f7cd87c53f801e485a0811a2da56316 WHIRLPOOL 72ef562edf844944c9d7bf7931819522984dcffb7af43ef8c9d7a41fd0272ef1ebca99fffdd67654ab4564e8899aa6e0acafa27f72c8f7c06e582a0d211dfd91
|
||||
AUX boost-1.48.0-support_dots_in_python-buildid.patch 625 SHA256 da1a6c1b501f6c3bd152b2d13ec690adc2566b159f0e489723ea84865d43b88d SHA512 3a8c3efd11eba1097312dd3141f8846e23578a0386701348ebc77279a02fecf4b715de2231c998bd426b0b63f3f1875f5f47833835a4b41b8e0723b9b5b35399 WHIRLPOOL cf9ad2c82ff1c68ce4ac6a685875e53b00d5f88aa0c562007c4dbe73610811eeaf9ce93a706d0fad46aea4322fe10e9b0bc4a73659d8b98540ebf96bb5288adb
|
||||
AUX boost-1.51.0-respect_python-buildid.patch 1565 SHA256 a783cd262cfda7c0046a9a9f34dd91cdc48bc2442c4c466873e85ead818326bb SHA512 65a7456c63db5eeab862fdb6245ba3a26536e26b56be9ed7a502a3d5be91bc278cd4a22cf1c5a1d8917bdeaa6575cbf37a11bfc3e982272f56308117fd2b230e WHIRLPOOL fb430e9c5368540493e13fdadff94df426203c9e6776891a3fc421488266b39f7e5720e5f5d289665d62d753c9bce7a33198cf6e911d94961714c22d1452ac92
|
||||
AUX boost-1.51.0-support_dots_in_python-buildid.patch 609 SHA256 189299e2ef3cde98584e60a5bdd8606894c19bceb0c4d40b38f04aae0aed0edd SHA512 0bf1e4cae598a098b8c252bab1938b29dd5d3ea19d9355156b14add27238e9359ad39a73d3afecb031efebd801215804ecebc11ca8fa6ac2b7b3c2f5ff9bc32f WHIRLPOOL ffc318bc06c33263906be6d0e565ef4c2e3fde9f6224cc5413c02cbe446d9f286c69153f4aee6f588472b058b9b4a37110b0be696bd22362989f1b6a8c8fc13e
|
||||
AUX boost-1.52.0-locale-utf.patch 2062 SHA256 8212150730073ba5b08aa9808afcb45d5ce90109cfc1ba90d22a673418ea003c SHA512 641a56541efb51e7db66c6c9eac65f8e0e62b4ad2c1b792ea573ce86fc62cd94327be75d22b8fdb84128e792977a2b450681d729a85b143146dc79a007ecefc4 WHIRLPOOL 67cfd6bd4591c3dcc47ad06aaa634e9c1598e0214635a66a1e57fb933b025aebc05cf3ddadd7309fdab353daa7b7880e468874c958e641604d4a7e3fa986fd96
|
||||
AUX boost-1.52.0-threads.patch 2089 SHA256 b59323cefaf4f89078db62b1ece2a6e3b2cf7e8861996c0e366bee4d4638bdb3 SHA512 c6b43e9d8bebbeeb89681ec2bca61c2d656b8b5b1d508c5cd7e545f8ff3ca9b2b3bdf5f66b33ae043548d74b58a9d49096e3c971cd4a1487ef7ee90a9473a92d WHIRLPOOL cf75f6f740a22b001466018e9fb90a75c6912f1723486bda1e53ae2af5eeca5dedec7d430755a0a26cb433ba9d1b56aaa449ed543356ebf2ac4c67c62899ee2c
|
||||
AUX boost-1.52.0-tuple.patch 500 SHA256 dbf631c8c412ea12b3d63dd4b515e0d5f1383a13db18e13696bd33dee91645d7 SHA512 ed2790b35058a3bf91b49e5e1b61f1861e2ba8d8ec6f885e85d74d62e2182fd1768099660712a900e29a505fbf568f0235c748cca801ede836f67d2adbc6bcd1 WHIRLPOOL be88916331907ad528983e370619c9e734e122c7a1a0a2fb4a6df30f5ca9567884bfece928cab314ecdb425e6195a1b154a6c15722c6c860946ad356b4a4b502
|
||||
AUX boost-1.53.0-glibc-2.18-compat.patch 949 SHA256 54e5e0000bcfb249a14cee584e371c9f3aeeed8502d57541dd3b37396265cabd SHA512 dedc12603968d123acdb59da11ce309847ac3d49a2105e5d36e4151944f7271d8f333e58fc9e3d7097849d21b8e5b8527ba70842b88eabcde1bed2889ef84471 WHIRLPOOL a1bac4865b632277ed82591263c24795b8f8edd6571c69a178fd15a06f8a94554c0ac144e53c06c13ce5e9336ed62a52cf7c228af5bf62792a4a4635f13fd8d2
|
||||
AUX boost-1.53.0-library_status.patch 1907 SHA256 21a3137fcac21f734c7160264523f8699eb242a84a79dcc88cc937f0b1f87e67 SHA512 f5579a8650c24d2ace95e8d9aaff94325090577fa27fd7122309f5197373ff22352092671153c6e35057757fa07ef9c21ea5e0234fe1d5b467ef65cf5f2901c5 WHIRLPOOL 5a0962b007adbbfe85c33f03b9542d9ebf1ef649bf1d97f483cba5b0229cea0630c0ed7912bab8f04d8dd791b99cfd6e33e222d3a983e30852d7a10fd66a3dc7
|
||||
AUX boost-1.55.0-context-x32.patch 1077 SHA256 1da4ff48b98416cac601c52594d4c4da3fb89d0a3e8908f119f05cc8ae76f9c7 SHA512 0e2e45abe5833396508666355e26bafe114fa4ada628b24d8d9953268edddcb2f8e3dcfe8bc7f27d6c1794418990dc9ef914c936dfa64ed6e5e647a40e3f8a73 WHIRLPOOL 0b7a3521a8ec513b833d0292fa3e3bcafc8232fa96d2e41afd25da8dc30bdb49ee4319c7c8555d95e7d3de55fc704d83e443ba49bf89d6961a3f5af73c024a71
|
||||
AUX boost-1.55.0-tools-c98-compat.patch 680 SHA256 08192ebf36a3087d3bce31d7b78c29c6e38bca6e5164744878783f648024beec SHA512 fc132898d9ef1a9fab607f277003f86080306fd0f30f89ab0916eb4c3217b390f15cfa00d1e410e79080d469714866a417ba72a3c0727189e8425cd72a1d6a47 WHIRLPOOL 17eb9e80ae33ef9fa8e4c442c511e35d1f5c2ac5251462931e9fbbd53bb29ef5adf699680729af71ef4c12ec87c6d83c821a8e30a03f7f1abedc2207c3125c1c
|
||||
AUX remove-toolset-1.48.0.patch 396 SHA256 59af4c05d71def0b14e22a7a5f756a054ca82e3f9686b7668335af7d9bed28fa SHA512 bbb01be2e4b4807eeb19faf13fc6c73e3cb8843953586312076a15c67ad5c5cac683fc3fb26f4e2902c60ab7930e83922f4d499756a85f78a20ac53399329f61 WHIRLPOOL 2490dac69a45b3f48e2513b4f21d75dc7cf5361411541dde96f027c66ca459df5390708902c86f11577d1129410f52d20de1ff275524fb51083a17eee6adc332
|
||||
DIST boost_1_49_0.tar.bz2 48499961 SHA256 dd748a7f5507a7e7af74f452e1c52a64e651ed1f7263fce438a06641d2180d3c SHA512 9f6198270659df112a57731afe31cbf1012d103ba36ed82f6c3f1bdc0185ddb89dcc42c5dfb9ee3f95973d52999aad6c7509dc61125420d45146e39ebf20219d WHIRLPOOL c049b4212307b0208d0b37ac870a7cfb8562d2b685ce505e1971af7bc68ae9746b06ea80ddc52599ed4cbd6dc3305b5f8051cd771387412aaa1d2f8e939a48ba
|
||||
DIST boost_1_52_0.tar.bz2 54421709 SHA256 222b6afd7723f396f5682c20130314a10196d3999feab5ba920d2a6bf53bac92 SHA512 fc512d3bfa6a39a60fee548775c97239271cf757587b8df7ed739c800844a819a359dca172be0e69ad7752753753139bf11f0813d650066d58386662fe32842d WHIRLPOOL 73bbab4a1d2a652200f4b5e669440a2afcebcea96a1139ecc75213067ca32d5cadb0f060bb0ec2e29e9e31272fb7ec9d2cb960801032ee6c5dcb86564766411d
|
||||
DIST boost_1_53_0.tar.bz2 55765258 SHA256 f88a041b01882b0c9c5c05b39603ec8383fb881f772f6f9e6e6fd0e0cddb9196 SHA512 8cd7806653cb6ea4a1c6862796ef698de5ae0bdbda96954fedbe090c59e3e6cb8f8d385df35183e9063ac4e2c2fccf10744516c47a994cde5f1d1cba1b07e522 WHIRLPOOL e8c5ed6b34dd5f68dc7e102a9e22b302616a65077d3f4af370ece6352b02a866e04294a4fc76bbd5555b6a4131f590e6455e6a74b5f12c4ffc2dd15af0bc8746
|
||||
DIST boost_1_54_0.tar.bz2 57873778 SHA256 047e927de336af106a24bceba30069980c191529fd76b8dff8eb9a328b48ae1d SHA512 3467a2bb9b4797cadfc52150cb036939ef35263f421870897dbe9492d1504a714805668a193b0811fdaf39a3527ee693ff70da5b942d7ab11b307e2e693e1760 WHIRLPOOL dbe3cbecaccf86ca184cf73cff75c17d6307b680bab098e38a9efd24d17776481e597017fc9f8fc8f488495f315c6d2b14b9212c51cf98529c302482bf67e92a
|
||||
DIST boost_1_55_0.tar.bz2 58146647 SHA256 fff00023dd79486d444c8e29922f4072e1d451fc5a4d2b6075852ead7f2b7b52 SHA512 dc606477f4c303e8f40de2586c16394b6d758e198b35bf3a7d3e576a2f49171aadc4f95e8d685fa731bc4e61e19869d5a24e1e816febfca9de078d66e096e041 WHIRLPOOL 6ae111d6a956651bd91914432b743faffeb466703191b05193db47f02fd3528a14ce200f26c1ab77bf2c68994eb5b135b0176f66a746964d334b4793ba113ad5
|
||||
EBUILD boost-1.49.0-r2.ebuild 14422 SHA256 ad45dd1d48921a19aad372846d95192d193360e3bb331d33fc27aaf0aaf04711 SHA512 4baf56fc384f06117904fdaba7d62993800f27389cf84871074866d755721a30d3ffc4aed75a3d016dda3695a6f96e7be16cdbc7fba4f0be098b8258b2f6b3df WHIRLPOOL 210cfa37728a85e418f0180268d195bbb67704b415f69adde39fa96d5087b03c8724f91d19ce2d91aa344abe292156bdbccd50ed05a58a030dbfb6b8f50ff4c7
|
||||
EBUILD boost-1.52.0-r6.ebuild 9241 SHA256 c175c508bbd364d7419661630453eaef93a29909e27e06256cfc273edaecc79e SHA512 ec761e38106fc831c8da8f689cbc378e38858e371cedff5b5e17964245d46a5988631234796e243fadd89dfa9d10ec3f59cd2bff7441805f6b7b81f50a750a6f WHIRLPOOL a419f0c32dcb3a0da1311291f6bf6bd858e5faa48e52f433ac7a47f81168393a1b4c781167e20ae5ba01bd178ed2bac919da06884e1f165558ecf1f3d6387b70
|
||||
EBUILD boost-1.53.0.ebuild 9769 SHA256 b43a0bed01d0274219c84725a34adc19e50990040b7d3e7caf3164ba3542a090 SHA512 5f6cb7a61428b44cf0677bcd3f345350e0b32048e1f3c9b286de957ae1a7fd63b76d695df313e5c54c489824d0038eef773f35df663b0805367158efd6adcb00 WHIRLPOOL 55b51501169b7b4f2818c19ae86361a8ecafb0d7811874a367a02b57b8786b0ad8a372bf743ad0cf483323b3608e3c1512fdcc47a6866072830a2580c695d83f
|
||||
EBUILD boost-1.54.0.ebuild 9769 SHA256 25f86d0ade8b32094767b1301742e4cc8206b1fd18153ef69b9963d913c7f5cd SHA512 0a06db9234ec513f2192791f9f14d85cdc9ff6c4717ad4565596dab8de25d11bc9c496f0f257f9f2d562d63a7615b0317d01397b8328d82680e366423a14c029 WHIRLPOOL 602b360a092538eb2e9977651b0ef9704c3809e7f9a8967d9060ce82c7adc4d5e07cc9df356062b6f63170fa98dca5572a817bf57e869c724cb9bb09eb7c43f9
|
||||
EBUILD boost-1.55.0.ebuild 9529 SHA256 bb11743ba64f1f7e3cb1447502030fac0bf4d267fabdfb4bad813fe6ae37e4d0 SHA512 67acf26f15d9b06e8c9124da111d1ab975dd21c244db06e3167d070cb9b71042cac369ae2031dab30a55ad9b88d782424cb38e664d8bb8a670b63390476ffb02 WHIRLPOOL 83e03b3d9376677cd17ce140fbd818f97677b9eeccc89fe1936c4c0325f838213cbde864d8f056191e0b3332b8ab143e5c0e53898746c1549e7948ae578af589
|
||||
MISC ChangeLog 52216 SHA256 26e06a3e48b7e252bbbb7fa5194cbb4b89ff4fdcebf89209a07141b38e90224b SHA512 01b500fe9b3364936796eb34002197427163d328d2b84ee0b1bfd0525845e73b5970342e777760ee729b5cbfd562937321f12ab7366afbecf5a82c1b9e7ce696 WHIRLPOOL 8d5198b8c2495ab9aaa5e89113570ba25579fbc203d3202bed0310388d294d6cf3dcbc7155b3f418091e3a37fb4c76c98497976202275c416b0f8ad3c9ad513a
|
||||
MISC metadata.xml 1220 SHA256 12442e258455aa70d08879028a9bb0424d6a5ceea321984009ae7dd51af10c50 SHA512 163fa62be2cad395e8f9bb7779d105bd02be0e09ba4571c41accf707ec25b9ad0d15a62db90c2cc01660b3759235493c00d96f9b741a93fe857c4bea15ac52b9 WHIRLPOOL ae70da326b7b36689ee9a7f3c29921e9e4d85fd7f8b7863866ff9aa7a86eae2983fb12e23f7f0a0aac35a8c09572954ebf67212bb103bed4e15ee2e4ec764ba0
|
||||
EBUILD boost-1.52.0-r6.ebuild 9801 SHA256 3f6216bd3ae5554331b9f14c28be75ce6f32f92d05dbd44ed14e7bce440b3544 SHA512 1a44b27c48f454c3d0f7f2a3eed259ab23ef79e9669c6f05807e3c3e5e04a845098a2c580db2b9487d255fa39c0fdeacabda85654f6554493bc527a676100317 WHIRLPOOL 3dff797ddad33edfe28238b3553365cf4862f15e3d853cdaff101005b69fc8ee389239b7477021531e5544a58b30689660c7ae31c81c813bd52fbde3857c1df5
|
||||
EBUILD boost-1.52.0-r7.ebuild 10045 SHA256 43bc05740ae842857ab138b6e61babcb6a799798c7fc3789ec0a3b290bdb3135 SHA512 6908ab7fab78e5335dde5e0f50682d08caf023cfde4355d1538912f903e608955fa3ffbacfa5f9682cf0af2531f1f0af0702d909caeaeb7afd857a266783922f WHIRLPOOL e59dc45c93edefa2e4ddf5603f40c34aeadeb616b9d1376094ac669a3eff1d1a0089d0d0f436873dd3be07e8872ee0e82372da171b6e368a9ca69698a08120e6
|
||||
EBUILD boost-1.53.0-r1.ebuild 10568 SHA256 1e9eb4d9417c45a81983e6512f5532eb19fdc8abbf1f9ba28bf1631d315c5c4d SHA512 bd2afc07bc75f7dddafa083c6a8007b266ab73fdc33e605453b74a222f15c4613fcd9d7065cc40b466cbf17bc0b4422eb2eba2734e852577c77bc29896fe1b06 WHIRLPOOL a3d1cd2fa56bd1ae36d5561df102cd1486839c46ecfbb3a35eae8a60f1e7dd8b630f71122ac436cf6a66167773398314ea7fe1656cb60952194750e30209b586
|
||||
EBUILD boost-1.54.0-r1.ebuild 10588 SHA256 7636425a238deb362cc7b1e94ee08077918551884ac93aeca9fb6d239e00607a SHA512 525b1f63dc71421f83ea19a847f4ed69117c91c32d055aafb0e8a62d33e52a2f27fe6e8470e803b47713cfe57c6007d1bfb03f103b97e880c7eb8df141c7008c WHIRLPOOL 72bdb9aea7c58e40314130372c34fb0eb823e2b28dfac0e2829097b43a4b1d9f63dfc281f571ff38242bca8e024dda182f654094cfc4032c1bda7fef6a1cb08d
|
||||
EBUILD boost-1.55.0-r1.ebuild 10444 SHA256 59636bf0376206cf81ae153bd7ba3c8607864db47a23644b23888bc141aa2d71 SHA512 5dffb6071529a997f1520e3ad140e11d1d74f301fd5f91a0a76035b878bbc977b16e27a98ace61a364f8208771110bf4a22ff66a848fb01d7c1506f0634c4502 WHIRLPOOL 6f6857f2ecd5fd601f7c7e3f95d585747af9cc439797af1e1f6507594837b3dce1d5f61b480eae803e94d382f1069956ad16ff56f13df65c674875f16e9ffc82
|
||||
EBUILD boost-1.55.0-r2.ebuild 11338 SHA256 ba30f00f6343c3e29252398ea078997d1c84c6580f315c9a705baac62c27cb6f SHA512 151a95b47ab8fa12abc77d5d6d88e286f90630ab37634f77e4636418022c0671c82c655ff912cf61a82fd8bd01936dde74f17bfd09ed500def722713147c2707 WHIRLPOOL bdd6adb38ff0815d0b091c3808b74bc99fe99f4dcbc479529c086a03da33147d6ea8fa8d60876aeda7be6f2ef158e5ed308d4f8d60bd9fa958c833a6d0d31db8
|
||||
MISC ChangeLog 56128 SHA256 caa890c50235fd3e418939267337329cd538ad1915fd08d51039f7d018a56d48 SHA512 af52ee877bf27a28adaae288237f9f03aa5ba0871a880d8455d67e3fa6cc87ce3e725faf8f9c35e84d72ba08eb5f3cfc44e05cf91f303af1495af7d35a8865a3 WHIRLPOOL f0aef723f3932f87285ed82d8b2332519a67472075802918b67962c83b136dc0d7ea177d0604a8ba1d4916aa35512c3a67306cee3e0641f6a7b2384961c20f53
|
||||
MISC metadata.xml 1363 SHA256 81717d0ffd5ebadbe4b12d4a38b332f3128da205a46e3cfd201e91f6ad474d68 SHA512 162040a40e83cceacea3605d45bc846cbd721446949c66bd836ab54e113ada77f1f462c7e61d7e544bc073920475db6b81c104390d6c83aba7228d65ff270419 WHIRLPOOL be141d041846a3a79efb7579c3f842960afe27a6e29659bad88ae8e999aef30074d2ab23c9eb295152d88f75d80efc86fed1c08c11b4f3f0d5e866b6d3c4802c
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
Version: GnuPG v2
|
||||
|
||||
iQIcBAEBCAAGBQJSmktYAAoJELEHsLL7fEFWtK4P/iaKCRvKuUNixJG8CRQgY1zH
|
||||
iUSUQCbQfKjgDziM9Y0Itaus/DpxH/+ijuileejTET6wgNEVkmqd6Csm3aALyQjV
|
||||
Q9UsuNLHY+eRDl/BHV6ntZaJX5yp9+uBvpGbfjYXznxsnACjZLaFgJ7M+qlr3Rsu
|
||||
hefjBEGpPNSCW6w9JXsSHzcgsnGL8mGQ3dKrTPNAR7l6WaB/hGToSWUbBbzaKLlC
|
||||
lQMaybXzIVW6Sy2i9plv3dk0IlIKQtl55YMBWkJVBsdrjXsAtyoSHa0Ce5bfTKzf
|
||||
kmcXIWa8Qv3oa3j0qjNeqsLAaypQDK3wx6cFYmKuSrlUCyHinoeJ+0DIn9g+n3JD
|
||||
bbdGoPyc3aINXeELiwg5ZxIADJSnP2+o6d+FnLlWWi305syNuiLxfMhfLibF180v
|
||||
tw7aU0180sO/6WUV5KTyK2jgbRW08gg5l0JvhPRCHNv4yDMveUZn4/nz+d/pbbtn
|
||||
iamcxLYI6VOkZbWNA3fYLqsWQfbkHId+zdvW//X4HZtQqfapUZaChl2gNf/SL7VO
|
||||
ZfAKo4Qv5Z4QsnZjCLBiFZ0PLAYW0YkXwgBuND/fcH/J/fZ7AvKGsE/epvfU5ZrU
|
||||
3wxnqWs9UzlWlHxxqj9c9eHvroBXJ/ee+Vy6g9pOmgwUo6hM6QNz0In8qhxWNEax
|
||||
put5t5TWEtfCNwT52BGN
|
||||
=+hQB
|
||||
iQEcBAEBCAAGBQJT7HxbAAoJECo/aRed9267UjAH/RNH6gPLt2RHVUwBR/KV117w
|
||||
yWK2GA4wfNGeM6ldskF3bCVsxNfyRXBfkU11+LXisn7stFhA45nyc/pGy2S+qGzl
|
||||
mkeBfpS0c8HFAYrp4GWw9GgYt2al1NM4hZb3SO1wUtLY+qjrplT5/tZlp1x5INiQ
|
||||
nT7d+CEPydY1MbrJLYIUZYO2JB8ci+GDK1uLp0eQi4s7+Gx0HjIczMID2y7pJWkr
|
||||
bYkS/x5XahVP/BcjZZm3l3FhP0w4pqc7dpuw7NwMbmZS4YUToq7RSp0QdpNPzx8h
|
||||
aIPHBQq+41DqX4R0fvi5T7AbOVs9ebo3ucfucMtiMjAqUs2qvvdygmyfxnOYkAg=
|
||||
=gZJr
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,449 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.49.0-r2.ebuild,v 1.7 2013/07/10 11:54:02 pinkbyte Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="python? *"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="*-jython *-pypy-*"
|
||||
|
||||
inherit flag-o-matic multilib python toolchain-funcs versionator
|
||||
|
||||
MY_P=${PN}_$(replace_all_version_separators _)
|
||||
|
||||
DESCRIPTION="Boost Libraries for C++"
|
||||
HOMEPAGE="http://www.boost.org/"
|
||||
SRC_URI="mirror://sourceforge/boost/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="Boost-1.0"
|
||||
SLOT=0
|
||||
MAJOR_V="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="debug doc icu mpi python static-libs tools"
|
||||
|
||||
RDEPEND="icu? ( >=dev-libs/icu-3.3 )
|
||||
mpi? ( || ( sys-cluster/openmpi[cxx] sys-cluster/mpich2[cxx,threads] ) )
|
||||
app-arch/bzip2
|
||||
sys-libs/zlib
|
||||
!app-admin/eselect-boost
|
||||
elibc_glibc? ( <sys-libs/glibc-2.16 )"
|
||||
DEPEND="${RDEPEND}
|
||||
=dev-util/boost-build-${MAJOR_V}*"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
MAJOR_PV=$(replace_all_version_separators _ ${MAJOR_V})
|
||||
BJAM="b2-${MAJOR_PV}"
|
||||
|
||||
create_user-config.jam() {
|
||||
local compiler compiler_version compiler_executable
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
compiler="darwin"
|
||||
compiler_version="$(gcc-fullversion)"
|
||||
compiler_executable="$(tc-getCXX)"
|
||||
else
|
||||
compiler="gcc"
|
||||
compiler_version="$(gcc-version)"
|
||||
compiler_executable="$(tc-getCXX)"
|
||||
fi
|
||||
local mpi_configuration python_configuration
|
||||
|
||||
if use mpi; then
|
||||
mpi_configuration="using mpi ;"
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_configuration="using python : $(python_get_version) : /usr : $(python_get_includedir) : /usr/$(get_libdir) ;"
|
||||
fi
|
||||
|
||||
# The debug-symbols=none and optimization=none are not official upstream flags but a Gentoo
|
||||
# specific patch to make sure that all our CFLAGS/CXXFLAGS/LDFLAGS are being respected.
|
||||
# Using optimization=off would for example add "-O0" and override "-O2" set by the user.
|
||||
# Please take a look at the boost-build ebuild for more information.
|
||||
cat > user-config.jam << __EOF__
|
||||
variant gentoorelease : release : <optimization>none <debug-symbols>none ;
|
||||
variant gentoodebug : debug : <optimization>none ;
|
||||
|
||||
using ${compiler} : ${compiler_version} : ${compiler_executable} : <cflags>"${CFLAGS}" <cxxflags>"${CXXFLAGS}" <linkflags>"${LDFLAGS}" ;
|
||||
${mpi_configuration}
|
||||
${python_configuration}
|
||||
__EOF__
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if use python; then
|
||||
python_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-1.48.0-mpi_python3.patch"
|
||||
epatch "${FILESDIR}/${PN}-1.48.0-respect_python-buildid.patch"
|
||||
epatch "${FILESDIR}/${PN}-1.48.0-support_dots_in_python-buildid.patch"
|
||||
epatch "${FILESDIR}/${PN}-1.48.0-no_strict_aliasing_python2.patch"
|
||||
epatch "${FILESDIR}/${PN}-1.48.0-disable_libboost_python3.patch"
|
||||
epatch "${FILESDIR}/${PN}-1.48.0-python_linking.patch"
|
||||
epatch "${FILESDIR}/${PN}-1.48.0-disable_icu_rpath.patch"
|
||||
epatch "${FILESDIR}/remove-toolset-1.48.0.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
OPTIONS=""
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
# We need to add the prefix, and in two cases this exceeds, so prepare
|
||||
# for the largest possible space allocation.
|
||||
append-ldflags -Wl,-headerpad_max_install_names
|
||||
fi
|
||||
|
||||
# bug 298489
|
||||
if use ppc || use ppc64; then
|
||||
[[ $(gcc-version) > 4.3 ]] && append-flags -mno-altivec
|
||||
fi
|
||||
|
||||
use icu && OPTIONS+=" -sICU_PATH=/usr"
|
||||
use icu || OPTIONS+=" --disable-icu boost.locale.icu=off"
|
||||
use mpi || OPTIONS+=" --without-mpi"
|
||||
use python || OPTIONS+=" --without-python"
|
||||
|
||||
# https://svn.boost.org/trac/boost/attachment/ticket/2597/add-disable-long-double.patch
|
||||
if use sparc || { use mips && [[ ${ABI} = "o32" ]]; } || use hppa || use arm || use x86-fbsd || use sh; then
|
||||
OPTIONS+=" --disable-long-double"
|
||||
fi
|
||||
|
||||
OPTIONS+=" pch=off --boost-build=/usr/share/boost-build-${MAJOR_PV} --prefix=\"${D}usr\" --layout=versioned"
|
||||
|
||||
if use static-libs; then
|
||||
LINK_OPTS="link=shared,static"
|
||||
LIBRARY_TARGETS="*.a *$(get_libname)"
|
||||
else
|
||||
LINK_OPTS="link=shared"
|
||||
# There is no dynamically linked version of libboost_test_exec_monitor and libboost_exception.
|
||||
LIBRARY_TARGETS="libboost_test_exec_monitor*.a libboost_exception*.a *$(get_libname)"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local jobs
|
||||
jobs=$( echo " ${MAKEOPTS} " | \
|
||||
sed -e 's/ --jobs[= ]/ -j /g' \
|
||||
-e 's/ -j \([1-9][0-9]*\)/ -j\1/g' \
|
||||
-e 's/ -j\>/ -j1/g' | \
|
||||
( while read -d ' ' j; do if [[ "${j#-j}" = "$j" ]]; then continue; fi; jobs="${j#-j}"; done; echo ${jobs} ) )
|
||||
if [[ "${jobs}" != "" ]]; then NUMJOBS="-j"${jobs}; fi
|
||||
|
||||
export BOOST_ROOT="${S}"
|
||||
PYTHON_DIRS=""
|
||||
MPI_PYTHON_MODULE=""
|
||||
|
||||
building() {
|
||||
create_user-config.jam
|
||||
|
||||
einfo "Using the following command to build:"
|
||||
einfo "${BJAM} ${NUMJOBS} -q -d+2 gentoorelease --user-config=user-config.jam ${OPTIONS} threading=single,multi ${LINK_OPTS} runtime-link=shared $(use python && echo --python-buildid=${PYTHON_ABI})"
|
||||
|
||||
${BJAM} ${NUMJOBS} -q -d+2 \
|
||||
gentoorelease \
|
||||
--user-config=user-config.jam \
|
||||
${OPTIONS} \
|
||||
threading=single,multi ${LINK_OPTS} runtime-link=shared \
|
||||
$(use python && echo --python-buildid=${PYTHON_ABI}) \
|
||||
|| die "Building of Boost libraries failed"
|
||||
|
||||
# ... and do the whole thing one more time to get the debug libs
|
||||
if use debug; then
|
||||
einfo "Using the following command to build:"
|
||||
einfo "${BJAM} ${NUMJOBS} -q -d+2 gentoodebug --user-config=user-config.jam ${OPTIONS} threading=single,multi ${LINK_OPTS} runtime-link=shared --buildid=debug $(use python && echo --python-buildid=${PYTHON_ABI})"
|
||||
|
||||
${BJAM} ${NUMJOBS} -q -d+2 \
|
||||
gentoodebug \
|
||||
--user-config=user-config.jam \
|
||||
${OPTIONS} \
|
||||
threading=single,multi ${LINK_OPTS} runtime-link=shared \
|
||||
--buildid=debug \
|
||||
$(use python && echo --python-buildid=${PYTHON_ABI}) \
|
||||
|| die "Building of Boost debug libraries failed"
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
if [[ -z "${PYTHON_DIRS}" ]]; then
|
||||
PYTHON_DIRS="$(find bin.v2/libs -name python | sort)"
|
||||
else
|
||||
if [[ "${PYTHON_DIRS}" != "$(find bin.v2/libs -name python | sort)" ]]; then
|
||||
die "Inconsistent structure of build directories"
|
||||
fi
|
||||
fi
|
||||
|
||||
local dir
|
||||
for dir in ${PYTHON_DIRS}; do
|
||||
mv ${dir} ${dir}-${PYTHON_ABI} || die "Renaming of '${dir}' to '${dir}-${PYTHON_ABI}' failed"
|
||||
done
|
||||
|
||||
if use mpi; then
|
||||
if [[ -z "${MPI_PYTHON_MODULE}" ]]; then
|
||||
MPI_PYTHON_MODULE="$(find bin.v2/libs/mpi/build/*/gentoorelease -name mpi.so)"
|
||||
if [[ "$(echo "${MPI_PYTHON_MODULE}" | wc -l)" -ne 1 ]]; then
|
||||
die "Multiple mpi.so files found"
|
||||
fi
|
||||
else
|
||||
if [[ "${MPI_PYTHON_MODULE}" != "$(find bin.v2/libs/mpi/build/*/gentoorelease -name mpi.so)" ]]; then
|
||||
die "Inconsistent structure of build directories"
|
||||
fi
|
||||
fi
|
||||
|
||||
mv stage/lib/mpi.so stage/lib/mpi.so-${PYTHON_ABI} || die "Renaming of 'stage/lib/mpi.so' to 'stage/lib/mpi.so-${PYTHON_ABI}' failed"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
if use python; then
|
||||
python_execute_function building
|
||||
else
|
||||
building
|
||||
fi
|
||||
|
||||
if use tools; then
|
||||
pushd tools > /dev/null || die
|
||||
einfo "Using the following command to build the tools:"
|
||||
einfo "${BJAM} ${NUMJOBS} -q -d+2 gentoorelease --user-config=../user-config.jam ${OPTIONS}"
|
||||
|
||||
${BJAM} ${NUMJOBS} -q -d+2\
|
||||
gentoorelease \
|
||||
--user-config=../user-config.jam \
|
||||
${OPTIONS} \
|
||||
|| die "Building of Boost tools failed"
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
installation() {
|
||||
create_user-config.jam
|
||||
|
||||
if use python; then
|
||||
local dir
|
||||
for dir in ${PYTHON_DIRS}; do
|
||||
cp -pr ${dir}-${PYTHON_ABI} ${dir} || die "Copying of '${dir}-${PYTHON_ABI}' to '${dir}' failed"
|
||||
done
|
||||
|
||||
if use mpi; then
|
||||
cp -p stage/lib/mpi.so-${PYTHON_ABI} "${MPI_PYTHON_MODULE}" || die "Copying of 'stage/lib/mpi.so-${PYTHON_ABI}' to '${MPI_PYTHON_MODULE}' failed"
|
||||
cp -p stage/lib/mpi.so-${PYTHON_ABI} stage/lib/mpi.so || die "Copying of 'stage/lib/mpi.so-${PYTHON_ABI}' to 'stage/lib/mpi.so' failed"
|
||||
fi
|
||||
fi
|
||||
|
||||
einfo "Using the following command to install:"
|
||||
einfo "${BJAM} -q -d+2 gentoorelease --user-config=user-config.jam ${OPTIONS} threading=single,multi ${LINK_OPTS} runtime-link=shared --includedir=\"${D}usr/include\" --libdir=\"${D}usr/$(get_libdir)\" $(use python && echo --python-buildid=${PYTHON_ABI}) install"
|
||||
|
||||
${BJAM} -q -d+2 \
|
||||
gentoorelease \
|
||||
--user-config=user-config.jam \
|
||||
${OPTIONS} \
|
||||
threading=single,multi ${LINK_OPTS} runtime-link=shared \
|
||||
--includedir="${D}usr/include" \
|
||||
--libdir="${D}usr/$(get_libdir)" \
|
||||
$(use python && echo --python-buildid=${PYTHON_ABI}) \
|
||||
install || die "Installation of Boost libraries failed"
|
||||
|
||||
if use debug; then
|
||||
einfo "Using the following command to install:"
|
||||
einfo "${BJAM} -q -d+2 gentoodebug --user-config=user-config.jam ${OPTIONS} threading=single,multi ${LINK_OPTS} runtime-link=shared --includedir=\"${D}usr/include\" --libdir=\"${D}usr/$(get_libdir)\" --buildid=debug $(use python && echo --python-buildid=${PYTHON_ABI})"
|
||||
|
||||
${BJAM} -q -d+2 \
|
||||
gentoodebug \
|
||||
--user-config=user-config.jam \
|
||||
${OPTIONS} \
|
||||
threading=single,multi ${LINK_OPTS} runtime-link=shared \
|
||||
--includedir="${D}usr/include" \
|
||||
--libdir="${D}usr/$(get_libdir)" \
|
||||
--buildid=debug \
|
||||
$(use python && echo --python-buildid=${PYTHON_ABI}) \
|
||||
install || die "Installation of Boost debug libraries failed"
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
rm -r ${PYTHON_DIRS} || die
|
||||
|
||||
# Move mpi.so Python module to Python site-packages directory and make sure it is slotted.
|
||||
if use mpi; then
|
||||
mkdir -p "${D}$(python_get_sitedir)/boost_${MAJOR_PV}" || die
|
||||
mv "${D}usr/$(get_libdir)/mpi.so" "${D}$(python_get_sitedir)/boost_${MAJOR_PV}" || die
|
||||
cat << EOF > "${D}$(python_get_sitedir)/boost_${MAJOR_PV}/__init__.py" || die
|
||||
import sys
|
||||
if sys.platform.startswith('linux'):
|
||||
import DLFCN
|
||||
flags = sys.getdlopenflags()
|
||||
sys.setdlopenflags(DLFCN.RTLD_NOW | DLFCN.RTLD_GLOBAL)
|
||||
from . import mpi
|
||||
sys.setdlopenflags(flags)
|
||||
del DLFCN, flags
|
||||
else:
|
||||
from . import mpi
|
||||
del sys
|
||||
EOF
|
||||
fi
|
||||
fi
|
||||
}
|
||||
if use python; then
|
||||
python_execute_function installation
|
||||
else
|
||||
installation
|
||||
fi
|
||||
|
||||
use python || rm -rf "${D}usr/include/boost-${MAJOR_PV}/boost"/python* || die
|
||||
|
||||
if use doc; then
|
||||
find libs/*/* -iname "test" -or -iname "src" | xargs rm -rf
|
||||
dohtml \
|
||||
-A pdf,txt,cpp,hpp \
|
||||
*.{htm,html,png,css} \
|
||||
-r doc
|
||||
dohtml \
|
||||
-A pdf,txt \
|
||||
-r tools
|
||||
insinto /usr/share/doc/${PF}/html
|
||||
doins -r libs
|
||||
doins -r more
|
||||
|
||||
# To avoid broken links
|
||||
insinto /usr/share/doc/${PF}/html
|
||||
doins LICENSE_1_0.txt
|
||||
|
||||
dosym /usr/include/boost /usr/share/doc/${PF}/html/boost
|
||||
fi
|
||||
|
||||
dosym boost-${MAJOR_PV}/boost /usr/include/boost
|
||||
|
||||
pushd "${D}usr/$(get_libdir)" > /dev/null || die
|
||||
|
||||
# The threading libs obviously always gets the "-mt" (multithreading) tag
|
||||
# some packages seem to have a problem with it. Creating symlinks...
|
||||
|
||||
if use static-libs; then
|
||||
THREAD_LIBS="libboost_thread-mt-${MAJOR_PV}.a libboost_thread-mt-${MAJOR_PV}$(get_libname)"
|
||||
else
|
||||
THREAD_LIBS="libboost_thread-mt-${MAJOR_PV}$(get_libname)"
|
||||
fi
|
||||
local lib
|
||||
for lib in ${THREAD_LIBS}; do
|
||||
dosym ${lib} "/usr/$(get_libdir)/${lib/-mt/}"
|
||||
done
|
||||
|
||||
# The same goes for the mpi libs
|
||||
if use mpi; then
|
||||
if use static-libs; then
|
||||
MPI_LIBS="libboost_mpi-mt-${MAJOR_PV}.a libboost_mpi-mt-${MAJOR_PV}$(get_libname)"
|
||||
else
|
||||
MPI_LIBS="libboost_mpi-mt-${MAJOR_PV}$(get_libname)"
|
||||
fi
|
||||
local lib
|
||||
for lib in ${MPI_LIBS}; do
|
||||
dosym ${lib} "/usr/$(get_libdir)/${lib/-mt/}"
|
||||
done
|
||||
fi
|
||||
|
||||
if use debug; then
|
||||
if use static-libs; then
|
||||
THREAD_DEBUG_LIBS="libboost_thread-mt-${MAJOR_PV}-debug$(get_libname) libboost_thread-mt-${MAJOR_PV}-debug.a"
|
||||
else
|
||||
THREAD_DEBUG_LIBS="libboost_thread-mt-${MAJOR_PV}-debug$(get_libname)"
|
||||
fi
|
||||
|
||||
local lib
|
||||
for lib in ${THREAD_DEBUG_LIBS}; do
|
||||
dosym ${lib} "/usr/$(get_libdir)/${lib/-mt/}"
|
||||
done
|
||||
|
||||
if use mpi; then
|
||||
if use static-libs; then
|
||||
MPI_DEBUG_LIBS="libboost_mpi-mt-${MAJOR_PV}-debug.a libboost_mpi-mt-${MAJOR_PV}-debug$(get_libname)"
|
||||
else
|
||||
MPI_DEBUG_LIBS="libboost_mpi-mt-${MAJOR_PV}-debug$(get_libname)"
|
||||
fi
|
||||
|
||||
local lib
|
||||
for lib in ${MPI_DEBUG_LIBS}; do
|
||||
dosym ${lib} "/usr/$(get_libdir)/${lib/-mt/}"
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
||||
local f
|
||||
for f in $(ls -1 ${LIBRARY_TARGETS} | grep -v debug); do
|
||||
dosym ${f} /usr/$(get_libdir)/${f/-${MAJOR_PV}}
|
||||
done
|
||||
|
||||
if use debug; then
|
||||
dodir /usr/$(get_libdir)/boost-debug
|
||||
local f
|
||||
for f in $(ls -1 ${LIBRARY_TARGETS} | grep debug); do
|
||||
dosym ../${f} /usr/$(get_libdir)/boost-debug/${f/-${MAJOR_PV}-debug}
|
||||
done
|
||||
fi
|
||||
|
||||
popd > /dev/null || die
|
||||
|
||||
if use tools; then
|
||||
pushd dist/bin > /dev/null || die
|
||||
# Append version postfix to binaries for slotting
|
||||
local b
|
||||
for b in *; do
|
||||
newbin "${b}" "${b}-${MAJOR_PV}"
|
||||
done
|
||||
popd > /dev/null || die
|
||||
|
||||
pushd dist > /dev/null || die
|
||||
insinto /usr/share
|
||||
doins -r share/boostbook
|
||||
# Append version postfix for slotting
|
||||
mv "${D}usr/share/boostbook" "${D}usr/share/boostbook-${MAJOR_PV}" || die
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
|
||||
pushd status > /dev/null || die
|
||||
if [[ -f regress.log ]]; then
|
||||
docinto status
|
||||
dohtml *.html ../boost.png
|
||||
dodoc regress.log
|
||||
fi
|
||||
popd > /dev/null || die
|
||||
|
||||
# boost's build system truely sucks for not having a destdir. Because for
|
||||
# this reason we are forced to build with a prefix that includes the
|
||||
# DESTROOT, dynamic libraries on Darwin end messed up, referencing the
|
||||
# DESTROOT instread of the actual EPREFIX. There is no way out of here
|
||||
# but to do it the dirty way of manually setting the right install_names.
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
einfo "Working around completely broken build-system(tm)"
|
||||
local d
|
||||
for d in "${ED}"usr/lib/*.dylib; do
|
||||
if [[ -f ${d} ]]; then
|
||||
# fix the "soname"
|
||||
ebegin " correcting install_name of ${d#${ED}}"
|
||||
install_name_tool -id "/${d#${D}}" "${d}"
|
||||
eend $?
|
||||
# fix references to other libs
|
||||
refs=$(otool -XL "${d}" | \
|
||||
sed -e '1d' -e 's/^\t//' | \
|
||||
grep "^libboost_" | \
|
||||
cut -f1 -d' ')
|
||||
local r
|
||||
for r in ${refs}; do
|
||||
ebegin " correcting reference to ${r}"
|
||||
install_name_tool -change \
|
||||
"${r}" \
|
||||
"${EPREFIX}/usr/lib/${r}" \
|
||||
"${d}"
|
||||
eend $?
|
||||
done
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
# the tests will never fail because these are not intended as sanity
|
||||
# tests at all. They are more a way for upstream to check their own code
|
||||
# on new compilers. Since they would either be completely unreliable
|
||||
# (failing for no good reason) or completely useless (never failing)
|
||||
# there is no point in having them in the ebuild to begin with.
|
||||
src_test() { :; }
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.52.0-r6.ebuild,v 1.12 2013/09/26 17:28:22 ago Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.52.0-r6.ebuild,v 1.15 2014/04/28 07:20:08 pinkbyte Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
@ -16,7 +16,7 @@ SRC_URI="mirror://sourceforge/boost/${MY_P}.tar.bz2"
|
||||
LICENSE="Boost-1.0"
|
||||
MAJOR_V="$(get_version_component_range 1-2)"
|
||||
SLOT="0/${MAJOR_V}"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="debug doc icu +nls mpi python static-libs +threads tools"
|
||||
|
||||
RDEPEND="icu? ( >=dev-libs/icu-3.6:= )
|
||||
@ -60,6 +60,19 @@ ${python_configuration}
|
||||
__EOF__
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
# Bail out on unsupported build configuration, bug #456792
|
||||
if [[ -f "${EROOT}etc/site-config.jam" ]]; then
|
||||
grep -q gentoorelease "${EROOT}etc/site-config.jam" && grep -q gentoodebug "${EROOT}etc/site-config.jam" ||
|
||||
(
|
||||
eerror "You are using custom ${EROOT}etc/site-config.jam without defined gentoorelease/gentoodebug targets."
|
||||
eerror "Boost can not be built in such configuration."
|
||||
eerror "Please, either remove this file or add targets from ${EROOT}usr/share/boost-build/site-config.jam to it."
|
||||
die
|
||||
)
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}/${PN}-1.48.0-mpi_python3.patch" \
|
||||
@ -82,6 +95,8 @@ src_prepare() {
|
||||
#endif
|
||||
EOF
|
||||
done
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
ejam() {
|
||||
|
350
sdk_container/src/third_party/portage-stable/dev-libs/boost/boost-1.52.0-r7.ebuild
vendored
Normal file
350
sdk_container/src/third_party/portage-stable/dev-libs/boost/boost-1.52.0-r7.ebuild
vendored
Normal file
@ -0,0 +1,350 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.52.0-r7.ebuild,v 1.10 2014/08/14 09:07:39 pinkbyte Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_7,3_2,3_3} )
|
||||
|
||||
inherit eutils flag-o-matic multilib multiprocessing python-r1 toolchain-funcs versionator
|
||||
|
||||
MY_P=${PN}_$(replace_all_version_separators _)
|
||||
|
||||
DESCRIPTION="Boost Libraries for C++"
|
||||
HOMEPAGE="http://www.boost.org/"
|
||||
SRC_URI="mirror://sourceforge/boost/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="Boost-1.0"
|
||||
MAJOR_V="$(get_version_component_range 1-2)"
|
||||
SLOT="0/${MAJOR_V}"
|
||||
KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="debug doc icu +nls mpi python static-libs +threads tools"
|
||||
|
||||
RDEPEND="icu? ( >=dev-libs/icu-3.6:= )
|
||||
!icu? ( virtual/libiconv )
|
||||
mpi? ( || ( sys-cluster/openmpi[cxx] sys-cluster/mpich2[cxx,threads] ) )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
app-arch/bzip2
|
||||
sys-libs/zlib
|
||||
!app-admin/eselect-boost"
|
||||
DEPEND="${RDEPEND}
|
||||
=dev-util/boost-build-1.52.0*"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
create_user-config.jam() {
|
||||
local compiler compiler_version compiler_executable
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
compiler="darwin"
|
||||
compiler_version="$(gcc-fullversion)"
|
||||
compiler_executable="$(tc-getCXX)"
|
||||
else
|
||||
compiler="gcc"
|
||||
compiler_version="$(gcc-version)"
|
||||
compiler_executable="$(tc-getCXX)"
|
||||
fi
|
||||
local mpi_configuration python_configuration
|
||||
|
||||
if use mpi; then
|
||||
mpi_configuration="using mpi ;"
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_configuration="using python : : ${PYTHON} ;"
|
||||
fi
|
||||
|
||||
cat > user-config.jam << __EOF__
|
||||
using ${compiler} : ${compiler_version} : ${compiler_executable} : <cflags>"${CFLAGS}" <cxxflags>"${CXXFLAGS}" <linkflags>"${LDFLAGS}" ;
|
||||
${mpi_configuration}
|
||||
${python_configuration}
|
||||
__EOF__
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
# Bail out on unsupported build configuration, bug #456792
|
||||
if [[ -f "${EROOT}etc/site-config.jam" ]]; then
|
||||
grep -q gentoorelease "${EROOT}etc/site-config.jam" && grep -q gentoodebug "${EROOT}etc/site-config.jam" ||
|
||||
(
|
||||
eerror "You are using custom ${EROOT}etc/site-config.jam without defined gentoorelease/gentoodebug targets."
|
||||
eerror "Boost can not be built in such configuration."
|
||||
eerror "Please, either remove this file or add targets from ${EROOT}usr/share/boost-build/site-config.jam to it."
|
||||
die
|
||||
)
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}/${PN}-1.48.0-mpi_python3.patch" \
|
||||
"${FILESDIR}/${PN}-1.51.0-respect_python-buildid.patch" \
|
||||
"${FILESDIR}/${PN}-1.51.0-support_dots_in_python-buildid.patch" \
|
||||
"${FILESDIR}/${PN}-1.48.0-no_strict_aliasing_python2.patch" \
|
||||
"${FILESDIR}/${PN}-1.48.0-disable_libboost_python3.patch" \
|
||||
"${FILESDIR}/${PN}-1.48.0-python_linking.patch" \
|
||||
"${FILESDIR}/${PN}-1.48.0-disable_icu_rpath.patch" \
|
||||
"${FILESDIR}/remove-toolset-1.48.0.patch" \
|
||||
"${FILESDIR}/${PN}-1.52.0-tuple.patch" \
|
||||
"${FILESDIR}/${P}-locale-utf.patch" \
|
||||
"${FILESDIR}/${PN}-1.52.0-threads.patch" \
|
||||
"${FILESDIR}/${PN}-1.53.0-glibc-2.18-compat.patch" # bug 482372
|
||||
|
||||
# Avoid a patch for now
|
||||
for file in libs/context/src/asm/*.S; do
|
||||
cat - >> $file <<EOF
|
||||
|
||||
#if defined(__linux__) && defined(__ELF__)
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
#endif
|
||||
EOF
|
||||
done
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
ejam() {
|
||||
echo b2 "$@"
|
||||
b2 "$@"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Workaround for too many parallel processes requested, bug #506064
|
||||
[ "$(makeopts_jobs)" -gt 64 ] && MAKEOPTS="${MAKEOPTS} -j64"
|
||||
|
||||
OPTIONS="$(usex debug gentoodebug gentoorelease) -j$(makeopts_jobs) -q -d+2 --user-config=${S}/user-config.jam"
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
# We need to add the prefix, and in two cases this exceeds, so prepare
|
||||
# for the largest possible space allocation.
|
||||
append-ldflags -Wl,-headerpad_max_install_names
|
||||
fi
|
||||
|
||||
# bug 298489
|
||||
if use ppc || use ppc64; then
|
||||
[[ $(gcc-version) > 4.3 ]] && append-flags -mno-altivec
|
||||
fi
|
||||
|
||||
# Do _not_ use C++11 yet, make sure to force GNU C++ 98 standard.
|
||||
append-cxxflags -std=gnu++98
|
||||
|
||||
use icu && OPTIONS+=" -sICU_PATH=/usr"
|
||||
use icu || OPTIONS+=" --disable-icu boost.locale.icu=off"
|
||||
use mpi || OPTIONS+=" --without-mpi"
|
||||
use python || OPTIONS+=" --without-python"
|
||||
use nls || OPTIONS+=" --without-locale"
|
||||
|
||||
OPTIONS+=" pch=off --boost-build=/usr/share/boost-build --prefix=\"${D}usr\" --layout=system threading=$(usex threads multi single) link=$(usex static-libs shared,static shared) --without-context"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export BOOST_ROOT="${S}"
|
||||
PYTHON_DIRS=""
|
||||
MPI_PYTHON_MODULE=""
|
||||
|
||||
building() {
|
||||
create_user-config.jam
|
||||
|
||||
ejam ${OPTIONS} \
|
||||
$(use python && echo --python-buildid=${EPYTHON#python}) \
|
||||
|| die "Building of Boost libraries failed"
|
||||
|
||||
if use python; then
|
||||
if [[ -z "${PYTHON_DIRS}" ]]; then
|
||||
PYTHON_DIRS="$(find bin.v2/libs -name python | sort)"
|
||||
else
|
||||
if [[ "${PYTHON_DIRS}" != "$(find bin.v2/libs -name python | sort)" ]]; then
|
||||
die "Inconsistent structure of build directories"
|
||||
fi
|
||||
fi
|
||||
|
||||
local dir
|
||||
for dir in ${PYTHON_DIRS}; do
|
||||
mv ${dir} ${dir}-${EPYTHON} \
|
||||
|| die "Renaming of '${dir}' to '${dir}-${EPYTHON}' failed"
|
||||
done
|
||||
|
||||
if use mpi; then
|
||||
if [[ -z "${MPI_PYTHON_MODULE}" ]]; then
|
||||
MPI_PYTHON_MODULE="$(find bin.v2/libs/mpi/build/*/gentoo* -name mpi.so)"
|
||||
if [[ "$(echo "${MPI_PYTHON_MODULE}" | wc -l)" -ne 1 ]]; then
|
||||
die "Multiple mpi.so files found"
|
||||
fi
|
||||
else
|
||||
if [[ "${MPI_PYTHON_MODULE}" != "$(find bin.v2/libs/mpi/build/*/gentoo* -name mpi.so)" ]]; then
|
||||
die "Inconsistent structure of build directories"
|
||||
fi
|
||||
fi
|
||||
|
||||
mv stage/lib/mpi.so stage/lib/mpi.so-${EPYTHON} \
|
||||
|| die "Renaming of 'stage/lib/mpi.so' to 'stage/lib/mpi.so-${EPYTHON}' failed"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
if use python; then
|
||||
python_foreach_impl building
|
||||
else
|
||||
building
|
||||
fi
|
||||
|
||||
if use tools; then
|
||||
pushd tools > /dev/null || die
|
||||
|
||||
ejam ${OPTIONS} \
|
||||
|| die "Building of Boost tools failed"
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
installation() {
|
||||
create_user-config.jam
|
||||
|
||||
if use python; then
|
||||
local dir
|
||||
for dir in ${PYTHON_DIRS}; do
|
||||
cp -pr ${dir}-${EPYTHON} ${dir} \
|
||||
|| die "Copying of '${dir}-${EPYTHON}' to '${dir}' failed"
|
||||
done
|
||||
|
||||
if use mpi; then
|
||||
cp -p stage/lib/mpi.so-${EPYTHON} "${MPI_PYTHON_MODULE}" \
|
||||
|| die "Copying of 'stage/lib/mpi.so-${EPYTHON}' to '${MPI_PYTHON_MODULE}' failed"
|
||||
cp -p stage/lib/mpi.so-${EPYTHON} stage/lib/mpi.so \
|
||||
|| die "Copying of 'stage/lib/mpi.so-${EPYTHON}' to 'stage/lib/mpi.so' failed"
|
||||
fi
|
||||
fi
|
||||
|
||||
ejam ${OPTIONS} \
|
||||
--includedir="${D}usr/include" \
|
||||
--libdir="${D}usr/$(get_libdir)" \
|
||||
$(use python && echo --python-buildid=${EPYTHON#python}) \
|
||||
install || die "Installation of Boost libraries failed"
|
||||
|
||||
if use python; then
|
||||
rm -r ${PYTHON_DIRS} || die
|
||||
|
||||
# Move mpi.so Python module to Python site-packages directory.
|
||||
# https://svn.boost.org/trac/boost/ticket/2838
|
||||
if use mpi; then
|
||||
local moddir=$(python_get_sitedir)/boost
|
||||
dodir "${moddir}"
|
||||
mv "${D}usr/$(get_libdir)/mpi.so" "${D}${moddir}" || die
|
||||
cat << EOF > "${D}${moddir}/__init__.py" || die
|
||||
import sys
|
||||
if sys.platform.startswith('linux'):
|
||||
import DLFCN
|
||||
flags = sys.getdlopenflags()
|
||||
sys.setdlopenflags(DLFCN.RTLD_NOW | DLFCN.RTLD_GLOBAL)
|
||||
from . import mpi
|
||||
sys.setdlopenflags(flags)
|
||||
del DLFCN, flags
|
||||
else:
|
||||
from . import mpi
|
||||
del sys
|
||||
EOF
|
||||
fi
|
||||
|
||||
python_optimize
|
||||
fi
|
||||
}
|
||||
if use python; then
|
||||
python_foreach_impl installation
|
||||
else
|
||||
installation
|
||||
fi
|
||||
|
||||
if ! use python; then
|
||||
rm -r "${D}"/usr/include/boost/python* || die
|
||||
fi
|
||||
|
||||
if ! use nls; then
|
||||
rm -r "${D}"/usr/include/boost/locale || die
|
||||
fi
|
||||
|
||||
rm -r "${D}"/usr/include/boost/context || die
|
||||
|
||||
if use doc; then
|
||||
find libs/*/* -iname "test" -or -iname "src" | xargs rm -rf
|
||||
dohtml \
|
||||
-A pdf,txt,cpp,hpp \
|
||||
*.{htm,html,png,css} \
|
||||
-r doc
|
||||
dohtml -A pdf,txt -r tools
|
||||
insinto /usr/share/doc/${PF}/html
|
||||
doins -r libs
|
||||
doins -r more
|
||||
|
||||
# To avoid broken links
|
||||
insinto /usr/share/doc/${PF}/html
|
||||
doins LICENSE_1_0.txt
|
||||
|
||||
dosym /usr/include/boost /usr/share/doc/${PF}/html/boost
|
||||
fi
|
||||
|
||||
pushd "${D}usr/$(get_libdir)" > /dev/null || die
|
||||
|
||||
local ext=$(get_libname)
|
||||
if use threads; then
|
||||
local f
|
||||
for f in *${ext}; do
|
||||
dosym ${f} /usr/$(get_libdir)/${f/${ext}/-mt${ext}}
|
||||
done
|
||||
fi
|
||||
|
||||
popd > /dev/null || die
|
||||
|
||||
if use tools; then
|
||||
dobin dist/bin/*
|
||||
|
||||
insinto /usr/share
|
||||
doins -r dist/share/boostbook
|
||||
fi
|
||||
|
||||
# boost's build system truely sucks for not having a destdir. Because for
|
||||
# this reason we are forced to build with a prefix that includes the
|
||||
# DESTROOT, dynamic libraries on Darwin end messed up, referencing the
|
||||
# DESTROOT instread of the actual EPREFIX. There is no way out of here
|
||||
# but to do it the dirty way of manually setting the right install_names.
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
einfo "Working around completely broken build-system(tm)"
|
||||
local d
|
||||
for d in "${ED}"usr/lib/*.dylib; do
|
||||
if [[ -f ${d} ]]; then
|
||||
# fix the "soname"
|
||||
ebegin " correcting install_name of ${d#${ED}}"
|
||||
install_name_tool -id "/${d#${D}}" "${d}"
|
||||
eend $?
|
||||
# fix references to other libs
|
||||
refs=$(otool -XL "${d}" | \
|
||||
sed -e '1d' -e 's/^\t//' | \
|
||||
grep "^libboost_" | \
|
||||
cut -f1 -d' ')
|
||||
local r
|
||||
for r in ${refs}; do
|
||||
ebegin " correcting reference to ${r}"
|
||||
install_name_tool -change \
|
||||
"${r}" \
|
||||
"${EPREFIX}/usr/lib/${r}" \
|
||||
"${d}"
|
||||
eend $?
|
||||
done
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# Yai for having symlinks that are nigh-impossible to remove without
|
||||
# resorting to dirty hacks like these. Removes lingering symlinks
|
||||
# from the slotted versions.
|
||||
local symlink
|
||||
for symlink in "${EROOT}usr/include/boost" "${EROOT}usr/share/boostbook"; do
|
||||
[[ -L ${symlink} ]] && rm -f "${symlink}"
|
||||
done
|
||||
}
|
||||
|
||||
# the tests will never fail because these are not intended as sanity
|
||||
# tests at all. They are more a way for upstream to check their own code
|
||||
# on new compilers. Since they would either be completely unreliable
|
||||
# (failing for no good reason) or completely useless (never failing)
|
||||
# there is no point in having them in the ebuild to begin with.
|
||||
src_test() { :; }
|
@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.53.0.ebuild,v 1.8 2013/11/14 09:47:42 pinkbyte Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.53.0-r1.ebuild,v 1.6 2014/08/14 08:44:41 pinkbyte Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
PYTHON_COMPAT=( python{2_7,3_2,3_3} )
|
||||
|
||||
inherit eutils flag-o-matic multilib multiprocessing python-r1 toolchain-funcs versionator
|
||||
|
||||
@ -61,6 +61,19 @@ ${python_configuration}
|
||||
__EOF__
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
# Bail out on unsupported build configuration, bug #456792
|
||||
if [[ -f "${EROOT}etc/site-config.jam" ]]; then
|
||||
grep -q gentoorelease "${EROOT}etc/site-config.jam" && grep -q gentoodebug "${EROOT}etc/site-config.jam" ||
|
||||
(
|
||||
eerror "You are using custom ${EROOT}etc/site-config.jam without defined gentoorelease/gentoodebug targets."
|
||||
eerror "Boost can not be built in such configuration."
|
||||
eerror "Please, either remove this file or add targets from ${EROOT}usr/share/boost-build/site-config.jam to it."
|
||||
die
|
||||
)
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}/${PN}-1.48.0-mpi_python3.patch" \
|
||||
@ -72,6 +85,7 @@ src_prepare() {
|
||||
"${FILESDIR}/${PN}-1.48.0-disable_icu_rpath.patch"
|
||||
epatch "${FILESDIR}/${PN}-1.53.0-library_status.patch" # bug 459112
|
||||
epatch "${FILESDIR}/${PN}-1.53.0-glibc-2.18-compat.patch" # bug 482372
|
||||
epatch "${FILESDIR}/${PN}-1.52.0-threads.patch"
|
||||
|
||||
# Avoid a patch for now
|
||||
for file in libs/context/src/asm/*.S; do
|
||||
@ -82,6 +96,8 @@ src_prepare() {
|
||||
#endif
|
||||
EOF
|
||||
done
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
ejam() {
|
||||
@ -90,6 +106,9 @@ ejam() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Workaround for too many parallel processes requested, bug #506064
|
||||
[ "$(makeopts_jobs)" -gt 64 ] && MAKEOPTS="${MAKEOPTS} -j64"
|
||||
|
||||
OPTIONS="$(usex debug gentoodebug gentoorelease) -j$(makeopts_jobs) -q -d+2 --user-config=${S}/user-config.jam"
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
@ -121,7 +140,8 @@ src_configure() {
|
||||
use python || OPTIONS+=" --without-python"
|
||||
use nls || OPTIONS+=" --without-locale"
|
||||
|
||||
OPTIONS+=" pch=off --boost-build=${EPREFIX}/usr/share/boost-build --prefix=\"${ED}usr\" --layout=system threading=$(usex threads multi single) link=$(usex static-libs shared,static shared) --without-context"
|
||||
OPTIONS+=" pch=off --boost-build=${EPREFIX}/usr/share/boost-build --prefix=\"${ED}usr\" --layout=system threading=$(usex threads multi single) link=$(usex static-libs shared,static shared)"
|
||||
OPTIONS+=" --without-context"
|
||||
|
||||
[[ ${CHOST} == *-winnt* ]] && OPTIONS+=" -sNO_BZIP2=1"
|
||||
}
|
||||
@ -253,6 +273,7 @@ EOF
|
||||
fi
|
||||
|
||||
rm -r "${ED}"/usr/include/boost/context || die
|
||||
rm -r "${ED}"/usr/include/boost/coroutine || die
|
||||
|
||||
if use doc; then
|
||||
find libs/*/* -iname "test" -or -iname "src" | xargs rm -rf
|
@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.54.0.ebuild,v 1.4 2013/11/14 09:47:42 pinkbyte Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.54.0-r1.ebuild,v 1.6 2014/08/14 08:44:41 pinkbyte Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
PYTHON_COMPAT=( python{2_7,3_2,3_3} )
|
||||
|
||||
inherit eutils flag-o-matic multilib multiprocessing python-r1 toolchain-funcs versionator
|
||||
|
||||
@ -61,6 +61,19 @@ ${python_configuration}
|
||||
__EOF__
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
# Bail out on unsupported build configuration, bug #456792
|
||||
if [[ -f "${EROOT}etc/site-config.jam" ]]; then
|
||||
grep -q gentoorelease "${EROOT}etc/site-config.jam" && grep -q gentoodebug "${EROOT}etc/site-config.jam" ||
|
||||
(
|
||||
eerror "You are using custom ${EROOT}etc/site-config.jam without defined gentoorelease/gentoodebug targets."
|
||||
eerror "Boost can not be built in such configuration."
|
||||
eerror "Please, either remove this file or add targets from ${EROOT}usr/share/boost-build/site-config.jam to it."
|
||||
die
|
||||
)
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}/${PN}-1.48.0-mpi_python3.patch" \
|
||||
@ -72,6 +85,7 @@ src_prepare() {
|
||||
"${FILESDIR}/${PN}-1.48.0-disable_icu_rpath.patch"
|
||||
epatch "${FILESDIR}/${PN}-1.53.0-library_status.patch" # bug 459112
|
||||
epatch "${FILESDIR}/${PN}-1.53.0-glibc-2.18-compat.patch" # bug 482372
|
||||
epatch "${FILESDIR}/${PN}-1.52.0-threads.patch"
|
||||
|
||||
# Avoid a patch for now
|
||||
for file in libs/context/src/asm/*.S; do
|
||||
@ -82,6 +96,8 @@ src_prepare() {
|
||||
#endif
|
||||
EOF
|
||||
done
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
ejam() {
|
||||
@ -90,6 +106,9 @@ ejam() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Workaround for too many parallel processes requested, bug #506064
|
||||
[ "$(makeopts_jobs)" -gt 64 ] && MAKEOPTS="${MAKEOPTS} -j64"
|
||||
|
||||
OPTIONS="$(usex debug gentoodebug gentoorelease) -j$(makeopts_jobs) -q -d+2 --user-config=${S}/user-config.jam"
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
@ -121,7 +140,8 @@ src_configure() {
|
||||
use python || OPTIONS+=" --without-python"
|
||||
use nls || OPTIONS+=" --without-locale"
|
||||
|
||||
OPTIONS+=" pch=off --boost-build=${EPREFIX}/usr/share/boost-build --prefix=\"${ED}usr\" --layout=system threading=$(usex threads multi single) link=$(usex static-libs shared,static shared) --without-context"
|
||||
OPTIONS+=" pch=off --boost-build=${EPREFIX}/usr/share/boost-build --prefix=\"${ED}usr\" --layout=system threading=$(usex threads multi single) link=$(usex static-libs shared,static shared)"
|
||||
OPTIONS+=" --without-context --without-coroutine"
|
||||
|
||||
[[ ${CHOST} == *-winnt* ]] && OPTIONS+=" -sNO_BZIP2=1"
|
||||
}
|
||||
@ -253,6 +273,7 @@ EOF
|
||||
fi
|
||||
|
||||
rm -r "${ED}"/usr/include/boost/context || die
|
||||
rm -r "${ED}"/usr/include/boost/coroutine || die
|
||||
|
||||
if use doc; then
|
||||
find libs/*/* -iname "test" -or -iname "src" | xargs rm -rf
|
@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.55.0.ebuild,v 1.3 2013/11/30 20:32:19 vapier Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.55.0-r1.ebuild,v 1.8 2014/08/14 08:44:41 pinkbyte Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} )
|
||||
|
||||
inherit eutils flag-o-matic multilib multiprocessing python-r1 toolchain-funcs versionator
|
||||
|
||||
@ -18,7 +18,7 @@ LICENSE="Boost-1.0"
|
||||
SLOT="0/${PV}" # ${PV} instead ${MAJOR_V} due to bug 486122
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-fbsd ~x86-linux"
|
||||
|
||||
IUSE="debug doc icu +nls mpi python static-libs +threads tools"
|
||||
IUSE="context debug doc icu +nls mpi python static-libs +threads tools"
|
||||
|
||||
RDEPEND="icu? ( >=dev-libs/icu-3.6:= )
|
||||
!icu? ( virtual/libiconv )
|
||||
@ -69,6 +69,19 @@ ${python_configuration}
|
||||
__EOF__
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
# Bail out on unsupported build configuration, bug #456792
|
||||
if [[ -f "${EROOT}etc/site-config.jam" ]]; then
|
||||
grep -q gentoorelease "${EROOT}etc/site-config.jam" && grep -q gentoodebug "${EROOT}etc/site-config.jam" ||
|
||||
(
|
||||
eerror "You are using custom ${EROOT}etc/site-config.jam without defined gentoorelease/gentoodebug targets."
|
||||
eerror "Boost can not be built in such configuration."
|
||||
eerror "Please, either remove this file or add targets from ${EROOT}usr/share/boost-build/site-config.jam to it."
|
||||
die
|
||||
)
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}/${PN}-1.51.0-respect_python-buildid.patch" \
|
||||
@ -77,7 +90,11 @@ src_prepare() {
|
||||
"${FILESDIR}/${PN}-1.48.0-disable_libboost_python3.patch" \
|
||||
"${FILESDIR}/${PN}-1.48.0-python_linking.patch" \
|
||||
"${FILESDIR}/${PN}-1.48.0-disable_icu_rpath.patch" \
|
||||
"${FILESDIR}/${PN}-1.55.0-context-x32.patch"
|
||||
"${FILESDIR}/${PN}-1.55.0-context-x32.patch" \
|
||||
"${FILESDIR}/${PN}-1.55.0-tools-c98-compat.patch" \
|
||||
"${FILESDIR}/${PN}-1.52.0-threads.patch"
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
ejam() {
|
||||
@ -86,6 +103,9 @@ ejam() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Workaround for too many parallel processes requested, bug #506064
|
||||
[ "$(makeopts_jobs)" -gt 64 ] && MAKEOPTS="${MAKEOPTS} -j64"
|
||||
|
||||
OPTIONS="$(usex debug gentoodebug gentoorelease) -j$(makeopts_jobs) -q -d+2 --user-config=${S}/user-config.jam"
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
@ -116,12 +136,12 @@ src_configure() {
|
||||
use mpi || OPTIONS+=" --without-mpi"
|
||||
use python || OPTIONS+=" --without-python"
|
||||
use nls || OPTIONS+=" --without-locale"
|
||||
use context || OPTIONS+=" --without-context --without-coroutine"
|
||||
|
||||
OPTIONS+=" pch=off"
|
||||
OPTIONS+=" --boost-build=${EPREFIX}/usr/share/boost-build --prefix=\"${ED}usr\""
|
||||
OPTIONS+=" --layout=system"
|
||||
OPTIONS+=" threading=$(usex threads multi single) link=$(usex static-libs shared,static shared)"
|
||||
OPTIONS+=" --without-context"
|
||||
|
||||
[[ ${CHOST} == *-winnt* ]] && OPTIONS+=" -sNO_BZIP2=1"
|
||||
}
|
||||
@ -252,7 +272,10 @@ EOF
|
||||
rm -r "${ED}"/usr/include/boost/locale || die
|
||||
fi
|
||||
|
||||
rm -r "${ED}"/usr/include/boost/context || die
|
||||
if ! use context; then
|
||||
rm -r "${ED}"/usr/include/boost/context || die
|
||||
rm -r "${ED}"/usr/include/boost/coroutine || die
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
find libs/*/* -iname "test" -or -iname "src" | xargs rm -rf
|
392
sdk_container/src/third_party/portage-stable/dev-libs/boost/boost-1.55.0-r2.ebuild
vendored
Normal file
392
sdk_container/src/third_party/portage-stable/dev-libs/boost/boost-1.55.0-r2.ebuild
vendored
Normal file
@ -0,0 +1,392 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/boost/boost-1.55.0-r2.ebuild,v 1.3 2014/08/14 08:52:11 pinkbyte Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} )
|
||||
|
||||
inherit eutils flag-o-matic multilib multiprocessing python-r1 toolchain-funcs versionator multilib-minimal
|
||||
|
||||
MY_P="${PN}_$(replace_all_version_separators _)"
|
||||
MAJOR_V="$(get_version_component_range 1-2)"
|
||||
|
||||
DESCRIPTION="Boost Libraries for C++"
|
||||
HOMEPAGE="http://www.boost.org/"
|
||||
SRC_URI="mirror://sourceforge/boost/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="Boost-1.0"
|
||||
SLOT="0/${PV}" # ${PV} instead ${MAJOR_V} due to bug 486122
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-fbsd ~x86-linux"
|
||||
|
||||
IUSE="context debug doc icu +nls mpi python static-libs +threads tools"
|
||||
|
||||
RDEPEND="abi_x86_32? ( !app-emulation/emul-linux-x86-cpplibs[-abi_x86_32(-)] )
|
||||
icu? ( >=dev-libs/icu-3.6:=[${MULTILIB_USEDEP}] )
|
||||
!icu? ( virtual/libiconv[${MULTILIB_USEDEP}] )
|
||||
mpi? ( || ( sys-cluster/openmpi[cxx] sys-cluster/mpich2[cxx,threads] ) )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
app-arch/bzip2[${MULTILIB_USEDEP}]
|
||||
sys-libs/zlib[${MULTILIB_USEDEP}]
|
||||
!app-admin/eselect-boost"
|
||||
DEPEND="${RDEPEND}
|
||||
=dev-util/boost-build-${MAJOR_V}*"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
# the tests will never fail because these are not intended as sanity
|
||||
# tests at all. They are more a way for upstream to check their own code
|
||||
# on new compilers. Since they would either be completely unreliable
|
||||
# (failing for no good reason) or completely useless (never failing)
|
||||
# there is no point in having them in the ebuild to begin with.
|
||||
RESTRICT="test"
|
||||
|
||||
python_bindings_needed() {
|
||||
multilib_is_native_abi && use python
|
||||
}
|
||||
|
||||
tools_needed() {
|
||||
multilib_is_native_abi && use tools
|
||||
}
|
||||
|
||||
# MPI stuff is not ported on multilib yet, disabling it for non-native ABIs
|
||||
mpi_needed() {
|
||||
multilib_is_native_abi && use mpi
|
||||
}
|
||||
|
||||
create_user-config.jam() {
|
||||
local compiler compiler_version compiler_executable
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
compiler="darwin"
|
||||
compiler_version="$(gcc-fullversion)"
|
||||
compiler_executable="$(tc-getCXX)"
|
||||
else
|
||||
compiler="gcc"
|
||||
compiler_version="$(gcc-version)"
|
||||
compiler_executable="$(tc-getCXX)"
|
||||
fi
|
||||
local mpi_configuration python_configuration
|
||||
|
||||
if mpi_needed; then
|
||||
mpi_configuration="using mpi ;"
|
||||
fi
|
||||
|
||||
if python_bindings_needed; then
|
||||
python_configuration="using python : : ${PYTHON} ;"
|
||||
fi
|
||||
|
||||
cat > "${BOOST_ROOT}/user-config.jam" << __EOF__
|
||||
using ${compiler} : ${compiler_version} : ${compiler_executable} : <cflags>"${CFLAGS}" <cxxflags>"${CXXFLAGS}" <linkflags>"${LDFLAGS}" ;
|
||||
${mpi_configuration}
|
||||
${python_configuration}
|
||||
__EOF__
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
# Bail out on unsupported build configuration, bug #456792
|
||||
if [[ -f "${EROOT}etc/site-config.jam" ]]; then
|
||||
grep -q gentoorelease "${EROOT}etc/site-config.jam" && grep -q gentoodebug "${EROOT}etc/site-config.jam" ||
|
||||
(
|
||||
eerror "You are using custom ${EROOT}etc/site-config.jam without defined gentoorelease/gentoodebug targets."
|
||||
eerror "Boost can not be built in such configuration."
|
||||
eerror "Please, either remove this file or add targets from ${EROOT}usr/share/boost-build/site-config.jam to it."
|
||||
die
|
||||
)
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}/${PN}-1.51.0-respect_python-buildid.patch" \
|
||||
"${FILESDIR}/${PN}-1.51.0-support_dots_in_python-buildid.patch" \
|
||||
"${FILESDIR}/${PN}-1.48.0-no_strict_aliasing_python2.patch" \
|
||||
"${FILESDIR}/${PN}-1.48.0-disable_libboost_python3.patch" \
|
||||
"${FILESDIR}/${PN}-1.48.0-python_linking.patch" \
|
||||
"${FILESDIR}/${PN}-1.48.0-disable_icu_rpath.patch" \
|
||||
"${FILESDIR}/${PN}-1.55.0-context-x32.patch" \
|
||||
"${FILESDIR}/${PN}-1.55.0-tools-c98-compat.patch" \
|
||||
"${FILESDIR}/${PN}-1.52.0-threads.patch"
|
||||
|
||||
epatch_user
|
||||
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
ejam() {
|
||||
local b2_opts="--user-config=${BOOST_ROOT}/user-config.jam $@"
|
||||
echo b2 ${b2_opts}
|
||||
b2 ${b2_opts}
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Workaround for too many parallel processes requested, bug #506064
|
||||
[ "$(makeopts_jobs)" -gt 64 ] && MAKEOPTS="${MAKEOPTS} -j64"
|
||||
|
||||
OPTIONS="$(usex debug gentoodebug gentoorelease) -j$(makeopts_jobs) -q -d+2"
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
# We need to add the prefix, and in two cases this exceeds, so prepare
|
||||
# for the largest possible space allocation.
|
||||
append-ldflags -Wl,-headerpad_max_install_names
|
||||
elif [[ ${CHOST} == *-winnt* ]]; then
|
||||
compiler=parity
|
||||
if [[ $($(tc-getCXX) -v) == *trunk* ]]; then
|
||||
compilerVersion=trunk
|
||||
else
|
||||
compilerVersion=$($(tc-getCXX) -v | sed '1q' \
|
||||
| sed -e 's,\([a-z]*\) \([0-9]\.[0-9]\.[0-9][^ \t]*\) .*,\2,')
|
||||
fi
|
||||
compilerExecutable=$(tc-getCXX)
|
||||
fi
|
||||
|
||||
# bug 298489
|
||||
if use ppc || use ppc64; then
|
||||
[[ $(gcc-version) > 4.3 ]] && append-flags -mno-altivec
|
||||
fi
|
||||
|
||||
# Do _not_ use C++11 yet, make sure to force GNU C++ 98 standard.
|
||||
append-cxxflags -std=gnu++98
|
||||
|
||||
use icu && OPTIONS+=" -sICU_PATH=${EPREFIX}/usr"
|
||||
use icu || OPTIONS+=" --disable-icu boost.locale.icu=off"
|
||||
mpi_needed || OPTIONS+=" --without-mpi"
|
||||
use nls || OPTIONS+=" --without-locale"
|
||||
use context || OPTIONS+=" --without-context --without-coroutine"
|
||||
|
||||
OPTIONS+=" pch=off"
|
||||
OPTIONS+=" --boost-build=${EPREFIX}/usr/share/boost-build --prefix=\"${ED}usr\""
|
||||
OPTIONS+=" --layout=system"
|
||||
OPTIONS+=" threading=$(usex threads multi single) link=$(usex static-libs shared,static shared)"
|
||||
|
||||
[[ ${CHOST} == *-winnt* ]] && OPTIONS+=" -sNO_BZIP2=1"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
local -x BOOST_ROOT="${BUILD_DIR}"
|
||||
PYTHON_DIRS=""
|
||||
MPI_PYTHON_MODULE=""
|
||||
|
||||
building() {
|
||||
create_user-config.jam
|
||||
|
||||
local PYTHON_OPTIONS
|
||||
if python_bindings_needed; then
|
||||
PYTHON_OPTIONS=" --python-buildid=${EPYTHON#python}"
|
||||
else
|
||||
PYTHON_OPTIONS=" --without-python"
|
||||
fi
|
||||
|
||||
ejam \
|
||||
${OPTIONS} \
|
||||
${PYTHON_OPTIONS} \
|
||||
|| die "Building of Boost libraries failed"
|
||||
|
||||
if python_bindings_needed; then
|
||||
if [[ -z "${PYTHON_DIRS}" ]]; then
|
||||
PYTHON_DIRS="$(find bin.v2/libs -name python | sort)"
|
||||
else
|
||||
if [[ "${PYTHON_DIRS}" != "$(find bin.v2/libs -name python | sort)" ]]; then
|
||||
die "Inconsistent structure of build directories"
|
||||
fi
|
||||
fi
|
||||
|
||||
local dir
|
||||
for dir in ${PYTHON_DIRS}; do
|
||||
mv ${dir} ${dir}-${EPYTHON} \
|
||||
|| die "Renaming of '${dir}' to '${dir}-${EPYTHON}' failed"
|
||||
done
|
||||
|
||||
if mpi_needed; then
|
||||
if [[ -z "${MPI_PYTHON_MODULE}" ]]; then
|
||||
MPI_PYTHON_MODULE="$(find bin.v2/libs/mpi/build/*/gentoo* -name mpi.so)"
|
||||
if [[ "$(echo "${MPI_PYTHON_MODULE}" | wc -l)" -ne 1 ]]; then
|
||||
die "Multiple mpi.so files found"
|
||||
fi
|
||||
else
|
||||
if [[ "${MPI_PYTHON_MODULE}" != "$(find bin.v2/libs/mpi/build/*/gentoo* -name mpi.so)" ]]; then
|
||||
die "Inconsistent structure of build directories"
|
||||
fi
|
||||
fi
|
||||
|
||||
mv stage/lib/mpi.so stage/lib/mpi.so-${EPYTHON} \
|
||||
|| die "Renaming of 'stage/lib/mpi.so' to 'stage/lib/mpi.so-${EPYTHON}' failed"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
if python_bindings_needed; then
|
||||
python_foreach_impl building
|
||||
else
|
||||
building
|
||||
fi
|
||||
|
||||
if tools_needed; then
|
||||
pushd tools > /dev/null || die
|
||||
|
||||
ejam \
|
||||
${OPTIONS} \
|
||||
${PYTHON_OPTIONS} \
|
||||
|| die "Building of Boost tools failed"
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
if ! use python; then
|
||||
rm -r "${ED}"/usr/include/boost/python* || die
|
||||
fi
|
||||
|
||||
if ! use nls; then
|
||||
rm -r "${ED}"/usr/include/boost/locale || die
|
||||
fi
|
||||
|
||||
if ! use context; then
|
||||
rm -r "${ED}"/usr/include/boost/context || die
|
||||
rm -r "${ED}"/usr/include/boost/coroutine || die
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
find libs/*/* -iname "test" -or -iname "src" | xargs rm -rf
|
||||
dohtml \
|
||||
-A pdf,txt,cpp,hpp \
|
||||
*.{htm,html,png,css} \
|
||||
-r doc
|
||||
dohtml -A pdf,txt -r tools
|
||||
insinto /usr/share/doc/${PF}/html
|
||||
doins -r libs
|
||||
doins -r more
|
||||
|
||||
# To avoid broken links
|
||||
insinto /usr/share/doc/${PF}/html
|
||||
doins LICENSE_1_0.txt
|
||||
|
||||
dosym /usr/include/boost /usr/share/doc/${PF}/html/boost
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
local -x BOOST_ROOT="${BUILD_DIR}"
|
||||
installation() {
|
||||
create_user-config.jam
|
||||
|
||||
local PYTHON_OPTIONS
|
||||
if python_bindings_needed; then
|
||||
local dir
|
||||
for dir in ${PYTHON_DIRS}; do
|
||||
cp -pr ${dir}-${EPYTHON} ${dir} \
|
||||
|| die "Copying of '${dir}-${EPYTHON}' to '${dir}' failed"
|
||||
done
|
||||
|
||||
if mpi_needed; then
|
||||
cp -p stage/lib/mpi.so-${EPYTHON} "${MPI_PYTHON_MODULE}" \
|
||||
|| die "Copying of 'stage/lib/mpi.so-${EPYTHON}' to '${MPI_PYTHON_MODULE}' failed"
|
||||
cp -p stage/lib/mpi.so-${EPYTHON} stage/lib/mpi.so \
|
||||
|| die "Copying of 'stage/lib/mpi.so-${EPYTHON}' to 'stage/lib/mpi.so' failed"
|
||||
fi
|
||||
PYTHON_OPTIONS=" --python-buildid=${EPYTHON#python}"
|
||||
else
|
||||
PYTHON_OPTIONS=" --without-python"
|
||||
fi
|
||||
|
||||
ejam \
|
||||
${OPTIONS} \
|
||||
${PYTHON_OPTIONS} \
|
||||
--includedir="${ED}usr/include" \
|
||||
--libdir="${ED}usr/$(get_libdir)" \
|
||||
install || die "Installation of Boost libraries failed"
|
||||
|
||||
if python_bindings_needed; then
|
||||
rm -r ${PYTHON_DIRS} || die
|
||||
|
||||
# Move mpi.so Python module to Python site-packages directory.
|
||||
# https://svn.boost.org/trac/boost/ticket/2838
|
||||
if mpi_needed; then
|
||||
local moddir=$(python_get_sitedir)/boost
|
||||
# moddir already includes eprefix
|
||||
mkdir -p "${D}${moddir}" || die
|
||||
mv "${ED}usr/$(get_libdir)/mpi.so" "${D}${moddir}" || die
|
||||
cat << EOF > "${D}${moddir}/__init__.py" || die
|
||||
import sys
|
||||
if sys.platform.startswith('linux'):
|
||||
import DLFCN
|
||||
flags = sys.getdlopenflags()
|
||||
sys.setdlopenflags(DLFCN.RTLD_NOW | DLFCN.RTLD_GLOBAL)
|
||||
from . import mpi
|
||||
sys.setdlopenflags(flags)
|
||||
del DLFCN, flags
|
||||
else:
|
||||
from . import mpi
|
||||
del sys
|
||||
EOF
|
||||
fi
|
||||
|
||||
python_optimize
|
||||
fi
|
||||
}
|
||||
if python_bindings_needed; then
|
||||
python_foreach_impl installation
|
||||
else
|
||||
installation
|
||||
fi
|
||||
|
||||
pushd "${ED}usr/$(get_libdir)" > /dev/null || die
|
||||
|
||||
local ext=$(get_libname)
|
||||
if use threads; then
|
||||
local f
|
||||
for f in *${ext}; do
|
||||
dosym ${f} /usr/$(get_libdir)/${f/${ext}/-mt${ext}}
|
||||
done
|
||||
fi
|
||||
|
||||
popd > /dev/null || die
|
||||
|
||||
if tools_needed; then
|
||||
dobin dist/bin/*
|
||||
|
||||
insinto /usr/share
|
||||
doins -r dist/share/boostbook
|
||||
fi
|
||||
|
||||
# boost's build system truely sucks for not having a destdir. Because for
|
||||
# this reason we are forced to build with a prefix that includes the
|
||||
# DESTROOT, dynamic libraries on Darwin end messed up, referencing the
|
||||
# DESTROOT instread of the actual EPREFIX. There is no way out of here
|
||||
# but to do it the dirty way of manually setting the right install_names.
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
einfo "Working around completely broken build-system(tm)"
|
||||
local d
|
||||
for d in "${ED}"usr/lib/*.dylib; do
|
||||
if [[ -f ${d} ]]; then
|
||||
# fix the "soname"
|
||||
ebegin " correcting install_name of ${d#${ED}}"
|
||||
install_name_tool -id "/${d#${D}}" "${d}"
|
||||
eend $?
|
||||
# fix references to other libs
|
||||
refs=$(otool -XL "${d}" | \
|
||||
sed -e '1d' -e 's/^\t//' | \
|
||||
grep "^libboost_" | \
|
||||
cut -f1 -d' ')
|
||||
local r
|
||||
for r in ${refs}; do
|
||||
ebegin " correcting reference to ${r}"
|
||||
install_name_tool -change \
|
||||
"${r}" \
|
||||
"${EPREFIX}/usr/lib/${r}" \
|
||||
"${d}"
|
||||
eend $?
|
||||
done
|
||||
fi
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# Yai for having symlinks that are nigh-impossible to remove without
|
||||
# resorting to dirty hacks like these. Removes lingering symlinks
|
||||
# from the slotted versions.
|
||||
local symlink
|
||||
for symlink in "${EROOT}usr/include/boost" "${EROOT}usr/share/boostbook"; do
|
||||
[[ -L ${symlink} ]] && rm -f "${symlink}"
|
||||
done
|
||||
}
|
@ -1,69 +0,0 @@
|
||||
https://svn.boost.org/trac/boost/ticket/6286
|
||||
|
||||
--- boostcpp.jam
|
||||
+++ boostcpp.jam
|
||||
@@ -99,13 +99,6 @@
|
||||
BUILD_ID = [ regex.replace $(build-id) "[*\\/:.\"\' ]" "_" ] ;
|
||||
}
|
||||
|
||||
-# Python build id (only for Python libraries)
|
||||
-python-id = [ option.get "python-buildid" ] ;
|
||||
-if $(python-id)
|
||||
-{
|
||||
- PYTHON_ID = [ regex.replace $(python-id) "[*\\/:.\"\']" "_" ] ;
|
||||
-}
|
||||
-
|
||||
##############################################################################
|
||||
#
|
||||
# 1. The 'tag' function that adds decoration suitable to the properties if
|
||||
--- libs/mpi/build/Jamfile.v2
|
||||
+++ libs/mpi/build/Jamfile.v2
|
||||
@@ -8,6 +8,8 @@
|
||||
# Authors: Douglas Gregor
|
||||
# Andrew Lumsdaine
|
||||
|
||||
+import option ;
|
||||
+import regex ;
|
||||
import mpi ;
|
||||
import indirect ;
|
||||
import python ;
|
||||
@@ -24,6 +26,13 @@
|
||||
<tag>@$(__name__).tag
|
||||
;
|
||||
|
||||
+# Python build id (only for Python libraries)
|
||||
+python-id = [ option.get "python-buildid" ] ;
|
||||
+if $(python-id)
|
||||
+{
|
||||
+ PYTHON_ID = [ regex.replace $(python-id) "[*\\/:.\"\']" "_" ] ;
|
||||
+}
|
||||
+
|
||||
rule tag ( name : type ? : property-set )
|
||||
{
|
||||
local result = $(name) ;
|
||||
--- libs/python/build/Jamfile.v2
|
||||
+++ libs/python/build/Jamfile.v2
|
||||
@@ -2,6 +2,8 @@
|
||||
# Software License, Version 1.0. (See accompanying
|
||||
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
+import option ;
|
||||
+import regex ;
|
||||
import os ;
|
||||
import indirect ;
|
||||
import modules ;
|
||||
@@ -30,6 +32,14 @@
|
||||
;
|
||||
}
|
||||
|
||||
+# Python build id (only for Python libraries)
|
||||
+python-id = [ option.get "python-buildid" ] ;
|
||||
+if $(python-id)
|
||||
+{
|
||||
+ PYTHON_ID = [ regex.replace $(python-id) "[*\\/:.\"\']" "_" ] ;
|
||||
+}
|
||||
+
|
||||
+
|
||||
rule find-py3-version
|
||||
{
|
||||
local versions = [ feature.values python ] ;
|
@ -1,22 +0,0 @@
|
||||
--- libs/mpi/build/Jamfile.v2
|
||||
+++ libs/mpi/build/Jamfile.v2
|
||||
@@ -30,7 +30,7 @@
|
||||
python-id = [ option.get "python-buildid" ] ;
|
||||
if $(python-id)
|
||||
{
|
||||
- PYTHON_ID = [ regex.replace $(python-id) "[*\\/:.\"\']" "_" ] ;
|
||||
+ PYTHON_ID = [ regex.replace $(python-id) "[*\\/:\"\']" "_" ] ;
|
||||
}
|
||||
|
||||
rule tag ( name : type ? : property-set )
|
||||
--- libs/python/build/Jamfile.v2
|
||||
+++ libs/python/build/Jamfile.v2
|
||||
@@ -36,7 +36,7 @@
|
||||
python-id = [ option.get "python-buildid" ] ;
|
||||
if $(python-id)
|
||||
{
|
||||
- PYTHON_ID = [ regex.replace $(python-id) "[*\\/:.\"\']" "_" ] ;
|
||||
+ PYTHON_ID = [ regex.replace $(python-id) "[*\\/:\"\']" "_" ] ;
|
||||
}
|
||||
|
||||
|
63
sdk_container/src/third_party/portage-stable/dev-libs/boost/files/boost-1.52.0-threads.patch
vendored
Normal file
63
sdk_container/src/third_party/portage-stable/dev-libs/boost/files/boost-1.52.0-threads.patch
vendored
Normal file
@ -0,0 +1,63 @@
|
||||
Index: /trunk/boostcpp.jam
|
||||
===================================================================
|
||||
--- /trunk/boostcpp.jam (revision 79301)
|
||||
+++ /trunk/boostcpp.jam (revision 81000)
|
||||
@@ -210,6 +210,44 @@
|
||||
}
|
||||
|
||||
+rule filtered-target ( name : message + : sources + : requirements * )
|
||||
+{
|
||||
+ message $(name)-message : warning: $(message) ;
|
||||
+ alias $(name) : $(sources) : $(requirements) ;
|
||||
+ alias $(name) : $(name)-message ;
|
||||
+
|
||||
+ local p = [ project.current ] ;
|
||||
+ $(p).mark-target-as-explicit $(name) ;
|
||||
+ $(p).mark-target-as-explicit $(name)-message ;
|
||||
+}
|
||||
+
|
||||
rule declare_install_and_stage_proper_targets ( libraries * : headers * )
|
||||
{
|
||||
+ for local l in $(libraries)
|
||||
+ {
|
||||
+ if $(l) = locale
|
||||
+ {
|
||||
+ filtered-target $(l)-for-install :
|
||||
+ Skipping Boost.Locale library with threading=single. :
|
||||
+ libs/$(l)/build : <threading>multi ;
|
||||
+ }
|
||||
+ else if $(l) = wave
|
||||
+ {
|
||||
+ filtered-target $(l)-for-install :
|
||||
+ Skipping Boost.Wave library with threading=single. :
|
||||
+ libs/$(l)/build : <threading>multi ;
|
||||
+ }
|
||||
+ else if $(l) = thread
|
||||
+ {
|
||||
+ filtered-target $(l)-for-install :
|
||||
+ Skipping Boost.Thread library with threading=single. :
|
||||
+ libs/$(l)/build : <threading>multi ;
|
||||
+ }
|
||||
+ else
|
||||
+ {
|
||||
+ alias $(l)-for-install : libs/$(l)/build ;
|
||||
+ }
|
||||
+ }
|
||||
+ local library-targets = $(libraries)-for-install ;
|
||||
+
|
||||
install-requirements = <install-source-root>$(BOOST_ROOT)/boost ;
|
||||
|
||||
@@ -239,5 +277,5 @@
|
||||
: $(install-requirements) <install-no-version-symlinks>on
|
||||
:
|
||||
- : libs/$(libraries)/build
|
||||
+ : $(libraries)-for-install
|
||||
: $(headers)
|
||||
;
|
||||
@@ -246,5 +284,5 @@
|
||||
# Install just library.
|
||||
install stage-proper
|
||||
- : libs/$(libraries)/build
|
||||
+ : $(libraries)-for-install
|
||||
: <location>$(stage-locate)/lib
|
||||
<install-dependencies>on <install-type>LIB
|
@ -0,0 +1,17 @@
|
||||
Make tools compiled successfully with forced C++98
|
||||
|
||||
Gentoo bugreport: https://bugs.gentoo.org/show_bug.cgi?id=503468
|
||||
|
||||
diff --git a/tools/regression/src/compiler_status.cpp b/tools/regression/src/compiler_status.cpp
|
||||
index 63f8134..3f3374a 100644
|
||||
--- a/tools/regression/src/compiler_status.cpp
|
||||
+++ b/tools/regression/src/compiler_status.cpp
|
||||
@@ -128,7 +128,7 @@ namespace
|
||||
string ln(line);
|
||||
if (ln.find("Revision: ") != string::npos)
|
||||
{
|
||||
- for(auto itr = ln.begin()+10; itr != ln.end() && isdigit(*itr); ++itr)
|
||||
+ for(string::iterator itr = ln.begin()+10; itr != ln.end() && isdigit(*itr); ++itr)
|
||||
rev += *itr;
|
||||
}
|
||||
}
|
@ -3,6 +3,10 @@
|
||||
<pkgmetadata>
|
||||
<herd>cpp</herd>
|
||||
<use>
|
||||
<flag name='context'>
|
||||
Build and install the Boost.Context library and all other
|
||||
Boostlibraries that depends on it
|
||||
</flag>
|
||||
<flag name='tools'>
|
||||
Build and install the boost tools (bcp, quickbook, inspect,
|
||||
wave)
|
||||
|
@ -1,6 +1,117 @@
|
||||
# ChangeLog for dev-libs/libxml2
|
||||
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml2/ChangeLog,v 1.400 2013/07/21 17:55:22 ago Exp $
|
||||
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml2/ChangeLog,v 1.426 2014/06/24 19:59:48 vapier Exp $
|
||||
|
||||
24 Jun 2014; Mike Frysinger <vapier@gentoo.org> libxml2-2.9.1-r4.ebuild:
|
||||
Mark arm64/m68k/s390/sh stable.
|
||||
|
||||
18 Jun 2014; Michał Górny <mgorny@gentoo.org> libxml2-2.9.1-r4.ebuild:
|
||||
Update dependencies to require guaranteed EAPI=5 or multilib ebuilds, bug
|
||||
#513718.
|
||||
|
||||
18 Jun 2014; Alexandre Rostovtsev <tetromino@gentoo.org>
|
||||
-libxml2-2.9.1-r1.ebuild, -libxml2-2.9.1-r2.ebuild, -libxml2-2.9.1-r3.ebuild:
|
||||
Punt old and vulnerable versions.
|
||||
|
||||
08 Jun 2014; Agostino Sarubbo <ago@gentoo.org> libxml2-2.9.1-r4.ebuild:
|
||||
Stable for sparc, wrt bug #509834
|
||||
|
||||
08 Jun 2014; Agostino Sarubbo <ago@gentoo.org> libxml2-2.9.1-r4.ebuild:
|
||||
Stable for ppc, wrt bug #509834
|
||||
|
||||
08 Jun 2014; Agostino Sarubbo <ago@gentoo.org> libxml2-2.9.1-r4.ebuild:
|
||||
Stable for ppc64, wrt bug #509834
|
||||
|
||||
08 Jun 2014; Agostino Sarubbo <ago@gentoo.org> libxml2-2.9.1-r4.ebuild:
|
||||
Stable for ia64, wrt bug #509834
|
||||
|
||||
25 May 2014; Markus Meier <maekke@gentoo.org> libxml2-2.9.1-r4.ebuild:
|
||||
arm stable, bug #509834
|
||||
|
||||
17 May 2014; Jeroen Roovers <jer@gentoo.org> libxml2-2.9.1-r4.ebuild:
|
||||
Stable for HPPA (bug #509834).
|
||||
|
||||
17 May 2014; Agostino Sarubbo <ago@gentoo.org> libxml2-2.9.1-r4.ebuild:
|
||||
Stable for alpha, wrt bug #509834
|
||||
|
||||
17 May 2014; Agostino Sarubbo <ago@gentoo.org> libxml2-2.9.1-r4.ebuild:
|
||||
Stable for x86, wrt bug #509834
|
||||
|
||||
17 May 2014; Agostino Sarubbo <ago@gentoo.org> libxml2-2.9.1-r4.ebuild:
|
||||
Stable for amd64, wrt bug #509834
|
||||
|
||||
*libxml2-2.9.1-r4 (17 May 2014)
|
||||
|
||||
17 May 2014; Alexandre Rostovtsev <tetromino@gentoo.org>
|
||||
+libxml2-2.9.1-r4.ebuild, +files/libxml2-2.9.1-xmllint-postvalid.patch:
|
||||
Unbreak xmllint for docbook documents (bug #510508, thanks to Markos
|
||||
Chandras).
|
||||
|
||||
15 May 2014; Markus Meier <maekke@gentoo.org> libxml2-2.9.1-r3.ebuild:
|
||||
arm stable, bug #509834
|
||||
|
||||
10 May 2014; Jeroen Roovers <jer@gentoo.org> libxml2-2.9.1-r3.ebuild:
|
||||
Stable for HPPA (bug #509834).
|
||||
|
||||
*libxml2-2.9.1-r3 (08 May 2014)
|
||||
|
||||
08 May 2014; Alexandre Rostovtsev <tetromino@gentoo.org>
|
||||
+libxml2-2.9.1-r3.ebuild, +files/libxml2-2.9.1-external-param-entities.patch:
|
||||
Fix denial of service vulnerability (CVE-2014-0191, bug #509834, thanks to
|
||||
Agostino Sarubbo). Enable support for Python 3.4. Modernize python build as
|
||||
suggested by Michał Górny.
|
||||
|
||||
28 Apr 2014; Michał Górny <mgorny@gentoo.org> libxml2-2.9.1-r2.ebuild:
|
||||
Replace multilib_build_binaries with multilib_is_native_abi. The two are
|
||||
equivalent now, and the team has decided to use the old name as being less
|
||||
confusing.
|
||||
|
||||
22 Feb 2014; Pacho Ramos <pacho@gentoo.org> libxml2-2.9.1-r2.ebuild:
|
||||
Fix wrong commit, bug 502160
|
||||
|
||||
18 Jan 2014; Mike Frysinger <vapier@gentoo.org> libxml2-2.9.1-r1.ebuild,
|
||||
libxml2-2.9.1-r2.ebuild:
|
||||
Add arm64 love.
|
||||
|
||||
18 Jan 2014; Mike Frysinger <vapier@gentoo.org> libxml2-2.9.1-r1.ebuild:
|
||||
Mark m68k stable.
|
||||
|
||||
06 Jan 2014; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
|
||||
libxml2-2.9.1-r2.ebuild:
|
||||
Use multilib_build_binaries instead of multilib_is_native_abi, fixes build
|
||||
failures of multilib-portage e.g. with 32bit mesa because of missing 32bit
|
||||
python modules of libxml2
|
||||
|
||||
03 Jan 2014; Alexandre Rostovtsev <tetromino@gentoo.org>
|
||||
libxml2-2.9.1-r2.ebuild:
|
||||
Stylistic fix: make locals local, thanks to Arfrever for noticing.
|
||||
|
||||
*libxml2-2.9.1-r2 (30 Dec 2013)
|
||||
|
||||
30 Dec 2013; Alexandre Rostovtsev <tetromino@gentoo.org>
|
||||
+libxml2-2.9.1-r2.ebuild, +files/libxml2-2.9.1-icu-pkgconfig.patch:
|
||||
Add multilib support (bug #480404, thanks to David Heidelberger (okias) and
|
||||
Alexis Ballier).
|
||||
|
||||
19 Oct 2013; Pacho Ramos <pacho@gentoo.org>
|
||||
-files/libxml2-2.7.8-disable_static_modules.patch,
|
||||
-files/libxml2-2.8.0-icu-linking.patch,
|
||||
-files/libxml2-2.8.0-xmlParseAttValueComplex-underflow.patch,
|
||||
-files/libxml2-2.9.0-disable_static_modules.patch,
|
||||
-files/libxml2-2.9.0-excessive-entity-expansion.patch,
|
||||
-files/libxml2-2.9.0-large-file-parse.patch,
|
||||
-files/libxml2-2.9.0-nsclean.patch, -files/libxml2-2.9.0-rand_seed.patch,
|
||||
-files/libxml2-2.9.0-streaming-validation.patch,
|
||||
-files/libxml2-2.9.0-thread-portability.patch, -libxml2-2.8.0-r3.ebuild,
|
||||
-libxml2-2.9.0-r2.ebuild, -libxml2-2.9.1.ebuild:
|
||||
Drop old
|
||||
|
||||
05 Sep 2013; Michał Górny <mgorny@gentoo.org> libxml2-2.9.0-r2.ebuild,
|
||||
libxml2-2.9.1-r1.ebuild, libxml2-2.9.1.ebuild:
|
||||
Clean up PYTHON_COMPAT from old implementations.
|
||||
|
||||
06 Aug 2013; Agostino Sarubbo <ago@gentoo.org> libxml2-2.9.1-r1.ebuild:
|
||||
Stable for s390, wrt bug #476438
|
||||
|
||||
21 Jul 2013; Agostino Sarubbo <ago@gentoo.org> libxml2-2.9.1-r1.ebuild:
|
||||
Stable for sparc, wrt bug #476438
|
||||
|
@ -1,53 +1,40 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
Hash: SHA256
|
||||
|
||||
AUX libxml2-2.7.1-catalog_path.patch 2209 SHA256 b3343f0611f9cb6e55bf62047a988653e3e9cc50f194b18adbc330b455236290 SHA512 99c1953865c560d2b7a01cf5fd61b1c5150857f3df8a9753ca583f6ff0a99e01c02d2586bb12220a615cf9c40a540dbe0d17996c0547bc0d20cbeefd6b45682d WHIRLPOOL 9b4daf434b38a0ae8103f02625ae033e7a94012a18cabc981f34b93fe8b422477905b74cfee300eb6a37e1af8bd358dd84804a5d0b6be8645ae9ee3e4c6fcd9b
|
||||
AUX libxml2-2.7.8-disable_static_modules.patch 365 SHA256 2f2ade9ee034af32cbd6600d45b2e23d3153dd9bb57a07a9f364836d24b189df SHA512 021c81b33802877d6fe11c8b8df86a9d4ed3dd5a7944c544abd40228805ffcab9cce9fb48b4299c164abf66d0b9815153f86851e3ebbf5004b76fe03cc54ed7e WHIRLPOOL 0c95f97d5d7fecf04f59020ae60d58d216770dce7711370f6c394ea1796c81c7087599c52a31640e27e0f60464da26e3e72a7014fbc6b9739aa2af222a73b53e
|
||||
AUX libxml2-2.8.0-icu-linking.patch 3890 SHA256 69b37a49e8b9f0d71eda75a2c438426373c96290cd57a7f2c662a82066ce3b2b SHA512 c4caffcbf5e4baef4564fa9cf93a539622da61b849f2505360e0ca2243a5433cf2a318cd4df5e338bbe1a8650763d5af2894ce5d1b16196ada7b96983031c712 WHIRLPOOL 3716f2ed5cfb9fcf1024c17aa4d26a83f68c13a2d57ab64c52ba26676b6f681ad48575ac5070a679fd9ed3b3b1d11f2270bb2f281fd639159d545e5d816c3eaf
|
||||
AUX libxml2-2.8.0-xmlParseAttValueComplex-underflow.patch 692 SHA256 fd86a145f57c425f00d55a0ac515442ecb22a76462a256797a7b1d385953997f SHA512 1ef15347ddf7c34649b7664a2f9164f906ce2d4019280c2543d7209010626f3aadbba9abafb26b4bce64f6c51cfad417a1a5a4caab4a836989f753f05083cb3d WHIRLPOOL 582f19fa221fc6815ec977c6c8e74fcd5556299c10791f1be6eee1db4bfc11f509e02c157ae5afbe6cda89cf694dd82aae367425bee8e029408063d013b315df
|
||||
AUX libxml2-2.8.0_rc1-winnt.patch 2392 SHA256 c18b2c15550b3ff4709a85cd18d16368928319b1b7fd8875dc34acd67076b134 SHA512 e78d010c82f18386b4f0ff84497585755b43416563bccd11f8e4dbf0153ca8842934fe05dce6c2373d8360574a2165795a78ea991682aed9610000d2bfcb0164 WHIRLPOOL a87eefa17ad113ae4aed14744715b4e1781e0869a3bb789bdf4f243bdb3687d0d4b6ee2addc85bf5b2f86b9d1cc442d946f0329011f033e3a7855ae0ad79b745
|
||||
AUX libxml2-2.9.0-disable_static_modules.patch 837 SHA256 745a4c7006874fbbbf30bd4ed07622a496445bf848a60f5ad5100889016f482a SHA512 7ced4510bcd3380f2910cac7420ab727de931939b9012f4ba034b66b32803f4e773fd81850451aa8a24530cc2d0898cebb3a329b42ab3c5daa41be63ae4303ec WHIRLPOOL 1584c94b2f8c583caa84a2ee8e2b23e31a3ef7060dba7f6c0c73fcdf7ec529e9cdc33294781465779ca7d7e6ef5265d7c0d158947ca5b3a7ba0a083333453a67
|
||||
AUX libxml2-2.9.0-excessive-entity-expansion.patch 5358 SHA256 a2675ed02fa9c28931c200eaa10f54ed167b8e7571d0d1c649db07fe3992c205 SHA512 a4ca8a2935be8357fef64f8fea7d590a90d840c92467d4254d9a250c83741f8c46ae1733f8a53badf929c4608fe82296790c343f2cebb8357dcb1ae5f593bbf9 WHIRLPOOL 278250976bb251382144c35e42912272259824862ce1a8078e2f2864fef369bd9d3845ad5d52ed0a04e3078aca6cc0ecbb6888fa0090203a76a331c8d4c4baa4
|
||||
AUX libxml2-2.9.0-large-file-parse.patch 1597 SHA256 c7ae7c9e94720f7ef1adfc5e60b0559a7a0ca0b302e8058b994f0b84b97f9ab6 SHA512 e049379b2e8cc26f6a6e348842eaa3955005834f61d56c53538ee0bd8a7cdda5cc51df8ed590a37799b1e04e692c2ef0954fb5728fb848a2e9d62162e5a761db WHIRLPOOL e360313cbf9b88f3fb6e80da44232a4d5ca84a43a9528fd2c5f102a4b47cee2da093fef24733afd958fb1c57df89d2ed30d079262b75be747e6e5ead8b3f2976
|
||||
AUX libxml2-2.9.0-manual-python.patch 1409 SHA256 647023249861bece60c719c49421a539342ab11a9c9023ee3175e29faaa24974 SHA512 1e06c52c729752d5bb72ac57ec0aa5c384eed49f79d38088eb9514c0a15c0f433309cd60ebfabbe75bf6166d93d1c7eb2a5ba6fd44a18bea8583590fdbcb3f11 WHIRLPOOL ec9653cab65af8833fef1264fe96ceeb8863047a3f699b8e69afbe8e5e47ef50e4e589a62d305d58352f560507cb606e45e1be5603b3b3758474fa192bb51506
|
||||
AUX libxml2-2.9.0-nsclean.patch 806 SHA256 3f135045a44423e7e50269bbc2464af50a86f33beef08bb0af6922091b39c9f2 SHA512 6cdf243fe5424a0506645930c7fa1fe38bb43d712bec6f5d88ffb3abfb70ce9af1414ddbde3c5266af53bd3a6a8ef26c5322ae701853ec008a53b9f6dc8b79c5 WHIRLPOOL 92ff510b095214b1a548abe0c19b475cf5d8885a8feec5e804e5e351a468bf5e30af9bacc2744da66b6a488661d9763f8fba1e6ee1de60f7e7602a45415561e0
|
||||
AUX libxml2-2.9.0-rand_seed.patch 845 SHA256 3a7c229c664aade8eb454da19f90cae3d9927d4c76859c85070da13c36565f7a SHA512 caca91890785959317943aae8b21dbed4bbc3a93cbee8d52101ee38f554ca464bb423962c4f52adf515361bdaf655b6bd3a664ff7503e8777f0cb9d4938d6eed WHIRLPOOL a3404a6311b433927c44467263235faf407437efbb52fc95d8fc65b42e1ad44b8c0c7181b07e0251aa186c07e74d6350b3568407c0e09a185659740bbe5e668d
|
||||
AUX libxml2-2.9.0-streaming-validation.patch 1639 SHA256 295f3012c24d96fca5c38ca32449e3651ed85e1592db910631c7ef380b515d26 SHA512 efa42db1bae6cef4ad078d8550939a18f2e796499d428038ac1c1028466b8472963f26ade3142e89a4475c9a0c54daec0909510e7080b34538ff89ad2e82a3f1 WHIRLPOOL 188cc683b6631bb0d01ba941cf2405802cbd02ea7eb8b1a772a8511f948467f53e5a60e0463fab516c4fb11517eb7fa1e4e2d1856a537348ccbf473deae2b2fe
|
||||
AUX libxml2-2.9.0-thread-alloc.patch 1819 SHA256 ab0e44f05903ea70babeff17aaac09f344c9ce069264ecb4f27f9a6929c6af73 SHA512 80308f3f0087bcc0f08848e10c75b6333247f960190940e7a20575ce41d382fbd46350b0b8631a6c877f8edb06bcc930659c9e9e8ea71bc381f0a4287c22c935 WHIRLPOOL 24c4ba69c70ff949848795418cbfe59326c09a0b90126c67853fe7ee39854a824c56e092e7dacfe6a969eb4d451e6d2354c382c03e6d5c657eab07a50c14babe
|
||||
AUX libxml2-2.9.0-thread-portability.patch 1385 SHA256 0839bbd63e3eaa083e91e34d3c8a04700d2dc1e8242117f27d941bd16cfd9e32 SHA512 e07933f7c6a2170c822652c2216f90a60f3334a67d6ffa01e3ed9958842b0634bb4c0bb32d410dcbf99f82b091d8398adb4cf3e0666efa62a29084e1f7111ff8 WHIRLPOOL 29301cdc15e4ac04f3f03bf15099a4c70492b6b77f1bd3461613ac465311aabdb2c4dbcdefce5a2494fbbec155079fb50bd1b86904759df3c92734265ea8e405
|
||||
AUX libxml2-2.9.1-compression-detection.patch 3415 SHA256 02497f74371338b681e372b3fa6cdb3d24aa675caaa7a2e50fcf9bb117f29951 SHA512 28e1b914d60dea06d72de0523d289a4dca82ab3c505d796a223880fecebe22578369400a31f5d0f6ac02375e171ccb96368c0eb06ddaa67d9be377fc37c03357 WHIRLPOOL ca3eddb2ae8cdd088bb6b6a62c697a56d149a1134b892d2108d20baed4f4d951b8709604ac9d1b6cb8d6371a41b730c01e295de463242c6986401e25b518e622
|
||||
AUX libxml2-2.9.1-external-param-entities.patch 1374 SHA256 4066788b3c1b3be48ff8e79c35096c9cbe9c08d1da8d74d75d2a5992ba27a764 SHA512 020ba4c532776e09f4e2084419a532c75f4545235c080af9ffa9934703b6485fa32156ae7b287e13c219a47c6ce01a13298c448d8d61d905b5446d5cef1c4e5a WHIRLPOOL 661ca93431638c1025e56513e63ffa146a5fb9c9c48b11445e034e344cfe223bc03123b90a90b552cee005ce1fde82949f279cf5f96e9cfe85a74e5c506086b8
|
||||
AUX libxml2-2.9.1-icu-pkgconfig.patch 653 SHA256 e4a02666bd25e0771dcfa75edd4b22c4d2035c4c47f47f29f30b925a58bc38f7 SHA512 3d63f1f19b06a3edc92024e6b057a9d6c47274659ebebe59d20bc8e2fb62c902f19b1407aeb0903fa618aff4f43093997621dfc05dfef780df65db7d6bc2c44d WHIRLPOOL 28502cbd819bb6aedce3059ae6482cefab895053ff5dbf0d79aeb69663c77ffd38bee18a07a0e67d92424c32b6911089ba877c7a68b5badd91a321fe59dc59f5
|
||||
AUX libxml2-2.9.1-missing-break.patch 670 SHA256 98681d90b279174160e8bd3901f468544a7956d163c86473a60756be05191bad SHA512 2efee76fffd0da39e197b9a51bcc3925323ae4e1e861f55daec9ae7872166b24ed207970ef8573d306c267215f1ddf5439b45f2cb6b6d308bf749b22accf5c97 WHIRLPOOL f51d55103ad2060c883091e23554e5d70724fa4b2a58767b6d15143f447f445aa09df1ad7ac022f84d53f5339478e4f9ab8624918ab61f44402e6f59b2a7785e
|
||||
AUX libxml2-2.9.1-non-ascii-cr-lf.patch 5842 SHA256 1613e564814437ab1ddc28cb468cdebaff7e46587b364a4a6c7904c7b8da78b9 SHA512 1db9a31c1457e5ca6cb4397eb898a93e8985f1c73a5e213cbc1b70bc569fcef08c77af2f9123ed5b814903acda6cdf2e8b38434c81665f4456c8de4adb9345eb WHIRLPOOL adf9bb6dbff21494439589dc4f7b41d0719e0905811acc6719f637deffc0257f5aaf82534b8bf7761793a4ab7ecb12232a3de9d86c01391e6137043dbda22678
|
||||
AUX libxml2-2.9.1-python-2.6.patch 912 SHA256 5a6e6def4dda78be1f44eb72c0e108f9c5deb4e74324d7845d024d643042c0b7 SHA512 9bf67f06301e1c59b232b00540305cf570b9dc32e8ac7b91d7bcfe188a668dfa6e5cfa13399267f9683ff484df317433536ad1a4d0c49a4ed068ea55d841cee2 WHIRLPOOL 99de5f267813e0f6ae13e408bc6e596bdd228cf7b72f3f38e2edeceff4ed6fc1ad1a2b1ee1e1d85bd4d3a7f9a27e215e8d1d7f264f3a2e25e3d8313dfd46d3d7
|
||||
AUX libxml2-2.9.1-python3.patch 1328 SHA256 3702b2aec5e40b906358d13c11864fa0933b83f908f634171310e912bd6c2cd9 SHA512 29bbc4c4e58d8a5f24b6c58f61b3adef916becd2ba0a4c098faf5e889d0537d7f696237045b47a239b323babf637aa220f964d18cc047b8fb1bd3bf3b829d85c WHIRLPOOL ace0531053dbf8b0d8bafeb8ea03e1ff972608cc44dee8b238163264d43e8e8ffff8550066b30946b8f9a185f05f58b3a7e0892939802a0fc54e0a2c6963d0f0
|
||||
AUX libxml2-2.9.1-python3a.patch 1745 SHA256 0df91eae57ccd8db35c80ae479ea155c1b1cb28d6793b0526792a0d02c835028 SHA512 0d5b253af29fa88c1d7011d9f977283fd37aa6899689fad00b4c05cb7aa412fbaffcdc514a03a3da69708e5b347aa7519a901ffa2ae3fa271e9bca53efd802af WHIRLPOOL 61e8a7cd40ddfa89e6997bd47a8d9491e3f6bd15208c6448f6c2d61c99de4c4da6da6257d95eefeed7399cc768de0fb3658f3a441e8c78983cf91ed77b107c85
|
||||
DIST libxml2-2.8.0-namespace-node-patches.tar.bz2 4929 SHA256 659f4d9fa8971346f545492474a95e655a84c47fe02978c418528b1ad3e23af2 SHA512 37e4b985ebce9fc69f1e58eccb3281d5bc1786e3d886b5a0649d47d2564a998f95dac3b6214bfc597c993828f9d1c43cd1edb60ded8058c376e4ce024036e06d WHIRLPOOL 4209036c5ae8cdf9ab75d248fbb92e042e343f6f806d2c3fffcfa24bfa97cb156d323bec8b867a8df929b1f19f84f922cfbbd23eda6c490447e545b26f4ccf95
|
||||
DIST libxml2-2.8.0.tar.gz 4915203 SHA256 f2e2d0e322685193d1affec83b21dc05d599e17a7306d7b90de95bb5b9ac622a SHA512 e36ca96e5ba18f767346f1310c43d3c8c9a35c53252de18ad63ebce7f1f8df7ae40dd0719b2c6d78f5a64e61be154eec63a36ae738d29e93a9139c524a289ad4 WHIRLPOOL 3731ba80e6f6d6eba4d12d39ff564c81f9c26ff79df8c3f7bd264c5b27332732552186f5e9f3ff10661b1571cda0b75ac966fc65d0cbb3da9e73791f6b2369ad
|
||||
DIST libxml2-2.9.0.tar.gz 5161069 SHA256 ad25d91958b7212abdc12b9611cfb4dc4e5cddb6d1e9891532f48aacee422b82 SHA512 b13268ea3725a8b534974ece33981b001324164e5687df94b0d15c77189070e2a5d9f08c1646e5492e70a607ca0adf00788772fcf300ac2d4a110e9bf57d4afe WHIRLPOOL 652e3b1e9b4241cd9bb7ab5f5c1261091378693057cb552b7f0517ebf7e48569abefde06707d4b2f56a08c13b693dcec76bdc360d7cd11937464bb4f87161116
|
||||
AUX libxml2-2.9.1-xmllint-postvalid.patch 1167 SHA256 68e8448e81f56a2ce5e6f87d6330197e1afc8fd95f65705cd90a97f4613e2b7c SHA512 90f1cf6bc58fde94538f3fcc0f9ab8de97443ebafaeb96a4420ac107d4d3ab6c795544db774b3ad58fabc96098dfca7e4f3c8a51384b35cd2ccd02e6310ef98e WHIRLPOOL 220a58c6dc64054d4b925fd59c8cb93950e04eae0d528ddd20950611e1807868f12a88cf2fc537aaaaaacf427429b74653598d20afd796fd01afcd1663ef56ff
|
||||
DIST libxml2-2.9.1.tar.gz 5172503 SHA256 fd3c64cb66f2c4ea27e934d275904d92cec494a8e8405613780cbc8a71680fdb SHA512 7b10de749485bc2eb2108063e97d89e70d6fbb78b1bf195ab5528c8c64e79483d55223a49d95934f4e00b00e906c18bdd34344703ffe158dcf08096905a44c1b WHIRLPOOL 5d2874527b637e666ca6afe710991aecb60c490de38edbe09a703c8e80c776d3f121544cc383146c336d46c573f3a3c9a2491c6c9cd5f22c5474d66dcb8ecf9b
|
||||
DIST xmlts20080827.tar.gz 638940 SHA256 96151685cec997e1f9f3387e3626d61e6284d4d6e66e0e440c209286c03e9cc7 SHA512 7325d0977c4427fc4944b291ccf896a665f654cc24399e5565c12a849c2bc3aef4fa3ee42a09ac115abcb6570c51a8fbd052c38d64d164279ecdecad5a4e884d WHIRLPOOL 50835380c3ea208df0bf9ce032ed2df69c4c6cb5a53ffdd39a08fb4f1d166f311b2ef2fe0d9911ae1ebff92aeb42f6ea55e727dfe0b7a3b95e6c7240315b3eda
|
||||
DIST xsts-2002-01-16.tar.gz 6894439 SHA256 55e5c08db29946a91ea8e70e8f2418d3fd30d8b6777941dfba7f54726ffd9914 SHA512 43300af6d39c1e2221b0ed7318fe14c7464eeb6eb030ed1e22eb29b4ab17f014e2a4c8887c3a46ae5d243e3072da27f00f4e285498ae6f1288177d38d1108288 WHIRLPOOL 84dd51959460a4f8aa582d57ad39229c546ca7fe155012c57c368b59f5d31400d8b940a343a7320058330ca611303139cacdffed514783f96406ac5366026b11
|
||||
DIST xsts-2004-01-14.tar.gz 2761085 SHA256 09bdf9f81f381ebf9bc158a9472e498e896f7a02eb7461146e9abe1b9493ca17 SHA512 32854388d7e720ad67156baf50bf2bae7bd878ca3e35fd7e44e57cad3f434f69d56bbbedd61509f8a1faf01c9eae74a078df8fe130780b182c05c05cb1c39ebe WHIRLPOOL c46a3bf7d6dd771757f4304995cc177cf51c6cdd0e9778851fc13d3809c7b984690b4f273b3e075abe018110968eb7fc78f5b83170d3e18bacf00a4ed64b213d
|
||||
EBUILD libxml2-2.8.0-r3.ebuild 6477 SHA256 11f5a45d6503026370de2e934d41ceb0cbab46db23e81c2b4e9676982a4add2c SHA512 a2fea4c2fde2a22d1d0a12666f05284465f17ed30c85b9b2c3d950193cf5a68adbb8677e9eca66486d14c36cee56ee8e6f1e6d4350256cfb8c7a8a8f28acefa8 WHIRLPOOL 5a95367e539ee18cabe1062617c91d3d9e47f704dc56643dedb61310f9f085563a23e1f8a468688ea9e40e2c0a5921cb07e4c006cccecb95e66d795aec7f34a9
|
||||
EBUILD libxml2-2.9.0-r2.ebuild 6395 SHA256 ee802deb67464b914d1f7768a5b0cf3e008d4d78b1bd78feb202a608d09eb068 SHA512 45bedc07948b6c890b34929f8649edbe8ca4277dfb5e70693c48ee71a81be2b84f39086b588d7bab58e2d43665dbc58c34dfd61a09d448cd70dc444421979bac WHIRLPOOL 0e3fd51cbe7c2852918ff8ac09fb9333773b8fbe4b6e8946d3a2b95ad30062f1442438de288534e892f4a0f436f06a8069aa39f7e6fc69308003ded2bc9c183c
|
||||
EBUILD libxml2-2.9.1-r1.ebuild 6041 SHA256 17d0210c7e4540c3d120890afcd45065d8fea741491ed100338af9af4d6ffc43 SHA512 6e5faa6d179e5b92d34bdfa4f230a911e3e8701dda0acacaf112e5760cf29fc16d39549daac63ab6a0b63fd4ad45c0c52824cc95de724dae8632ed95d6c096bb WHIRLPOOL faa23e857adb5a1273f02c53b44d6e4ea29accc8b3626ca9d69c3939907fdd24dcec0f427c8d1cf24c456d0ecc7bda4f0b47602b32e5d3621be4fab6c5687730
|
||||
EBUILD libxml2-2.9.1.ebuild 6059 SHA256 d50b185abaae22eda03f57b318fc1e07437767a58f91754c84a69a6810fa4b91 SHA512 f94cd00a87dfb9359e84d3276faba636a6f54f4e3742fca6664bdac0c8bfb46f843f59f77c986492bca31b2048ebc39a2d8d47e6893105ec576ea9a1efa1b706 WHIRLPOOL c30b9636902f77a1de793d5586825350d5664db9b4ad8b1dd6e1992da70123d093f331ec02292219af2c74c080f41bcf7a1a8616fc65d01ab8ff6375afd37993
|
||||
MISC ChangeLog 56706 SHA256 5fdb28851131895f2d5411df4779f42e8e3dbfa19afb5e206b503b47436a345b SHA512 e92cc29e51d84f2caa68bcea104624059754f454851874df73e259eb0f481e4ce2b6ea1621b10846c07b0a064a9748468c713547e93d5b8a9baccf58a5a8a494 WHIRLPOOL 67600a517daf48a0a7260207db27aafe5c48d4a3454ee360b1f596c7641b7bc1f47ea18d789c52d846eac907edbab69088749bcf3e0955df1c86689a5ad8dfe3
|
||||
EBUILD libxml2-2.9.1-r4.ebuild 6844 SHA256 0f70fc40ba1c7648be51cc7120468f8f3af6c8f3e07cc4b29beb1c95a5d5f518 SHA512 3d6e247c03d4a044fb0a5cefeefa1c36eb505301f04606eb38c8dc2cea5380ca28914f899bafef28993e5d60edf680fca7e5384e533be8d4c0ba558d63f9da85 WHIRLPOOL a662604a03c7d221049227f76865ec9a43eff52846c98a43d41d3ad167faed16cee387e121518505f3a6ca0dcf79d5b7bbdcb04a9383932c199961a81ee00391
|
||||
MISC ChangeLog 61111 SHA256 592157f0e181f063c47ea7fe34ba9a86d7d8c5fc6e5d54179ca51592155e86f7 SHA512 6c78f39f65461ac3c76951737865290209b2236a6ce8d7b154c420a66490aaa8568f6a35b2f8ebd19eb2d7c606e3ccd7badd2da5f006e01d2bb1cd8cf5389aa9 WHIRLPOOL e1aed3c24580dd9874d7c796232891e126eb6a4db11f3ea8e99f2a7eb492f42187f7e03b8f9bbb9c81b219aa5566327f18f5cc6abda6dc6fa770c068684473c2
|
||||
MISC metadata.xml 240 SHA256 5dcdc1a8fd86d82f00a60bb322fb4f8a579d75ec7be2398164435197ab3903df SHA512 d673fbe248c2fcdf401f91f8d0e15587fd9f94c604d62f7864931f379b35a3ffc20264ae9668661a0d09693cd42db30c7f74fcb606da812312e394272acfeec8 WHIRLPOOL 4d2cc2b44bc446377dc659162e9f638650e82564a3328b0b23c1e6f197e88b9ae545d8778c69829a6f268e8b5f7d0db1b0aee1e3d8aedd909d1d756dc4aa94c3
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.20 (GNU/Linux)
|
||||
Version: GnuPG v2
|
||||
|
||||
iQIcBAEBCgAGBQJR7CCHAAoJELp701BxlEWfcbYP/RSgNAdBheOZRQ/1HJsV4LpA
|
||||
wmlsGbbOmyFvr7e3XjzU7QKJmQ5usHp22sDsT6ar5xyihJDuT23I9jGIDK/y/URh
|
||||
F4fxFruBtsD3Hoy2gjnWeA0vuxqA2eL8fNGus/7h6sT/qRKoVGvqZBJidX7DPa63
|
||||
rXWif2o9b4SkuxBH/XJMW/OLP8Em8gDKqks6Is6wYKUnyKy/tiv+JNYsIgX93ExB
|
||||
qlAVwsknsxeYmb0j4vZLbJZ4QaNDy5+w5dEl3lTjErxyoz0LuwZR+fP/6fGSJwfd
|
||||
Sye14553TOrh6ilaPZtJ0qvO7JN+nK7PxU7brVmhLZCL6G+54TAHPGLrWni/5QNO
|
||||
PviIlEXeaF7Lqpzm3GM7pDBAY2RGVBajBT9Eu5zLR4mQeZvxyfGHVtOhM4Iq7rFo
|
||||
qZZ8aSMaW+5CYrYfFPJoy09c+dcnnFh0P+5VEVgUY0RW/2x7HB1Pyf8+xBWSYLOC
|
||||
E9rXNAsxCLDK61KJzT4Q8oD5b3uj7x0UP1xP55vC9rIYwDhXarU0mYTl+ASSLf5M
|
||||
iGN5m305Qri8c7I/iFuQCsYF36ChnHsni0ZNQbkJlyZUYDEcxlbApHcjorpb50F3
|
||||
IXIJUTUSrMzD9IHjTkMlKb/BCpkIWsdNuPr3d60fFaUxYaVuy8O6VDn1jhd5CYp8
|
||||
0WkAr+LCi0v/M13PYN5K
|
||||
=beRW
|
||||
iQIcBAEBCAAGBQJTqdi6AAoJEPGu1DbS6WIAyDkQAJaKp7ER32juZc8NIEv2SXLD
|
||||
kLvMSglSlql/D6DV3Pmj4Mu8i2nuyA2VTTEBM5rxtGqM7AV7QpEvHqQ796ecNNod
|
||||
MIHPjRNOqsOkYjpTVrgb8iLJ5vAWDWmQnhmi0VlEGsfCn01ZBZECieaogJAgtG9k
|
||||
mue8c+0ln3FGWAwNBXI+9IyliuS4/d8KpwOnPBXwdIjdvAfVz1Tm6GuH/CrT3Fcg
|
||||
VRgKTuA1i3oOCZlz9XUTdM3hBwY6O+92JfRSmtWLxblu0V5rQqrXBv67CnmDmI9O
|
||||
AL0aJ3TWkhJ/5K9LGjE+96RixwM5taG07Ib+kCMFESoIQRdKpmhQjN+DAvp/H6Lq
|
||||
0g6eNz6W+hQLMq6zOGNYZDB9yzOHKG/xj/OPkeSMv9MA1d4116Iw9rQHBF8zfJnt
|
||||
ZmnYgD7SyrCRoqzCPLV9RqlaEaqeqFg4BBCkL+7DWDJpKQ+inLASMBXS9YEE8Nfd
|
||||
JKP3aY6b3ObSYuKrns8Hq64l6qEubX2fQXKiRr6bwmgorc/kUDRzccgZzliV5nT/
|
||||
wb2XgLi9Wg3bsUKbIwptJQCPDXQYU8SXe1H5XgiOZ94uRaZ7WayXGV9JEyddThOk
|
||||
s9s1KHBbn6SuRbuzR6JLAlqXanXPS/LI1gWz4dhznGAnKKz0il66AxEhRQ1QCE56
|
||||
/A2qY6db/2m74WCnbQjl
|
||||
=4jOb
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,12 +0,0 @@
|
||||
--- python/Makefile.am
|
||||
+++ python/Makefile.am
|
||||
@@ -21,7 +21,8 @@
|
||||
libxml.py \
|
||||
libxml2-python-api.xml
|
||||
|
||||
-libxml2mod_la_LDFLAGS = @CYGWIN_EXTRA_LDFLAGS@ @WIN32_EXTRA_LDFLAGS@ -module -avoid-version
|
||||
+libxml2mod_la_CPPFLAGS = -shared
|
||||
+libxml2mod_la_LDFLAGS = @CYGWIN_EXTRA_LDFLAGS@ @WIN32_EXTRA_LDFLAGS@ -module -avoid-version -shared
|
||||
|
||||
if WITH_PYTHON
|
||||
mylibs = \
|
@ -1,125 +0,0 @@
|
||||
From 6ee653ecbef38c0e57860903541f1f3c97dbe75b Mon Sep 17 00:00:00 2001
|
||||
From: Arfrever Frehtes Taifersar Arahesis <arfrever.fta@gmail.com>
|
||||
Date: Sat, 26 May 2012 17:37:43 +0000
|
||||
Subject: [PATCH] Handle ICU_LIBS as LIBADD, not LDFLAGS to prevent linking
|
||||
errors
|
||||
|
||||
---
|
||||
Makefile.am | 2 +-
|
||||
configure.in | 15 ++++++++-------
|
||||
libxml-2.0-uninstalled.pc.in | 2 +-
|
||||
libxml-2.0.pc.in | 2 +-
|
||||
4 files changed, 11 insertions(+), 10 deletions(-)
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index f82cefa..0b25666 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -18,7 +18,7 @@ bin_PROGRAMS = xmllint xmlcatalog
|
||||
bin_SCRIPTS=xml2-config
|
||||
|
||||
lib_LTLIBRARIES = libxml2.la
|
||||
-libxml2_la_LIBADD = @THREAD_LIBS@ @Z_LIBS@ @LZMA_LIBS@ $(ICONV_LIBS) @M_LIBS@ @WIN32_EXTRA_LIBADD@
|
||||
+libxml2_la_LIBADD = @ICU_LIBS@ @THREAD_LIBS@ @Z_LIBS@ @LZMA_LIBS@ $(ICONV_LIBS) @M_LIBS@ @WIN32_EXTRA_LIBADD@
|
||||
|
||||
if USE_VERSION_SCRIPT
|
||||
LIBXML2_VERSION_SCRIPT = $(VERSION_SCRIPT_FLAGS)$(srcdir)/libxml2.syms
|
||||
diff --git a/configure.in b/configure.in
|
||||
index 0fb4983..ac45b58 100644
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -97,7 +97,7 @@ dnl
|
||||
dnl zlib option might change flags, so we save them initially
|
||||
dnl
|
||||
_cppflags="${CPPFLAGS}"
|
||||
-_ldflags="${LDFLAGS}"
|
||||
+_libs="${LIBS}"
|
||||
|
||||
AC_ARG_WITH(c14n,
|
||||
[ --with-c14n add the Canonicalization support (on)])
|
||||
@@ -154,7 +154,7 @@ AC_ARG_WITH(readline,
|
||||
if test "$withval" != "no" -a "$withval" != "yes"; then
|
||||
RDL_DIR=$withval
|
||||
CPPFLAGS="${CPPFLAGS} -I$withval/include"
|
||||
- LDFLAGS="${LDFLAGS} -L$withval/lib"
|
||||
+ LIBS="${LIBS} -L$withval/lib"
|
||||
fi
|
||||
])
|
||||
AC_ARG_WITH(regexps,
|
||||
@@ -190,7 +190,7 @@ AC_ARG_WITH(zlib,
|
||||
if test "$withval" != "no" -a "$withval" != "yes"; then
|
||||
Z_DIR=$withval
|
||||
CPPFLAGS="${CPPFLAGS} -I$withval/include"
|
||||
- LDFLAGS="${LDFLAGS} -L$withval/lib"
|
||||
+ LIBS="${LIBS} -L$withval/lib"
|
||||
fi
|
||||
])
|
||||
AC_ARG_WITH(lzma,
|
||||
@@ -198,7 +198,7 @@ AC_ARG_WITH(lzma,
|
||||
if test "$withval" != "no" -a "$withval" != "yes"; then
|
||||
LZMA_DIR=$withval
|
||||
CPPFLAGS="${CPPFLAGS} -I$withval/include"
|
||||
- LDFLAGS="${LDFLAGS} -L$withval/lib"
|
||||
+ LIBS="${LIBS} -L$withval/lib"
|
||||
fi
|
||||
])
|
||||
AC_ARG_WITH(coverage,
|
||||
@@ -428,7 +428,7 @@ AC_SUBST(LZMA_LIBS)
|
||||
AC_SUBST(WITH_LZMA)
|
||||
|
||||
CPPFLAGS=${_cppflags}
|
||||
-LDFLAGS=${_ldflags}
|
||||
+LIBS=${_libs}
|
||||
|
||||
echo Checking headers
|
||||
|
||||
@@ -1365,14 +1365,14 @@ XML_LIBTOOLLIBS="libxml2.la"
|
||||
AC_SUBST(WITH_ICONV)
|
||||
|
||||
WITH_ICU=0
|
||||
+ICU_LIBS=""
|
||||
if test "$with_icu" != "yes" ; then
|
||||
echo Disabling ICU support
|
||||
else
|
||||
ICU_CONFIG=icu-config
|
||||
if ${ICU_CONFIG} --cflags >/dev/null 2>&1
|
||||
then
|
||||
- ICU_LIBS=`icu-config --ldflags`
|
||||
- LDFLAGS="$LDFLAGS $ICU_LIBS"
|
||||
+ ICU_LIBS=`${ICU_CONFIG} --ldflags`
|
||||
WITH_ICU=1
|
||||
echo Enabling ICU support
|
||||
else
|
||||
@@ -1380,6 +1380,7 @@ else
|
||||
fi
|
||||
fi
|
||||
AC_SUBST(WITH_ICU)
|
||||
+AC_SUBST(ICU_LIBS)
|
||||
|
||||
WITH_ISO8859X=1
|
||||
if test "$WITH_ICONV" != "1" ; then
|
||||
diff --git a/libxml-2.0-uninstalled.pc.in b/libxml-2.0-uninstalled.pc.in
|
||||
index 0a4c833..cab6834 100644
|
||||
--- a/libxml-2.0-uninstalled.pc.in
|
||||
+++ b/libxml-2.0-uninstalled.pc.in
|
||||
@@ -8,5 +8,5 @@ Name: libXML
|
||||
Version: @VERSION@
|
||||
Description: libXML library version2.
|
||||
Requires:
|
||||
-Libs: -L${libdir} -lxml2 @THREAD_LIBS@ @Z_LIBS@ @ICONV_LIBS@ @M_LIBS@ @LIBS@
|
||||
+Libs: -L${libdir} -lxml2 @ICU_LIBS@ @THREAD_LIBS@ @Z_LIBS@ @ICONV_LIBS@ @M_LIBS@ @LIBS@
|
||||
Cflags: -I${includedir} @XML_INCLUDEDIR@ @XML_CFLAGS@
|
||||
diff --git a/libxml-2.0.pc.in b/libxml-2.0.pc.in
|
||||
index 31a1b8c..f5f5f03 100644
|
||||
--- a/libxml-2.0.pc.in
|
||||
+++ b/libxml-2.0.pc.in
|
||||
@@ -9,5 +9,5 @@ Version: @VERSION@
|
||||
Description: libXML library version2.
|
||||
Requires:
|
||||
Libs: -L${libdir} -lxml2
|
||||
-Libs.private: @THREAD_LIBS@ @Z_LIBS@ @ICONV_LIBS@ @M_LIBS@ @WIN32_EXTRA_LIBADD@ @LIBS@
|
||||
+Libs.private: @ICU_LIBS@ @THREAD_LIBS@ @Z_LIBS@ @ICONV_LIBS@ @M_LIBS@ @WIN32_EXTRA_LIBADD@ @LIBS@
|
||||
Cflags: @XML_INCLUDEDIR@ @XML_CFLAGS@
|
||||
--
|
||||
1.7.8.6
|
||||
|
@ -1,25 +0,0 @@
|
||||
From 6a36fbe3b3e001a8a840b5c1fdd81cefc9947f0d Mon Sep 17 00:00:00 2001
|
||||
From: Daniel Veillard <veillard@redhat.com>
|
||||
Date: Mon, 29 Oct 2012 10:39:55 +0800
|
||||
Subject: [PATCH] Fix potential out of bound access
|
||||
|
||||
---
|
||||
parser.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/parser.c b/parser.c
|
||||
index 0d8d7f2..bd634e9 100644
|
||||
--- a/parser.c
|
||||
+++ b/parser.c
|
||||
@@ -4076,7 +4076,7 @@ xmlParseAttValueComplex(xmlParserCtxtPtr ctxt, int *attlen, int normalize) {
|
||||
goto error;
|
||||
|
||||
if ((in_space) && (normalize)) {
|
||||
- while (buf[len - 1] == 0x20) len--;
|
||||
+ while ((len > 0) && (buf[len - 1] == 0x20)) len--;
|
||||
}
|
||||
buf[len] = 0;
|
||||
if (RAW == '<') {
|
||||
--
|
||||
1.8.0
|
||||
|
@ -1,21 +0,0 @@
|
||||
diff --git a/python/Makefile.am b/python/Makefile.am
|
||||
index 4a8b5d5..b976893 100644
|
||||
--- a/python/Makefile.am
|
||||
+++ b/python/Makefile.am
|
||||
@@ -19,13 +19,14 @@ if WITH_PYTHON
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_builddir)/include \
|
||||
-I$(top_srcdir)/include \
|
||||
- -I$(PYTHON_INCLUDES)
|
||||
+ -I$(PYTHON_INCLUDES) \
|
||||
+ -shared
|
||||
|
||||
python_LTLIBRARIES = libxml2mod.la
|
||||
|
||||
libxml2mod_la_SOURCES = libxml.c libxml_wrap.h libxml2-py.h libxml2-py.c types.c
|
||||
libxml2mod_la_LIBADD = $(top_builddir)/libxml2.la $(CYGWIN_EXTRA_PYTHON_LIBADD) $(WIN32_EXTRA_PYTHON_LIBADD) $(PYTHON_LIBS) -lpython$(PYTHON_VERSION)
|
||||
-libxml2mod_la_LDFLAGS = $(CYGWIN_EXTRA_LDFLAGS) $(WIN32_EXTRA_LDFLAGS) -module -avoid-version
|
||||
+libxml2mod_la_LDFLAGS = $(CYGWIN_EXTRA_LDFLAGS) $(WIN32_EXTRA_LDFLAGS) -module -avoid-version -shared
|
||||
|
||||
BUILT_SOURCES = libxml2-export.c libxml2-py.h libxml2-py.c
|
||||
|
@ -1,156 +0,0 @@
|
||||
From 23f05e0c33987d6605387b300c4be5da2120a7ab Mon Sep 17 00:00:00 2001
|
||||
From: Daniel Veillard <veillard@redhat.com>
|
||||
Date: Tue, 19 Feb 2013 10:21:49 +0800
|
||||
Subject: [PATCH] Detect excessive entities expansion upon replacement
|
||||
|
||||
If entities expansion in the XML parser is asked for,
|
||||
it is possble to craft relatively small input document leading
|
||||
to excessive on-the-fly content generation.
|
||||
This patch accounts for those replacement and stop parsing
|
||||
after a given threshold. it can be bypassed as usual with the
|
||||
HUGE parser option.
|
||||
---
|
||||
include/libxml/parser.h | 1 +
|
||||
parser.c | 44 ++++++++++++++++++++++++++++++++++++++------
|
||||
parserInternals.c | 2 ++
|
||||
3 files changed, 41 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/include/libxml/parser.h b/include/libxml/parser.h
|
||||
index e1346e4..3f5730d 100644
|
||||
--- a/include/libxml/parser.h
|
||||
+++ b/include/libxml/parser.h
|
||||
@@ -310,6 +310,7 @@ struct _xmlParserCtxt {
|
||||
xmlParserNodeInfo *nodeInfoTab; /* array of nodeInfos */
|
||||
|
||||
int input_id; /* we need to label inputs */
|
||||
+ unsigned long sizeentcopy; /* volume of entity copy */
|
||||
};
|
||||
|
||||
/**
|
||||
diff --git a/parser.c b/parser.c
|
||||
index 91f8c90..ddf3b5b 100644
|
||||
--- a/parser.c
|
||||
+++ b/parser.c
|
||||
@@ -122,7 +122,7 @@ xmlCreateEntityParserCtxtInternal(const xmlChar *URL, const xmlChar *ID,
|
||||
*/
|
||||
static int
|
||||
xmlParserEntityCheck(xmlParserCtxtPtr ctxt, size_t size,
|
||||
- xmlEntityPtr ent)
|
||||
+ xmlEntityPtr ent, size_t replacement)
|
||||
{
|
||||
size_t consumed = 0;
|
||||
|
||||
@@ -130,7 +130,24 @@ xmlParserEntityCheck(xmlParserCtxtPtr ctxt, size_t size,
|
||||
return (0);
|
||||
if (ctxt->lastError.code == XML_ERR_ENTITY_LOOP)
|
||||
return (1);
|
||||
- if (size != 0) {
|
||||
+ if (replacement != 0) {
|
||||
+ if (replacement < XML_MAX_TEXT_LENGTH)
|
||||
+ return(0);
|
||||
+
|
||||
+ /*
|
||||
+ * If the volume of entity copy reaches 10 times the
|
||||
+ * amount of parsed data and over the large text threshold
|
||||
+ * then that's very likely to be an abuse.
|
||||
+ */
|
||||
+ if (ctxt->input != NULL) {
|
||||
+ consumed = ctxt->input->consumed +
|
||||
+ (ctxt->input->cur - ctxt->input->base);
|
||||
+ }
|
||||
+ consumed += ctxt->sizeentities;
|
||||
+
|
||||
+ if (replacement < XML_PARSER_NON_LINEAR * consumed)
|
||||
+ return(0);
|
||||
+ } else if (size != 0) {
|
||||
/*
|
||||
* Do the check based on the replacement size of the entity
|
||||
*/
|
||||
@@ -176,7 +193,6 @@ xmlParserEntityCheck(xmlParserCtxtPtr ctxt, size_t size,
|
||||
*/
|
||||
return (0);
|
||||
}
|
||||
-
|
||||
xmlFatalErr(ctxt, XML_ERR_ENTITY_LOOP, NULL);
|
||||
return (1);
|
||||
}
|
||||
@@ -2743,7 +2759,7 @@ xmlStringLenDecodeEntities(xmlParserCtxtPtr ctxt, const xmlChar *str, int len,
|
||||
while (*current != 0) { /* non input consuming loop */
|
||||
buffer[nbchars++] = *current++;
|
||||
if (nbchars + XML_PARSER_BUFFER_SIZE > buffer_size) {
|
||||
- if (xmlParserEntityCheck(ctxt, nbchars, ent))
|
||||
+ if (xmlParserEntityCheck(ctxt, nbchars, ent, 0))
|
||||
goto int_error;
|
||||
growBuffer(buffer, XML_PARSER_BUFFER_SIZE);
|
||||
}
|
||||
@@ -2785,7 +2801,7 @@ xmlStringLenDecodeEntities(xmlParserCtxtPtr ctxt, const xmlChar *str, int len,
|
||||
while (*current != 0) { /* non input consuming loop */
|
||||
buffer[nbchars++] = *current++;
|
||||
if (nbchars + XML_PARSER_BUFFER_SIZE > buffer_size) {
|
||||
- if (xmlParserEntityCheck(ctxt, nbchars, ent))
|
||||
+ if (xmlParserEntityCheck(ctxt, nbchars, ent, 0))
|
||||
goto int_error;
|
||||
growBuffer(buffer, XML_PARSER_BUFFER_SIZE);
|
||||
}
|
||||
@@ -7203,7 +7219,7 @@ xmlParseReference(xmlParserCtxtPtr ctxt) {
|
||||
xmlFreeNodeList(list);
|
||||
return;
|
||||
}
|
||||
- if (xmlParserEntityCheck(ctxt, 0, ent)) {
|
||||
+ if (xmlParserEntityCheck(ctxt, 0, ent, 0)) {
|
||||
xmlFreeNodeList(list);
|
||||
return;
|
||||
}
|
||||
@@ -7361,6 +7377,13 @@ xmlParseReference(xmlParserCtxtPtr ctxt) {
|
||||
xmlNodePtr nw = NULL, cur, firstChild = NULL;
|
||||
|
||||
/*
|
||||
+ * We are copying here, make sure there is no abuse
|
||||
+ */
|
||||
+ ctxt->sizeentcopy += ent->length;
|
||||
+ if (xmlParserEntityCheck(ctxt, 0, ent, ctxt->sizeentcopy))
|
||||
+ return;
|
||||
+
|
||||
+ /*
|
||||
* when operating on a reader, the entities definitions
|
||||
* are always owning the entities subtree.
|
||||
if (ctxt->parseMode == XML_PARSE_READER)
|
||||
@@ -7400,6 +7423,14 @@ xmlParseReference(xmlParserCtxtPtr ctxt) {
|
||||
} else if ((list == NULL) || (ctxt->inputNr > 0)) {
|
||||
xmlNodePtr nw = NULL, cur, next, last,
|
||||
firstChild = NULL;
|
||||
+
|
||||
+ /*
|
||||
+ * We are copying here, make sure there is no abuse
|
||||
+ */
|
||||
+ ctxt->sizeentcopy += ent->length;
|
||||
+ if (xmlParserEntityCheck(ctxt, 0, ent, ctxt->sizeentcopy))
|
||||
+ return;
|
||||
+
|
||||
/*
|
||||
* Copy the entity child list and make it the new
|
||||
* entity child list. The goal is to make sure any
|
||||
@@ -14767,6 +14798,7 @@ xmlCtxtReset(xmlParserCtxtPtr ctxt)
|
||||
ctxt->catalogs = NULL;
|
||||
ctxt->nbentities = 0;
|
||||
ctxt->sizeentities = 0;
|
||||
+ ctxt->sizeentcopy = 0;
|
||||
xmlInitNodeInfoSeq(&ctxt->node_seq);
|
||||
|
||||
if (ctxt->attsDefault != NULL) {
|
||||
diff --git a/parserInternals.c b/parserInternals.c
|
||||
index 02032d5..f8a7041 100644
|
||||
--- a/parserInternals.c
|
||||
+++ b/parserInternals.c
|
||||
@@ -1719,6 +1719,8 @@ xmlInitParserCtxt(xmlParserCtxtPtr ctxt)
|
||||
ctxt->charset = XML_CHAR_ENCODING_UTF8;
|
||||
ctxt->catalogs = NULL;
|
||||
ctxt->nbentities = 0;
|
||||
+ ctxt->sizeentities = 0;
|
||||
+ ctxt->sizeentcopy = 0;
|
||||
ctxt->input_id = 1;
|
||||
xmlInitNodeInfoSeq(&ctxt->node_seq);
|
||||
return(0);
|
||||
--
|
||||
1.8.1.2
|
||||
|
@ -1,56 +0,0 @@
|
||||
From 153cf15905cf4ec080612ada6703757d10caba1e Mon Sep 17 00:00:00 2001
|
||||
From: Daniel Veillard <veillard@redhat.com>
|
||||
Date: Fri, 26 Oct 2012 13:50:47 +0800
|
||||
Subject: [PATCH] Fix large parse of file from memory
|
||||
|
||||
https://bugzilla.redhat.com/show_bug.cgi?id=862969
|
||||
The new code trying to detect excessive input lookup would
|
||||
just get wrong sometimes in the case of very large file parsed
|
||||
directly from memory.
|
||||
---
|
||||
libxml.h | 2 ++
|
||||
parser.c | 1 +
|
||||
xmlIO.c | 2 +-
|
||||
3 files changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/libxml.h b/libxml.h
|
||||
index efe285b..7558b5f 100644
|
||||
--- a/libxml.h
|
||||
+++ b/libxml.h
|
||||
@@ -91,6 +91,8 @@ void __xmlGlobalInitMutexDestroy(void);
|
||||
int __xmlRandom(void);
|
||||
#endif
|
||||
|
||||
+int xmlNop(void);
|
||||
+
|
||||
#ifdef IN_LIBXML
|
||||
#ifdef __GNUC__
|
||||
#ifdef PIC
|
||||
diff --git a/parser.c b/parser.c
|
||||
index 43f53d9..0d8d7f2 100644
|
||||
--- a/parser.c
|
||||
+++ b/parser.c
|
||||
@@ -2025,6 +2025,7 @@ static void xmlSHRINK (xmlParserCtxtPtr ctxt) {
|
||||
static void xmlGROW (xmlParserCtxtPtr ctxt) {
|
||||
if ((((ctxt->input->end - ctxt->input->cur) > XML_MAX_LOOKUP_LIMIT) ||
|
||||
((ctxt->input->cur - ctxt->input->base) > XML_MAX_LOOKUP_LIMIT)) &&
|
||||
+ ((ctxt->input->buf) && (ctxt->input->buf->readcallback != xmlNop)) &&
|
||||
((ctxt->options & XML_PARSE_HUGE) == 0)) {
|
||||
xmlFatalErr(ctxt, XML_ERR_INTERNAL_ERROR, "Huge input lookup");
|
||||
ctxt->instate = XML_PARSER_EOF;
|
||||
diff --git a/xmlIO.c b/xmlIO.c
|
||||
index f8f438b..44254e4 100644
|
||||
--- a/xmlIO.c
|
||||
+++ b/xmlIO.c
|
||||
@@ -800,7 +800,7 @@ xmlCheckFilename (const char *path)
|
||||
return 1;
|
||||
}
|
||||
|
||||
-static int
|
||||
+int
|
||||
xmlNop(void) {
|
||||
return(0);
|
||||
}
|
||||
--
|
||||
1.8.0
|
||||
|
@ -1,27 +0,0 @@
|
||||
From 711b15d545713b3a34a51ce8163d1162533647c9 Mon Sep 17 00:00:00 2001
|
||||
From: Daniel Veillard <veillard@redhat.com>
|
||||
Date: Thu, 25 Oct 2012 19:23:26 +0800
|
||||
Subject: [PATCH] Fix a bug in the nsclean option of the parser
|
||||
|
||||
Raised as a side effect of:
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=663844
|
||||
---
|
||||
parser.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/parser.c b/parser.c
|
||||
index 19f1217..43f53d9 100644
|
||||
--- a/parser.c
|
||||
+++ b/parser.c
|
||||
@@ -1540,7 +1540,7 @@ nsPush(xmlParserCtxtPtr ctxt, const xmlChar *prefix, const xmlChar *URL)
|
||||
{
|
||||
if (ctxt->options & XML_PARSE_NSCLEAN) {
|
||||
int i;
|
||||
- for (i = 0;i < ctxt->nsNr;i += 2) {
|
||||
+ for (i = ctxt->nsNr - 2;i >= 0;i -= 2) {
|
||||
if (ctxt->nsTab[i] == prefix) {
|
||||
/* in scope */
|
||||
if (ctxt->nsTab[i + 1] == URL)
|
||||
--
|
||||
1.8.0
|
||||
|
@ -1,31 +0,0 @@
|
||||
From e7715a5963afebfb027120db6914926ec9a7373d Mon Sep 17 00:00:00 2001
|
||||
From: Wouter Van Rooy <rooywo@vasco.com>
|
||||
Date: Fri, 14 Sep 2012 14:39:42 +0800
|
||||
Subject: [PATCH] rand_seed should be static in dict.c
|
||||
|
||||
For https://bugzilla.gnome.org/show_bug.cgi?id=683933
|
||||
rand_seed should be a static variable in dict.c
|
||||
|
||||
We ran into a problem with another library that exports rand_seed as a
|
||||
function. Combined with 2.7.8 this was not a problem but later versions
|
||||
have this problem.
|
||||
---
|
||||
dict.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/dict.c b/dict.c
|
||||
index 9935a25..164c7f2 100644
|
||||
--- a/dict.c
|
||||
+++ b/dict.c
|
||||
@@ -143,7 +143,7 @@ static int xmlDictInitialized = 0;
|
||||
/*
|
||||
* Internal data for random function, protected by xmlDictMutex
|
||||
*/
|
||||
-unsigned int rand_seed = 0;
|
||||
+static unsigned int rand_seed = 0;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
--
|
||||
1.8.0
|
||||
|
@ -1,54 +0,0 @@
|
||||
From 6c91aa384f48ff6d406553a6dd47fd556c1ef2e6 Mon Sep 17 00:00:00 2001
|
||||
From: Daniel Veillard <veillard@redhat.com>
|
||||
Date: Thu, 25 Oct 2012 15:33:59 +0800
|
||||
Subject: [PATCH] Fix a regression in 2.9.0 breaking validation while
|
||||
streaming
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=684774
|
||||
with help from Kjell Ahlstedt <kjell.ahlstedt@bredband.net>
|
||||
---
|
||||
SAX2.c | 2 +-
|
||||
parser.c | 7 +++++--
|
||||
2 files changed, 6 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/SAX2.c b/SAX2.c
|
||||
index a24abc8..3eea39a 100644
|
||||
--- a/SAX2.c
|
||||
+++ b/SAX2.c
|
||||
@@ -2202,7 +2202,7 @@ xmlSAX2StartElementNs(void *ctx,
|
||||
(ctxt->myDoc->intSubset->elements == NULL) &&
|
||||
(ctxt->myDoc->intSubset->attributes == NULL) &&
|
||||
(ctxt->myDoc->intSubset->entities == NULL)))) {
|
||||
- xmlErrValid(ctxt, XML_ERR_NO_DTD,
|
||||
+ xmlErrValid(ctxt, XML_DTD_NO_DTD,
|
||||
"Validation failed: no DTD found !", NULL, NULL);
|
||||
ctxt->validate = 0;
|
||||
}
|
||||
diff --git a/parser.c b/parser.c
|
||||
index 28b0d80..19f1217 100644
|
||||
--- a/parser.c
|
||||
+++ b/parser.c
|
||||
@@ -11633,7 +11633,7 @@ xmlParseTryOrFinish(xmlParserCtxtPtr ctxt, int terminate) {
|
||||
"PP: Parsing internal subset\n");
|
||||
#endif
|
||||
ctxt->inSubset = 1;
|
||||
- ctxt->progressive = 1;
|
||||
+ ctxt->progressive = 0;
|
||||
ctxt->checkIndex = 0;
|
||||
xmlParseDocTypeDecl(ctxt);
|
||||
if (RAW == '[') {
|
||||
@@ -12219,7 +12219,10 @@ xmldecl_done:
|
||||
}
|
||||
ctxt->instate = XML_PARSER_EOF;
|
||||
}
|
||||
- return((xmlParserErrors) ctxt->errNo);
|
||||
+ if (ctxt->wellFormed == 0)
|
||||
+ return((xmlParserErrors) ctxt->errNo);
|
||||
+ else
|
||||
+ return(0);
|
||||
}
|
||||
|
||||
/************************************************************************
|
||||
--
|
||||
1.8.0
|
||||
|
@ -1,37 +0,0 @@
|
||||
From 3f6cfbd1d38d0634a2ddcb9a0a13e1b5a2195a5e Mon Sep 17 00:00:00 2001
|
||||
From: Friedrich Haubensak <hsk@fli-leibniz.de>
|
||||
Date: Wed, 12 Sep 2012 17:34:53 +0200
|
||||
Subject: [PATCH] Fix a thread portability problem
|
||||
|
||||
cannot compile libxml2-2.9.0 using studio 12.1 compiler on solaris 10
|
||||
|
||||
I.M.O. structure initializer (as PTHREAD_ONCE_INIT) cannot be used in
|
||||
a structure assignment anyway
|
||||
---
|
||||
threads.c | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/threads.c b/threads.c
|
||||
index f206149..7e85a26 100644
|
||||
--- a/threads.c
|
||||
+++ b/threads.c
|
||||
@@ -146,6 +146,7 @@ struct _xmlRMutex {
|
||||
static pthread_key_t globalkey;
|
||||
static pthread_t mainthread;
|
||||
static pthread_once_t once_control = PTHREAD_ONCE_INIT;
|
||||
+static pthread_once_t once_control_init = PTHREAD_ONCE_INIT;
|
||||
static pthread_mutex_t global_init_lock = PTHREAD_MUTEX_INITIALIZER;
|
||||
#elif defined HAVE_WIN32_THREADS
|
||||
#if defined(HAVE_COMPILER_TLS)
|
||||
@@ -915,7 +916,7 @@ xmlCleanupThreads(void)
|
||||
#ifdef HAVE_PTHREAD_H
|
||||
if ((libxml_is_threaded) && (pthread_key_delete != NULL))
|
||||
pthread_key_delete(globalkey);
|
||||
- once_control = PTHREAD_ONCE_INIT;
|
||||
+ once_control = once_control_init;
|
||||
#elif defined(HAVE_WIN32_THREADS) && !defined(HAVE_COMPILER_TLS) && (!defined(LIBXML_STATIC) || defined(LIBXML_STATIC_FOR_DLL))
|
||||
if (globalkey != TLS_OUT_OF_INDEXES) {
|
||||
xmlGlobalStateCleanupHelperParams *p;
|
||||
--
|
||||
1.8.0
|
||||
|
@ -0,0 +1,39 @@
|
||||
From 9cd1c3cfbd32655d60572c0a413e017260c854df Mon Sep 17 00:00:00 2001
|
||||
From: Daniel Veillard <veillard@redhat.com>
|
||||
Date: Tue, 22 Apr 2014 15:30:56 +0800
|
||||
Subject: [PATCH] Do not fetch external parameter entities
|
||||
|
||||
Unless explicitely asked for when validating or replacing entities
|
||||
with their value. Problem pointed out by Daniel Berrange <berrange@redhat.com>
|
||||
---
|
||||
parser.c | 14 ++++++++++++++
|
||||
1 file changed, 14 insertions(+)
|
||||
|
||||
diff --git a/parser.c b/parser.c
|
||||
index 9347ac9..c0dea05 100644
|
||||
--- a/parser.c
|
||||
+++ b/parser.c
|
||||
@@ -2598,6 +2598,20 @@ xmlParserHandlePEReference(xmlParserCtxtPtr ctxt) {
|
||||
xmlCharEncoding enc;
|
||||
|
||||
/*
|
||||
+ * Note: external parsed entities will not be loaded, it is
|
||||
+ * not required for a non-validating parser, unless the
|
||||
+ * option of validating, or substituting entities were
|
||||
+ * given. Doing so is far more secure as the parser will
|
||||
+ * only process data coming from the document entity by
|
||||
+ * default.
|
||||
+ */
|
||||
+ if ((entity->etype == XML_EXTERNAL_PARAMETER_ENTITY) &&
|
||||
+ ((ctxt->options & XML_PARSE_NOENT) == 0) &&
|
||||
+ ((ctxt->options & XML_PARSE_DTDVALID) == 0) &&
|
||||
+ (ctxt->validate == 0))
|
||||
+ return;
|
||||
+
|
||||
+ /*
|
||||
* handle the extra spaces added before and after
|
||||
* c.f. http://www.w3.org/TR/REC-xml#as-PE
|
||||
* this is done independently.
|
||||
--
|
||||
1.9.2
|
||||
|
@ -0,0 +1,26 @@
|
||||
diff --git a/configure.in b/configure.in
|
||||
index 7374564..13c8d4e 100644
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -1444,19 +1444,11 @@ XML_LIBTOOLLIBS="libxml2.la"
|
||||
AC_SUBST(WITH_ICONV)
|
||||
|
||||
WITH_ICU=0
|
||||
-ICU_LIBS=""
|
||||
if test "$with_icu" != "yes" ; then
|
||||
echo Disabling ICU support
|
||||
else
|
||||
- ICU_CONFIG=icu-config
|
||||
- if ${ICU_CONFIG} --cflags >/dev/null 2>&1
|
||||
- then
|
||||
- ICU_LIBS=`${ICU_CONFIG} --ldflags`
|
||||
- WITH_ICU=1
|
||||
- echo Enabling ICU support
|
||||
- else
|
||||
- AC_MSG_ERROR([libicu config program icu-config not found])
|
||||
- fi
|
||||
+ PKG_CHECK_MODULES(ICU, icu-i18n)
|
||||
+ WITH_ICU=1
|
||||
fi
|
||||
AC_SUBST(WITH_ICU)
|
||||
AC_SUBST(ICU_LIBS)
|
@ -0,0 +1,32 @@
|
||||
From 7c3c663e4f844aaecbb0cfc29567fe2ee9506fc4 Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Rostovtsev <tetromino@gentoo.org>
|
||||
Date: Fri, 16 May 2014 22:46:00 -0400
|
||||
Subject: [PATCH] xmllint: a posteriori validation needs to load exernal
|
||||
entities
|
||||
|
||||
For https://bugzilla.gnome.org/show_bug.cgi?id=730290
|
||||
---
|
||||
xmllint.c | 7 ++++++-
|
||||
1 file changed, 6 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/xmllint.c b/xmllint.c
|
||||
index 9d46ac5..b142b3b 100644
|
||||
--- a/xmllint.c
|
||||
+++ b/xmllint.c
|
||||
@@ -3530,7 +3530,12 @@ main(int argc, char **argv) {
|
||||
xmlLoadExtDtdDefaultValue |= XML_COMPLETE_ATTRS;
|
||||
if (noent != 0) xmlSubstituteEntitiesDefault(1);
|
||||
#ifdef LIBXML_VALID_ENABLED
|
||||
- if (valid != 0) xmlDoValidityCheckingDefaultValue = 1;
|
||||
+ /* If we will validate only a posteriori, ensure that entities get loaded,
|
||||
+ * but suppress validation messages during initial parsing */
|
||||
+ if (postvalid != 0 && valid == 0)
|
||||
+ options |= XML_PARSE_DTDVALID | XML_PARSE_NOERROR | XML_PARSE_NOWARNING;
|
||||
+ else if (valid != 0)
|
||||
+ xmlDoValidityCheckingDefaultValue = 1;
|
||||
#endif /* LIBXML_VALID_ENABLED */
|
||||
if ((htmlout) && (!nowrap)) {
|
||||
xmlGenericError(xmlGenericErrorContext,
|
||||
--
|
||||
1.9.3
|
||||
|
@ -1,228 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml2/libxml2-2.8.0-r3.ebuild,v 1.10 2013/07/11 03:23:35 tetromino Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="python? 2"
|
||||
PYTHON_USE_WITH="xml"
|
||||
PYTHON_USE_WITH_OPT="python"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
|
||||
|
||||
inherit libtool flag-o-matic eutils python autotools prefix
|
||||
|
||||
DESCRIPTION="Version 2 of the library to manipulate XML files"
|
||||
HOMEPAGE="http://www.xmlsoft.org/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2"
|
||||
KEYWORDS="m68k"
|
||||
IUSE="debug doc examples icu ipv6 lzma python readline static-libs test"
|
||||
|
||||
XSTS_HOME="http://www.w3.org/XML/2004/xml-schema-test-suite"
|
||||
XSTS_NAME_1="xmlschema2002-01-16"
|
||||
XSTS_NAME_2="xmlschema2004-01-14"
|
||||
XSTS_TARBALL_1="xsts-2002-01-16.tar.gz"
|
||||
XSTS_TARBALL_2="xsts-2004-01-14.tar.gz"
|
||||
|
||||
SRC_URI="ftp://xmlsoft.org/${PN}/${PN}-${PV/_rc/-rc}.tar.gz
|
||||
test? (
|
||||
${XSTS_HOME}/${XSTS_NAME_1}/${XSTS_TARBALL_1}
|
||||
${XSTS_HOME}/${XSTS_NAME_2}/${XSTS_TARBALL_2} )
|
||||
http://dev.gentoo.org/~tetromino/distfiles/${PN}/${P}-namespace-node-patches.tar.bz2"
|
||||
|
||||
RDEPEND="sys-libs/zlib
|
||||
icu? ( dev-libs/icu )
|
||||
lzma? ( app-arch/xz-utils )
|
||||
readline? ( sys-libs/readline )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
hppa? ( >=sys-devel/binutils-2.15.92.0.2 )"
|
||||
|
||||
S="${WORKDIR}/${PN}-${PV%_rc*}"
|
||||
|
||||
pkg_setup() {
|
||||
use python && python_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
# ${A} isn't used to avoid unpacking of test tarballs into $WORKDIR,
|
||||
# as they are needed as tarballs in ${S}/xstc instead and not unpacked
|
||||
unpack ${P/_rc/-rc}.tar.gz
|
||||
unpack "${P}-namespace-node-patches.tar.bz2"
|
||||
cd "${S}"
|
||||
|
||||
if use test; then
|
||||
cp "${DISTDIR}/${XSTS_TARBALL_1}" \
|
||||
"${DISTDIR}/${XSTS_TARBALL_2}" \
|
||||
"${S}"/xstc/ \
|
||||
|| die "Failed to install test tarballs"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Patches needed for prefix support
|
||||
epatch "${FILESDIR}"/${PN}-2.7.1-catalog_path.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.8.0_rc1-winnt.patch
|
||||
|
||||
eprefixify catalog.c xmlcatalog.c runtest.c xmllint.c
|
||||
|
||||
epunt_cxx
|
||||
|
||||
epatch "${FILESDIR}/${PN}-2.7.8-disable_static_modules.patch"
|
||||
|
||||
# Prevent linking to out-of-build-tree libxml2, bug #417539
|
||||
epatch "${FILESDIR}/${PN}-2.8.0-icu-linking.patch"
|
||||
|
||||
# Namespace nodes require special treatment, bug #434344
|
||||
epatch ../patch/*.patch
|
||||
|
||||
# Buffer underflow in xmlParseAttValueComplex, bug #444836; fixed in 2.9.1
|
||||
epatch "${FILESDIR}/${PN}-2.8.0-xmlParseAttValueComplex-underflow.patch"
|
||||
|
||||
# Please do not remove, as else we get references to PORTAGE_TMPDIR
|
||||
# in /usr/lib/python?.?/site-packages/libxml2mod.la among things.
|
||||
# We now need to run eautoreconf at the end to prevent maintainer mode.
|
||||
# elibtoolize
|
||||
|
||||
# Python bindings are built/tested/installed manually.
|
||||
sed -e "s/@PYTHON_SUBDIR@//" -i Makefile.am || die "sed 1 failed"
|
||||
|
||||
# Use Gentoo's python-config naming scheme
|
||||
sed -e 's/python$PYTHON_VERSION-config/python-config-$PYTHON_VERSION/' \
|
||||
-i configure.in || die "sed 2 failed"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# USE zlib support breaks gnome2
|
||||
# (libgnomeprint for instance fails to compile with
|
||||
# fresh install, and existing) - <azarah@gentoo.org> (22 Dec 2002).
|
||||
|
||||
# The meaning of the 'debug' USE flag does not apply to the --with-debug
|
||||
# switch (enabling the libxml2 debug module). See bug #100898.
|
||||
|
||||
# --with-mem-debug causes unusual segmentation faults (bug #105120).
|
||||
|
||||
local myconf=(
|
||||
--with-html-subdir=${PF}/html
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}"
|
||||
$(use_with debug run-debug)
|
||||
$(use_with icu)
|
||||
$(use_with lzma)
|
||||
$(use_with python)
|
||||
$(use_with readline)
|
||||
$(use_with readline history)
|
||||
$(use_enable ipv6)
|
||||
$(use_enable static-libs static) )
|
||||
|
||||
# filter seemingly problematic CFLAGS (#26320)
|
||||
filter-flags -fprefetch-loop-arrays -funroll-loops
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use python; then
|
||||
python_copy_sources python
|
||||
building() {
|
||||
emake PYTHON_INCLUDES="${EPREFIX}$(python_get_includedir)" \
|
||||
PYTHON_SITE_PACKAGES="${EPREFIX}$(python_get_sitedir)"
|
||||
}
|
||||
python_execute_function -s --source-dir python building
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
default
|
||||
|
||||
if use python; then
|
||||
testing() {
|
||||
emake test
|
||||
}
|
||||
python_execute_function -s --source-dir python testing
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" \
|
||||
EXAMPLES_DIR="${EPREFIX}"/usr/share/doc/${PF}/examples \
|
||||
install || die "Installation failed"
|
||||
|
||||
# on windows, xmllint is installed by interix libxml2 in parent prefix.
|
||||
# this is the version to use. the native winnt version does not support
|
||||
# symlinks, which makes repoman fail if the portage tree is linked in
|
||||
# from another location (which is my default). -- mduft
|
||||
if [[ ${CHOST} == *-winnt* ]]; then
|
||||
rm -rf "${ED}"/usr/bin/xmllint
|
||||
rm -rf "${ED}"/usr/bin/xmlcatalog
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
installation() {
|
||||
emake DESTDIR="${D}" \
|
||||
PYTHON_SITE_PACKAGES="${EPREFIX}$(python_get_sitedir)" \
|
||||
docsdir="${EPREFIX}"/usr/share/doc/${PF}/python \
|
||||
exampledir="${EPREFIX}"/usr/share/doc/${PF}/python/examples \
|
||||
install
|
||||
}
|
||||
python_execute_function -s --source-dir python installation
|
||||
|
||||
python_clean_installation_image
|
||||
fi
|
||||
|
||||
rm -rf "${ED}"/usr/share/doc/${P}
|
||||
dodoc AUTHORS ChangeLog Copyright NEWS README* TODO*
|
||||
|
||||
if ! use python; then
|
||||
rm -rf "${ED}"/usr/share/doc/${PF}/python
|
||||
rm -rf "${ED}"/usr/share/doc/${PN}-python-${PV}
|
||||
fi
|
||||
|
||||
if ! use doc; then
|
||||
rm -rf "${ED}"/usr/share/gtk-doc
|
||||
rm -rf "${ED}"/usr/share/doc/${PF}/html
|
||||
fi
|
||||
|
||||
if ! use examples; then
|
||||
rm -rf "${ED}/usr/share/doc/${PF}/examples"
|
||||
rm -rf "${ED}/usr/share/doc/${PF}/python/examples"
|
||||
fi
|
||||
|
||||
# Always remove useless .la files
|
||||
find "${D}" -name '*.la' -exec rm -f {} + || die "la file removal failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use python; then
|
||||
python_mod_optimize drv_libxml2.py libxml2.py
|
||||
fi
|
||||
|
||||
# We don't want to do the xmlcatalog during stage1, as xmlcatalog will not
|
||||
# be in / and stage1 builds to ROOT=/tmp/stage1root. This fixes bug #208887.
|
||||
if [ "${ROOT}" != "/" ]
|
||||
then
|
||||
elog "Skipping XML catalog creation for stage building (bug #208887)."
|
||||
else
|
||||
# need an XML catalog, so no-one writes to a non-existent one
|
||||
CATALOG="${EROOT}etc/xml/catalog"
|
||||
|
||||
# we dont want to clobber an existing catalog though,
|
||||
# only ensure that one is there
|
||||
# <obz@gentoo.org>
|
||||
if [ ! -e ${CATALOG} ]; then
|
||||
[ -d "${EROOT}etc/xml" ] || mkdir -p "${EROOT}etc/xml"
|
||||
"${EPREFIX}"/usr/bin/xmlcatalog --create > ${CATALOG}
|
||||
einfo "Created XML catalog in ${CATALOG}"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use python; then
|
||||
python_mod_cleanup drv_libxml2.py libxml2.py
|
||||
fi
|
||||
}
|
@ -1,200 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml2/libxml2-2.9.0-r2.ebuild,v 1.13 2013/03/01 12:40:53 ago Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7} )
|
||||
PYTHON_REQ_USE="xml"
|
||||
|
||||
inherit libtool flag-o-matic eutils python-r1 autotools prefix
|
||||
|
||||
DESCRIPTION="Version 2 of the library to manipulate XML files"
|
||||
HOMEPAGE="http://www.xmlsoft.org/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
||||
IUSE="debug examples icu ipv6 lzma python readline static-libs test"
|
||||
|
||||
XSTS_HOME="http://www.w3.org/XML/2004/xml-schema-test-suite"
|
||||
XSTS_NAME_1="xmlschema2002-01-16"
|
||||
XSTS_NAME_2="xmlschema2004-01-14"
|
||||
XSTS_TARBALL_1="xsts-2002-01-16.tar.gz"
|
||||
XSTS_TARBALL_2="xsts-2004-01-14.tar.gz"
|
||||
XMLCONF_TARBALL="xmlts20080827.tar.gz"
|
||||
|
||||
SRC_URI="ftp://xmlsoft.org/${PN}/${PN}-${PV/_rc/-rc}.tar.gz
|
||||
test? (
|
||||
${XSTS_HOME}/${XSTS_NAME_1}/${XSTS_TARBALL_1}
|
||||
${XSTS_HOME}/${XSTS_NAME_2}/${XSTS_TARBALL_2}
|
||||
http://www.w3.org/XML/Test/${XMLCONF_TARBALL} )"
|
||||
|
||||
RDEPEND="sys-libs/zlib:=
|
||||
icu? ( dev-libs/icu:= )
|
||||
lzma? ( app-arch/xz-utils:= )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
readline? ( sys-libs/readline:= )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/gtk-doc-am
|
||||
hppa? ( >=sys-devel/binutils-2.15.92.0.2 )"
|
||||
|
||||
S="${WORKDIR}/${PN}-${PV%_rc*}"
|
||||
|
||||
src_unpack() {
|
||||
# ${A} isn't used to avoid unpacking of test tarballs into $WORKDIR,
|
||||
# as they are needed as tarballs in ${S}/xstc instead and not unpacked
|
||||
unpack ${P/_rc/-rc}.tar.gz
|
||||
cd "${S}"
|
||||
|
||||
if use test; then
|
||||
cp "${DISTDIR}/${XSTS_TARBALL_1}" \
|
||||
"${DISTDIR}/${XSTS_TARBALL_2}" \
|
||||
"${S}"/xstc/ \
|
||||
|| die "Failed to install test tarballs"
|
||||
unpack ${XMLCONF_TARBALL}
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Patches needed for prefix support
|
||||
epatch "${FILESDIR}"/${PN}-2.7.1-catalog_path.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.8.0_rc1-winnt.patch
|
||||
|
||||
eprefixify catalog.c xmlcatalog.c runtest.c xmllint.c
|
||||
|
||||
# epunt_cxx # if we don't eautoreconf
|
||||
|
||||
epatch "${FILESDIR}/${PN}-2.9.0-disable_static_modules.patch"
|
||||
|
||||
# Important patches from 2.9.1
|
||||
epatch "${FILESDIR}/${P}-rand_seed.patch" \
|
||||
"${FILESDIR}/${P}-thread-portability.patch" \
|
||||
"${FILESDIR}/${P}-streaming-validation.patch" \
|
||||
"${FILESDIR}/${P}-nsclean.patch" \
|
||||
"${FILESDIR}/${P}-large-file-parse.patch" \
|
||||
"${FILESDIR}/${P}-thread-alloc.patch"
|
||||
|
||||
# Buffer underflow in xmlParseAttValueComplex, bug #444836; fixed in 2.9.1
|
||||
epatch "${FILESDIR}/${PN}-2.8.0-xmlParseAttValueComplex-underflow.patch"
|
||||
|
||||
# Entity expansion DoS, bug #458430; fixed in 2.9.1
|
||||
epatch "${FILESDIR}/${PN}-2.9.0-excessive-entity-expansion.patch"
|
||||
|
||||
# Please do not remove, as else we get references to PORTAGE_TMPDIR
|
||||
# in /usr/lib/python?.?/site-packages/libxml2mod.la among things.
|
||||
# We now need to run eautoreconf at the end to prevent maintainer mode.
|
||||
# elibtoolize
|
||||
|
||||
# Python bindings are built/tested/installed manually.
|
||||
epatch "${FILESDIR}/${PN}-2.9.0-manual-python.patch"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# filter seemingly problematic CFLAGS (#26320)
|
||||
filter-flags -fprefetch-loop-arrays -funroll-loops
|
||||
|
||||
# USE zlib support breaks gnome2
|
||||
# (libgnomeprint for instance fails to compile with
|
||||
# fresh install, and existing) - <azarah@gentoo.org> (22 Dec 2002).
|
||||
|
||||
# The meaning of the 'debug' USE flag does not apply to the --with-debug
|
||||
# switch (enabling the libxml2 debug module). See bug #100898.
|
||||
|
||||
# --with-mem-debug causes unusual segmentation faults (bug #105120).
|
||||
econf \
|
||||
-with-html-subdir=${PF}/html \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
$(use_with debug run-debug) \
|
||||
$(use_with icu) \
|
||||
$(use_with lzma) \
|
||||
$(use_with python) \
|
||||
$(use_with readline) \
|
||||
$(use_with readline history) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
if use python; then
|
||||
python_copy_sources
|
||||
python_foreach_impl libxml2_py_emake
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
default
|
||||
use python && python_foreach_impl libxml2_py_emake test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" \
|
||||
EXAMPLES_DIR="${EPREFIX}"/usr/share/doc/${PF}/examples install
|
||||
|
||||
# on windows, xmllint is installed by interix libxml2 in parent prefix.
|
||||
# this is the version to use. the native winnt version does not support
|
||||
# symlinks, which makes repoman fail if the portage tree is linked in
|
||||
# from another location (which is my default). -- mduft
|
||||
if [[ ${CHOST} == *-winnt* ]]; then
|
||||
rm -rf "${ED}"/usr/bin/xmllint
|
||||
rm -rf "${ED}"/usr/bin/xmlcatalog
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_foreach_impl libxml2_py_emake DESTDIR="${D}" \
|
||||
docsdir="${EPREFIX}"/usr/share/doc/${PF}/python \
|
||||
exampledir="${EPREFIX}"/usr/share/doc/${PF}/python/examples \
|
||||
install
|
||||
python_foreach_impl python_optimize
|
||||
fi
|
||||
|
||||
rm -rf "${ED}"/usr/share/doc/${P}
|
||||
dodoc AUTHORS ChangeLog Copyright NEWS README* TODO*
|
||||
|
||||
if ! use python; then
|
||||
rm -rf "${ED}"/usr/share/doc/${PF}/python
|
||||
rm -rf "${ED}"/usr/share/doc/${PN}-python-${PV}
|
||||
fi
|
||||
|
||||
if ! use examples; then
|
||||
rm -rf "${ED}/usr/share/doc/${PF}/examples"
|
||||
rm -rf "${ED}/usr/share/doc/${PF}/python/examples"
|
||||
fi
|
||||
|
||||
prune_libtool_files --modules
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# We don't want to do the xmlcatalog during stage1, as xmlcatalog will not
|
||||
# be in / and stage1 builds to ROOT=/tmp/stage1root. This fixes bug #208887.
|
||||
if [[ "${ROOT}" != "/" ]]; then
|
||||
elog "Skipping XML catalog creation for stage building (bug #208887)."
|
||||
else
|
||||
# need an XML catalog, so no-one writes to a non-existent one
|
||||
CATALOG="${EROOT}etc/xml/catalog"
|
||||
|
||||
# we dont want to clobber an existing catalog though,
|
||||
# only ensure that one is there
|
||||
# <obz@gentoo.org>
|
||||
if [[ ! -e ${CATALOG} ]]; then
|
||||
[[ -d "${EROOT}etc/xml" ]] || mkdir -p "${EROOT}etc/xml"
|
||||
"${EPREFIX}"/usr/bin/xmlcatalog --create > "${CATALOG}"
|
||||
einfo "Created XML catalog in ${CATALOG}"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
libxml2_py_emake() {
|
||||
pushd "${BUILD_DIR}/python" > /dev/null || die
|
||||
emake \
|
||||
PYTHON="${PYTHON}" \
|
||||
PYTHON_INCLUDES="${EPREFIX}/usr/include/${EPYTHON}" \
|
||||
PYTHON_LIBS="$(python-config --ldflags)" \
|
||||
PYTHON_SITE_PACKAGES="$(python_get_sitedir)" \
|
||||
pythondir="$(python_get_sitedir)" \
|
||||
PYTHON_VERSION=${EPYTHON/python} "$@"
|
||||
popd > /dev/null
|
||||
}
|
@ -1,19 +1,19 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml2/libxml2-2.9.1-r1.ebuild,v 1.11 2013/07/21 17:55:22 ago Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml2/libxml2-2.9.1-r4.ebuild,v 1.12 2014/06/24 19:59:48 vapier Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} )
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} )
|
||||
PYTHON_REQ_USE="xml"
|
||||
|
||||
inherit libtool flag-o-matic eutils python-r1 autotools prefix
|
||||
inherit libtool flag-o-matic eutils python-r1 autotools prefix multilib-minimal
|
||||
|
||||
DESCRIPTION="Version 2 of the library to manipulate XML files"
|
||||
HOMEPAGE="http://www.xmlsoft.org/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
||||
IUSE="debug examples icu ipv6 lzma python readline static-libs test"
|
||||
|
||||
XSTS_HOME="http://www.w3.org/XML/2004/xml-schema-test-suite"
|
||||
@ -29,15 +29,21 @@ SRC_URI="ftp://xmlsoft.org/${PN}/${PN}-${PV/_rc/-rc}.tar.gz
|
||||
${XSTS_HOME}/${XSTS_NAME_2}/${XSTS_TARBALL_2}
|
||||
http://www.w3.org/XML/Test/${XMLCONF_TARBALL} )"
|
||||
|
||||
RDEPEND="sys-libs/zlib:=
|
||||
icu? ( dev-libs/icu:= )
|
||||
lzma? ( app-arch/xz-utils:= )
|
||||
COMMON_DEPEND=">=sys-libs/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}]
|
||||
icu? ( >=dev-libs/icu-51.2-r1:=[${MULTILIB_USEDEP}] )
|
||||
lzma? ( >=app-arch/xz-utils-5.0.5-r1:=[${MULTILIB_USEDEP}] )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
readline? ( sys-libs/readline:= )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
readline? ( sys-libs/readline:= )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20131008-r6
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-util/gtk-doc-am
|
||||
hppa? ( >=sys-devel/binutils-2.15.92.0.2 )"
|
||||
virtual/pkgconfig
|
||||
hppa? ( >=sys-devel/binutils-2.15.92.0.2 )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${PN}-${PV%_rc*}"
|
||||
|
||||
@ -57,6 +63,8 @@ src_unpack() {
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
DOCS=( AUTHORS ChangeLog NEWS README* TODO* )
|
||||
|
||||
# Patches needed for prefix support
|
||||
epatch "${FILESDIR}"/${PN}-2.7.1-catalog_path.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.8.0_rc1-winnt.patch
|
||||
@ -73,18 +81,24 @@ src_prepare() {
|
||||
"${FILESDIR}/${PN}-2.9.1-python3.patch" \
|
||||
"${FILESDIR}/${PN}-2.9.1-python3a.patch"
|
||||
|
||||
# Security fixes from 2.9.2
|
||||
epatch "${FILESDIR}/${P}-external-param-entities.patch"
|
||||
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=730290
|
||||
epatch "${FILESDIR}/${PN}-2.9.1-xmllint-postvalid.patch"
|
||||
|
||||
# Please do not remove, as else we get references to PORTAGE_TMPDIR
|
||||
# in /usr/lib/python?.?/site-packages/libxml2mod.la among things.
|
||||
# We now need to run eautoreconf at the end to prevent maintainer mode.
|
||||
# elibtoolize
|
||||
|
||||
# Python bindings are built/tested/installed manually.
|
||||
epatch "${FILESDIR}/${PN}-2.9.0-manual-python.patch"
|
||||
# Use pkgconfig to find icu to properly support multilib
|
||||
epatch "${FILESDIR}/${PN}-2.9.1-icu-pkgconfig.patch"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
multilib_src_configure() {
|
||||
# filter seemingly problematic CFLAGS (#26320)
|
||||
filter-flags -fprefetch-loop-arrays -funroll-loops
|
||||
|
||||
@ -96,36 +110,57 @@ src_configure() {
|
||||
# switch (enabling the libxml2 debug module). See bug #100898.
|
||||
|
||||
# --with-mem-debug causes unusual segmentation faults (bug #105120).
|
||||
econf \
|
||||
-with-html-subdir=${PF}/html \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
$(use_with debug run-debug) \
|
||||
$(use_with icu) \
|
||||
$(use_with lzma) \
|
||||
$(use_with python) \
|
||||
$(use_with readline) \
|
||||
$(use_with readline history) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
if use python; then
|
||||
python_copy_sources
|
||||
python_foreach_impl libxml2_py_emake
|
||||
libxml2_configure() {
|
||||
ECONF_SOURCE="${S}" econf \
|
||||
--with-html-subdir=${PF}/html \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
$(use_with debug run-debug) \
|
||||
$(use_with icu) \
|
||||
$(use_with lzma) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable static-libs static) \
|
||||
$(multilib_native_use_with readline) \
|
||||
$(multilib_native_use_with readline history) \
|
||||
"$@"
|
||||
}
|
||||
|
||||
libxml2_py_configure() {
|
||||
mkdir -p "${BUILD_DIR}" || die # ensure python build dirs exist
|
||||
run_in_build_dir libxml2_configure "--with-python=${PYTHON}" # odd build system
|
||||
}
|
||||
|
||||
libxml2_configure --without-python # build python bindings separately
|
||||
|
||||
if multilib_is_native_abi && use python; then
|
||||
python_parallel_foreach_impl libxml2_py_configure
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
multilib_src_compile() {
|
||||
default
|
||||
use python && python_foreach_impl libxml2_py_emake test
|
||||
if multilib_is_native_abi && use python; then
|
||||
local native_builddir=${BUILD_DIR}
|
||||
python_foreach_impl libxml2_py_emake top_builddir="${native_builddir}" all
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
multilib_src_test() {
|
||||
default
|
||||
multilib_is_native_abi && use python && python_foreach_impl libxml2_py_emake test
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake DESTDIR="${D}" \
|
||||
EXAMPLES_DIR="${EPREFIX}"/usr/share/doc/${PF}/examples install
|
||||
|
||||
if multilib_is_native_abi && use python; then
|
||||
python_foreach_impl libxml2_py_emake DESTDIR="${D}" install
|
||||
python_foreach_impl python_optimize
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
# on windows, xmllint is installed by interix libxml2 in parent prefix.
|
||||
# this is the version to use. the native winnt version does not support
|
||||
# symlinks, which makes repoman fail if the portage tree is linked in
|
||||
@ -135,16 +170,8 @@ src_install() {
|
||||
rm -rf "${ED}"/usr/bin/xmlcatalog
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_foreach_impl libxml2_py_emake DESTDIR="${D}" \
|
||||
docsdir="${EPREFIX}"/usr/share/doc/${PF}/python \
|
||||
exampledir="${EPREFIX}"/usr/share/doc/${PF}/python/examples \
|
||||
install
|
||||
python_foreach_impl python_optimize
|
||||
fi
|
||||
|
||||
rm -rf "${ED}"/usr/share/doc/${P}
|
||||
dodoc AUTHORS ChangeLog Copyright NEWS README* TODO*
|
||||
einstalldocs
|
||||
|
||||
if ! use python; then
|
||||
rm -rf "${ED}"/usr/share/doc/${PF}/python
|
||||
@ -181,11 +208,6 @@ pkg_postinst() {
|
||||
|
||||
libxml2_py_emake() {
|
||||
pushd "${BUILD_DIR}/python" > /dev/null || die
|
||||
emake \
|
||||
PYTHON="${PYTHON}" \
|
||||
PYTHON_INCLUDES="${EPREFIX}/usr/include/${EPYTHON}" \
|
||||
PYTHON_LIBS="$(python-config --ldflags)" \
|
||||
PYTHON_SITE_PACKAGES="$(python_get_sitedir)" \
|
||||
pythondir="$(python_get_sitedir)" "$@"
|
||||
emake "$@"
|
||||
popd > /dev/null
|
||||
}
|
@ -1,192 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml2/libxml2-2.9.1.ebuild,v 1.3 2013/07/11 11:55:12 jer Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} )
|
||||
PYTHON_REQ_USE="xml"
|
||||
|
||||
inherit libtool flag-o-matic eutils python-r1 autotools prefix
|
||||
|
||||
DESCRIPTION="Version 2 of the library to manipulate XML files"
|
||||
HOMEPAGE="http://www.xmlsoft.org/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
||||
IUSE="debug examples icu ipv6 lzma python readline static-libs test"
|
||||
|
||||
XSTS_HOME="http://www.w3.org/XML/2004/xml-schema-test-suite"
|
||||
XSTS_NAME_1="xmlschema2002-01-16"
|
||||
XSTS_NAME_2="xmlschema2004-01-14"
|
||||
XSTS_TARBALL_1="xsts-2002-01-16.tar.gz"
|
||||
XSTS_TARBALL_2="xsts-2004-01-14.tar.gz"
|
||||
XMLCONF_TARBALL="xmlts20080827.tar.gz"
|
||||
|
||||
SRC_URI="ftp://xmlsoft.org/${PN}/${PN}-${PV/_rc/-rc}.tar.gz
|
||||
test? (
|
||||
${XSTS_HOME}/${XSTS_NAME_1}/${XSTS_TARBALL_1}
|
||||
${XSTS_HOME}/${XSTS_NAME_2}/${XSTS_TARBALL_2}
|
||||
http://www.w3.org/XML/Test/${XMLCONF_TARBALL} )"
|
||||
|
||||
RDEPEND="sys-libs/zlib:=
|
||||
icu? ( dev-libs/icu:= )
|
||||
lzma? ( app-arch/xz-utils:= )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
readline? ( sys-libs/readline:= )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/gtk-doc-am
|
||||
hppa? ( >=sys-devel/binutils-2.15.92.0.2 )"
|
||||
|
||||
S="${WORKDIR}/${PN}-${PV%_rc*}"
|
||||
|
||||
src_unpack() {
|
||||
# ${A} isn't used to avoid unpacking of test tarballs into $WORKDIR,
|
||||
# as they are needed as tarballs in ${S}/xstc instead and not unpacked
|
||||
unpack ${P/_rc/-rc}.tar.gz
|
||||
cd "${S}"
|
||||
|
||||
if use test; then
|
||||
cp "${DISTDIR}/${XSTS_TARBALL_1}" \
|
||||
"${DISTDIR}/${XSTS_TARBALL_2}" \
|
||||
"${S}"/xstc/ \
|
||||
|| die "Failed to install test tarballs"
|
||||
unpack ${XMLCONF_TARBALL}
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Patches needed for prefix support
|
||||
epatch "${FILESDIR}"/${PN}-2.7.1-catalog_path.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.8.0_rc1-winnt.patch
|
||||
|
||||
eprefixify catalog.c xmlcatalog.c runtest.c xmllint.c
|
||||
|
||||
# epunt_cxx # if we don't eautoreconf
|
||||
|
||||
# Important patches from 2.9.2
|
||||
epatch "${FILESDIR}/${P}-missing-break.patch" \
|
||||
"${FILESDIR}/${P}-python-2.6.patch" \
|
||||
"${FILESDIR}/${P}-compression-detection.patch" \
|
||||
"${FILESDIR}/${P}-non-ascii-cr-lf.patch"
|
||||
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=703979
|
||||
epatch "${FILESDIR}/${PN}-2.9.1-python3.patch"
|
||||
|
||||
# Please do not remove, as else we get references to PORTAGE_TMPDIR
|
||||
# in /usr/lib/python?.?/site-packages/libxml2mod.la among things.
|
||||
# We now need to run eautoreconf at the end to prevent maintainer mode.
|
||||
# elibtoolize
|
||||
|
||||
# Python bindings are built/tested/installed manually.
|
||||
epatch "${FILESDIR}/${PN}-2.9.0-manual-python.patch"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# filter seemingly problematic CFLAGS (#26320)
|
||||
filter-flags -fprefetch-loop-arrays -funroll-loops
|
||||
|
||||
# USE zlib support breaks gnome2
|
||||
# (libgnomeprint for instance fails to compile with
|
||||
# fresh install, and existing) - <azarah@gentoo.org> (22 Dec 2002).
|
||||
|
||||
# The meaning of the 'debug' USE flag does not apply to the --with-debug
|
||||
# switch (enabling the libxml2 debug module). See bug #100898.
|
||||
|
||||
# --with-mem-debug causes unusual segmentation faults (bug #105120).
|
||||
econf \
|
||||
-with-html-subdir=${PF}/html \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
$(use_with debug run-debug) \
|
||||
$(use_with icu) \
|
||||
$(use_with lzma) \
|
||||
$(use_with python) \
|
||||
$(use_with readline) \
|
||||
$(use_with readline history) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
if use python; then
|
||||
python_copy_sources
|
||||
python_foreach_impl libxml2_py_emake
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
default
|
||||
use python && python_foreach_impl libxml2_py_emake test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" \
|
||||
EXAMPLES_DIR="${EPREFIX}"/usr/share/doc/${PF}/examples install
|
||||
|
||||
# on windows, xmllint is installed by interix libxml2 in parent prefix.
|
||||
# this is the version to use. the native winnt version does not support
|
||||
# symlinks, which makes repoman fail if the portage tree is linked in
|
||||
# from another location (which is my default). -- mduft
|
||||
if [[ ${CHOST} == *-winnt* ]]; then
|
||||
rm -rf "${ED}"/usr/bin/xmllint
|
||||
rm -rf "${ED}"/usr/bin/xmlcatalog
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_foreach_impl libxml2_py_emake DESTDIR="${D}" \
|
||||
docsdir="${EPREFIX}"/usr/share/doc/${PF}/python \
|
||||
exampledir="${EPREFIX}"/usr/share/doc/${PF}/python/examples \
|
||||
install
|
||||
python_foreach_impl python_optimize
|
||||
fi
|
||||
|
||||
rm -rf "${ED}"/usr/share/doc/${P}
|
||||
dodoc AUTHORS ChangeLog Copyright NEWS README* TODO*
|
||||
|
||||
if ! use python; then
|
||||
rm -rf "${ED}"/usr/share/doc/${PF}/python
|
||||
rm -rf "${ED}"/usr/share/doc/${PN}-python-${PV}
|
||||
fi
|
||||
|
||||
if ! use examples; then
|
||||
rm -rf "${ED}/usr/share/doc/${PF}/examples"
|
||||
rm -rf "${ED}/usr/share/doc/${PF}/python/examples"
|
||||
fi
|
||||
|
||||
prune_libtool_files --modules
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# We don't want to do the xmlcatalog during stage1, as xmlcatalog will not
|
||||
# be in / and stage1 builds to ROOT=/tmp/stage1root. This fixes bug #208887.
|
||||
if [[ "${ROOT}" != "/" ]]; then
|
||||
elog "Skipping XML catalog creation for stage building (bug #208887)."
|
||||
else
|
||||
# need an XML catalog, so no-one writes to a non-existent one
|
||||
CATALOG="${EROOT}etc/xml/catalog"
|
||||
|
||||
# we dont want to clobber an existing catalog though,
|
||||
# only ensure that one is there
|
||||
# <obz@gentoo.org>
|
||||
if [[ ! -e ${CATALOG} ]]; then
|
||||
[[ -d "${EROOT}etc/xml" ]] || mkdir -p "${EROOT}etc/xml"
|
||||
"${EPREFIX}"/usr/bin/xmlcatalog --create > "${CATALOG}"
|
||||
einfo "Created XML catalog in ${CATALOG}"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
libxml2_py_emake() {
|
||||
pushd "${BUILD_DIR}/python" > /dev/null || die
|
||||
emake \
|
||||
PYTHON="${PYTHON}" \
|
||||
PYTHON_INCLUDES="${EPREFIX}/usr/include/${EPYTHON}" \
|
||||
PYTHON_LIBS="$(python-config --ldflags)" \
|
||||
PYTHON_SITE_PACKAGES="$(python_get_sitedir)" \
|
||||
pythondir="$(python_get_sitedir)" "$@"
|
||||
popd > /dev/null
|
||||
}
|
@ -1,6 +1,60 @@
|
||||
# ChangeLog for dev-libs/libxslt
|
||||
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxslt/ChangeLog,v 1.272 2013/06/30 15:07:43 jlec Exp $
|
||||
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxslt/ChangeLog,v 1.285 2014/08/07 18:14:54 jer Exp $
|
||||
|
||||
07 Aug 2014; Jeroen Roovers <jer@gentoo.org> libxslt-1.1.28-r3.ebuild:
|
||||
Stable for HPPA (bug #512012).
|
||||
|
||||
28 Jul 2014; Agostino Sarubbo <ago@gentoo.org> libxslt-1.1.28-r3.ebuild:
|
||||
Stable for ppc, wrt bug #512012
|
||||
|
||||
23 Jul 2014; Agostino Sarubbo <ago@gentoo.org> libxslt-1.1.28-r3.ebuild:
|
||||
Stable for x86, wrt bug #512012
|
||||
|
||||
22 Jul 2014; Agostino Sarubbo <ago@gentoo.org> libxslt-1.1.28-r3.ebuild:
|
||||
Stable for amd64, wrt bug #512912
|
||||
|
||||
24 Jun 2014; Michael Haubenwallner <haubi@gentoo.org>
|
||||
libxslt-1.1.28-r3.ebuild:
|
||||
add more prefix keywords
|
||||
|
||||
*libxslt-1.1.28-r3 (24 Jun 2014)
|
||||
|
||||
24 Jun 2014; Alexandre Rostovtsev <tetromino@gentoo.org>
|
||||
+libxslt-1.1.28-r3.ebuild:
|
||||
Modernize python bindings build setup, fixing prefix issues (bug #514900,
|
||||
thanks to Michael Haubenwallner).
|
||||
|
||||
18 Jun 2014; Michał Górny <mgorny@gentoo.org> libxslt-1.1.28-r2.ebuild:
|
||||
Update dependencies to require guaranteed EAPI=5 or multilib ebuilds, bug
|
||||
#513718.
|
||||
|
||||
28 Apr 2014; Michał Górny <mgorny@gentoo.org> libxslt-1.1.28-r2.ebuild:
|
||||
Replace multilib_build_binaries with multilib_is_native_abi. The two are
|
||||
equivalent now, and the team has decided to use the old name as being less
|
||||
confusing.
|
||||
|
||||
04 Mar 2014; Alexandre Rostovtsev <tetromino@gentoo.org>
|
||||
files/libxslt-1.1.28-libgcrypt-config.patch:
|
||||
Update patch
|
||||
|
||||
*libxslt-1.1.28-r2 (04 Mar 2014)
|
||||
|
||||
04 Mar 2014; Alexandre Rostovtsev <tetromino@gentoo.org>
|
||||
-libxslt-1.1.28.ebuild, +libxslt-1.1.28-r2.ebuild,
|
||||
+files/libxslt-1.1.28-libgcrypt-config.patch:
|
||||
Add multilib support (bug #480402, thanks to David Heidelberger (okias) and
|
||||
Michał Górny). Punt old.
|
||||
|
||||
01 Mar 2014; Michał Górny <mgorny@gentoo.org> libxslt-1.1.28-r1.ebuild,
|
||||
libxslt-1.1.28.ebuild:
|
||||
Update libgcrypt dep to use slot :0.
|
||||
|
||||
18 Jan 2014; Mike Frysinger <vapier@gentoo.org> libxslt-1.1.28-r1.ebuild:
|
||||
Add arm64 love.
|
||||
|
||||
05 Sep 2013; Michał Górny <mgorny@gentoo.org> libxslt-1.1.28-r1.ebuild:
|
||||
Clean up PYTHON_COMPAT from old implementations.
|
||||
|
||||
30 Jun 2013; Justin Lecher <jlec@gentoo.org> libxslt-1.1.28-r1.ebuild,
|
||||
metadata.xml:
|
||||
|
@ -1,19 +1,21 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
Hash: SHA256
|
||||
|
||||
AUX libxslt-1.1.26-disable_static_modules.patch 318 SHA256 6c08da472bd1d48af1aab88619e460ad17f56c49bfaa00ccbfd8acf9212c5e80 SHA512 c54fa2b0edcdadde68f3d63bc8f39404eea7d5b866c1b2b0989c0cb343e25bd78da047434314447d3e5773b2c9e1455bcc82153c83541f12ecf4169919f3187a WHIRLPOOL 12984a243827e5bb25293d760f4d74f493254e5e90b48c6be20928aeae68cbfe71c345868165324af83c685781d0fd1b4e3594347e89964dfa3db5bf1ab58a55
|
||||
AUX libxslt-1.1.27-python-config.patch 756 SHA256 d8a457bb106b195dd20e738656aed10eb10f93bf5edd4162dcebefffcad4e477 SHA512 905e7db5e90b0c2a4d574ed800b4bdd355734332fb1e76ad19b6446884f9fef315a8d0d25737b5ba556972e2da28f8e0425c298911d360dff2b5e23bd4a204de WHIRLPOOL 89c5d38ab440419e145283f258e25e97350a3a988d7891f88a73607f8e7e886d27b9fc5219532ea5f295d29a87b9113f96fe99e2e76ed4187c22a2a14a2558f3
|
||||
AUX libxslt-1.1.28-libgcrypt-config.patch 1024 SHA256 8ee49178b88cb3a768e956c85c00774f27c7db27460eda1a632ef239c370756b SHA512 f5d3ac0d792a7800ea05b98035e18bea5c045f5c96a55bcc4c4c81b625d332ce8a0dd2dddd4522b48ad336c1604ccae5379db64462f528a01adb23c5209c6867 WHIRLPOOL 812929d3dcf8222ab0db42b1d57a9dcad3937212aa7c49ac5882f73e7ad8a79bd36eccc9b4eef4a6ad2087400371f1d8c99919b810e2d5322c720d2f3921b617
|
||||
AUX libxslt-1.1.28-manual-python.patch 1180 SHA256 905ac247a14998c0dcc44aacc926e7eb49758482769ae66e14194ae0f5aca354 SHA512 cd84143397223d2e1e70c796346dd8ed4359bc9bc6b1f808d6a47f75c54d0589456382dd13723f42983f41267861e742fde60e9e401ded53f0c3a3f4596dfb36 WHIRLPOOL 159e662add550048f7fee53ef98179afe5aa9858a10d517f2dad1dc3903cca2c34cec7d5f1e9cb370f9ca60104cbb528866294db7da0463b86d74b732342f6e6
|
||||
AUX libxslt.m4-libxslt-1.1.26.patch 1421 SHA256 c02cd8437064db0921c08e63245c403dad12410d2997715aa7aa36600bfaa895 SHA512 78cfb6bd823805f660c9d07c4f6f83a87cf2385c48fcb11bff82792101f06b36d08f851089497f0c019f5743f31248cbabe341f78f4ca7e7617c86c4e5a8404a WHIRLPOOL 0b4da6d1ce77e653a6c175fc203f5fecd0c831a018a5063e66e5ff0cc19d9a19d8938b06e4318938a35f665f91442290f267bb3fc86b9268c2455ac9616caeff
|
||||
DIST libxslt-1.1.28.tar.gz 3435907 SHA256 5fc7151a57b89c03d7b825df5a0fae0a8d5f05674c0e7cf2937ecec4d54a028c SHA512 20b65bdaceaac5bd11d509bf683ce8e344030bc95164639266ae705d41659bcba47b5be1b059d0d67681e6428b0710db675d1749c06aa531bc2212ed3d0511b1 WHIRLPOOL 7f059d7d6b02fc5982c31d3239188ff0a6d211f722635ac3d3cd77bedf54ef9b1a9433ef1c55a9335f353ce618f3dd93a9e1e19c117988358ab31857edff1843
|
||||
EBUILD libxslt-1.1.28-r1.ebuild 2644 SHA256 825877c6daeea451b7132fd290d5a3c9d6b27cd23bd65a129b1652494bbffda5 SHA512 7402f0ece34e370111cb0b830816e4565f6e719dbe4e148207a758c3c2ae95277e00021ea1e37602b2b1e335a9da56913f7aeb86971bee34b3c715215fde5b2f WHIRLPOOL a568d422ed3c5eb00150ba6098654d337bbb23c934c85b4ad0f78c2804977a8fc3942d839974eb2e587a1d0f7402ad1c0583039d4232e5e71e48d0efd3746f0c
|
||||
EBUILD libxslt-1.1.28.ebuild 2658 SHA256 62edd674a75da897a1a715b5bf0b720abcc91414d1e3829682ecf753887818e5 SHA512 26f34760f016422f5c378aa4a35570ed5eff425716434f065ccb68cb2d5fdef9cb12ba527647105f7ff6025ef3135b33172bd399f34a5762f2c77bfa661784eb WHIRLPOOL 58a241898e9bf2ffadbb53cd34e4322d03f734bf68980a40568073a9705ae7403daca78b37ba882fea20dde654a8c07463541a5183b61d31a6fe92cba0385e30
|
||||
MISC ChangeLog 34185 SHA256 af8e9f7e02752af5dc4efa9e97b255b92f51cd5502509df1302cd00c5add6b09 SHA512 4d0a28c6f50d185ef7e4deba2b4dd6d94bd8741c5124ddd1c675a2cb28ac7edbf578c50a4c1f429341bbb95554bbfa522d0cda3580b45b6475ac72484ceac6b2 WHIRLPOOL a7cf0db4497df093cd140e8ea29d7d4571cfe087edfb13c3c514ff5461443c42b964d57b51c350903cb0898ae20534a37845892ef07ebbf38b60e52c479b9895
|
||||
EBUILD libxslt-1.1.28-r1.ebuild 2649 SHA256 3ab33a2fc7d78901630bdcd560bc87eb7519f7d5b6da2c8212062c9efeda4047 SHA512 3187a7df25b2dd7e987192646872ae45ab753df75aa93d5e81d966045327cb745c630e45112f0dfeae9233a94e462acf124a6f76f646a32d0c1c069853df5526 WHIRLPOOL 48a93091286db2bfc30af34317675a831086bbd4eab964fbcf90ed877519bb35889e4f841cfcc3fde3f782a713d677fdcf4ac3af2f81c27f27135dae4de1ec58
|
||||
EBUILD libxslt-1.1.28-r2.ebuild 3190 SHA256 d55a79d6af77e599891191ef4a7d9c8d6674c78f147cd8b4b25da288228c69e3 SHA512 02a5d22618c85aaedfeced3914d968e5e99e48dfd416705f6fb68cd2016b021f1d93ebbc822d69a8b816546cdbcd0b1641faa3e3e6a021fdeddae632939a18b9 WHIRLPOOL 4d24b55c0a2c2e55f33273585933888fb2567f597e2b4be41ab1995b9bd0f1170cd1f475c2aca46ed0ca5faddf26b5e91ffb6249024f88c85cb3a8fabe9a7006
|
||||
EBUILD libxslt-1.1.28-r3.ebuild 3458 SHA256 b22f9f514b418cf27cf2865293e2c3cf8bf6ef9dcfa703b7fca7e5a553d62120 SHA512 0f3a0d917e7705fa1631034c7bce80a97bbfaba2ef28375822206ccf3dc2c1e6293781e1af7e4ebfbd30b446d3b74ca3aee80134ef2b8fa05743f99077bbf8ce WHIRLPOOL ab5d4957fb8995f70e95039455a0eeb1d517bdad81fd57f3a914e07df5806cf249b70284a6210ae3c6458f96646e9b38c97b90c8599fe90344cbe4df5db5689d
|
||||
MISC ChangeLog 36164 SHA256 ff9663c4fcd5721c7ca2ca5f4cf78dd3e1dcf0e4829376e8f72aa491dae3b431 SHA512 286fe9c7a7a23dd98e367f70b3905ae04abd3f91f3850c4b41d62a01f7cb50059f98ea163c341d226cf91075461b64af772b450075c66e2ebc789bec0d77b467 WHIRLPOOL 0d9b19ca126ffe6589b2b914341d8da514c4426db9efbd58e9dabb04bfc7a6ead7b0aa567980c400b01eae0aecd5d2df0397c3e6ed032cf6ef8c05bee402e09f
|
||||
MISC metadata.xml 160 SHA256 4d793ecb79b17794248102d8409d16bc27b1022c72038bd2d1241e129693d5f2 SHA512 677650c05f31fc27035e12f3f5e4b095715dfe12d2d3483f800bfbc6e986a98dbb1997cd52ad7a177b5c120c9b87fe5a2452a4f0f9852ac9a58262e0c5d576c9 WHIRLPOOL 070602fb27fee6a25035c9e93f5c2422270a5781fd11dac318d3f5c32cf9e49163abf7999729df230d3e181b6a1362982744e1f0ac016bf59a3458ae23abbb83
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.20 (GNU/Linux)
|
||||
Version: GnuPG v2
|
||||
|
||||
iEYEAREKAAYFAlHQScAACgkQgAnW8HDreRYvgACfQ7+jLWvtJxhQsV4NptDIGAu+
|
||||
2koAn1CFF4yaVsS5CdeMomUAaKVBkCqd
|
||||
=BQW7
|
||||
iEYEAREIAAYFAlPjwiAACgkQVWmRsqeSphPtTwCfULdI4oVp2YVRWL2eyxTJ6+yO
|
||||
Cx8Anjr+fIBgrwZxrumxxBFhU3Rf1unn
|
||||
=PzVV
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,30 @@
|
||||
From 4eeed7de3fa90e27658c48cb06f034da43b4f057 Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Rostovtsev <tetromino@gentoo.org>
|
||||
Date: Tue, 4 Mar 2014 00:10:37 -0500
|
||||
Subject: [PATCH] configure: use AC_PATH_TOOL to find libgcrypt-config
|
||||
|
||||
Since libgcrypt-config is used to find host system libraries, we should
|
||||
be using AC_PATH_TOOL, not AC_PATH_PROG, for proper cross-compiling and
|
||||
multilib support.
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=725635
|
||||
---
|
||||
configure.in | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.in b/configure.in
|
||||
index a861e90..8328625 100644
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -393,7 +393,7 @@ case $host in
|
||||
CRYPTO_TESTDIR=crypto
|
||||
;;
|
||||
*)
|
||||
- AC_PATH_PROG(LIBGCRYPT_CONFIG, libgcrypt-config, no)
|
||||
+ AC_PATH_TOOL(LIBGCRYPT_CONFIG, libgcrypt-config, no)
|
||||
if test "$LIBGCRYPT_CONFIG" != "no" ; then
|
||||
LIBGCRYPT_VERSION=`$LIBGCRYPT_CONFIG --version`
|
||||
if test VERSION_TO_NUMBER(echo $LIBGCRYPT_VERSION) -lt VERSION_TO_NUMBER(echo "1.1.42")
|
||||
--
|
||||
1.9.0
|
||||
|
@ -1,10 +1,10 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxslt/libxslt-1.1.28-r1.ebuild,v 1.15 2013/06/30 15:07:43 jlec Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxslt/libxslt-1.1.28-r1.ebuild,v 1.18 2014/03/01 22:09:55 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7} )
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE="xml"
|
||||
|
||||
inherit autotools eutils python-r1 toolchain-funcs
|
||||
@ -15,13 +15,13 @@ SRC_URI="ftp://xmlsoft.org/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
|
||||
IUSE="crypt debug python static-libs"
|
||||
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
RDEPEND=">=dev-libs/libxml2-2.8.0:2
|
||||
crypt? ( >=dev-libs/libgcrypt-1.1.42:= )
|
||||
crypt? ( >=dev-libs/libgcrypt-1.1.42:0= )
|
||||
python? (
|
||||
${PYTHON_DEPS}
|
||||
dev-libs/libxml2:2[python,${PYTHON_USEDEP}] )"
|
||||
|
104
sdk_container/src/third_party/portage-stable/dev-libs/libxslt/libxslt-1.1.28-r2.ebuild
vendored
Normal file
104
sdk_container/src/third_party/portage-stable/dev-libs/libxslt/libxslt-1.1.28-r2.ebuild
vendored
Normal file
@ -0,0 +1,104 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxslt/libxslt-1.1.28-r2.ebuild,v 1.3 2014/06/18 19:17:22 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE="xml"
|
||||
|
||||
inherit autotools eutils python-r1 toolchain-funcs multilib-minimal
|
||||
|
||||
DESCRIPTION="XSLT libraries and tools"
|
||||
HOMEPAGE="http://www.xmlsoft.org/"
|
||||
SRC_URI="ftp://xmlsoft.org/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
|
||||
IUSE="crypt debug python static-libs"
|
||||
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
RDEPEND=">=dev-libs/libxml2-2.9.1-r4:2[${MULTILIB_USEDEP}]
|
||||
crypt? ( >=dev-libs/libgcrypt-1.5.3:0=[${MULTILIB_USEDEP}] )
|
||||
python? (
|
||||
${PYTHON_DEPS}
|
||||
dev-libs/libxml2:2[python,${PYTHON_USEDEP}] )
|
||||
abi_x86_32? (
|
||||
!<=app-emulation/emul-linux-x86-baselibs-20131008-r20
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
DOCS=( AUTHORS ChangeLog FEATURES NEWS README TODO )
|
||||
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=684621
|
||||
epatch "${FILESDIR}"/${PN}.m4-${PN}-1.1.26.patch
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-1.1.26-disable_static_modules.patch
|
||||
|
||||
# use AC_PATH_TOOL for libgcrypt-config for sane cross-compile and multilib support
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=725635
|
||||
epatch "${FILESDIR}"/${PN}-1.1.28-libgcrypt-config.patch
|
||||
|
||||
# Python bindings are built/tested/installed manually.
|
||||
epatch "${FILESDIR}"/${PN}-1.1.28-manual-python.patch
|
||||
|
||||
eautoreconf
|
||||
# If eautoreconf'd with new autoconf, then epunt_cxx is not necessary
|
||||
# and it is propably otherwise too if upstream generated with new
|
||||
# autoconf
|
||||
# epunt_cxx
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE=${S} econf \
|
||||
$(use_enable static-libs static) \
|
||||
--with-html-dir="${EPREFIX}"/usr/share/doc/${PF} \
|
||||
--with-html-subdir=html \
|
||||
$(use_with crypt crypto) \
|
||||
$(multilib_is_native_abi && use_with python || echo --without-python) \
|
||||
$(use_with debug) \
|
||||
$(use_with debug mem-debug)
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
default
|
||||
if use python && multilib_is_native_abi; then
|
||||
python_copy_sources
|
||||
python_foreach_impl libxslt_py_emake
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
default
|
||||
use python && multilib_is_native_abi && python_foreach_impl libxslt_py_emake test
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
# "default" does not work here - docs are installed by multilib_src_install_all
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
if use python && multilib_is_native_abi; then
|
||||
python_foreach_impl libxslt_py_emake DESTDIR="${D}" install
|
||||
python_foreach_impl python_optimize
|
||||
mv "${ED}"/usr/share/doc/${PN}-python-${PV} "${ED}"/usr/share/doc/${PF}/python
|
||||
fi
|
||||
|
||||
prune_libtool_files --modules
|
||||
}
|
||||
|
||||
libxslt_py_emake() {
|
||||
pushd "${BUILD_DIR}/python" > /dev/null || die
|
||||
emake \
|
||||
PYTHON="${PYTHON}" \
|
||||
PYTHON_INCLUDES="${EPREFIX}/usr/include/${EPYTHON}" \
|
||||
PYTHON_LIBS="$(python-config --ldflags)" \
|
||||
PYTHON_SITE_PACKAGES="${EPREFIX}$(python_get_sitedir)" \
|
||||
pythondir="${EPREFIX}$(python_get_sitedir)" \
|
||||
PYTHON_VERSION=${EPYTHON/python} "$@"
|
||||
popd > /dev/null
|
||||
}
|
111
sdk_container/src/third_party/portage-stable/dev-libs/libxslt/libxslt-1.1.28-r3.ebuild
vendored
Normal file
111
sdk_container/src/third_party/portage-stable/dev-libs/libxslt/libxslt-1.1.28-r3.ebuild
vendored
Normal file
@ -0,0 +1,111 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxslt/libxslt-1.1.28-r3.ebuild,v 1.6 2014/08/07 18:14:54 jer Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE="xml"
|
||||
|
||||
inherit autotools eutils python-r1 toolchain-funcs multilib-minimal
|
||||
|
||||
DESCRIPTION="XSLT libraries and tools"
|
||||
HOMEPAGE="http://www.xmlsoft.org/"
|
||||
SRC_URI="ftp://xmlsoft.org/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="crypt debug python static-libs"
|
||||
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
RDEPEND=">=dev-libs/libxml2-2.9.1-r4:2[${MULTILIB_USEDEP}]
|
||||
crypt? ( >=dev-libs/libgcrypt-1.5.3:0=[${MULTILIB_USEDEP}] )
|
||||
python? (
|
||||
${PYTHON_DEPS}
|
||||
dev-libs/libxml2:2[python,${PYTHON_USEDEP}] )
|
||||
abi_x86_32? (
|
||||
!<=app-emulation/emul-linux-x86-baselibs-20131008-r20
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
DOCS=( AUTHORS ChangeLog FEATURES NEWS README TODO )
|
||||
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=684621
|
||||
epatch "${FILESDIR}"/${PN}.m4-${PN}-1.1.26.patch
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-1.1.26-disable_static_modules.patch
|
||||
|
||||
# use AC_PATH_TOOL for libgcrypt-config for sane cross-compile and multilib support
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=725635
|
||||
epatch "${FILESDIR}"/${PN}-1.1.28-libgcrypt-config.patch
|
||||
|
||||
eautoreconf
|
||||
# If eautoreconf'd with new autoconf, then epunt_cxx is not necessary
|
||||
# and it is propably otherwise too if upstream generated with new
|
||||
# autoconf
|
||||
# epunt_cxx
|
||||
# But Prefix always needs elibtoolize if not eautoreconf'd.
|
||||
# elibtoolize
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
libxslt_configure() {
|
||||
ECONF_SOURCE=${S} econf \
|
||||
$(use_enable static-libs static) \
|
||||
--with-html-dir="${EPREFIX}"/usr/share/doc/${PF} \
|
||||
--with-html-subdir=html \
|
||||
$(use_with crypt crypto) \
|
||||
$(use_with debug) \
|
||||
$(use_with debug mem-debug) \
|
||||
"$@"
|
||||
}
|
||||
|
||||
libxslt_py_configure() {
|
||||
mkdir -p "${BUILD_DIR}" || die # ensure python build dirs exist
|
||||
run_in_build_dir libxslt_configure "--with-python=${PYTHON}" # odd build system
|
||||
}
|
||||
|
||||
libxslt_configure --without-python # build python bindings separately
|
||||
|
||||
if multilib_is_native_abi && use python; then
|
||||
python_parallel_foreach_impl libxslt_py_configure
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
default
|
||||
multilib_is_native_abi && use python && libxslt_foreach_py_emake all
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
default
|
||||
multilib_is_native_abi && use python && libxslt_foreach_py_emake test
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
# "default" does not work here - docs are installed by multilib_src_install_all
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
if multilib_is_native_abi && use python; then
|
||||
libxslt_foreach_py_emake DESTDIR="${D}" install
|
||||
python_foreach_impl python_optimize
|
||||
mv "${ED}"/usr/share/doc/${PN}-python-${PV} "${ED}"/usr/share/doc/${PF}/python
|
||||
fi
|
||||
|
||||
prune_libtool_files --modules
|
||||
}
|
||||
|
||||
libxslt_foreach_py_emake() {
|
||||
libxslt_py_emake() {
|
||||
pushd "${BUILD_DIR}/python" > /dev/null || die
|
||||
emake "$@"
|
||||
popd > /dev/null
|
||||
}
|
||||
local native_builddir=${BUILD_DIR}
|
||||
python_foreach_impl libxslt_py_emake top_builddir="${native_builddir}" "$@"
|
||||
}
|
@ -1,114 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxslt/libxslt-1.1.28.ebuild,v 1.13 2013/03/12 18:07:42 ssuominen Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_DEPEND="python? 2:2.5"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython *-pypy-*"
|
||||
|
||||
inherit autotools eutils python toolchain-funcs
|
||||
|
||||
DESCRIPTION="XSLT libraries and tools"
|
||||
HOMEPAGE="http://www.xmlsoft.org/"
|
||||
SRC_URI="ftp://xmlsoft.org/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="crypt debug python static-libs"
|
||||
|
||||
RDEPEND=">=dev-libs/libxml2-2.8.0
|
||||
crypt? ( >=dev-libs/libgcrypt-1.1.42:= )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS="AUTHORS ChangeLog FEATURES NEWS README TODO"
|
||||
|
||||
pkg_setup() {
|
||||
use python && python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# https://bugzilla.gnome.org/show_bug.cgi?id=684621
|
||||
epatch "${FILESDIR}"/${PN}.m4-${PN}-1.1.26.patch
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-1.1.26-disable_static_modules.patch
|
||||
|
||||
# Use python-config, not python2.7-config
|
||||
epatch "${FILESDIR}"/${PN}-1.1.27-python-config.patch
|
||||
|
||||
# Python bindings are built/tested/installed manually.
|
||||
sed -i -e 's/$(PYTHON_SUBDIR)//' Makefile.am || die
|
||||
|
||||
eautoreconf
|
||||
# epunt_cxx
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# libgcrypt is missing pkg-config file, so fixing cross-compile
|
||||
# here. see bug 267503.
|
||||
tc-is-cross-compiler && \
|
||||
export LIBGCRYPT_CONFIG="${SYSROOT}"/usr/bin/libgcrypt-config
|
||||
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
--with-html-dir=/usr/share/doc/${PF} \
|
||||
--with-html-subdir=html \
|
||||
$(use_with crypt crypto) \
|
||||
$(use_with python) \
|
||||
$(use_with debug) \
|
||||
$(use_with debug mem-debug)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use python; then
|
||||
python_copy_sources python
|
||||
building() {
|
||||
emake PYTHON_INCLUDES="$(python_get_includedir)" \
|
||||
PYTHON_SITE_PACKAGES="$(python_get_sitedir)" \
|
||||
PYTHON_VERSION="$(python_get_version)"
|
||||
}
|
||||
python_execute_function -s --source-dir python building
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
default
|
||||
|
||||
if use python; then
|
||||
testing() {
|
||||
emake test
|
||||
}
|
||||
python_execute_function -s --source-dir python testing
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use python; then
|
||||
installation() {
|
||||
emake DESTDIR="${D}" \
|
||||
PYTHON_SITE_PACKAGES="$(python_get_sitedir)" \
|
||||
install
|
||||
}
|
||||
python_execute_function -s --source-dir python installation
|
||||
|
||||
python_clean_installation_image
|
||||
|
||||
mv "${ED}"/usr/share/doc/${PN}-python-${PV} "${ED}"/usr/share/doc/${PF}/python
|
||||
fi
|
||||
|
||||
prune_libtool_files
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use python && python_mod_optimize ${PN}.py
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use python && python_mod_cleanup ${PN}.py
|
||||
}
|
@ -1,202 +0,0 @@
|
||||
# ChangeLog for dev-python/argparse
|
||||
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/argparse/ChangeLog,v 1.59 2013/04/12 17:20:01 ago Exp $
|
||||
|
||||
12 Apr 2013; Agostino Sarubbo <ago@gentoo.org> argparse-1.2.1-r2.ebuild:
|
||||
Stable for ia64, wrt bug #456600
|
||||
|
||||
05 Apr 2013; Agostino Sarubbo <ago@gentoo.org> argparse-1.2.1-r2.ebuild:
|
||||
Stable for ppc64, wrt bug #456600
|
||||
|
||||
02 Apr 2013; Agostino Sarubbo <ago@gentoo.org> argparse-1.2.1-r2.ebuild:
|
||||
Stable for s390, wrt bug #456600
|
||||
|
||||
02 Apr 2013; Agostino Sarubbo <ago@gentoo.org> argparse-1.2.1-r2.ebuild:
|
||||
Stable for arm, wrt bug #456600
|
||||
|
||||
02 Apr 2013; Agostino Sarubbo <ago@gentoo.org> argparse-1.2.1-r2.ebuild:
|
||||
Stable for hppa, wrt bug #456600
|
||||
|
||||
31 Mar 2013; Agostino Sarubbo <ago@gentoo.org> argparse-1.2.1-r2.ebuild:
|
||||
Stable for sh, wrt bug #456600
|
||||
|
||||
31 Mar 2013; Agostino Sarubbo <ago@gentoo.org> argparse-1.2.1-r2.ebuild:
|
||||
Stable for sparc, wrt bug #456600
|
||||
|
||||
30 Mar 2013; Agostino Sarubbo <ago@gentoo.org> argparse-1.2.1-r2.ebuild:
|
||||
Stable for alpha, wrt bug #456600
|
||||
|
||||
30 Mar 2013; Agostino Sarubbo <ago@gentoo.org> argparse-1.2.1-r2.ebuild:
|
||||
Stable for ppc, wrt bug #456600
|
||||
|
||||
27 Mar 2013; Agostino Sarubbo <ago@gentoo.org> argparse-1.2.1-r2.ebuild:
|
||||
Stable for amd64, wrt bug #456600
|
||||
|
||||
01 Jan 2013; Raúl Porcel <armin76@gentoo.org> argparse-1.2.1-r1.ebuild:
|
||||
s390/sh/x86 stable wrt #446496
|
||||
|
||||
30 Dec 2012; Agostino Sarubbo <ago@gentoo.org> argparse-1.2.1-r1.ebuild:
|
||||
Stable for alpha, wrt bug #446496
|
||||
|
||||
30 Dec 2012; Agostino Sarubbo <ago@gentoo.org> argparse-1.2.1-r1.ebuild:
|
||||
Stable for sparc, wrt bug #446496
|
||||
|
||||
23 Dec 2012; Markus Meier <maekke@gentoo.org> argparse-1.2.1-r1.ebuild:
|
||||
arm stable, bug #446496
|
||||
|
||||
18 Dec 2012; Agostino Sarubbo <ago@gentoo.org> argparse-1.2.1-r1.ebuild:
|
||||
Stable for ia64, wrt bug #446496
|
||||
|
||||
17 Dec 2012; Michał Górny <mgorny@gentoo.org> argparse-1.2.1-r1.ebuild,
|
||||
argparse-1.2.1-r2.ebuild:
|
||||
Bump to EAPI=5 to make Paludis happy, bug #447524.
|
||||
|
||||
16 Dec 2012; Agostino Sarubbo <ago@gentoo.org> argparse-1.2.1-r1.ebuild:
|
||||
Stable for ppc, wrt bug #446496
|
||||
|
||||
15 Dec 2012; Michał Górny <mgorny@gentoo.org> argparse-1.2.1-r2.ebuild:
|
||||
Remove jython2.5 support, bug #447148.
|
||||
|
||||
12 Dec 2012; Agostino Sarubbo <ago@gentoo.org> argparse-1.2.1-r1.ebuild:
|
||||
Stable for amd64, wrt bug #446496
|
||||
|
||||
12 Dec 2012; Michał Górny <mgorny@gentoo.org> argparse-1.2.1-r1.ebuild:
|
||||
Drop jython from the potentially-stable ebuild as well.
|
||||
|
||||
12 Dec 2012; Michał Górny <mgorny@gentoo.org> argparse-1.2.1-r1.ebuild:
|
||||
Drop unstable implementations from the older ebuild, to clear the way for
|
||||
stabilization.
|
||||
|
||||
10 Dec 2012; Agostino Sarubbo <ago@gentoo.org> argparse-1.2.1-r1.ebuild:
|
||||
Stable for ppc64, wrt bug #446496
|
||||
|
||||
10 Dec 2012; Jeroen Roovers <jer@gentoo.org> argparse-1.2.1-r1.ebuild:
|
||||
Stable for HPPA (bug #446496).
|
||||
|
||||
*argparse-1.2.1-r2 (08 Dec 2012)
|
||||
|
||||
08 Dec 2012; Michał Górny <mgorny@gentoo.org> +argparse-1.2.1-r2.ebuild:
|
||||
Revbump again to end the transitional period and stop installing argparse for
|
||||
new Python versions.
|
||||
|
||||
08 Dec 2012; Michał Górny <mgorny@gentoo.org> argparse-1.2.1-r1.ebuild:
|
||||
Add PYTHON_USEDEP on migrated packages.
|
||||
|
||||
02 Nov 2012; Michał Górny <mgorny@gentoo.org> argparse-1.2.1-r1.ebuild:
|
||||
Re-enable all Python implementations but warn if the package is not useful,
|
||||
requesting people to depclean it.
|
||||
|
||||
*argparse-1.2.1-r1 (29 Oct 2012)
|
||||
|
||||
29 Oct 2012; Michał Górny <mgorny@gentoo.org> +argparse-1.2.1-r1.ebuild:
|
||||
Convert to distutils-r1, build only for implementations lacking built-in
|
||||
argparse.
|
||||
|
||||
05 Aug 2012; Richard Yao <ryao@gentoo.org> argparse-1.2.1.ebuild:
|
||||
Keyword ~x64-freebsd
|
||||
|
||||
26 Apr 2012; Alexis Ballier <aballier@gentoo.org> argparse-1.2.1.ebuild:
|
||||
keyword ~amd64-fbsd
|
||||
|
||||
01 Mar 2012; Dirkjan Ochtman <djc@gentoo.org> argparse-1.2.1.ebuild:
|
||||
Set COLUMNS to make tests pass (bug 397345, thanks Dustin Polke).
|
||||
|
||||
01 Mar 2012; Dirkjan Ochtman <djc@gentoo.org> metadata.xml:
|
||||
Remove myself as a maintainer.
|
||||
|
||||
27 Aug 2011; Jesus Rivero <neurogeek@gentoo.org> argparse-1.2.1.ebuild:
|
||||
Change to generic license
|
||||
|
||||
26 Jun 2011; Naohiro Aota <naota@gentoo.org> argparse-1.2.1.ebuild:
|
||||
Add ~x86-fbsd, bug #346005
|
||||
|
||||
24 Jun 2011; Raúl Porcel <armin76@gentoo.org> argparse-1.2.1.ebuild:
|
||||
m68k/s390/sh stable
|
||||
|
||||
23 Jun 2011; Markos Chandras <hwoarang@gentoo.org> -argparse-1.1.ebuild:
|
||||
Remove old ebuilds. Requested by Arfrever
|
||||
|
||||
23 Jun 2011; Brent Baude <ranger@gentoo.org> argparse-1.2.1.ebuild:
|
||||
Marking argparse-1.2.1 ppc for bug 364727
|
||||
|
||||
29 May 2011; Raúl Porcel <armin76@gentoo.org> argparse-1.2.1.ebuild:
|
||||
alpha/ia64/sparc stable wrt #364727
|
||||
|
||||
23 May 2011; Thomas Kahle <tomka@gentoo.org> argparse-1.2.1.ebuild:
|
||||
x86 stable per bug 364727
|
||||
|
||||
17 May 2011; Jeroen Roovers <jer@gentoo.org> argparse-1.2.1.ebuild:
|
||||
Stable for HPPA (bug #364727).
|
||||
|
||||
15 May 2011; Markus Meier <maekke@gentoo.org> argparse-1.2.1.ebuild:
|
||||
arm stable, bug #364727
|
||||
|
||||
29 Apr 2011; Samuli Suominen <ssuominen@gentoo.org> argparse-1.2.1.ebuild:
|
||||
ppc64 stable wrt #364727
|
||||
|
||||
28 Apr 2011; Markos Chandras <hwoarang@gentoo.org> argparse-1.2.1.ebuild:
|
||||
Stable on amd64 wrt bug #364727
|
||||
|
||||
04 Apr 2011; Maxim (maksbotan) <kolmax94@gmail.com> argparse-1.2.1.ebuild:
|
||||
Added dev-python/setuptools to DEPEND, fixes bug #361901
|
||||
|
||||
*argparse-1.2.1 (03 Apr 2011)
|
||||
|
||||
03 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
|
||||
+argparse-1.2.1.ebuild:
|
||||
Version bump.
|
||||
|
||||
13 Feb 2011; Fabian Groffen <grobian@gentoo.org> argparse-1.1.ebuild:
|
||||
Marked ~sparc64-solaris
|
||||
|
||||
04 Dec 2010; Fabian Groffen <grobian@gentoo.org> argparse-1.1.ebuild:
|
||||
Marked ~m68k-mint, bug #347655
|
||||
|
||||
30 Sep 2010; Brent Baude <ranger@gentoo.org> argparse-1.1.ebuild:
|
||||
keyworded ~arch for ppc64, bug 330569
|
||||
|
||||
29 Sep 2010; Brent Baude <ranger@gentoo.org> argparse-1.1.ebuild:
|
||||
Marking argparse-1.1 ~ppc for bug 330569
|
||||
|
||||
24 Sep 2010; Mart Raudsepp <leio@gentoo.org> argparse-1.1.ebuild:
|
||||
Add ~mips wrt #330569
|
||||
|
||||
12 Sep 2010; Raúl Porcel <armin76@gentoo.org> argparse-1.1.ebuild:
|
||||
Add ~alpha/~arm/~ia64/~sparc wrt #330569
|
||||
|
||||
10 Aug 2010; Jeroen Roovers <jer@gentoo.org> argparse-1.1.ebuild:
|
||||
Marked ~hppa (bug #330569).
|
||||
|
||||
02 Aug 2010; Christian Faulhammer <fauli@gentoo.org> argparse-1.1.ebuild:
|
||||
add Prefix keywords for bug 330569
|
||||
|
||||
22 Apr 2010; Dirkjan Ochtman <djc@gentoo.org> -argparse-1.0.1.ebuild:
|
||||
Remove old version.
|
||||
|
||||
22 Apr 2010; Dirkjan Ochtman <djc@gentoo.org> argparse-1.1.ebuild:
|
||||
amd64 stable, bug 313141
|
||||
|
||||
13 Apr 2010; Christian Faulhammer <fauli@gentoo.org> argparse-1.1.ebuild:
|
||||
stable x86, bug 313141
|
||||
|
||||
15 Mar 2010; Sebastian Pipping <sping@gentoo.org> argparse-1.0.1.ebuild,
|
||||
argparse-1.1.ebuild:
|
||||
Add app-arch/unzip to build deps (bug #309375)
|
||||
|
||||
*argparse-1.1 (01 Mar 2010)
|
||||
|
||||
01 Mar 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
|
||||
+argparse-1.1.ebuild:
|
||||
Version bump.
|
||||
|
||||
02 Dec 2009; Markus Meier <maekke@gentoo.org> argparse-1.0.1.ebuild:
|
||||
amd64/x86 stable, bug #295222
|
||||
|
||||
04 Nov 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
|
||||
argparse-1.0.1.ebuild:
|
||||
Define src_test(). Update HOMEPAGE. Support Python 3.
|
||||
|
||||
*argparse-1.0.1 (20 Oct 2009)
|
||||
|
||||
20 Oct 2009; <djc@gentoo.org> +argparse-1.0.1.ebuild, +metadata.xml:
|
||||
Initial version of argparse (1.0.1).
|
@ -1,26 +0,0 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
DIST argparse-1.2.1.tar.gz 69297 SHA256 ddaf4b0a618335a32b6664d4ae038a1de8fbada3b25033f9021510ed2b3941a4 SHA512 1d965cce0ba88baabe9d8a12fd4780aff390f3efae1261990990e963116748ce109587303e59a7ae9c42893bfb1e9b5d380af49c54f8d20d0489b349445e4fd3 WHIRLPOOL 74dc4498c36af603a103ff36fe03d7a52acf7e2251eb3e20d4adb9db4c019a142c8af94647ac51dc8d74bc698d666ab9dd9814f10a247848cc13fe3c66d6f501
|
||||
EBUILD argparse-1.2.1-r1.ebuild 2035 SHA256 005b021ae1ec1f7e2134d2ee0e9637a8d2ef1cb01bc76811eb7880c474e11817 SHA512 efd3d93fd177a63532c26c5051f86a37a8a1df1ebc93f1eebef644b36f1482ab522d39167761f04d27dad0f1199fd34237da90986bb6af7b08b69002b3dfe47c WHIRLPOOL 52b1040a59c6a3612b864f288881ecb23ae6ae73b5513aa75d4950178d1de501860d006538aba45f74c08f17a3d8545231634e7272f2404399df7583f472284c
|
||||
EBUILD argparse-1.2.1-r2.ebuild 976 SHA256 8ba204910b7981e8b61eaa5e04e9e0c8d5cb6cbb5091f025a1d6fd1be444b73b SHA512 7a8c3c9f821b0a48d89249a19fba181a2c14d2ca3a4ed7b8cffe3353195e5be3c2976090b2870e73fbc23bc65e9dfa9e11ed084c7366b1362fdc15b82405115c WHIRLPOOL 67c3c495b540322a4935d40a69085f7b9e1606e169a397ef6862a3b7babcfb3342da48cf7e573c4d5deab27009e94e2755d91ac80dd5081ffad606edf319dd9c
|
||||
EBUILD argparse-1.2.1.ebuild 1020 SHA256 53eafe0c28ada3ed3679cf84d02af92058d35a5e6dbbfe3740fd5cbcc0f511bf SHA512 5f814106a9603876b5253700319a70b744a0527d3973bb4bdc520cac2850ed5b9517f710232f90aa71afe5dcc7356beb8d5a8e87b3020cc82ce0df639de5880a WHIRLPOOL 8cbe7d00e05909b731416fdbe7eee2b3970a39f42af9b9fad0323731cd19909a95c212ba2ecddca43b8fd7286c83cbf531781a06ef10d0e3de9fb2d9a36795fd
|
||||
MISC ChangeLog 7312 SHA256 23eeb531e2a8706dc41b7ca58aaaf7f6894ac01aa5c035fbfc67479d483c83ba SHA512 12c50a8ca32161bc6e8e8044c371ae7d25505bcd706cd5c78b425f6c86a18ad6e36344eec53fc24a1b6364493016571335864a39c9e6c726193149d7bee29647 WHIRLPOOL 68f1db445f2bea4bb503334529fbb49b687a371cb7b81c24502e9a52c7df63f73d07901a435e5c1d446cd5f043d7ea2ae75eabdf0afda0aa61919883be1d9b99
|
||||
MISC metadata.xml 238 SHA256 701d5333de88e46edf8714e046ea1966cd6796ef16140b0768d1897c60340ae0 SHA512 670ede1bcc8088e8bc65921260c51801cb528e76361a06584241a2127ad29a1cd2817e889a98e5f399bdd5d0b190461bd4354d62c969ae9c8e9e18bd1f58e94a WHIRLPOOL e47c5631683d6e0337f299211b26ee0d1552608708f96cf324a191e0a42df49ec311f89a4ab6a61c403515fa4fd9369a1a1f62d3bc43d20429bb64b177b2219d
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iQIcBAEBCgAGBQJRaEGpAAoJELp701BxlEWfMIYP/RfQNaQPSeY2Gh2bmqKzEKM1
|
||||
CrPXgrhxpVABUzgrYH3gY6wZIWKx62D8yW+yhhnx/wkj4ddWxWgf0ADIcFlkXHth
|
||||
/DXmGhBpoJ2/Jz6dyzufr3lHV5nfQygtOo58n8MOWNiHVeMT/ixlVaozQuZ0xZhk
|
||||
9LCqGFmZDKv++8o7JKSUuArJ+K9SiG9te6aThQ762zV0goHEJct+tE1PxTdhwdJf
|
||||
dfKi/NcIRmNuQyeKOHe6pcMMmioV2EcUtxZf6pIwe38upXrdClLrLZp4DtNt26SN
|
||||
2u2llPKP7wqFs7zZgsvgM4dYkGBJLWJZQdcejFVa1FyrKMbb0E3dxJY6hX87qDGo
|
||||
IosdAv5tHvSKN2bW33QoHO2bxqk+qHNSoIvddVrhIwYTPEUls0JZs5g7C/lumtOr
|
||||
PdzJ0jNbptgr83+QwuPUkLAIufSgg098MYyxL0ygL2COVnCVy7jaGB/LPUCS5fPP
|
||||
elrHsA42s2O0gpXG91tgvHOe28FTAuXppxF8rKmDBMqJYvuEaSVDXN029M19oQVt
|
||||
wfwHrQxRrUGzmHdPNuGW6I2bfEz4LDiO8pTbqIPBSiJDo9aPLcI51CP5tkQ19JEk
|
||||
ApieUg5XXONGjz0ZPATci4Ur5LzCbywmusKNz6YmhQ9GyI+kFYtoGWq8eaaqQg0P
|
||||
FseTVCCRJxf6fyRWP3Kg
|
||||
=IjnJ
|
||||
-----END PGP SIGNATURE-----
|
@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/argparse/argparse-1.2.1-r1.ebuild,v 1.15 2013/01/01 19:01:38 armin76 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT_REAL=(
|
||||
# actual targets
|
||||
python{2_5,2_6,3_1}
|
||||
)
|
||||
PYTHON_COMPAT=(
|
||||
${PYTHON_COMPAT_REAL[@]}
|
||||
# these versions provide built-in argparse
|
||||
# but we still list them to warn user to migrate
|
||||
python{2_7,3_2}
|
||||
)
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="An easy, declarative interface for creating command line tools"
|
||||
HOMEPAGE="http://code.google.com/p/argparse/ http://pypi.python.org/pypi/argparse"
|
||||
SRC_URI="http://argparse.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
pkg_pretend() {
|
||||
local x
|
||||
for x in ${PYTHON_COMPAT_REAL[@]}; do
|
||||
if use python_targets_${x}; then
|
||||
return
|
||||
fi
|
||||
done
|
||||
|
||||
ewarn 'You have installed this version of argparse only for Python'
|
||||
ewarn 'implementations which provide the argparse module already.'
|
||||
ewarn 'Most likely, this means that something in your system depends on'
|
||||
ewarn 'dev-python/argparse instead of virtual/python-argparse.'
|
||||
ewarn
|
||||
ewarn 'Please try running the following command or an equivalent one:'
|
||||
ewarn
|
||||
ewarn ' emerge --verbose --depclean dev-python/argparse'
|
||||
ewarn
|
||||
ewarn 'If your package manager refuses to uninstall the package due to'
|
||||
ewarn 'unsatisfied dependencies, please first try re-installing the listed'
|
||||
ewarn 'packages and running --depclean again. If that does not help, please'
|
||||
ewarn 'report a bug against the package, requesting its maintainer to fix'
|
||||
ewarn 'the dependency on argparse to use virtual/argparse.'
|
||||
}
|
||||
|
||||
python_test() {
|
||||
COLUMNS=80 PYTHONPATH="${BUILD_DIR}/lib" \
|
||||
"${PYTHON}" test/test_argparse.py
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/argparse/argparse-1.2.1-r2.ebuild,v 1.13 2013/04/12 17:20:01 ago Exp $
|
||||
|
||||
EAPI=5
|
||||
# Other implementations ship argparse.
|
||||
PYTHON_COMPAT=( python{2_5,2_6,3_1} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="An easy, declarative interface for creating command line tools"
|
||||
HOMEPAGE="http://code.google.com/p/argparse/ http://pypi.python.org/pypi/argparse"
|
||||
SRC_URI="http://argparse.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
COLUMNS=80 PYTHONPATH="${BUILD_DIR}/lib" \
|
||||
"${PYTHON}" test/test_argparse.py
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/argparse/argparse-1.2.1.ebuild,v 1.15 2012/08/05 14:08:38 ryao Exp $
|
||||
|
||||
EAPI="3"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Provides an easy, declarative interface for creating command line tools."
|
||||
HOMEPAGE="http://code.google.com/p/argparse/ http://pypi.python.org/pypi/argparse"
|
||||
SRC_URI="http://argparse.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools"
|
||||
RDEPEND=""
|
||||
|
||||
PYTHON_MODNAME="argparse.py"
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
COLUMNS=80 PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" test/test_argparse.py
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
<upstream>
|
||||
<remote-id type="google-code">argparse</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,6 +1,19 @@
|
||||
# ChangeLog for dev-python/dbus-python
|
||||
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/dbus-python/ChangeLog,v 1.136 2013/07/04 13:34:03 ago Exp $
|
||||
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/dbus-python/ChangeLog,v 1.140 2014/06/20 16:05:41 idella4 Exp $
|
||||
|
||||
20 Jun 2014; Ian Delaney <idella4@gentoo.org> dbus-python-1.2.0.ebuild:
|
||||
add py3.4 support
|
||||
|
||||
26 Apr 2014; Pacho Ramos <pacho@gentoo.org> dbus-python-1.2.0.ebuild:
|
||||
Adapt to latest pygobject don't providing python2.6 support
|
||||
|
||||
05 Jan 2014; Fabian Groffen <grobian@gentoo.org> dbus-python-1.2.0.ebuild:
|
||||
Marked ~m68k-mint, bug #494512
|
||||
|
||||
24 Aug 2013; Samuli Suominen <ssuominen@gentoo.org>
|
||||
-dbus-python-1.1.1-r1.ebuild:
|
||||
old
|
||||
|
||||
04 Jul 2013; Agostino Sarubbo <ago@gentoo.org> dbus-python-1.2.0.ebuild:
|
||||
Stable for ppc64, wrt bug #453086
|
||||
|
@ -1,26 +1,14 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
Hash: SHA256
|
||||
|
||||
DIST dbus-python-1.1.1.tar.gz 596476 SHA256 8917ca4fb8f4d693aee18d200cbad166b2c938dfb88c03bb4ab3d90a7c915e88 SHA512 6ac128594b616e6b1b523a9395d38752f241d14dc888616c5ec3622d49b9641fff8784cda3ab1941f49bb55df05f74ae72a88ec739a7688189e2feae84b855da WHIRLPOOL 8c87e07a1fb0bf12dbbf34b5f35c62d15f3310eae70e9ba7d1dd257e0fbc715e15519bc9d5ad31b7c001beed665efe6739b4e5c7e36c5d468adcc4f95f4ff1c8
|
||||
DIST dbus-python-1.2.0.tar.gz 602426 SHA256 e12c6c8b2bf3a9302f75166952cbe41d6b38c3441bbc6767dbd498942316c6df SHA512 013b23e08fa1ed43f53a756587fefbc9770f7c51e93510e555acbd77230b7200693419bba9a69680d790bbaf123f4a195afa38b3eee1143da950fee0b5130bce WHIRLPOOL 2b505646c21afd6238f32cda7aaf5f4b770d3c82b0d5c2c254f044729d6e06d3eab89cf816dbd22e96b8d8e1550297521dcb49fc90bb4825fdafd12d5beba5ee
|
||||
EBUILD dbus-python-1.1.1-r1.ebuild 2178 SHA256 724199cc88bd23168133d6f5f8feb1c4476ebeaecc757037a2698f47b75d66c6 SHA512 201c7d6e2fecbc2d9a3fd5fc1cb73963b6d8f1ad6bbff3e383620dce4d474aca8d2080a2018bb5bdc5234a6e2ed1d4550e7774fd35e966ab4324cf12e9cfab04 WHIRLPOOL ed8b0db1325c30fd7447fe4f33d23f79fe9edaeb23870a6527eb3377c48a9a497dcc73dcf352e091a99e605d70ce2380e2be7d71e0722f5610b2bcb404cef7e5
|
||||
EBUILD dbus-python-1.2.0.ebuild 2175 SHA256 1c022453c38f55387776f5f2f0a0c03ba78052eb2158c39ec91c4b185786096c SHA512 70a5e81172650519f209241dccb5c4e7593c2bad0fbb21b8100d500f2a8dab88a26c878f295ece0f63460e6d17bb7e3108603bb2876ce70090162f9be6d13478 WHIRLPOOL ae2c62aa8720607dc35888319270415702dcab25d43662d3f288c7ac71818584e4f15686cbb512f3f4dca6e2da1649271f71870b9bafeb4ec012589ee5e11d93
|
||||
MISC ChangeLog 16462 SHA256 cd2ab4f758e9307f878862c8bde76d8cba186ebb87ff7922802c6740f136820c SHA512 ea6d81567e612de97328b2e475d7ca92fc5788b9b70c00046ea43fbe3460eabfeef42b2dd043201271b541cb8b40d9be6a5352bdd3b07a87c1405f3255df91bc WHIRLPOOL a5429f7644eeebf711a5ca73466ef2e2271f9eab4fb74a71ec71dbb9e972afa55f95dba0c4fccfc73ef974eaecd6050dde3ec2fc15b75b3355f9717e2444bb5f
|
||||
EBUILD dbus-python-1.2.0.ebuild 2106 SHA256 b41e8f440b83e5b6987d06d6169dabeec17116304788590714c30a7b989ab310 SHA512 9fabd9a6fcfc2e58c40ae3b6b8f8fa285b63d957b1b318d8109f102ff881edc17b11cbacc3ae068b63db78bb94d3368388c9ecc9ec6c19fa370e54c2dd13902e WHIRLPOOL 2571eef354878ce4c690ecb0877bd9a159d3d45d297a31ae347cc59ee9a51a5537a22d3020867238beff43bf5c33b1bff3852fbc5a549aebea4e255a90c0a1ed
|
||||
MISC ChangeLog 16900 SHA256 57caf761df86156d075dbe6fa67c560e83485706a6d96634bdbef9c6adb7e0e8 SHA512 52e32f6143c018febf54cb14ed048122e8c4080e48802c4c577b716979720a6e9be4b43162c9667b96eaa6abf33e8a8fd8b398f503af5050aa4e2b381fe036bd WHIRLPOOL 097b37121584170ca652306cf937ad598eaaa54ae2c16ecdaed1c7a1288cfd782eb7c216a96f3cbea20973a428acae455cd774ef09b2f3f26eb7c95f588d8b53
|
||||
MISC metadata.xml 266 SHA256 e5ee15ce411096c6f86f26b190db892b26308354b657d47f8de58bde613bb7d2 SHA512 5a185487caa11dd87b5da3303fdabb75f973b69bb0050b050af22529f5ff9cc6ae3fa5d463b4b76a04671c9293f20a12bd2fd0efe30479a757d34c467b8f66ad WHIRLPOOL ce20e8c5a8562ef049a34069c2bce46be1b645d70a2cb5dd2c626a3352350bf269352029eaeee6b2adb9797e2326770fbb2eacbb4b123c201fb31a3da99f730d
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.20 (GNU/Linux)
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
|
||||
iQIcBAEBCgAGBQJR1XkWAAoJELp701BxlEWfxPIP/jYs1bZqw7hCZyVcaJXW1KAz
|
||||
9zJ7u/08CnOQYWQicv1k/1EpC5omNX1PK5WwG8d9SDhREk0cMmdvJSGKtQaU/sxz
|
||||
ht/yzCaP2S6B+/LcFkzfpnumnWNctY4hnK9ECEF06whB0BUjQcucziJkPk6RdRPR
|
||||
XtlEcBlaRBu9Ih+qmbO6LLjNeri+J+qbsbZWvMeeUDaCxPJ1N6zQXETzrIRvjZsy
|
||||
F+u9TSn4NopvvR29101ewsfNO4LgwnDBK3ViSmcWUI3uN4vyy4KE2yuVyazjFD7+
|
||||
BgQJ75up/A8PFuMndJxRYv8J0lxQbar1POywt+I4SdERdjnnAGQfdyczOg8ij40Z
|
||||
GwfMTxfEf+G0aEWFSVKLitpqa9e2xLXhEP/nEed4p69wcK/53se4U5ubq0pqreoA
|
||||
j2oDIs8H74NdINxeYty7/gljdqfrkr3aTduwGc11hv3kFlU03v+4L9oMD+qbrDfm
|
||||
TIT3FzKgoU9vyN0Z4aZnfR8qA/3fpWRuVHaCZEk+0ZR+olAievocgFF6DnVC+vSg
|
||||
YVtciXGCpHKV1WM879Wh5XOUiLOfHgx7qFEsGAu/ltegjOAHN+5RuBtecwAA/YHi
|
||||
kQBX5hKRiUAGm3owIOzyBZjZMZ5710c3i/PKET/td8ZGmXuHQAiYUwkcAFTJV0ap
|
||||
is/J+gUehtSAJRLjghBS
|
||||
=079o
|
||||
iEYEAREIAAYFAlOkWfAACgkQso7CE7gHKw11LgCgjEB2gMfYZbX6iG+243PvhM9p
|
||||
nzgAn2oPaSSAgE/qO683pYCiIKUD6850
|
||||
=t1dB
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,79 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/dbus-python/dbus-python-1.1.1-r1.ebuild,v 1.16 2013/04/10 19:49:43 ago Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
|
||||
inherit eutils python-r1
|
||||
|
||||
DESCRIPTION="Python bindings for the D-Bus messagebus"
|
||||
HOMEPAGE="http://www.freedesktop.org/wiki/Software/DBusBindings http://dbus.freedesktop.org/doc/dbus-python/"
|
||||
SRC_URI="http://dbus.freedesktop.org/releases/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
IUSE="doc examples test"
|
||||
# API docs generated with epydoc, which is python2-only
|
||||
REQUIRED_USE="doc? ( || ( python_targets_python2_6 python_targets_python2_7 ) )"
|
||||
|
||||
RDEPEND=">=dev-libs/dbus-glib-0.100:=
|
||||
>=sys-apps/dbus-1.6:=
|
||||
${PYTHON_DEPS}"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
dev-python/docutils[python_targets_python2_6?,python_targets_python2_7?]
|
||||
=dev-python/epydoc-3*[python_targets_python2_6?,python_targets_python2_7?] )
|
||||
test? ( dev-python/pygobject:3[${PYTHON_USEDEP}] )"
|
||||
|
||||
src_prepare() {
|
||||
python_copy_sources
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
configuring() {
|
||||
# epydoc is python2-only, bug #447642
|
||||
local apidocs=--disable-api-docs
|
||||
[[ ${EPYTHON/.*} = "python2" ]] && apidocs=$(use_enable doc api-docs)
|
||||
|
||||
econf \
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF} \
|
||||
--disable-html-docs \
|
||||
${apidocs} \
|
||||
PYTHON_LIBS="$(python-config --ldflags)"
|
||||
# configure assumes that ${PYTHON}-config executable exists :/
|
||||
}
|
||||
python_foreach_impl run_in_build_dir configuring
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl run_in_build_dir default
|
||||
}
|
||||
|
||||
src_test() {
|
||||
unset DBUS_SESSION_BUS_ADDRESS
|
||||
python_foreach_impl run_in_build_dir default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installing() {
|
||||
default
|
||||
[[ ${EPYTHON/.*} = "python2" ]] && use doc && dohtml -r api/*
|
||||
}
|
||||
python_foreach_impl run_in_build_dir installing
|
||||
prune_libtool_files --modules
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r examples
|
||||
fi
|
||||
}
|
||||
|
||||
run_in_build_dir() {
|
||||
pushd "${BUILD_DIR}" > /dev/null || die
|
||||
"$@"
|
||||
popd > /dev/null
|
||||
}
|
@ -1,10 +1,10 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/dbus-python/dbus-python-1.2.0.ebuild,v 1.12 2013/07/04 13:34:03 ago Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/dbus-python/dbus-python-1.2.0.ebuild,v 1.15 2014/06/20 16:05:41 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} )
|
||||
|
||||
inherit eutils python-r1
|
||||
|
||||
@ -14,10 +14,10 @@ SRC_URI="http://dbus.freedesktop.org/releases/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~m68k-mint"
|
||||
IUSE="doc examples test"
|
||||
# API docs generated with epydoc, which is python2-only
|
||||
REQUIRED_USE="doc? ( || ( python_targets_python2_6 python_targets_python2_7 ) )"
|
||||
REQUIRED_USE="doc? ( python_targets_python2_7 )"
|
||||
|
||||
RDEPEND=">=dev-libs/dbus-glib-0.100:=
|
||||
>=sys-apps/dbus-1.6:=
|
||||
@ -25,8 +25,8 @@ RDEPEND=">=dev-libs/dbus-glib-0.100:=
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
dev-python/docutils[python_targets_python2_6?,python_targets_python2_7?]
|
||||
=dev-python/epydoc-3*[python_targets_python2_6?,python_targets_python2_7?] )
|
||||
dev-python/docutils[python_targets_python2_7?]
|
||||
=dev-python/epydoc-3*[python_targets_python2_7?] )
|
||||
test? ( dev-python/pygobject:3[${PYTHON_USEDEP}] )"
|
||||
|
||||
src_prepare() {
|
||||
|
@ -1,6 +1,119 @@
|
||||
# ChangeLog for dev-python/logilab-common
|
||||
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/ChangeLog,v 1.118 2013/02/02 22:29:16 ago Exp $
|
||||
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/ChangeLog,v 1.144 2014/07/06 12:44:25 mgorny Exp $
|
||||
|
||||
06 Jul 2014; Michał Górny <mgorny@gentoo.org> logilab-common-0.61.0.ebuild:
|
||||
Clean up obsolete dependencies on virtual/python-argparse and virtual/python-
|
||||
unittest2 (those packages were only required for <=python-2.6).
|
||||
|
||||
04 Jun 2014; Ian Delaney <idella4@gentoo.org> logilab-common-0.61.0.ebuild:
|
||||
Fix epydoc doc build, fixes Bug #512112
|
||||
|
||||
08 May 2014; Ian Delaney <idella4@gentoo.org> logilab-common-0.61.0.ebuild:
|
||||
drop py2.6 pypy2_0 add py3.4 support, minor tidy, upgrade test phase
|
||||
|
||||
19 Apr 2014; Michał Górny <mgorny@gentoo.org> logilab-common-0.61.0.ebuild:
|
||||
Use ${PYTHON_USEDEP} substitution support added to python_gen_cond_dep().
|
||||
|
||||
07 Apr 2014; Ian Delaney <idella4@gentoo.org>
|
||||
-files/logilab-common-0.59.0-syntax.patch,
|
||||
-files/logilab-common-0.59.0-utf8-test.patch,
|
||||
-files/logilab-common-sec-CVE-2014-1838-9.patch,
|
||||
-logilab-common-0.58.1.ebuild, -logilab-common-0.60.1-r1.ebuild:
|
||||
rm old ebuilds & patches wrt sec bug #499872
|
||||
|
||||
05 Apr 2014; Agostino Sarubbo <ago@gentoo.org> logilab-common-0.61.0.ebuild:
|
||||
Stable for ppc, wrt bug #499872
|
||||
|
||||
05 Apr 2014; Agostino Sarubbo <ago@gentoo.org> logilab-common-0.61.0.ebuild:
|
||||
Stable for x86, wrt bug #499872
|
||||
|
||||
05 Apr 2014; Agostino Sarubbo <ago@gentoo.org> logilab-common-0.61.0.ebuild:
|
||||
Stable for amd64, wrt bug #499872
|
||||
|
||||
31 Mar 2014; Michał Górny <mgorny@gentoo.org> logilab-common-0.60.1-r1.ebuild,
|
||||
logilab-common-0.61.0.ebuild:
|
||||
Add support for the new PyPy slotting.
|
||||
|
||||
*logilab-common-0.60.1-r1 (27 Mar 2014)
|
||||
|
||||
27 Mar 2014; Ian Delaney <idella4@gentoo.org>
|
||||
+files/logilab-common-sec-CVE-2014-1838-9.patch,
|
||||
+logilab-common-0.60.1-r1.ebuild, -logilab-common-0.59.1.ebuild,
|
||||
-logilab-common-0.60.0.ebuild, -logilab-common-0.60.1.ebuild,
|
||||
logilab-common-0.61.0.ebuild:
|
||||
revbump; sec fix wrt sec Bug #499872, rm old unstable versions
|
||||
|
||||
*logilab-common-0.61.0 (12 Feb 2014)
|
||||
|
||||
12 Feb 2014; Ian Delaney <idella4@gentoo.org> +logilab-common-0.61.0.ebuild:
|
||||
bump; add py3.3 support
|
||||
|
||||
*logilab-common-0.60.1 (08 Jan 2014)
|
||||
|
||||
08 Jan 2014; Patrick Lauer <patrick@gentoo.org> +logilab-common-0.60.1.ebuild:
|
||||
Bump
|
||||
|
||||
02 Dec 2013; Michał Górny <mgorny@gentoo.org> logilab-common-0.59.1.ebuild,
|
||||
logilab-common-0.60.0.ebuild:
|
||||
Fix test invocation to write to TEST_DIR rather than BUILD_DIR.
|
||||
|
||||
05 Sep 2013; Michał Górny <mgorny@gentoo.org> logilab-common-0.59.1.ebuild,
|
||||
logilab-common-0.60.0.ebuild:
|
||||
Clean up PYTHON_COMPAT from old implementations.
|
||||
|
||||
02 Sep 2013; Mike Gilbert <floppym@gentoo.org>
|
||||
+files/logilab-common-0.60.0-skip-doctest.patch, logilab-common-0.60.0.ebuild:
|
||||
Fix deps and skip a faulty doctest.
|
||||
|
||||
26 Aug 2013; Dirkjan Ochtman <djc@gentoo.org> -logilab-common-0.55.2.ebuild,
|
||||
-logilab-common-0.57.1.ebuild, -logilab-common-0.57.2.ebuild,
|
||||
-logilab-common-0.58.1-r1.ebuild, -logilab-common-0.58.3-r1.ebuild,
|
||||
-logilab-common-0.58.3.ebuild, -logilab-common-0.59.0.ebuild:
|
||||
Clean out old versions.
|
||||
|
||||
*logilab-common-0.60.0 (10 Aug 2013)
|
||||
|
||||
10 Aug 2013; Patrick Lauer <patrick@gentoo.org> +logilab-common-0.60.0.ebuild:
|
||||
Bump
|
||||
|
||||
26 Jun 2013; Patrick McLean <chutz@gentoo.org> logilab-common-0.59.1.ebuild:
|
||||
Restore ~arm keyword dropped in 0.59.0 bump.
|
||||
|
||||
25 Jun 2013; Mike Gilbert <floppym@gentoo.org>
|
||||
+files/logilab-common-0.59.1-zipsafe.patch, logilab-common-0.59.1.ebuild:
|
||||
Apply 'zipsafe' patch to make test install behave consistently. Drop python3.3
|
||||
support, bug 449276.
|
||||
|
||||
18 Jun 2013; Ian Delaney <idella4@gentoo.org> logilab-common-0.59.1.ebuild:
|
||||
add py3.3 support
|
||||
|
||||
*logilab-common-0.59.1 (22 Apr 2013)
|
||||
|
||||
22 Apr 2013; Patrick Lauer <patrick@gentoo.org> +logilab-common-0.59.1.ebuild:
|
||||
Bump
|
||||
|
||||
10 Feb 2013; Michał Górny <mgorny@gentoo.org> logilab-common-0.59.0.ebuild:
|
||||
Use distutils_install_for_testing().
|
||||
|
||||
10 Feb 2013; Ian Delaney <idella4@gentoo.org>
|
||||
+logilab-common-0.59.0-utf8-test.patch:
|
||||
Reinstated patch to fix locale/utf8 in test, py3 specific, cited and tested
|
||||
in Bug #454402
|
||||
|
||||
09 Feb 2013; Mike Gilbert <floppym@gentoo.org>
|
||||
-files/logilab-common-0.59.0-utf8-test.patch, logilab-common-0.59.0.ebuild:
|
||||
Revert utf8 patch as it breaks python2.
|
||||
|
||||
09 Feb 2013; Ian Delaney <idella4@gentoo.org>
|
||||
+files/logilab-common-0.59.0-utf8-test.patch, logilab-common-0.59.0.ebuild:
|
||||
Add utf8-test.patch to fix locale/utf8 issue in unittest_umessage.py, no bug
|
||||
made
|
||||
|
||||
09 Feb 2013; Ian Delaney <idella4@gentoo.org>
|
||||
+files/logilab-common-0.59.0-syntax.patch, logilab-common-0.59.0.ebuild:
|
||||
Add -syntax.patch to correct minor syntax inconsistency in 1 module wrt Bug
|
||||
#454402 causing a test fail in py3.2, filed upstream
|
||||
|
||||
02 Feb 2013; Agostino Sarubbo <ago@gentoo.org>
|
||||
logilab-common-0.58.3-r1.ebuild:
|
||||
|
@ -1,16 +1,28 @@
|
||||
DIST logilab-common-0.55.2.tar.gz 182524 SHA256 3242039f4e0732b510e03ef638f1ea43e65ddb7154164a9bda02514ee514f99a SHA512 bbc5b3ee84e53a20ddd04be9703022ae73b163537c9a9d812ec4c49fdfdfa9758c3a45e065cb8fb693cca2deb1dfbd032493923ab3000f59d88945139f95719a WHIRLPOOL 8d5f6c62ebf5e5ced1902f4dfed457b94aa879b92ceb854ed715b0d2975a82ebefb38f64bf4f1ff6bf7a57ae63ec4a56f867782d1e0739ed1ee35474e3490b92
|
||||
DIST logilab-common-0.57.1.tar.gz 181975 SHA256 102c4860cad1ffaee98e6746ad89de4e5c40b63a569d4e131379b84c4907ed0a SHA512 84d4be823fbbff0944a6f9162dc365feea6e6116d43c2c5a65726a4e7347c771fbecaf9a4d8d81c3cdd7f79ab9a6697ab1def0bf1f4219cb947c8b1a7012c023 WHIRLPOOL 95914ed46451447f2b023fc4b86bc8c27bc2d9a99c2b7e73da6ea704877a8ed761c56cf4562afccffb6d6b7da0853cc5575922c790de7f81438a0c6c343286b0
|
||||
DIST logilab-common-0.57.2.tar.gz 182851 SHA256 feb56645bf944cbbb4d193e77d5780463084c0d2b50370885054f9144e0da86e SHA512 cbc4f96bced643b8ad0d49d06124bce68bcfbff04195c71b6ab9057dfc836f9b509f31d97c4ff35b2ccaba98a01dc6de095bc125ed37c20cbc378cb5d8d35646 WHIRLPOOL 13d4090e829d575ba438de260f014c5352bc5745f96209d2df54e580c10daf7db9ec5f1afb0d406614844b9fba347792b6fe7e5d66705b53e747336c54d05296
|
||||
DIST logilab-common-0.58.1.tar.gz 193990 SHA256 2fadd2fa938fd033c8a7e126cfe835f6b790de918b0f0d2c631b49962e9e7ff9 SHA512 b70bdf2b00ac75c34e74b341886008b0069c96f38308af62c093756fdbb218bbbcbb6b95827099f2c0da2c43744eb9029f3dc546947bfc7e0b32a9ed8df6dc7b WHIRLPOOL f059b457d286db7d3b71b4f6e1f9a659a151a8930ff65565a617345151e467e587aae2524846b24190437bfc634523210868dd160cf65db674cd03606ae8e5fb
|
||||
DIST logilab-common-0.58.3.tar.gz 194801 SHA256 dc4a11c5a50303ccd86cf8d04b30c7fbeaa831f83c0e7c46b164dd2329f87323 SHA512 3db729a93beb55de9614afe1d87c0092967a72be6e5c3dd94780c73f6c70a450b5e1fd49fc8c49f14787472a1209c0d078bd404c77b2fc34c323245569078eff WHIRLPOOL 879df9139631ff0416fa90e9d0b913cd351027f063da5cb00b638a54bdc1cef405b8a5e8c02c1dda67b38ad18be582ab1bb39292d2f8c61a07120b41d6272894
|
||||
DIST logilab-common-0.59.0.tar.gz 197388 SHA256 df520c849a416cf462dc47e567e1a563fdc6507ac24b425d839066f42ba1d806 SHA512 eb981e6e8cebd7008822ef90ec740e208723d937533e645c18b7092bb3d643cf21e8fcf3ed87f950853d3fc34532ce68d153553ffcb25418720c1443249a5b9f WHIRLPOOL 4916ea216fd56da5c3184805b1a70f2f2b8e125484742e586577533929835a133e2381f4bfa93e56a6366509e69dcdd206d40a7bdfd35598be43f1da97e859b2
|
||||
EBUILD logilab-common-0.55.2.ebuild 2098 SHA256 5cef38c250d071d710232d1f68053f996926f2bdfe30355396bd631bed6f7321 SHA512 ea540024e52c442240bb31f17a97c959250960a72d853703eab55d2e278877772d0e8c3539bf46df98b8ae2035be092fc0d6abe3946c82f1e6aefc05b66ebd20 WHIRLPOOL 8b3f0a1076187c6d6ada3fabbb67ef2a18c777c51655c3fcfc2944cc2a3dbe980d345b9bdde40b2018ca0772e4e4b282db440d06824bbdea4e0f60c5fb324ce2
|
||||
EBUILD logilab-common-0.57.1.ebuild 2101 SHA256 a387012d4bb9a2c0e9a1f99604d4ec571738be7a6993abd82e3eb10c7ba04fa6 SHA512 dcbf2271e74b04726cb99cc7d42b2bb98d46d1f7d6c074d92bce3ae94f0b75fdc873f5208be8dc83159c0cae3868ba2090ba068b4a2e46da486db30d28569e90 WHIRLPOOL 0c8480b69fa6ad272e7769d3eadbbb15064375b922d30f75089b263ff51d780d386297845991ab6ca38f0c6d10a525a520cda11f47e904653fe60a873c1e9eaa
|
||||
EBUILD logilab-common-0.57.2.ebuild 2101 SHA256 67efe769e77a969100fd9170389b507def1959ae22b548e50240d472f0eff5d3 SHA512 942882bf2b545b1dc8d24f8541262f61ef6d4c3a162c12b3975018cff9a071d0fdd40c46d8c97776a5cfcecfa524f6e90cbd24dbcc4a2ffb0763d1c891d8dac6 WHIRLPOOL fb07388a337ece624e5bc43fee12863798ea1052b17c729ea1693aa3085e3f1556d36e81957767b278f6cadef8294cd473accf331a34670a96aa1561af2bbf42
|
||||
EBUILD logilab-common-0.58.1-r1.ebuild 2654 SHA256 e7f56d5e5ebdd4a654a11e53a4818771e8eca8c540df01157a3feb44e412cea8 SHA512 d5dd104580e14cfbb1302d8e75433feca527d97c2d346bbbf6333dd80e78ce1366859d02ee17316daa188f60805146102b7a005e95e80d5bfb43c038a757ab75 WHIRLPOOL 73926dfe9b85e166076ea363a0fcb07c27d7248b25bcd514f4fd78f61c95314c3ee1b6ad5b98be494f72c3a2d487bcc9fb13aa88fb55d862d730da8327080243
|
||||
EBUILD logilab-common-0.58.1.ebuild 2099 SHA256 4a117044779e7de41aa23b420c05f42ae64c8cfd593473897f8ff8f4d2ee1d9b SHA512 ea3b1c25c7dcb62859209f3b93374a58a7f84d502ce72fb22753099ad0295919af4ec45f5f779c7feb152b38669016c67ac11fa6a38c63cf1482b697dc6dbfde WHIRLPOOL 64435bf497d7bd92e0a59c34fb3809f4339e176179a830a044aad007b0e20018d110a4d31a8c2c18185cafea76fbcd77b626274f01c3deffb8a013b3cb744f7a
|
||||
EBUILD logilab-common-0.58.3-r1.ebuild 2639 SHA256 2f4a816d5d2842c8a1b58dc899f6a9bcc4bb5f1836dcc7438af0f825cecb8bbd SHA512 1ed2258213a04a216f8c5c2a095e39eeaa5bdd5afd5152a6cdfb42f20c1ceb9d1a4e30d99728fc8391def76021d493950bb80acc5e049ebda37c2e9e9f7b7489 WHIRLPOOL ca936c0cfc1cf633e29e2204a97b98eb8e047f65e11a9819d6e6cbc3f5ed1123116d58c6c86c6d8f02f7bc3d66f3d83d48f7baaec49c7af387d7568c4015eae3
|
||||
EBUILD logilab-common-0.58.3.ebuild 2651 SHA256 25b8be1c03f29cff9f2f53dafa38972db5b639e5de0f500593760eb998cf4ea5 SHA512 f1cef916c5e23768e198434c6169912b0870f4291aeb593367ff03e99712a556a0c1bd47738250a9dcf9ec56f2e5568c776361124595e58f8c2dc9d7ec15855f WHIRLPOOL a63d479dd6e9f052a7f9ecd884ba8a3c34610c9f179513b8eb331a972a639543dde5aaec982d4b5053c5c8b9573b9e8466897e063f64a329f721d1c13148eb9a
|
||||
EBUILD logilab-common-0.59.0.ebuild 2630 SHA256 64ade598e79459154ed32bbd252082381200d3b4544c91f6ea4356bd0fbadba6 SHA512 4b275e8a8ed156e79e8df59f32700d554792250781b1cbebb3f9bf733343619d62bec85a4aeb5f6e319b382cb59a88f55aff8f2c107d9d0e07b8d181da870d33 WHIRLPOOL 4654fcdf0e7ef13071080194bd0ab33b23ea46d85b1e5c171c0506be16dcdda99949017195ab02199e25dac133ef21c07788719789ec372ecadc8f814073d1a3
|
||||
MISC ChangeLog 19042 SHA256 e54d5efbb321041e88e1b2a16815290b8e78bba64453878150939e36c63c00f5 SHA512 628d11273df5a22b93ed526c5ce810e1907fa03d8f9cf5eb90d10f274ec9b86c9ffe4bd3cad6e1e752bfe326708aee5ea753de186244f623f41e90b03b84a1a9 WHIRLPOOL b98c27d07c29fbc656736de08b5ae0dc1bac47430351c3f767061b28da05dd32fab171ed4cbfd6a5b43783848f5cfe0936258c9354e53db2a571899040236e57
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX logilab-common-0.59.1-zipsafe.patch 398 SHA256 a589b3107bbabc18f14d69410ba6a5f0affc8a1f373825cb4e7603ee4a215386 SHA512 d97177abe8deb3af46abf586cb034a2d0d16e924b2419ada49ab097acd9bb8820aec41b81dc5a0cd6a36f02849638a221b3e71ada077b3bd256fc9677e2bac57 WHIRLPOOL 8819196d91dfc6893ecef141a71b48425df837d8ca495da1ed9f70ea3a6f39fd673f29e0fe1da19573498bfe716b7cea64336c044dd067a4465bb947274acd37
|
||||
AUX logilab-common-0.60.0-skip-doctest.patch 313 SHA256 bfa9b4a9e6beb7e681ca9a6efd3b66e81e69bc8bcc6e5aa6acec47a00eb353a4 SHA512 74135bd0dc609244bd746abe75e2bcf427c38eff195cc25790b0cce478c71ff30b59291f5b2e7631d901a776aded1decfad30e5b63bbe13ad0f13a0a19592331 WHIRLPOOL 2e4f9b1481c7d1188e8bb895013d2e9b2dd4b31102ad65a198989d12e217a2520a865ee4ab2aea3a55fea65bc8c3d23abfca48af5c39e8d836f174363823521b
|
||||
DIST logilab-common-0.61.0.tar.gz 199322 SHA256 80fba5ba4908983580a0003fee0c12c270b379e2a21038b609ce8eda4dd3cee7 SHA512 2229fcc8549e9adc87a7d6a47b3e966a16b61ae78a2253ea314d72d180a0cc7eae0fc444aefb3bf00995ead902eecf9fcabb7f494dafbdde9c7fdded3c4f35b1 WHIRLPOOL 942e1d2216ba9b09371fc77fd9e6f4463da260d174d2e0a0fd083adf4181ee9ce5a77845468b60aa85a869b90755b6668afe3a1274c21a77f0b40d0188d3ff5e
|
||||
EBUILD logilab-common-0.61.0.ebuild 3249 SHA256 1d7ca95d1f287c779d843b071951659745b29b15aa1ca2d2cbf9cd3ad1aca7be SHA512 530f18a61e4071ccb5bf1d5633f84b93bb1740112ef92c3ac2999e3b46ffc01d6ce484cacf6a6abf1624f97ad7765a6b5a4f8ed2828b024ab50fdc522ac960c5 WHIRLPOOL ac34da3c669a1ccfd15bb44f14dc36579df56db0af38c7e8401d1c6d9f7f113a63652651005ae88e3f417e8942a5f8c785b327589693aa5de6e2c15ff2c512de
|
||||
MISC ChangeLog 23620 SHA256 2da3f915cc192e91b875a69d1b10060ffbcb111e1c078d23ddf20f1f0ca4b07b SHA512 75d0feddc59d18bd4e5ef3654f8f60b7255cfc5c6d72d200360d2d30ee4c3375ca36de5203e852582f324be1490da16c65c159805d1aab5d8738e45f196b5749 WHIRLPOOL 6a1380c10cf2c25174112a63e88ba3d0a5c0acb2976175f0c962679c04b09dd6f49a56e0c283d3c9b31211549f062d7d08449631b56e52f0eefe170cd8ff30e9
|
||||
MISC metadata.xml 237 SHA256 523ae42d51ae087b615a63e6b30e3c6c1d3910f2ccc0c03685d6939756660c16 SHA512 74f7a5fc9ffe80a474f05ed5ab7fe94511ea85f65325d3f16c5cb9af5b072b9aaab5ddf99464e34d12a47dd4861a76e16486fc8815a502036530ed74c73047db WHIRLPOOL d95ffbf06f4021d81c7b5f17bc1c240e47db7a3344526c053ae504d8442658d93ffc13d9f89e91991d6327fc92b31bd9499a9ec3f57830dd9834ca3b349b1e1f
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2
|
||||
|
||||
iQJ8BAEBCABmBQJTuUSuXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
|
||||
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC
|
||||
MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOnGkP/2DKviW7tq598wb2F6QtHL+0
|
||||
qTe/h2yAhRbN5YtNmDPTF6DQzbSsnfFuHPPCFIoKUYzRUFGmQ6f071BIPEtqVxXY
|
||||
uDvZr1lAc4bNgBh/V5vJqBK0jrcFzB96WNET5R328maO24MydcSVLRJOefjf79E7
|
||||
vEK2Drc9k/01TBBD06ZpgPsCji3NaAexWMJMvqjENujONdHcyvQEvq2UiazAw74c
|
||||
inAejx4bYcG9SP2lEeqwAMG74CE2B/uiyBrvdHrsmQCcl9hmnt5sH7diKzSyJQBN
|
||||
USEDKcabiewPhhb7EN3sZEzbbpLptJ3Ug5Bo3IHWZOL00AOCji1J0YiGglSmqNqU
|
||||
xajK5rI1Gk/2c5TkzLsdcPmjTSU3bSqO+cFHbJTDrUvpymL+gF07OasclBlCb+4+
|
||||
QR5DloFz4NTTMR6eeD2xFAZKLhjdcld7LRY2JW6aV7uAPxKA34CGXCts9MSBKsGf
|
||||
bRco0o4OqKZNxHppckPNO6ZWZHGdA9kn9AF+bn0AbOoZbXclUz26DRzq/yecOEgN
|
||||
+o886tarDPiMKlAX+DJn1LRJksnX+LR1Gw8UIQMRTk1/Q+kYT1dQdy7QL9a3ECdE
|
||||
8WkzU0XhNO3DbLFTiX/mQX2kEQ2Q3MKPQSZMFW2PoAhP+LSXseqitL4CJz47t6gS
|
||||
7xTYXTvCaU/QOXAaNNEu
|
||||
=qIgz
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,40 +0,0 @@
|
||||
http://hg.logilab.org/logilab/common/rev/2029eb2dd071
|
||||
|
||||
--- optparser.py
|
||||
+++ optparser.py
|
||||
@@ -46,11 +46,11 @@
|
||||
self.min_args, self.max_args = 0, 1
|
||||
|
||||
def add_command(self, name, mod_or_funcs, help=''):
|
||||
- """name of the command
|
||||
- name of module or tuple of functions (run, add_options)
|
||||
- """
|
||||
+ """name of the command, name of module or tuple of functions
|
||||
+ (run, add_options)
|
||||
+ """
|
||||
assert isinstance(mod_or_funcs, str) or isinstance(mod_or_funcs, tuple), \
|
||||
- "mod_or_funcs has to be a module name or a tuple of functions"
|
||||
+ "mod_or_funcs has to be a module name or a tuple of functions"
|
||||
self._commands[name] = (mod_or_funcs, help)
|
||||
|
||||
def print_main_help(self):
|
||||
@@ -64,7 +64,7 @@
|
||||
self.print_main_help()
|
||||
sys.exit(1)
|
||||
cmd = args[0]
|
||||
- args = args[1:]
|
||||
+ args = args[1:]
|
||||
if cmd not in self._commands:
|
||||
if cmd in ('-h', '--help'):
|
||||
self.print_main_help()
|
||||
@@ -79,8 +79,8 @@
|
||||
self.description = help
|
||||
if isinstance(mod_or_f, str):
|
||||
exec 'from %s import run, add_options' % mod_or_f
|
||||
- else:
|
||||
- run, add_options = mod_or_f
|
||||
+ else:
|
||||
+ run, add_options = mod_or_f
|
||||
add_options(self)
|
||||
(options, args) = self.parse_args(args)
|
||||
if not (self.min_args <= len(args) <= self.max_args):
|
@ -0,0 +1,13 @@
|
||||
Make sure setuptools does not create a zip file in python_test; this is buggy
|
||||
and causes tests to fail.
|
||||
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -179,6 +179,7 @@
|
||||
ext_modules = ext_modules,
|
||||
cmdclass = {'install_lib': MyInstallLib,
|
||||
'build_py': MyBuildPy},
|
||||
+ zip_safe = False,
|
||||
**kwargs
|
||||
)
|
||||
|
@ -0,0 +1,13 @@
|
||||
http://www.logilab.org/ticket/174440
|
||||
diff --git a/textutils.py b/textutils.py
|
||||
--- a/textutils.py
|
||||
+++ b/textutils.py
|
||||
@@ -287,7 +287,7 @@
|
||||
>>> text_to_dict('''multiple=1
|
||||
... multiple= 2
|
||||
... single =3
|
||||
- ... ''')
|
||||
+ ... ''') # doctest: +SKIP
|
||||
{'single': '3', 'multiple': ['1', '2']}
|
||||
|
||||
"""
|
@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/logilab-common-0.55.2.ebuild,v 1.8 2013/01/06 18:57:00 mgorny Exp $
|
||||
|
||||
EAPI="3"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Useful miscellaneous modules used by Logilab projects"
|
||||
HOMEPAGE="http://www.logilab.org/project/logilab-common http://pypi.python.org/pypi/logilab-common"
|
||||
SRC_URI="ftp://ftp.logilab.org/pub/common/${P}.tar.gz mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ia64 ppc ~ppc64 ~s390 ~sparc x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="test"
|
||||
|
||||
# dev-python/unittest2 is not required with Python >=3.2.
|
||||
RDEPEND="dev-python/setuptools
|
||||
virtual/python-unittest2"
|
||||
# Tests using dev-python/psycopg are skipped when dev-python/psycopg isn't installed.
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/egenix-mx-base
|
||||
!dev-python/psycopg[-mxdatetime]
|
||||
)"
|
||||
|
||||
PYTHON_MODNAME="logilab"
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
# Install temporarily.
|
||||
local tpath="${T}/test-${PYTHON_ABI}"
|
||||
local spath="${tpath}${EPREFIX}$(python_get_sitedir)"
|
||||
|
||||
"$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" install --root="${tpath}" || die "Installation for tests failed with $(python_get_implementation) $(python_get_version)"
|
||||
|
||||
# pytest uses tests placed relatively to the current directory.
|
||||
pushd "${spath}" > /dev/null || return 1
|
||||
if [[ "${PYTHON_ABI}" == 3.* ]]; then
|
||||
# Support for Python 3 is experimental. Some tests are known to fail.
|
||||
PYTHONPATH="${spath}" "$(PYTHON)" "${tpath}${EPREFIX}/usr/bin/pytest" -v
|
||||
else
|
||||
PYTHONPATH="${spath}" "$(PYTHON)" "${tpath}${EPREFIX}/usr/bin/pytest" -v || return 1
|
||||
fi
|
||||
popd > /dev/null || return 1
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
python_generate_wrapper_scripts -E -f -q "${ED}usr/bin/pytest"
|
||||
|
||||
doman doc/pytest.1 || die "doman failed"
|
||||
|
||||
delete_tests() {
|
||||
rm -fr "${ED}$(python_get_sitedir)/${PN/-//}/test"
|
||||
}
|
||||
python_execute_function -q delete_tests
|
||||
}
|
@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/logilab-common-0.57.1.ebuild,v 1.5 2013/01/06 18:57:00 mgorny Exp $
|
||||
|
||||
EAPI="3"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Useful miscellaneous modules used by Logilab projects"
|
||||
HOMEPAGE="http://www.logilab.org/project/logilab-common http://pypi.python.org/pypi/logilab-common"
|
||||
SRC_URI="ftp://ftp.logilab.org/pub/common/${P}.tar.gz mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="test"
|
||||
|
||||
# dev-python/unittest2 is not required with Python >=3.2.
|
||||
RDEPEND="dev-python/setuptools
|
||||
virtual/python-unittest2"
|
||||
# Tests using dev-python/psycopg are skipped when dev-python/psycopg isn't installed.
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/egenix-mx-base
|
||||
!dev-python/psycopg[-mxdatetime]
|
||||
)"
|
||||
|
||||
PYTHON_MODNAME="logilab"
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
# Install temporarily.
|
||||
local tpath="${T}/test-${PYTHON_ABI}"
|
||||
local spath="${tpath}${EPREFIX}$(python_get_sitedir)"
|
||||
|
||||
"$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" install --root="${tpath}" || die "Installation for tests failed with $(python_get_implementation) $(python_get_version)"
|
||||
|
||||
# pytest uses tests placed relatively to the current directory.
|
||||
pushd "${spath}" > /dev/null || return 1
|
||||
if [[ "${PYTHON_ABI}" == 3.* ]]; then
|
||||
# Support for Python 3 is experimental. Some tests are known to fail.
|
||||
PYTHONPATH="${spath}" "$(PYTHON)" "${tpath}${EPREFIX}/usr/bin/pytest" -v
|
||||
else
|
||||
PYTHONPATH="${spath}" "$(PYTHON)" "${tpath}${EPREFIX}/usr/bin/pytest" -v || return 1
|
||||
fi
|
||||
popd > /dev/null || return 1
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
python_generate_wrapper_scripts -E -f -q "${ED}usr/bin/pytest"
|
||||
|
||||
doman doc/pytest.1 || die "doman failed"
|
||||
|
||||
delete_tests() {
|
||||
rm -fr "${ED}$(python_get_sitedir)/${PN/-//}/test"
|
||||
}
|
||||
python_execute_function -q delete_tests
|
||||
}
|
@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/logilab-common-0.57.2.ebuild,v 1.3 2013/01/06 18:57:00 mgorny Exp $
|
||||
|
||||
EAPI="3"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Useful miscellaneous modules used by Logilab projects"
|
||||
HOMEPAGE="http://www.logilab.org/project/logilab-common http://pypi.python.org/pypi/logilab-common"
|
||||
SRC_URI="ftp://ftp.logilab.org/pub/common/${P}.tar.gz mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="test"
|
||||
|
||||
# dev-python/unittest2 is not required with Python >=3.2.
|
||||
RDEPEND="dev-python/setuptools
|
||||
virtual/python-unittest2"
|
||||
# Tests using dev-python/psycopg are skipped when dev-python/psycopg isn't installed.
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/egenix-mx-base
|
||||
!dev-python/psycopg[-mxdatetime]
|
||||
)"
|
||||
|
||||
PYTHON_MODNAME="logilab"
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
# Install temporarily.
|
||||
local tpath="${T}/test-${PYTHON_ABI}"
|
||||
local spath="${tpath}${EPREFIX}$(python_get_sitedir)"
|
||||
|
||||
"$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" install --root="${tpath}" || die "Installation for tests failed with $(python_get_implementation) $(python_get_version)"
|
||||
|
||||
# pytest uses tests placed relatively to the current directory.
|
||||
pushd "${spath}" > /dev/null || return 1
|
||||
if [[ "${PYTHON_ABI}" == 3.* ]]; then
|
||||
# Support for Python 3 is experimental. Some tests are known to fail.
|
||||
PYTHONPATH="${spath}" "$(PYTHON)" "${tpath}${EPREFIX}/usr/bin/pytest" -v
|
||||
else
|
||||
PYTHONPATH="${spath}" "$(PYTHON)" "${tpath}${EPREFIX}/usr/bin/pytest" -v || return 1
|
||||
fi
|
||||
popd > /dev/null || return 1
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
python_generate_wrapper_scripts -E -f -q "${ED}usr/bin/pytest"
|
||||
|
||||
doman doc/pytest.1 || die "doman failed"
|
||||
|
||||
delete_tests() {
|
||||
rm -fr "${ED}$(python_get_sitedir)/${PN/-//}/test"
|
||||
}
|
||||
python_execute_function -q delete_tests
|
||||
}
|
@ -1,89 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/logilab-common-0.58.1-r1.ebuild,v 1.3 2013/01/06 18:57:00 mgorny Exp $
|
||||
|
||||
EAPI="4"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
# Current tally of 8 test failures for python3
|
||||
PYTHON_TESTS_RESTRICTED_ABIS="3.*"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Useful miscellaneous modules used by Logilab projects"
|
||||
HOMEPAGE="http://www.logilab.org/project/logilab-common http://pypi.python.org/pypi/logilab-common"
|
||||
SRC_URI="ftp://ftp.logilab.org/pub/common/${P}.tar.gz mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="test doc"
|
||||
|
||||
# dev-python/unittest2 is not required with Python >=3.2.
|
||||
RDEPEND="dev-python/setuptools
|
||||
virtual/python-unittest2"
|
||||
|
||||
# Tests using dev-python/psycopg are skipped when dev-python/psycopg isn't installed.
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/egenix-mx-base
|
||||
!dev-python/psycopg[-mxdatetime]
|
||||
)
|
||||
doc? ( dev-python/epydoc )"
|
||||
|
||||
PYTHON_MODNAME="logilab"
|
||||
|
||||
src_prepare() {
|
||||
if use doc; then
|
||||
sed -e 's:(CURDIR):{S}/${P}:' -i doc/makefile || die
|
||||
fi
|
||||
distutils_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
distutils_src_compile
|
||||
|
||||
# Simplest way to make makefile point to the right place.
|
||||
mklinks() {
|
||||
# dosym it seems is restricted to src_install.
|
||||
ln -s build-${PYTHON_ABI} build
|
||||
emake -C doc epydoc
|
||||
rm build
|
||||
}
|
||||
use doc && python_execute_function -f mklinks
|
||||
}
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
# Install temporarily.
|
||||
local tpath="${T}/test-${PYTHON_ABI}"
|
||||
local spath="${tpath}${EPREFIX}$(python_get_sitedir)"
|
||||
|
||||
"$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" install --root="${tpath}" || die "Installation for tests failed with $(python_get_implementation) $(python_get_version)"
|
||||
|
||||
# pytest uses tests placed relatively to the current directory.
|
||||
pushd "${spath}" > /dev/null || return 1
|
||||
if [[ "${PYTHON_ABI}" == 3.* ]]; then
|
||||
# Support for Python 3 is experimental. Some tests are known to fail.
|
||||
PYTHONPATH=.:/logilab/common/test "${tpath}${EPREFIX}/usr/bin/pytest" -v || return 1
|
||||
else
|
||||
PYTHONPATH="${spath}" "${tpath}${EPREFIX}/usr/bin/pytest" -v || return 1
|
||||
fi
|
||||
popd > /dev/null || return 1
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
python_generate_wrapper_scripts -E -f -q "${ED}usr/bin/pytest"
|
||||
|
||||
doman doc/pytest.1 || die "doman failed"
|
||||
|
||||
delete_tests() {
|
||||
rm -fr "${ED}$(python_get_sitedir)/${PN/-//}/test"
|
||||
}
|
||||
|
||||
use doc && dohtml -r doc/apidoc/
|
||||
python_execute_function -q delete_tests
|
||||
}
|
@ -1,64 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/logilab-common-0.58.1.ebuild,v 1.7 2013/01/06 18:57:00 mgorny Exp $
|
||||
|
||||
EAPI="3"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Useful miscellaneous modules used by Logilab projects"
|
||||
HOMEPAGE="http://www.logilab.org/project/logilab-common http://pypi.python.org/pypi/logilab-common"
|
||||
SRC_URI="ftp://ftp.logilab.org/pub/common/${P}.tar.gz mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ia64 ppc ~ppc64 ~s390 ~sparc x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="test"
|
||||
|
||||
# dev-python/unittest2 is not required with Python >=3.2.
|
||||
RDEPEND="dev-python/setuptools
|
||||
virtual/python-unittest2"
|
||||
|
||||
# Tests using dev-python/psycopg are skipped when dev-python/psycopg isn't installed.
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/egenix-mx-base
|
||||
!dev-python/psycopg[-mxdatetime]
|
||||
)"
|
||||
|
||||
PYTHON_MODNAME="logilab"
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
# Install temporarily.
|
||||
local tpath="${T}/test-${PYTHON_ABI}"
|
||||
local spath="${tpath}${EPREFIX}$(python_get_sitedir)"
|
||||
|
||||
"$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" install --root="${tpath}" || die "Installation for tests failed with $(python_get_implementation) $(python_get_version)"
|
||||
|
||||
# pytest uses tests placed relatively to the current directory.
|
||||
pushd "${spath}" > /dev/null || return 1
|
||||
if [[ "${PYTHON_ABI}" == 3.* ]]; then
|
||||
# Support for Python 3 is experimental. Some tests are known to fail.
|
||||
PYTHONPATH="${spath}" "$(PYTHON)" "${tpath}${EPREFIX}/usr/bin/pytest" -v
|
||||
else
|
||||
PYTHONPATH="${spath}" "$(PYTHON)" "${tpath}${EPREFIX}/usr/bin/pytest" -v || return 1
|
||||
fi
|
||||
popd > /dev/null || return 1
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
python_generate_wrapper_scripts -E -f -q "${ED}usr/bin/pytest"
|
||||
|
||||
doman doc/pytest.1 || die "doman failed"
|
||||
|
||||
delete_tests() {
|
||||
rm -fr "${ED}$(python_get_sitedir)/${PN/-//}/test"
|
||||
}
|
||||
python_execute_function -q delete_tests
|
||||
}
|
@ -1,80 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/logilab-common-0.58.3-r1.ebuild,v 1.7 2013/02/02 22:29:16 ago Exp $
|
||||
|
||||
EAPI=5
|
||||
# broken with python3.3, bug #449276
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7,3_2} pypy{1_9,2_0} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Useful miscellaneous modules used by Logilab projects"
|
||||
HOMEPAGE="http://www.logilab.org/project/logilab-common http://pypi.python.org/pypi/logilab-common"
|
||||
SRC_URI="ftp://ftp.logilab.org/pub/common/${P}.tar.gz mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="test doc"
|
||||
|
||||
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
virtual/python-unittest2[${PYTHON_USEDEP}]"
|
||||
|
||||
# Tests using dev-python/psycopg are skipped when dev-python/psycopg
|
||||
# isn't installed.
|
||||
# egenix-mx-base tests are optional, and egenix-mx-base does support
|
||||
# Python2 only.
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/egenix-mx-base[$(python_gen_usedep 'python2*')]
|
||||
!dev-python/psycopg[-mxdatetime]
|
||||
)
|
||||
doc? ( dev-python/epydoc )"
|
||||
|
||||
python_prepare_all() {
|
||||
sed -e 's:(CURDIR):{S}/${P}:' -i doc/makefile || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
# Simplest way to make makefile point to the right place.
|
||||
ln -s "${BUILD_DIR}" build || die
|
||||
emake -C doc epydoc
|
||||
rm build || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# The package has to be 'installed' before testing.
|
||||
# 1) because of namespaces, we can't use 'install --root',
|
||||
# 2) 'install --home' is terribly broken on pypy,
|
||||
# 3) non-root 'install' complains about PYTHONPATH and missing dirs,
|
||||
# so we need to set it properly and mkdir them,
|
||||
# 4) it runs a bunch of commands which write random files to cwd,
|
||||
# in order to avoid that, we need to run them ourselves to pass
|
||||
# alternate build paths,
|
||||
# 5) 'install' needs to go before 'bdist_egg' or the latter would
|
||||
# re-set install paths.
|
||||
|
||||
local tpath=${BUILD_DIR}/test
|
||||
local bindir=${tpath}/bin
|
||||
local libdir=${tpath}/lib
|
||||
local PYTHONPATH=${libdir}:${PYTHONPATH}
|
||||
|
||||
mkdir -p "${libdir}" || die
|
||||
esetup.py egg_info --egg-base="${tpath}" \
|
||||
install --install-lib="${libdir}" --install-scripts="${bindir}" \
|
||||
bdist_egg --dist-dir="${tpath}"
|
||||
|
||||
# Make sure that the tests use correct modules.
|
||||
cd "${libdir}" || die
|
||||
"${bindir}"/pytest || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
doman doc/pytest.1
|
||||
use doc && dohtml -r doc/apidoc/.
|
||||
}
|
@ -1,89 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/logilab-common-0.58.3.ebuild,v 1.2 2013/01/06 18:57:00 mgorny Exp $
|
||||
|
||||
EAPI="4"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
# Current tally of 8 test failures for python3
|
||||
PYTHON_TESTS_RESTRICTED_ABIS="3.*"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Useful miscellaneous modules used by Logilab projects"
|
||||
HOMEPAGE="http://www.logilab.org/project/logilab-common http://pypi.python.org/pypi/logilab-common"
|
||||
SRC_URI="ftp://ftp.logilab.org/pub/common/${P}.tar.gz mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="test doc"
|
||||
|
||||
# dev-python/unittest2 is not required with Python >=3.2.
|
||||
RDEPEND="dev-python/setuptools
|
||||
virtual/python-unittest2"
|
||||
|
||||
# Tests using dev-python/psycopg are skipped when dev-python/psycopg isn't installed.
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/egenix-mx-base
|
||||
!dev-python/psycopg[-mxdatetime]
|
||||
)
|
||||
doc? ( dev-python/epydoc )"
|
||||
|
||||
PYTHON_MODNAME="logilab"
|
||||
|
||||
src_prepare() {
|
||||
if use doc; then
|
||||
sed -e 's:(CURDIR):{S}/${P}:' -i doc/makefile || die
|
||||
fi
|
||||
distutils_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
distutils_src_compile
|
||||
|
||||
# Simplest way to make makefile point to the right place.
|
||||
mklinks() {
|
||||
# dosym it seems is restricted to src_install.
|
||||
ln -s build-${PYTHON_ABI} build
|
||||
emake -C doc epydoc
|
||||
rm build
|
||||
}
|
||||
use doc && python_execute_function -f mklinks
|
||||
}
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
# Install temporarily.
|
||||
local tpath="${T}/test-${PYTHON_ABI}"
|
||||
local spath="${tpath}${EPREFIX}$(python_get_sitedir)"
|
||||
|
||||
"$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" install --root="${tpath}" || die "Installation for tests failed with $(python_get_implementation) $(python_get_version)"
|
||||
|
||||
# pytest uses tests placed relatively to the current directory.
|
||||
pushd "${spath}" > /dev/null || return 1
|
||||
if [[ "${PYTHON_ABI}" == 3.* ]]; then
|
||||
# Support for Python 3 is experimental. Some tests are known to fail.
|
||||
PYTHONPATH=.:/logilab/common/test "${tpath}${EPREFIX}/usr/bin/pytest" -v || return 1
|
||||
else
|
||||
PYTHONPATH="${spath}" "${tpath}${EPREFIX}/usr/bin/pytest" -v || return 1
|
||||
fi
|
||||
popd > /dev/null || return 1
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
python_generate_wrapper_scripts -E -f -q "${ED}usr/bin/pytest"
|
||||
|
||||
doman doc/pytest.1 || die "doman failed"
|
||||
|
||||
delete_tests() {
|
||||
rm -fr "${ED}$(python_get_sitedir)/${PN/-//}/test"
|
||||
}
|
||||
|
||||
use doc && dohtml -r doc/apidoc/
|
||||
python_execute_function -q delete_tests
|
||||
}
|
@ -1,80 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/logilab-common-0.59.0.ebuild,v 1.2 2013/02/02 18:54:18 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
# broken with python3.3, bug #449276
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2} pypy{1_9,2_0} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Useful miscellaneous modules used by Logilab projects"
|
||||
HOMEPAGE="http://www.logilab.org/project/logilab-common http://pypi.python.org/pypi/logilab-common"
|
||||
SRC_URI="ftp://ftp.logilab.org/pub/common/${P}.tar.gz mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="test doc"
|
||||
|
||||
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
virtual/python-unittest2[${PYTHON_USEDEP}]"
|
||||
|
||||
# Tests using dev-python/psycopg are skipped when dev-python/psycopg
|
||||
# isn't installed.
|
||||
# egenix-mx-base tests are optional, and egenix-mx-base does support
|
||||
# Python2 only.
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/egenix-mx-base[$(python_gen_usedep 'python2*')]
|
||||
!dev-python/psycopg[-mxdatetime]
|
||||
)
|
||||
doc? ( dev-python/epydoc )"
|
||||
|
||||
python_prepare_all() {
|
||||
sed -e 's:(CURDIR):{S}/${P}:' -i doc/makefile || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
# Simplest way to make makefile point to the right place.
|
||||
ln -s "${BUILD_DIR}" build || die
|
||||
emake -C doc epydoc
|
||||
rm build || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# The package has to be 'installed' before testing.
|
||||
# 1) because of namespaces, we can't use 'install --root',
|
||||
# 2) 'install --home' is terribly broken on pypy,
|
||||
# 3) non-root 'install' complains about PYTHONPATH and missing dirs,
|
||||
# so we need to set it properly and mkdir them,
|
||||
# 4) it runs a bunch of commands which write random files to cwd,
|
||||
# in order to avoid that, we need to run them ourselves to pass
|
||||
# alternate build paths,
|
||||
# 5) 'install' needs to go before 'bdist_egg' or the latter would
|
||||
# re-set install paths.
|
||||
|
||||
local tpath=${BUILD_DIR}/test
|
||||
local bindir=${tpath}/bin
|
||||
local libdir=${tpath}/lib
|
||||
local PYTHONPATH=${libdir}:${PYTHONPATH}
|
||||
|
||||
mkdir -p "${libdir}" || die
|
||||
esetup.py egg_info --egg-base="${tpath}" \
|
||||
install --install-lib="${libdir}" --install-scripts="${bindir}" \
|
||||
bdist_egg --dist-dir="${tpath}"
|
||||
|
||||
# Make sure that the tests use correct modules.
|
||||
cd "${libdir}" || die
|
||||
"${bindir}"/pytest || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
doman doc/pytest.1
|
||||
use doc && dohtml -r doc/apidoc/.
|
||||
}
|
@ -0,0 +1,92 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/logilab-common-0.61.0.ebuild,v 1.9 2014/07/06 12:44:25 mgorny Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} pypy )
|
||||
|
||||
inherit distutils-r1 eutils
|
||||
|
||||
DESCRIPTION="Useful miscellaneous modules used by Logilab projects"
|
||||
HOMEPAGE="http://www.logilab.org/project/logilab-common http://pypi.python.org/pypi/logilab-common"
|
||||
SRC_URI="ftp://ftp.logilab.org/pub/common/${P}.tar.gz mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~ia64 ppc ~ppc64 ~s390 ~sparc x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="test doc"
|
||||
|
||||
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
# Tests using dev-python/psycopg are skipped when dev-python/psycopg isn't installed.
|
||||
# egenix-mx-base tests are optional and supports python2 only.
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
$(python_gen_cond_dep 'dev-python/egenix-mx-base[${PYTHON_USEDEP}]' python2_7)
|
||||
!dev-python/psycopg[-mxdatetime]
|
||||
)
|
||||
doc? ( $(python_gen_cond_dep 'dev-python/epydoc[${PYTHON_USEDEP}]' python2_7) )"
|
||||
|
||||
PATCHES=(
|
||||
# Make sure setuptools does not create a zip file in python_test;
|
||||
# this is buggy and causes tests to fail.
|
||||
"${FILESDIR}/${PN}-0.59.1-zipsafe.patch"
|
||||
|
||||
# Depends on order of dictionary keys
|
||||
"${FILESDIR}/logilab-common-0.60.0-skip-doctest.patch"
|
||||
)
|
||||
# Req'd for impl specific failures in the testsuite
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_prepare_all() {
|
||||
sed -e 's:(CURDIR):{S}/${P}:' -i doc/makefile || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
# Based on the doc build in Arfrever's ebuild. It works
|
||||
pushd doc > /dev/null
|
||||
mkdir -p apidoc || die
|
||||
epydoc --parse-only -o apidoc --html -v --no-private --exclude=__pkginfo__ --exclude=setup --exclude=test \
|
||||
-n "Logilab's common library" "$(ls -d ../build//lib/logilab/common/)" build \
|
||||
|| die "Generation of documentation failed"
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
distutils_install_for_testing
|
||||
|
||||
# https://www.logilab.org/ticket/149345
|
||||
# Prevent timezone related failure.
|
||||
export TZ=UTC
|
||||
|
||||
# Make sure that the tests use correct modules.
|
||||
pushd "${TEST_DIR}"/lib > /dev/null || die
|
||||
|
||||
if python_is_python3; then
|
||||
# http://www.logilab.org/ticket/241813, 241807
|
||||
# The suite can be made to pass under py3.4 by disabling the class MxDateTC in unittest_date.py
|
||||
# These are covered by issue 241813. Any and all methods to disable them temporarily
|
||||
# (assuming they will ever be fixed) are simply cumbersome in the extreme, thus impractical.
|
||||
# The failures are specific to py3.4's unittest's parameters in _addSkip and not the package itself.
|
||||
if [[ "${EPYTHON}" == "python3.4" ]]; then
|
||||
sed -e 's:test_any:_&:' \
|
||||
-i $(find . -name unittest_compat.py) || die
|
||||
sed -e 's:test_add_days_worked:_&:' \
|
||||
-i $(find . -name unittest_date.py) || die
|
||||
fi
|
||||
# Returns a clean run under py3.3
|
||||
rm $(find . -name unittest_umessage.py) || die
|
||||
fi
|
||||
"${TEST_DIR}"/scripts/pytest || die "Tests fail with ${EPYTHON}"
|
||||
popd > /dev/null || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
doman doc/pytest.1
|
||||
use doc && dohtml -r doc/apidoc/.
|
||||
}
|
@ -1,6 +1,80 @@
|
||||
# ChangeLog for dev-python/lxml
|
||||
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/lxml/ChangeLog,v 1.181 2014/02/20 14:45:16 hattya Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/lxml/ChangeLog,v 1.201 2014/06/10 12:24:12 djc Exp $
|
||||
|
||||
10 Jun 2014; Dirkjan Ochtman <djc@gentoo.org>
|
||||
-files/lxml-3.0.1-skip-failing-test.patch, -files/lxml-test-elementtree.patch,
|
||||
-lxml-2.3.4.ebuild, -lxml-2.3.5.ebuild, -lxml-2.3.6.ebuild,
|
||||
-lxml-3.0.1.ebuild, -lxml-3.1.0.ebuild, -lxml-3.1.1.ebuild,
|
||||
-lxml-3.1.2.ebuild, -lxml-3.2.0.ebuild, -lxml-3.2.1.ebuild,
|
||||
-lxml-3.2.4.ebuild, -lxml-3.2.5.ebuild, -lxml-3.3.0.ebuild,
|
||||
-lxml-3.3.1.ebuild, -lxml-3.3.2.ebuild, -lxml-3.3.3.ebuild:
|
||||
Remove old, vulnerable versions (bug 509134)
|
||||
|
||||
17 May 2014; Agostino Sarubbo <ago@gentoo.org> lxml-3.3.5.ebuild:
|
||||
Stable for alpha, wrt bug #509134
|
||||
|
||||
15 May 2014; Markus Meier <maekke@gentoo.org> lxml-3.3.5.ebuild:
|
||||
arm stable, bug #509134
|
||||
|
||||
14 May 2014; Agostino Sarubbo <ago@gentoo.org> lxml-3.3.5.ebuild:
|
||||
Stable for sparc, wrt bug #509134
|
||||
|
||||
13 May 2014; Agostino Sarubbo <ago@gentoo.org> lxml-3.3.5.ebuild:
|
||||
Stable for ia64, wrt bug #509134
|
||||
|
||||
11 May 2014; Agostino Sarubbo <ago@gentoo.org> lxml-3.3.5.ebuild:
|
||||
Stable for ppc64, wrt bug #509134
|
||||
|
||||
10 May 2014; Agostino Sarubbo <ago@gentoo.org> lxml-3.3.5.ebuild:
|
||||
Stable for ppc, wrt bug #509134
|
||||
|
||||
07 May 2014; Agostino Sarubbo <ago@gentoo.org> lxml-3.3.5.ebuild:
|
||||
Stable for x86, wrt bug #509134
|
||||
|
||||
07 May 2014; Agostino Sarubbo <ago@gentoo.org> lxml-3.3.5.ebuild:
|
||||
Stable for amd64, wrt bug #509134
|
||||
|
||||
05 May 2014; Jeroen Roovers <jer@gentoo.org> lxml-3.3.5.ebuild:
|
||||
Stable for HPPA (bug #509134).
|
||||
|
||||
03 May 2014; Ian Delaney <idella4@gentoo.org> lxml-3.3.3.ebuild,
|
||||
lxml-3.3.5.ebuild:
|
||||
drop py2.6
|
||||
|
||||
*lxml-3.3.5 (25 Apr 2014)
|
||||
|
||||
25 Apr 2014; Tim Harder <radhermit@gentoo.org> +lxml-3.3.5.ebuild:
|
||||
Version bump.
|
||||
|
||||
02 Apr 2014; Patrick McLean <chutzpah@gentoo.org> lxml-3.3.3.ebuild:
|
||||
Add python3_4 support.
|
||||
|
||||
12 Mar 2014; Agostino Sarubbo <ago@gentoo.org> lxml-3.3.0.ebuild:
|
||||
Stable for sparc, wrt bug #500684
|
||||
|
||||
*lxml-3.3.3 (07 Mar 2014)
|
||||
|
||||
07 Mar 2014; Justin Lecher <jlec@gentoo.org> +lxml-3.3.3.ebuild,
|
||||
metadata.xml:
|
||||
Version Bump
|
||||
|
||||
05 Mar 2014; Agostino Sarubbo <ago@gentoo.org> lxml-3.3.0.ebuild:
|
||||
Stable for ppc, wrt bug #500684
|
||||
|
||||
04 Mar 2014; Agostino Sarubbo <ago@gentoo.org> lxml-3.3.0.ebuild:
|
||||
Stable for x86, wrt bug #500684
|
||||
|
||||
02 Mar 2014; Pacho Ramos <pacho@gentoo.org> lxml-3.3.0.ebuild:
|
||||
amd64 stable, bug #500684
|
||||
|
||||
*lxml-3.3.2 (01 Mar 2014)
|
||||
|
||||
01 Mar 2014; Tim Harder <radhermit@gentoo.org> +lxml-3.3.2.ebuild:
|
||||
Version bump.
|
||||
|
||||
25 Feb 2014; Markus Meier <maekke@gentoo.org> lxml-3.3.0.ebuild:
|
||||
arm stable, bug #500684
|
||||
|
||||
20 Feb 2014; Akinori Hattori <hattya@gentoo.org> lxml-3.3.0.ebuild:
|
||||
ia64 stable wrt bug #500684
|
||||
|
@ -1,40 +1,24 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX lxml-3.0.1-skip-failing-test.patch 506 SHA256 9a9c057e374ce7d92aed831faad42cd5218c3981106f4c3b062a93f55e35c6df SHA512 6001d15c2c937a0e9b43e985ea53b9a1f8e77c0c9eef3eecad14776604132d4b1ffbc3e957a8c5a18c09f2909a0ae37417f653a536af2293a0d0a61732966a12 WHIRLPOOL 8585097fa72b9702a5869574d7d3e73c0d9680f91ea1ee80303ce00058b9e158a24044b7758eb872511e612f89fbbc95d256f70e471876f58ec41de0869b911b
|
||||
AUX lxml-test-elementtree.patch 1352 SHA256 eafdac35f04f44c8630883f4730d418174c7e69f97755092eb65f6f11fd0f075 SHA512 288badb4b68915f1f0751189e83fc273ac811f5932187db6f6e6dd1c4e7c4289814e6ec7d0301752325ff7073f43b5920b9ebffde79ab398dcccb7b7751a7705 WHIRLPOOL 23cf0164011d271853749b4ac25cdfe2cf727854e756c47cdd27657a0e26001bf07ca3c27468cb5eed3cfd209578e3e79a5a2d57b1c68c97afc7689827c8924f
|
||||
DIST lxml-2.3.4.tgz 3150931 SHA256 ba7fe2974dc276dd1b83e1c407d66c7ad3ee64338f753d4f657afca96c49ba6c SHA512 aeb79b7a9251faf27d601387341d3782b3ca03e1c0f2d37ba28cb959624b351592f3ec2d8ed3e329ff33c0fab7788bde1dc2d101c306aa8f156a11623029d88e WHIRLPOOL 8c653d95c3695b9f483f727d3cb4d4c7be9677ae14b7da3c8f639c021fbd83cd85186db0003ecca8500b9f9be40c2ea48185351e0d9d058918a5f0542a6111b8
|
||||
DIST lxml-2.3.5.tgz 3171841 SHA256 7ec68de58814014543b3b6f21f36e3695359be715ad06348a14c7820dfa0e092 SHA512 9785c6a16c32e7c6fd95b41dd1ad6d0027bfed67e029bd64d5bac27a25c843a3af1ed5391086d9479c42fae4f86204265c0c0ac9af62b32f1639e6e355921d78 WHIRLPOOL c69a843aea29f9fa6f557a7f7a8ec1d7ccde40b8a007736e503e584731778f05d779675aef5f67809b49f4f90279f5ffe6043f39f2841649e4573338c02c42d6
|
||||
DIST lxml-2.3.6.tgz 3169787 SHA256 9f84932bb2b66219c18681f6e03a59c8fff8e7a03b653b296383d4e040c8cf0b SHA512 87db552f115ab8815e3bb7d78cbc6ccc944cc02957c2829c974432c8419a73f884be5b27d35f85db4e5e1a0bf2e9c3f5d3bc064da0509ddea05cf4ca7b559cd1 WHIRLPOOL 822dfbcd65146d00c255056e92343df05cde1e8035d5fb135f76be43165c001d34e89a1564bae56f771176a3cc808c19eee697eab02bc869d1062f921efef8cd
|
||||
DIST lxml-3.0.1.tgz 3205224 SHA256 50367b086d18b1cadc8d6ddf2525495d9d216b81e9a700f6aa7ea2f7e9dfaa78 SHA512 a020568db5741670ff90f00110ad766e3a7df16d6be99d19c82208bebe80374c18f870ad4081f398d148511bdad307818decc7f6592454b12d5adcec17460ba6 WHIRLPOOL 574d8a1fa3582ef8ef1e7582b843d2d8486a5867e16a035498d71eaa2bf73b467bec0050361138571bca24f5448e24ece32addf2b77908bceafebb24f3ff57ef
|
||||
DIST lxml-3.1.0.tar.gz 3269719 SHA256 8ce453b10e47b5d7a623b75ca0eb6c39fee80d9d72b7992c597eb44c31c9445e SHA512 a109f4257e7433df01afe541d492a03944bb3360a9e920eb0772248697e1139d56c20c333b7c3a9c35f46f0b4079d57a36e61546e63e19a814c52fe82245404a WHIRLPOOL d00a56deec809301a9b3621324b18030aeb64ad38999ee5857fb0c923ca93288c1c5316e0ef319f4094395b71b97aabc80cfcd601a4f861ec3ca8adefb0c1bb3
|
||||
DIST lxml-3.1.1.tar.gz 3277003 SHA256 3da33ba3f6f5770973769e01dd93f923974c537239b571253725da2b8c6fd0dc SHA512 901380442a129ed863640dc8bd947f8d2f5bbc7ae451c1de2b8fc3dbf200471ed135f9741c081c1dd71891f68166ce31c532bb4a0be37e075ab9830a31209dd6 WHIRLPOOL 50d01a50cad60148ae8457c9475e3bfbf48ada914c4b1868a6472cedb411154404e4e4262ad330a153e180ad87b3fdc277cf1fd944a4b16a1822b13eaf57303d
|
||||
DIST lxml-3.1.2.tar.gz 3285815 SHA256 c02153df2a5f633d7fab158bc030b17c812807bfdade535acc0fdb4e557951f9 SHA512 864038365a152391c1e22919f532e6c330c83ca5ba48c204a5c41ff5bf18de3ec3b810968765781e87050934a30023a79b68a70e72459173a23c280d84e8b45b WHIRLPOOL f9b4a7eb766d800694a2291118ad9940d9b39eb95a363e5735cc64e9ac2ec0a85080bd2f38b07f3105500ffe7dd7235c951bf8eb0356bd65f25e05c217ca89e9
|
||||
DIST lxml-3.2.0.tar.gz 3324596 SHA256 eaac31ac45c3665aad9310352967184600e820bc366ceff64d01e93f15d3882c SHA512 e27cc933b2d750a1a83b3c56315a231c2c730bde4d0ab4d276a0792ee00bcbe800ed9239398ad4625ed194272b96e4743e497d8b06839fb0b9b2ad83ccb7d78b WHIRLPOOL 9b01063051d07b77a73b27fa6c90a7094bbfb73e22a1378cd5efdf7aeafb40474f46767af3fbbbbf5bf0daeab4546501808c15c63e3b315c99c9fb2410ede062
|
||||
DIST lxml-3.2.1.tar.gz 3335355 SHA256 fc4924366cd0751f9cde17c2bc52e13df8b04246d4eaf6b09a496262c9ebbf6a SHA512 c3f124c643006073db80ee66b68a05990c454038477849efb7a49bdc604818aa1aceed20cfdce4387e16419399a26b6364af5176d47ef4ce9f58a072c9efb1dc WHIRLPOOL abc71a9242227c3f642959558dff6783e5e88fe38be9346367f0722454f5bec5aa3b553eb713b3e3fcbf418a0dbac56402c045635bd8da7da9db488893a9e5f1
|
||||
DIST lxml-3.2.4.tar.gz 3347893 SHA256 c71fc86d8be96ad2762f557583ecf114661a61fbe3006f608120363ca34c5e86 SHA512 85d9b474ef877e90e406347a981a8522d234f09ea119c9d72c9edc9d050d786a019879d92e4a717f35dff4d4023abb9a3a72253d5a877280a90051938a029bc0 WHIRLPOOL 55f7d1ac035d1834671916fd082a8c5aee444eb28fd4c4ed1a6aa6a85940f320cf735330285a1d7135fc4e66819c14c65f417ff8b9bd6558d42a8fd45c0b32bc
|
||||
DIST lxml-3.2.5.tar.gz 3349462 SHA256 2bf072808a6546d0e56bf1ad3b98a43cca828724360d7419fad135141bd31f7e SHA512 7ab09a0c735426b7163bbcc7101c397767aee3aae24b9db53ddd2c13b589b158593acbfb5aff4f8b87333fa61efeb7dec5c8988dcb02a7a495b877693f60abf5 WHIRLPOOL 0cc1510ab2fdaab85a4504314e6cca0fe8150c89baa4a9562b293fb248a31b9b0fd73a300d12d0c63a24f9ae98bd179215d59d386e32c5f1f30d19e31c9da962
|
||||
DIST lxml-3.3.0.tar.gz 3435082 SHA256 7d669cd0b7f8d01356df8d64cdbf2aecd9150378d59c36ac025da1dbaf9ebc11 SHA512 4da55829ff524f54dc1ea840f13fc3973c0d821b307ebc3f7720674c2e9e0071609834e46a39449f414a1d97695ca119f8779c97dd18bf8f4a401d943e541bc9 WHIRLPOOL f3e9182fd7d3c0b58e3529675454e44064e1b4f640e17a365950f33e157483f5c23f73b2b983b99df3f25d95662892379bd36521667e4fa9c794a9209eda16d0
|
||||
DIST lxml-3.3.1.tar.gz 3441159 SHA256 8cbaa02dd5a0a9dd7f571289c51eed9cb5c747d6674f3300e4bd63586e921819 SHA512 af52a8ea630b52171241aa458d6911354ae71d4b2957a5f6e8c14f632ffb11ea112f09ad702c4ac4f3c2535c0a2a472398a14925ac1ea49e7fad44c464ef21ec WHIRLPOOL b21e7d6c480776d40c4fa6ac4a0ae4a33f4753d35a5db539490cbe861df4495759806545e6e8854dc542ea10362b0bcff475ee6d556b1489c4cdb491042e3500
|
||||
EBUILD lxml-2.3.4.ebuild 2384 SHA256 0f27303c81d4c430bdb739d971fc107fc97a43536bca0a19861a743d69cf65d3 SHA512 84e58b98afde50b4607b161fea16462260b0fda5134adadb8fd5cbb96722d28701755cad605e83922e3c7e242d8d06e016b9e13763e07b6cc842eb3cc0ce40e8 WHIRLPOOL 9dd5afb153ce64b1e88868a61bc287e6fcc39eb8114a70f9ea6ea68c58f6ae983b5a03d318758f6f09077b835b2aa81767c69ef64ae164cf26c38aaad91b8bea
|
||||
EBUILD lxml-2.3.5.ebuild 2250 SHA256 ae75bc5f972f1d4aec8fce2122641578f537c821befcc794f6cec703451ecee0 SHA512 5a1dd98a130045d7b4bc61481bd5952e965bfc3a112178716d893b16835fe8660445c07de31a843135585bb8b29caee80d006741e4a9ab50fdb5de55c5659a9a WHIRLPOOL e189520a001c45f4d89a0888a9440b0f452f6a44f163831aed61e151cb95db6dad09ae58a66690371c4130344492ad85c9f69c81bedaf3ddd2f9836b2eb1e8cf
|
||||
EBUILD lxml-2.3.6.ebuild 2250 SHA256 9569aacea58d41b77e51e2ac5568136af6ac25731cae3de9f3cd673fece75e76 SHA512 b9ba78498665a035616428bde0c6aca5137162176dd72fc2cdd18814735407de041ad66674a17bb58a35b1c7a4d165ebe2aed63a95e0b70940e6cdd4f9e8ad98 WHIRLPOOL 599f795caa74b81d282464467d17766810bd1c13b993123af4357b1abf1e2a039b4fe417966d596ee96854956d8c0933caf56d9f6ed451b9139286abdc3475fc
|
||||
EBUILD lxml-3.0.1.ebuild 2303 SHA256 10f61317f3ef0ce5eaf69aa5356826a3e7903e1ef84f85b4de5a1b53a1e437ef SHA512 27667b9d7f007f685093293f498ad6fdd4db4a35da2700961b8ceddc2c88ec576567f05ccdda95dcb2a1c749c2b3986623a6d7d41c767a31fc2aaeb6ebdc44be WHIRLPOOL 1cccce68a03f7570bc66a0b6f78a9b7ac6a4f4c05748254070ff034a793cc38d7f78f848e0af51e303d699d7489bc42d130bf3c03bff070034a3f89681b1ca76
|
||||
EBUILD lxml-3.1.0.ebuild 1778 SHA256 a9bd2a2c361544788d55c9aee1ccbd9542dd15290ae2ec260aad7ea141fc8ecb SHA512 538c98ddc4f81f983f630d54131149aa110e323c09e14ad0c04e321070c8dcee6b153065a00d5e804fd053a6ac8730a3e580ecd4c0667f1de04dec6d99c6fb25 WHIRLPOOL b09ef57df2081718fc587a58181f09e82fd5be7012b412a50ee841214a21e6d257f1478a44904b69845555065db2bbd44cca5f83c3bfde0d3bafa91e33672ccc
|
||||
EBUILD lxml-3.1.1.ebuild 1778 SHA256 16d3e11cfb4f87f5a8bdef95389398725f25b59f379d84fb7dc91aadde24bd55 SHA512 ed7c684271de8dfda4ae5296d30a0abee9093532480506c059954cd9f1874cb2492d0a2f4f17ee36ec5627d5a036067e9f046589b562c9f3c34ee4152b6b6364 WHIRLPOOL b1295fc5171f36c61e6c1e70351342b1a03045770c81cd4dbf22bcb78ce805ee0013af03b7a9020d11efca9a38ee0d4488d0d80e830076c65f2fe900662f8e18
|
||||
EBUILD lxml-3.1.2.ebuild 1778 SHA256 389e6677d33341b44bc44d0e588a0e7377c8e6db945bd590ec933e9c9c7f169b SHA512 bd37d105f0d8df2d1c2d03535d347173ee5a7e1a2ec0affb5215408d020b5055d9b82ef4295503e15a1a6383be4db4c8c6f54973fbed0ac60f5ba6f03d8c845e WHIRLPOOL 5e2cd171b3dbee73e0effa22b4c8cffa1e05bbadd9b1e2496b2433826695078f40a60b09bd5eb67ecb6c520bbae8ae70bc81fbab73adb741650ec0607828adcf
|
||||
EBUILD lxml-3.2.0.ebuild 2002 SHA256 0609a82917fef5e5e2e7795a31675314bd6c09ffd9993b683fbd077697c52b25 SHA512 8291cd18f6f67ece0c697187b596784ece277003e7ec48b8039544a11c9a3e9929e2fdfc1698dda7adf0bd34e4436fcb4e89044bab1c6ae990bbb08cd2daf615 WHIRLPOOL bb3b7dc37b0681bf1c693c29bbe821f3126062470f43f85d12b2133da126c94d480b8ddf0ca44714e61076042897ebfdfa6bc9e9138512d52d1169daf7dac00f
|
||||
EBUILD lxml-3.2.1.ebuild 2269 SHA256 a319e10d9e92e6357c129bac6d05b15aea40a3cf67092422c2015f93682b85d5 SHA512 6d0bf96bee1363da1f26e9b8e81a696dbbe67ed6f434bb3cd6639149777422d67fa9fb113291f206f9c12aeff0b1ca1562b5eb6123555af8e91ed36e3f652066 WHIRLPOOL 2efb3264318af4c474947425cf5f226383162ce01ec44b32cd0e6b946b8e7b07115ee885b75c792012def1624866db553c46e61c5309d62ee9ab9358c4945550
|
||||
EBUILD lxml-3.2.4.ebuild 2283 SHA256 c605ade4e444426a53c564956321f943b35312fa6032e68b33290cbb204f3490 SHA512 3114fbbf1e64198e098bdc93f8d5c6049e938bd97fefa0d0e67b62efafca3338b4de3cc3125caf31365f5605fa91f559df4e0fdcc5f94137cf18b82939cdb60b WHIRLPOOL 5a8dbcba64d63b89f512f9fd2f3d8131c7b97942a265f1b44926b6f7489d79a4530155fa26d204e7c2bc749703a255630934e39460fb3fad3bb05790cf9d5a40
|
||||
EBUILD lxml-3.2.5.ebuild 2283 SHA256 fa6ad0b103eb692a8ef7d38c88ad67309d35ebeef7344a3c64a5c4bfb20a2e26 SHA512 c08171e631e45cfdb6f0b75553f274bc64dbe56568ca6a1a50c37bef817ea2eef8efc1ab84ccf9de88958c1775b30fc024b78932a2032d20b6d747413a4ce6e3 WHIRLPOOL 73a48d03dd2967ad4e97cbcc25963db59f63bed66b0d22f4467ee59d6ed82fa9b435d14cb055473905a419ff6966fb53740a7487e73d8ccc2955a3ebd33801a7
|
||||
EBUILD lxml-3.3.0.ebuild 2278 SHA256 9d248893ecd2a285680156e576e547881d245eed7bafccae7e0aa7bfd1fd38be SHA512 ddba80729f03f1a4d601f190686f8ec4788cc4fd84e69754a6a01ea35d55c1f55b09fca783b7c690cd47a2ef9cf2b14bdfc8d36dceed1543993c68c0927f7508 WHIRLPOOL f2de28e709b4ca0f5f078a8ee59d3d31066a72d59f32693104cf9bf368236c246a8ae6535fe4a4004a00cbfa889526685bca994f6932c2572e9eaf56329792a7
|
||||
EBUILD lxml-3.3.1.ebuild 2283 SHA256 393e04214c4e0554d894733bdf45a05e887fd4c80f0fbfaff701fbabbb03fd25 SHA512 88cfbd46e7e4a5ccd550f7276f89594ef0d45861a77f5bb757955513ca5f7c23229d864c1c70c896237031731e671b17d77259d0118ff437f3e87d55f5fcfeea WHIRLPOOL 6900afe6660b564cee7c33c7b7232f922b12cf402e44492100d09e5908e091123654f993151a1545c460552d1e893b63dcae5e4ba2068602ed53420fbde5ccff
|
||||
MISC ChangeLog 22100 SHA256 7ffda01baac6292fd54a5299a6dbc24cfebb2dbc504110243aeb7e6c61c01268 SHA512 4d99789b12528a73bdfdf1c1d245dae7baf27e0ca4741c0c327679ceaaa70ef49e4d17bbb775024b8d0fa9099f248f62cdc9ca3b4dae1a9c034ad785357fa15e WHIRLPOOL cd3411f94b186c6b82b1f2d59affd8689a89a29afa16b0013b6608b60a10a4352c32997e459220e8023a4db58325590e9aebb6753946dfdca6c567bd163d128c
|
||||
MISC metadata.xml 248 SHA256 e7807b576fc37fc13cb9ad6785defe55a0dfeeb1c8d4c0765186169ef23fa146 SHA512 0f61003e05b546ed78531f3ed7e416a67ee0d13a76d238fb9907bf93b1ce732a8f33d66763e831f607c4b8c3739836627c4bbbe3569db6b0506142e41c45e0dc WHIRLPOOL 327f14c55f4be41d29c3ee1973e67fefc8df5c11925b88ebe989528ddac6b8ac85b46ae0d7520745c739ce3cfc60c0cba85875933af621cd6890e59c85bf5072
|
||||
DIST lxml-3.3.5.tar.gz 3467344 SHA256 6ad6949dc7eea744a30fba77a968dd5910f545220e58bcc813b9df5c793e318a SHA512 b6692565e95ae8856347a2cbef4d1a1614cbc34aa47fbea10cfb49f5d5690a21e577e53e7cfbe73db18190a6919a1055fe5ee5ccaf1d03dc2bc0c5cf2c81ef2e WHIRLPOOL f9e875085701264128d37458f5c03a1e6dfb0a6d3e49f88cfc90031a40f17dfb06ff57151729bb03f96d2959b1bae40b0617076ace7d695433fcd857d13ec697
|
||||
EBUILD lxml-3.3.5.ebuild 2177 SHA256 1a3d7bc096014abe93ea148d64224f326a18fdb9a95c705df1a140102033c653 SHA512 2b7362d7a40f06c942bda735efbba14dd3cea8ef70b74e8cc40d7b16a2b3a85ad24ff6872f065aeb307e04d63893e329b5e41495c91b3c8d830a8ec2ac643222 WHIRLPOOL eabec5fbf6993bf84e814a03d6af23cd8891227ea647c7e01d93559a8e655924fe05032a6c55864ffcdac45fe62c4d52ad7b3e7377e3515db5b30c4775f07c23
|
||||
MISC ChangeLog 24558 SHA256 9637d0ebc8bfa30dd1cd586d028e7401b66e76edfc5a2d4c4050fd81918fd52c SHA512 cfe883ba517d76fafef3d3afff68b50ca69c69d839d1f9dad4f1fbb98aa84ba6f0e6243e16ce45fc0241c5f6311bde111044aa18bf5807443165b21e88218048 WHIRLPOOL 7b70674a908224ad0986e65a1a5e9cfe4e23fa8058eac1b742a3d2606cd6555431d1f40661a32eaf66cb6f9f8dd5e9a2387dae286ae9e5451d8d09f6c862e759
|
||||
MISC metadata.xml 253 SHA256 68b6fd7fee1571f606fd0c8981491625167175d248780c511fbb933f1e26d60e SHA512 a01088a2239918a44d2fe8c4b39f0916f0067b4c328ab25821aea2890b04b4ff759da3ed59bd0da6684847061be27e6645a4d1e199471f009a5efbe345e76dfb WHIRLPOOL 4c86b2ed51741d921295a316f346957380469fdf8e659a1768f2a5069bcae0ed5a1f944ae313b3b6a5d124ea11e5c1b0cfc074451ab093a7483244335e880652
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
|
||||
iEYEAREIAAYFAlMGFQIACgkQL46suuyRem1rlgCfXMYQu+2FjXBuf0lktDJtRLws
|
||||
f08Ani0PKGFEeeJfNyrNfjR+BTHS4AX5
|
||||
=ZM09
|
||||
iQIcBAEBCAAGBQJTlv3dAAoJEJ+WuSkwOAOBXGgQAIf3hui/konpi62uAD2LBU/c
|
||||
WzE3Pe0bZketcLGhHy5mpLrfwjlMX0LjlhHWsdjxQUZ2NtepA1dmEawMIu2v26KU
|
||||
andMvAnC11eZDGm+XjvDBZw5/sbcSq+PwIN1si/rOlsid2osm91ngBeDw0IW1iuK
|
||||
nwemF5it98jYCcm/9H68kvwOrNat4MScfVGxC2WNHfISbOD2Fcm7cmw5+7RvIzsd
|
||||
bk8zwYLEk1GpkR10y9mzPl8YAwYB5h63ciLVGj5ePwvFg+MB8xeU5AbKPuRz6IqS
|
||||
HyOovsFlOk194U/Ff5oMIBDDK4RrSodUPHs+mLNd9P3JMVASrD4Qr9fFdSkzN3ui
|
||||
IISiQvJ2O/sfnrgUIBc9B03LJ50y958uHXBkzQwpitutxQ5UU4wc/8r7NJG3Dh7Z
|
||||
cBgjXTQs6psqx0Obu7uXB2yGatid4MewDTDSNtBwEVsplboiEgMT/MVD6MUXKPu6
|
||||
upCiBpetmRCSzCdtMJ44Wm5ruJhx52CmLtmVhJwJSlPvz9vc8eMY5d9Xb8TjB1Ph
|
||||
bqfw9zmppgZOZx/Q10BreDXWMybyswVOPInKIAN6tm8qXfB++5RveUvgv35CN2Vg
|
||||
j7I8NyyOP/XsK3C73+oziObueoCJ4i5jFt7pD34fqfcD+08wMRkAxEXZSWO6vZY9
|
||||
mBJap63u8FkqtFj3H/a8
|
||||
=gqRH
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- a/src/lxml/tests/test_xpathevaluator.py 2012-09-28 12:13:26.000000000 -0700
|
||||
+++ b/src/lxml/tests/test_xpathevaluator.py 2012-10-18 14:46:38.869913757 -0700
|
||||
@@ -587,6 +587,8 @@
|
||||
self.assertEquals(match_dates[0].text, '2009-11-12')
|
||||
|
||||
def test_xpath_exslt_functions_strings(self):
|
||||
+ # test seems to cause memory allocation errors
|
||||
+ return None
|
||||
tree = self.parse('<a><b>2009-11-12</b><b>2008-12-11</b></a>')
|
||||
|
||||
match_date = tree.xpath('str:replace(//b[1], "-", "*")',
|
@ -1,43 +0,0 @@
|
||||
From a7853944dacbe12097c1ef15836caeffbab8396c Mon Sep 17 00:00:00 2001
|
||||
From: Stefan Behnel <stefan_ml@behnel.de>
|
||||
Date: Sat, 4 May 2013 14:00:06 +0200
|
||||
Subject: [PATCH] prefer stdlib ET over externally installed version as the
|
||||
stdlib has taken the lead now
|
||||
|
||||
---
|
||||
src/lxml/tests/common_imports.py | 8 ++++----
|
||||
1 file changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/src/lxml/tests/common_imports.py b/src/lxml/tests/common_imports.py
|
||||
index 645a7db..c528a3c 100644
|
||||
--- a/src/lxml/tests/common_imports.py
|
||||
+++ b/src/lxml/tests/common_imports.py
|
||||
@@ -19,10 +19,10 @@ def make_version_tuple(version_string):
|
||||
IS_PYTHON3 = sys.version_info[0] >= 3
|
||||
|
||||
try:
|
||||
- from elementtree import ElementTree # standard ET
|
||||
+ from xml.etree import ElementTree # Python 2.5+
|
||||
except ImportError:
|
||||
try:
|
||||
- from xml.etree import ElementTree # Python 2.5+
|
||||
+ from elementtree import ElementTree # standard ET
|
||||
except ImportError:
|
||||
ElementTree = None
|
||||
|
||||
@@ -32,10 +32,10 @@ def make_version_tuple(version_string):
|
||||
ET_VERSION = (0,0,0)
|
||||
|
||||
try:
|
||||
- import cElementTree # standard ET
|
||||
+ from xml.etree import cElementTree # Python 2.5+
|
||||
except ImportError:
|
||||
try:
|
||||
- from xml.etree import cElementTree # Python 2.5+
|
||||
+ import cElementTree # standard ET
|
||||
except ImportError:
|
||||
cElementTree = None
|
||||
|
||||
--
|
||||
1.8.1.6
|
||||
|
@ -1,80 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/lxml/lxml-2.3.4.ebuild,v 1.12 2012/12/27 10:48:42 armin76 Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="*::3.2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.3 *-jython 2.7-pypy-*"
|
||||
|
||||
inherit distutils
|
||||
|
||||
MY_P="${PN}-${PV/_/}"
|
||||
|
||||
DESCRIPTION="A Pythonic binding for the libxml2 and libxslt libraries"
|
||||
HOMEPAGE="http://codespeak.net/lxml/ http://pypi.python.org/pypi/lxml"
|
||||
SRC_URI="http://codespeak.net/lxml/${MY_P}.tgz"
|
||||
# SRC_URI="http://codespeak.net/lxml/dev/${MY_P}.tgz"
|
||||
|
||||
LICENSE="BSD ElementTree GPL-2 PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc examples +threads"
|
||||
|
||||
RDEPEND=">=dev-libs/libxml2-2.7.2
|
||||
>=dev-libs/libxslt-1.1.15
|
||||
>=dev-python/beautifulsoup-3.0.8"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools"
|
||||
# lxml tarball contains files pregenerated by Cython.
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
|
||||
|
||||
# Compiler warnings are suppressed without --warnings option.
|
||||
DISTUTILS_GLOBAL_OPTIONS=("--warnings")
|
||||
|
||||
src_compile() {
|
||||
distutils_src_compile $(use threads || echo --without-threading)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
# Tests broken with Python 3.
|
||||
[[ "${PYTHON_ABI}" == 3.* ]] && return
|
||||
|
||||
local module
|
||||
for module in lxml/etree lxml/objectify; do
|
||||
ln -fs "../../$(ls -d build-${PYTHON_ABI}/lib.*)/${module}.so" "src/${module}.so" || die "ln -fs src/${module} failed"
|
||||
done
|
||||
|
||||
local exit_status="0" test
|
||||
for test in test.py selftest.py selftest2.py; do
|
||||
einfo "Running ${test}"
|
||||
if ! PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" "${test}"; then
|
||||
eerror "${test} failed with $(python_get_implementation) $(python_get_version)"
|
||||
exit_status="1"
|
||||
fi
|
||||
done
|
||||
|
||||
return "${exit_status}"
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
if use doc; then
|
||||
dohtml -r doc/html/* || die "Installation of documentation failed"
|
||||
dodoc *.txt || die "Installation of documentation failed"
|
||||
docinto doc
|
||||
dodoc doc/*.txt || die "Installation of documentation failed"
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins -r samples/* || die "Installation of examples failed"
|
||||
fi
|
||||
}
|
@ -1,81 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/lxml/lxml-2.3.5.ebuild,v 1.3 2012/10/13 18:43:05 armin76 Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="*::3.2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.3 *-jython 2.7-pypy-*"
|
||||
|
||||
inherit distutils
|
||||
|
||||
MY_P="${PN}-${PV/_/}"
|
||||
|
||||
DESCRIPTION="A Pythonic binding for the libxml2 and libxslt libraries"
|
||||
HOMEPAGE="http://codespeak.net/lxml/ http://pypi.python.org/pypi/lxml"
|
||||
SRC_URI="http://codespeak.net/lxml/${MY_P}.tgz"
|
||||
# SRC_URI="http://codespeak.net/lxml/dev/${MY_P}.tgz"
|
||||
|
||||
LICENSE="BSD ElementTree GPL-2 PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc examples +threads"
|
||||
|
||||
RDEPEND=">=dev-libs/libxml2-2.7.2
|
||||
>=dev-libs/libxslt-1.1.15
|
||||
>=dev-python/beautifulsoup-3.0.8"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools"
|
||||
# lxml tarball contains files pregenerated by Cython.
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
|
||||
|
||||
# Compiler warnings are suppressed without --warnings option.
|
||||
DISTUTILS_GLOBAL_OPTIONS=("*-cpython --warnings")
|
||||
|
||||
src_compile() {
|
||||
distutils_src_compile $(use threads || echo --without-threading)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
# Tests broken with Python 3.
|
||||
[[ "${PYTHON_ABI}" == 3.* ]] && return
|
||||
|
||||
local module
|
||||
for module in lxml/etree lxml/objectify; do
|
||||
ln -fs "../../$(ls -d build-${PYTHON_ABI}/lib.*)/${module}.so" "src/${module}.so" || die "ln -fs src/${module} failed"
|
||||
done
|
||||
|
||||
local exit_status="0" test
|
||||
for test in test.py selftest.py selftest2.py; do
|
||||
einfo "Running ${test}"
|
||||
if ! PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" "${test}"; then
|
||||
eerror "${test} failed with $(python_get_implementation) $(python_get_version)"
|
||||
exit_status="1"
|
||||
fi
|
||||
done
|
||||
|
||||
return "${exit_status}"
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
if use doc; then
|
||||
dohtml -r doc/html/*
|
||||
dodoc *.txt
|
||||
docinto doc
|
||||
dodoc doc/*.txt
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc -r samples/*
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
}
|
@ -1,81 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/lxml/lxml-2.3.6.ebuild,v 1.3 2012/10/13 18:43:05 armin76 Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="*::3.2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.3 *-jython 2.7-pypy-*"
|
||||
|
||||
inherit distutils
|
||||
|
||||
MY_P="${PN}-${PV/_/}"
|
||||
|
||||
DESCRIPTION="A Pythonic binding for the libxml2 and libxslt libraries"
|
||||
HOMEPAGE="http://codespeak.net/lxml/ http://pypi.python.org/pypi/lxml"
|
||||
SRC_URI="http://codespeak.net/lxml/${MY_P}.tgz"
|
||||
# SRC_URI="http://codespeak.net/lxml/dev/${MY_P}.tgz"
|
||||
|
||||
LICENSE="BSD ElementTree GPL-2 PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc examples +threads"
|
||||
|
||||
RDEPEND=">=dev-libs/libxml2-2.7.2
|
||||
>=dev-libs/libxslt-1.1.15
|
||||
>=dev-python/beautifulsoup-3.0.8"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools"
|
||||
# lxml tarball contains files pregenerated by Cython.
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
|
||||
|
||||
# Compiler warnings are suppressed without --warnings option.
|
||||
DISTUTILS_GLOBAL_OPTIONS=("*-cpython --warnings")
|
||||
|
||||
src_compile() {
|
||||
distutils_src_compile $(use threads || echo --without-threading)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
# Tests broken with Python 3.
|
||||
[[ "${PYTHON_ABI}" == 3.* ]] && return
|
||||
|
||||
local module
|
||||
for module in lxml/etree lxml/objectify; do
|
||||
ln -fs "../../$(ls -d build-${PYTHON_ABI}/lib.*)/${module}.so" "src/${module}.so" || die "ln -fs src/${module} failed"
|
||||
done
|
||||
|
||||
local exit_status="0" test
|
||||
for test in test.py selftest.py selftest2.py; do
|
||||
einfo "Running ${test}"
|
||||
if ! PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" "${test}"; then
|
||||
eerror "${test} failed with $(python_get_implementation) $(python_get_version)"
|
||||
exit_status="1"
|
||||
fi
|
||||
done
|
||||
|
||||
return "${exit_status}"
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
if use doc; then
|
||||
dohtml -r doc/html/*
|
||||
dodoc *.txt
|
||||
docinto doc
|
||||
dodoc doc/*.txt
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc -r samples/*
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user