summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2014-03-18 22:57:42 +0000
committerTim Harder <radhermit@gentoo.org>2014-03-18 22:57:42 +0000
commite63e978186fc66a9a2309ca7379a53b62e2c2074 (patch)
tree3abfca2de7cae9f2a5bb1a382fb04370e57459df /dev-python/greenlet
parentMark arm stable. (diff)
downloadhistorical-e63e978186fc66a9a2309ca7379a53b62e2c2074.tar.gz
historical-e63e978186fc66a9a2309ca7379a53b62e2c2074.tar.bz2
historical-e63e978186fc66a9a2309ca7379a53b62e2c2074.zip
Remove old.
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0x4AB3E85B4F064CA3
Diffstat (limited to 'dev-python/greenlet')
-rw-r--r--dev-python/greenlet/ChangeLog9
-rw-r--r--dev-python/greenlet/Manifest37
-rw-r--r--dev-python/greenlet/files/greenlet-0.3.1-python-3.2.patch50
-rw-r--r--dev-python/greenlet/files/greenlet-0.4.0-gcc48.patch159
-rw-r--r--dev-python/greenlet/greenlet-0.3.1.ebuild31
-rw-r--r--dev-python/greenlet/greenlet-0.3.3.ebuild27
-rw-r--r--dev-python/greenlet/greenlet-0.3.4-r1.ebuild41
-rw-r--r--dev-python/greenlet/greenlet-0.3.4.ebuild27
-rw-r--r--dev-python/greenlet/greenlet-0.4.0-r1.ebuild47
-rw-r--r--dev-python/greenlet/greenlet-0.4.0-r2.ebuild47
-rw-r--r--dev-python/greenlet/greenlet-0.4.0.ebuild41
-rw-r--r--dev-python/greenlet/greenlet-0.4.1.ebuild45
12 files changed, 16 insertions, 545 deletions
diff --git a/dev-python/greenlet/ChangeLog b/dev-python/greenlet/ChangeLog
index 394883c08cce..b9246b96c29d 100644
--- a/dev-python/greenlet/ChangeLog
+++ b/dev-python/greenlet/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-python/greenlet
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/greenlet/ChangeLog,v 1.25 2014/03/16 02:33:43 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/greenlet/ChangeLog,v 1.26 2014/03/18 22:57:40 radhermit Exp $
+
+ 18 Mar 2014; Tim Harder <radhermit@gentoo.org> -greenlet-0.3.1.ebuild,
+ -greenlet-0.3.3.ebuild, -greenlet-0.3.4.ebuild, -greenlet-0.3.4-r1.ebuild,
+ -greenlet-0.4.0.ebuild, -greenlet-0.4.0-r1.ebuild, -greenlet-0.4.0-r2.ebuild,
+ -greenlet-0.4.1.ebuild, -files/greenlet-0.3.1-python-3.2.patch,
+ -files/greenlet-0.4.0-gcc48.patch:
+ Remove old.
08 Mar 2014; Markus Meier <maekke@gentoo.org> greenlet-0.4.2.ebuild:
arm stable, bug #502780
diff --git a/dev-python/greenlet/Manifest b/dev-python/greenlet/Manifest
index 05c0a445f1e6..463b5d8fbd27 100644
--- a/dev-python/greenlet/Manifest
+++ b/dev-python/greenlet/Manifest
@@ -1,39 +1,18 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
-AUX greenlet-0.3.1-python-3.2.patch 1383 SHA256 31bfdfaee6f8ab51394063c0500fe0c13da9a5aa6cbd5bbe88d862221cccb753 SHA512 cb22fd09ea44b9ac31beefd33cf7dcda3e0c00735501bc9a742f54db5c74516d178972469d023e1e5ebf2e1188400ecd1455560d58b4c4ac19e05b01e9b2a857 WHIRLPOOL 18f6f2ac88af9e9b30852136d6d5733509216f425f48b605ff7347e91735d63bda0487651c63abf1e1b7d176a27397ae997cd7de14307fb566bf46e273e51632
-AUX greenlet-0.4.0-gcc48.patch 4593 SHA256 cc3e74c7b547a06e64257aed90851cb961472f0f04d1e530dda46fd2563a4a4b SHA512 44368df1c2c6e1ca08332c3e2aacda2caa225d599114cc127cb4e434ccf3036c85fd6a5880625d604491a191a5e5b0ff34a99d25f4c1fbabd9cfc287d529be96 WHIRLPOOL df19bf17eceebee7c367f973cd40a5c80a075432c622661c4bb5456f453e6009028128498febe6f276b63df8b25f503647ec6c59b9169390b6523c6c3e330c1e
-DIST greenlet-0.3.1.tar.gz 39037 SHA256 63a0a9b3a59d5413741f81d021fc6c292364953ea8dddd71ac129d77b9b143da SHA512 db8c53f982e594861db5b11c89e09b9cd08e8ba47b59c1b5579d38cbae4c969389bcb1743a8a3bae18526904fb1436b8393864f92844ecde5c8a9458a909b33d WHIRLPOOL f52800d9e4b280c6164fd47af38e5984102d813717c28416e21340b5a808e22a6b32d4ad1e52070a73e27adb59ca107decf25ea056aaae23ddcf7e6efb4eeb30
-DIST greenlet-0.3.3.zip 65643 SHA256 4f39eb14a48ecbd8a685779f6fca4eb74db722c1af699894fee334b25dad8ed1 SHA512 f23450bcd6e91756b4c0bb832e4f5aeda942fb2bf58c80a34fa8e88cbc7078d8db1e756806e13812094d1e83b58af0435002278ef01af6fecb4557d65cd5a51e WHIRLPOOL 014e9e14399b7affcd15a80faa75d4d45a251e1a25cb9858e4d0dc7b5d095404be74419f16046f8082da4e0d0b361f19ebd0ce90464478ab01baa6649401cdf6
-DIST greenlet-0.3.4.zip 63158 SHA256 259ed0f34de9b0c948f42bdaffe378ea53d210d38377c6dcb0c6b728fccad1b0 SHA512 e8fc2be06d5cb1b4ea258de1ae6d63c5cc86fbba37b91552a93731d2a98158c4f659d93b9621e850a67cf1608c7ceb79467ee1b275c7de9fbc53de64bf41278a WHIRLPOOL 4029cf153bf750a4583db48971156281b7e248d950b2dcbd769e458b681c9406a6b4ee252eabdb268b8dcffe67b4899c8ff14f1a380ea71c7e7bed2f6a670ec1
-DIST greenlet-0.4.0.zip 72790 SHA256 3f52af03bf8a89045fc159c6a76d5642349b30fb41c3df1a22b12bbd3920b1ee SHA512 c072ceb83b3040448f0f7c8596aa134837fcc2ada5513b12fbeada4f5ae2ca5e4d4c5814c317a9270e4a0a65a02e2525dce7edad678978782013da7caa188d19 WHIRLPOOL 4d813b3f4bd0063bae330d83bb041e4ce23862006583dee2c497019ec7bffc076a2da708291270539be116abf659ef3736599daa55a44e716dea1becd999c1f5
-DIST greenlet-0.4.1.zip 75749 SHA256 ea671592f8460541286b133ed46a6cf5311a6b75051cc31b53e2bc38992b775a SHA512 bb33db07b8b86ba8ccec920748cfc207d27eed0b76218cf06c3b1706a1e9350be62a99a92e05c8e683a7c3ab1e232dbb46259380c7e5f2c6b140a3a96a36f8bf WHIRLPOOL f82e63dea1ffe38661f77adb1cfdc183ae8b48fec6007c636cec8ab42e3aa2286bb170a216ca30fe0f22f9b804f150f5ee24c96c8d6897ec245989e8deacfdfd
DIST greenlet-0.4.2.zip 74404 SHA256 b160e556a22e16bae3f3f63ffce7898682c803cd896457192f7b54fe74fe991e SHA512 9596b740921e4a80bcb43adb725a7a4ea428dadc10ba55f8840837ba685b010c273a4a2bd62c5ba4bfdf27ce87c914a83714d762bacafb8e0a3cd7e2a9675992 WHIRLPOOL d65f1e30afb19d305ce3da884846e8f9f3e0222e02bff90f88f606dc0cc797efcab583069cf99be5b05520e0d98299319fef45bfd696050fc898868d233c23dd
-EBUILD greenlet-0.3.1.ebuild 776 SHA256 265d19f6f70505d68b23b31b1c37dd0d10270d374403966b0530e82752e595ae SHA512 0e97330890c46b62330f7057fc2645ba4a25bcbf46407df7a6f916253c5e4e793543abaeabf754c2ff285172b05b8298cbf0abc9d8333aaa65a14efb50644283 WHIRLPOOL 8caf75358a63a710ad54e240b46377bb7ec71e4a6d49197c49c3f295da6b5389088b44830379b6bbbad711575715346a9987b3e10c3ef19d01b09505b27e1914
-EBUILD greenlet-0.3.3.ebuild 696 SHA256 feec873e361456f5d78078b3ddcf40ffbac9ad9c5dc76ed96b84278808178060 SHA512 5794534988618391e0b00a74586cf01d8820b8b4d728e6288995bff5976638e90d44bbd4aeea3092dec1fdd01ff534751b6170b34bd2b93c61ff757a6f2d130c WHIRLPOOL 97e005bc75637bb20cbe4b59f912f429417ba82cbdb932a7fa3bb55e08e789a742676f89eefe9b7729545a1f59c3241fcaa57fbcec75ab450a9cbd0c39d73939
-EBUILD greenlet-0.3.4-r1.ebuild 879 SHA256 c0abd6bb1bce56bd9286a582b2a39a71d8a01f76eacc09aabc15aa299a8a7f29 SHA512 d0de713dfb70a74bf08fc8d4d9b39fe6f319593e8fc2af25810189abad62206858c107b32b501afa4ac23f44a7f3aa61aeb8430bfef18ed8e67a1157b3ac9221 WHIRLPOOL b3dd1ad445328f6bde6c275158dd3902a6206bb98ee56f318d8d0045aec43538c5b1e113d5d0f87ed1362efcad7da53178951d8f58636821f7800eaf2ce2e2d2
-EBUILD greenlet-0.3.4.ebuild 696 SHA256 18b596cdcc0c0613ed6c49519a003f1d3118530cfa49b8ebaa48ec5d289fca02 SHA512 fa0a5f32a79928a699d689bc020fe871ffb02b75132a36032b004c57edbcd498a3dc3ab816d9ddd748fd394b95262e987198a964e149c19df74eb63c332d5496 WHIRLPOOL 869f1e6c065fcceedeb0e2810e57f682bcde0e6b0b2da4e37f54b729c621bb5d9c26d9cd41e849c06daf882bf34a89002b082cc0d96fe306e1220834ab04d636
-EBUILD greenlet-0.4.0-r1.ebuild 1145 SHA256 128b871dc361ea965ab20002207cb0e60b23aa27979a5c47e1bbe85ea42789fe SHA512 3be56dea73130a23a455d57ef49d6ac28eed1109700ba086045d0488508d6a0f8ebe1ca36ab2b89a2f27cdaffe393d2d1038aca50265bb61d12352d86c93b891 WHIRLPOOL 3d661b1c919109bd265b7cd5ef3a7accecaf9fbc0ffdb57b7b43997f5283cfc03a207629faadedfe2f6cedde9621a0e19e22d8656b020ab5530e7d64719efd4f
-EBUILD greenlet-0.4.0-r2.ebuild 1184 SHA256 94b3551181323c522099f371e5d2a6d33e5bff1ee98fb314e9e7c993d17edb13 SHA512 3cced68e66ca72197b40ddf4cf0a89095d520040a411c9bd9edbdbb746151c3338de2493fc183a7ad53ee2cb4f6038a5ad446c6ee6dd10366d8869a9f2b45a19 WHIRLPOOL e9399358eb26392a91ccd77612e1c5e64cdcc60934dfa4f3f38e0b4195eac3da06fdbbb2721cecf1f89f807b357db8c95246484104d35d6eff8e8fa32af2af7d
-EBUILD greenlet-0.4.0.ebuild 903 SHA256 7d7affc476ca5cca01b9c81f1cf1408d0d1ae5e22c1c987b00ee5166c7931544 SHA512 f3ed75f0d6570fff5201993ef87878b7a533440f4b5825ce189cb2ce906f23a44b11a5ef00dc1c54fdfcfeff82a13e3902a3e0bb2ab71bd586dfa543f972119b WHIRLPOOL 384dbef2995d131068723e3f0a3a7edc58a695673b8517c42df2d9817dc1790becd33c8ac9f1a3bc2cd404dff62d32feab53ce7e3f2e0aaa4063d08aef35c20c
-EBUILD greenlet-0.4.1.ebuild 1139 SHA256 d7fdc38781f4e748f66c84df6b670fdc2377f8f83cd5ab98ebbebd96b85dfbf5 SHA512 64cb2851cc0e1385913762e24024e91820ba6ebb823b31a65440c55e4f5f448b2072c2933033901278b33178ffd31b242a05d1f97ae3d0decb34927975446ce8 WHIRLPOOL 3e405b32c104d46a50b50c96360e189817f4ded4a41e8b381804f71b456aa02a1f47b36aa88e1cb95c84865647a248bcd04a71f2eb8457e3ecefc4a557f87449
EBUILD greenlet-0.4.2.ebuild 1139 SHA256 2bd2d109a319090273524c824459135d596af0e607d77f028cccea025fbb7d53 SHA512 7ba6cdcf42bacdfa47ae9ecc9cad96ffbc2ce22979d65947d71cb98090bd6c1be0c0daa099914d4ab4d59172b9da08f922fbbbaf0b8478804fa498a3916cb851 WHIRLPOOL b39aed389cc240fc6490ff351aa8a03410b8aab8d45e408ad77792d4ec844ef9ec7dd1377760dae7bbdd2f2613745d0cef73b5f6bd4c5acebff04f5c9ef90120
-MISC ChangeLog 3234 SHA256 628591bf56339d40c6e25c060cb26cc0e008a8815120b8bd34f3a6a915c6f84e SHA512 3109b1d870eba7eaca1b903f09d12d4f0cfcae286572e030a5b87bfe11c09878a2a212852b1c0d1ebdb42ae597aefba4b9ef7b255eddd3e0c8a85da3d4b32c9d WHIRLPOOL 95839d402f5252900f17f4c171d948547d168d968f26db4d2b961f3bf841171e3ce428bcbab65bd980982386d5638662267ad7fd25d6c77dfe657dc24651d2a2
+MISC ChangeLog 3585 SHA256 cbbaae283ef40a5fee09ba5abafa066f53b8dfc17fb9f8319700fd784b113f76 SHA512 76d707635b7c68a456f9c21f905773978ae27ad94b076da856df9d34eaeef97da682440a163033daf16781cf017f64526cf9952ff493e91617bd0723080e21ee WHIRLPOOL bf9974faccba003848cf3811439549ab616c7a5eea7b793e8f4b1393535d415da73c10e17335e1432839da6b2f7cfba8a04423e1910c83a9efa0235fb6527455
MISC metadata.xml 231 SHA256 af20e4658b02532af9c3d199aec64e164cbddc8de2f2ec5b41849ffc78b7248d SHA512 76402aadf6a058e19bdcffc0446149e1bb89cb03abe53d1b9151cd65cdebbca9dc3c92e7232d28d1485901dff28f4f10f7545fc143549ce00a92b0e6f2f85f96 WHIRLPOOL 8d4e304db19b22a0a90396e8f9d2b2e6158e35d79640580c7b86a233e354d5a80a590204f595c94b4dfab4f194f0a29a2321eeb83040aeccf53534867deb8215
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQIcBAEBCAAGBQJTJQ2OAAoJEPGu1DbS6WIAP+wQAIZMIz9rVrMYgLOBg1cDm87B
-NqDpCkFM7AbQiGCOiDNiBa+LYpXx7R0+gt3NeLILm1rECp8KycV1bc8LmWxFnrDu
-CmDoJWMnYxvELTBenbzdyfVxJ74KOWMWuR/pWBZ3PKdzlqmSLu0IiXraHTsaR2im
-5pRR93JIuDxiZ2SU+Epns48j1tm7qVV4R/Jfjf7P8RVeaREkh0sYu6xSAjyJkNgx
-bXWm1w+n1z0ufb8mPCUoYTp3kdJoAqXkz6I9CC58J075Z/rII+cHnlwJoXCLzWFa
-JdKBudd+PfmWZaM/MOdt0fUFtSY35sw/eLqGW4Oluk2huuj6wGuW8tz6fah1oOfl
-rrrOKV9DxFHumvyxwlcm3fhzKr0tNT576WyY3STC7hjpadjYkXjspXwzYSCUeQ7z
-mhC/xwHkOw35rllRiYZ8rt5ZS9Czp4vFfnwc1M4k0RP9Y3c/3AnTRl0eULQJD+4G
-vQag1aJFP2l7N9nieiEfScU3D291w4C04TMyAwj83JBTDyaks4cEUybHdFSZkUop
-IWtItfJwi7v61jDa8eiQFqhRmKxdkvfcVjUspMr+KoIP11N/CuSVDtSoJpjDiXHy
-dXBUCNiXHIIhi3cMRZoUVjdSBpwqFThwmBN3fAlmWB5kbxR42+TdOkNXEY8audSF
-t/O8NgZQGDDAaLj4J1tE
-=yiFf
+iQEcBAEBCAAGBQJTKM9lAAoJEEqz6FtPBkyjvlEH/RSHF6DWSkGhrmXt1wWgKKl7
+/8pVvx+1HP7XnteZ2ncERWWkTyFoPT3V7z3FcZSUossjePCDNJXm4JFWBlvxw5wm
+FO182sM1rEBySlsSHcK/0LRHB3lfCKZ+bP6hDay3Q6aAGl/w0h9Xg1GiNKOs3Vdh
+kFwZ0Kub06ZxWPYFjgY9PbnLcYawMR9cPl0HdMPk8GH42tJMdM23dbaQn3tdq8CU
+lm4zBSnhBEU0B4Co8WwG5cxJIMTl64za/s/8UmvAjS93eElvdeohGG5K3nujCX7M
+cRSXpwk27GKwwJBJVO79wtjtfd9aZN4V/A3lPo6Qb3pxaPxWs4+w9xHgydcV3y0=
+=JRN0
-----END PGP SIGNATURE-----
diff --git a/dev-python/greenlet/files/greenlet-0.3.1-python-3.2.patch b/dev-python/greenlet/files/greenlet-0.3.1-python-3.2.patch
deleted file mode 100644
index d4b158b54016..000000000000
--- a/dev-python/greenlet/files/greenlet-0.3.1-python-3.2.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-https://bitbucket.org/ambroff/greenlet/changeset/f61fffb6feeb
-
---- greenlet.c
-+++ greenlet.c
-@@ -1267,7 +1267,11 @@
- _PyGreenlet_API[PyGreenlet_SetParent_NUM] =
- (void *) PyGreenlet_SetParent;
-
-+#ifdef GREENLET_USE_PYCAPSULE
-+ c_api_object = PyCapsule_New((void *) _PyGreenlet_API, "greenlet._C_API", NULL);
-+#else
- c_api_object = PyCObject_FromVoidPtr((void *) _PyGreenlet_API, NULL);
-+#endif
- if (c_api_object != NULL)
- {
- PyModule_AddObject(m, "_C_API", c_api_object);
---- greenlet.h
-+++ greenlet.h
-@@ -31,6 +31,10 @@
- #define PyGreenlet_ACTIVE(op) (((PyGreenlet*)(op))->stack_start != NULL)
- #define PyGreenlet_GET_PARENT(op) (((PyGreenlet*)(op))->parent)
-
-+#if (PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION >= 7) || (PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION >= 1) || PY_MAJOR_VERSION > 3
-+#define GREENLET_USE_PYCAPSULE
-+#endif
-+
- /* C API functions */
-
- /* Total number of symbols that are exported */
-@@ -108,6 +112,12 @@
- _PyGreenlet_API[PyGreenlet_SetParent_NUM])
-
- /* Macro that imports greenlet and initializes C API */
-+#ifdef GREENLET_USE_PYCAPSULE
-+#define PyGreenlet_Import() \
-+{ \
-+ _PyGreenlet_API = (void**)PyCapsule_Import("greenlet._C_API", 0); \
-+}
-+#else
- #define PyGreenlet_Import() \
- { \
- PyObject *module = PyImport_ImportModule("greenlet"); \
-@@ -122,6 +132,7 @@
- Py_DECREF(module); \
- } \
- }
-+#endif
-
- #endif /* GREENLET_MODULE */
-
diff --git a/dev-python/greenlet/files/greenlet-0.4.0-gcc48.patch b/dev-python/greenlet/files/greenlet-0.4.0-gcc48.patch
deleted file mode 100644
index a9266714f522..000000000000
--- a/dev-python/greenlet/files/greenlet-0.4.0-gcc48.patch
+++ /dev/null
@@ -1,159 +0,0 @@
-From 5a0a628021357bf37cccbcc401e07dc99e9415ee Mon Sep 17 00:00:00 2001
-From: Ralf Schmitt <ralf@systemexit.de>
-Date: Fri, 3 May 2013 21:48:03 +0200
-Subject: [PATCH] fix segfaults when using gcc 4.8 on amd64/x86 unix
-
-I'm just porting the aarch64 stuff committed recently.
----
- platform/switch_amd64_unix.h | 14 +++++++++++++-
- platform/switch_x86_unix.h | 15 ++++++++++++++-
- 2 files changed, 27 insertions(+), 2 deletions(-)
-
-diff --git a/platform/switch_amd64_unix.h b/platform/switch_amd64_unix.h
-index 3ed0a16..05b34b6 100644
---- a/platform/switch_amd64_unix.h
-+++ b/platform/switch_amd64_unix.h
-@@ -2,6 +2,9 @@
- * this is the internal transfer function.
- *
- * HISTORY
-+ * 3-May-13 Ralf Schmitt <ralf@systemexit.de>
-+ * Add support for strange GCC caller-save decisions
-+ * (ported from switch_aarch64_gcc.h)
- * 18-Aug-11 Alexey Borzenkov <snaury@gmail.com>
- * Correctly save rbp, csr and cw
- * 01-Apr-04 Hye-Shik Chang <perky@FreeBSD.org>
-@@ -33,10 +36,18 @@
-
- #define REGS_TO_SAVE "r12", "r13", "r14", "r15"
-
-+/* See switch_aarch64_gcc.h for the purpose of this function */
-+__attribute__((noinline, noclone)) int fancy_return_zero(void);
-+__attribute__((noinline, noclone)) int
-+fancy_return_zero(void)
-+{
-+ return 0;
-+}
-
- static int
- slp_switch(void)
- {
-+ int err = 0;
- void* rbp;
- void* rbx;
- unsigned int csr;
-@@ -57,13 +68,14 @@ slp_switch(void)
- : "r" (stsizediff)
- );
- SLP_RESTORE_STATE();
-+ err = fancy_return_zero();
- }
- __asm__ volatile ("movq %0, %%rbx" : : "m" (rbx));
- __asm__ volatile ("movq %0, %%rbp" : : "m" (rbp));
- __asm__ volatile ("ldmxcsr %0" : : "m" (csr));
- __asm__ volatile ("fldcw %0" : : "m" (cw));
- __asm__ volatile ("" : : : REGS_TO_SAVE);
-- return 0;
-+ return err;
- }
-
- #endif
-diff --git a/platform/switch_x86_unix.h b/platform/switch_x86_unix.h
-index 0d42a67..e66633e 100644
---- a/platform/switch_x86_unix.h
-+++ b/platform/switch_x86_unix.h
-@@ -2,6 +2,9 @@
- * this is the internal transfer function.
- *
- * HISTORY
-+ * 3-May-13 Ralf Schmitt <ralf@systemexit.de>
-+ * Add support for strange GCC caller-save decisions
-+ * (ported from switch_aarch64_gcc.h)
- * 19-Aug-11 Alexey Borzenkov <snaury@gmail.com>
- * Correctly save ebp, ebx and cw
- * 07-Sep-05 (py-dev mailing list discussion)
-@@ -33,9 +36,18 @@
- /* the above works fine with gcc 2.96, but 2.95.3 wants this */
- #define STACK_MAGIC 0
-
-+/* See below for the purpose of this function. */
-+__attribute__((noinline, noclone)) int fancy_return_zero(void);
-+__attribute__((noinline, noclone)) int
-+fancy_return_zero(void)
-+{
-+ return 0;
-+}
-+
- static int
- slp_switch(void)
- {
-+ int err = 0;
- #ifdef _WIN32
- void *seh;
- #endif
-@@ -64,6 +76,7 @@ slp_switch(void)
- : "r" (stsizediff)
- );
- SLP_RESTORE_STATE();
-+ err = fancy_return_zero();
- }
- #ifdef _WIN32
- __asm__ volatile (
-@@ -77,7 +90,7 @@ slp_switch(void)
- __asm__ volatile ("movl %0, %%ebp" : : "m" (ebp));
- __asm__ volatile ("fldcw %0" : : "m" (cw));
- __asm__ volatile ("" : : : "esi", "edi");
-- return 0;
-+ return err;
- }
-
- #endif
---
-1.8.2.1
-
---- b/setup.py
-+++ b/setup.py
-@@ -1,6 +1,6 @@
- #! /usr/bin/env python
-
--import sys, os, glob, platform
-+import sys, os, glob, platform, tempfile, shutil
-
- # workaround segfaults on openbsd and RHEL 3 / CentOS 3 . see
- # https://bitbucket.org/ambroff/greenlet/issue/11/segfault-on-openbsd-i386
-@@ -54,10 +54,33 @@
- extra_objects=extra_objects,
- depends=['greenlet.h', 'slp_platformselect.h'] + _find_platform_headers())]
-
--from my_build_ext import build_ext
--
-+from my_build_ext import build_ext as _build_ext
- from distutils.core import Command
-
-+
-+class build_ext(_build_ext):
-+ def configure_compiler(self):
-+ compiler = self.compiler
-+ if compiler.__class__.__name__ != "UnixCCompiler":
-+ return
-+
-+ compiler.compiler_so += ["-fno-tree-dominator-opts"]
-+ tmpdir = tempfile.mkdtemp()
-+
-+ try:
-+ simple_c = os.path.join(tmpdir, "simple.c")
-+ open(simple_c, "w").write("void foo(){}")
-+ compiler.compile([simple_c], output_dir=tmpdir)
-+ except Exception:
-+ del compiler.compiler_so[-1]
-+
-+ shutil.rmtree(tmpdir)
-+
-+ def build_extensions(self):
-+ self.configure_compiler()
-+ _build_ext.build_extensions(self)
-+
-+
- class fixup(Command):
- user_options = []
- description = "prevent duplicate uploads and upload for the wrong architecture"
diff --git a/dev-python/greenlet/greenlet-0.3.1.ebuild b/dev-python/greenlet/greenlet-0.3.1.ebuild
deleted file mode 100644
index 13d4c1c6af09..000000000000
--- a/dev-python/greenlet/greenlet-0.3.1.ebuild
+++ /dev/null
@@ -1,31 +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/greenlet/greenlet-0.3.1.ebuild,v 1.3 2012/02/20 14:51:40 patrick Exp $
-
-EAPI="3"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="*-jython 2.7-pypy-*"
-DISTUTILS_SRC_TEST="setup.py"
-
-inherit distutils eutils
-
-DESCRIPTION="Lightweight in-process concurrent programming"
-HOMEPAGE="http://pypi.python.org/pypi/greenlet"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="dev-python/setuptools"
-RDEPEND=""
-
-PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
-
-DOCS="AUTHORS NEWS README"
-
-src_prepare() {
- distutils_src_prepare
- epatch "${FILESDIR}/${P}-python-3.2.patch"
-}
diff --git a/dev-python/greenlet/greenlet-0.3.3.ebuild b/dev-python/greenlet/greenlet-0.3.3.ebuild
deleted file mode 100644
index abc3563d5991..000000000000
--- a/dev-python/greenlet/greenlet-0.3.3.ebuild
+++ /dev/null
@@ -1,27 +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/greenlet/greenlet-0.3.3.ebuild,v 1.2 2012/02/20 14:51:40 patrick Exp $
-
-EAPI="3"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="*-jython 2.7-pypy-*"
-DISTUTILS_SRC_TEST="setup.py"
-
-inherit distutils eutils
-
-DESCRIPTION="Lightweight in-process concurrent programming"
-HOMEPAGE="http://pypi.python.org/pypi/greenlet"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="dev-python/setuptools
- app-arch/unzip"
-RDEPEND=""
-
-PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
-
-DOCS="AUTHORS NEWS"
diff --git a/dev-python/greenlet/greenlet-0.3.4-r1.ebuild b/dev-python/greenlet/greenlet-0.3.4-r1.ebuild
deleted file mode 100644
index e7ac294bb405..000000000000
--- a/dev-python/greenlet/greenlet-0.3.4-r1.ebuild
+++ /dev/null
@@ -1,41 +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/greenlet/greenlet-0.3.4-r1.ebuild,v 1.2 2012/05/15 21:50:43 xarthisius Exp $
-
-EAPI=4
-
-SUPPORT_PYTHON_ABIS=1
-RESTRICT_PYTHON_ABIS="2.7-pypy-* *-jython"
-DISTUTILS_SRC_TEST=setup.py
-
-inherit distutils
-
-DESCRIPTION="Lightweight in-process concurrent programming"
-HOMEPAGE="http://pypi.python.org/pypi/greenlet/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc"
-
-DEPEND="app-arch/unzip
- dev-python/setuptools
- doc? ( dev-python/sphinx )"
-RDEPEND=""
-
-PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
-
-src_compile() {
- distutils_src_compile
- if use doc ; then
- emake -C doc html
- fi
-}
-
-src_install() {
- distutils_src_install
- if use doc; then
- dohtml -r doc/_build/html/
- fi
-}
diff --git a/dev-python/greenlet/greenlet-0.3.4.ebuild b/dev-python/greenlet/greenlet-0.3.4.ebuild
deleted file mode 100644
index fd9e69604329..000000000000
--- a/dev-python/greenlet/greenlet-0.3.4.ebuild
+++ /dev/null
@@ -1,27 +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/greenlet/greenlet-0.3.4.ebuild,v 1.1 2012/03/09 08:13:21 patrick Exp $
-
-EAPI="3"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="*-jython 2.7-pypy-*"
-DISTUTILS_SRC_TEST="setup.py"
-
-inherit distutils eutils
-
-DESCRIPTION="Lightweight in-process concurrent programming"
-HOMEPAGE="http://pypi.python.org/pypi/greenlet"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="dev-python/setuptools
- app-arch/unzip"
-RDEPEND=""
-
-PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
-
-DOCS="AUTHORS NEWS"
diff --git a/dev-python/greenlet/greenlet-0.4.0-r1.ebuild b/dev-python/greenlet/greenlet-0.4.0-r1.ebuild
deleted file mode 100644
index cb3fb74411a4..000000000000
--- a/dev-python/greenlet/greenlet-0.4.0-r1.ebuild
+++ /dev/null
@@ -1,47 +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/greenlet/greenlet-0.4.0-r1.ebuild,v 1.3 2013/09/05 18:47:05 mgorny Exp $
-
-EAPI=5
-
-# Note: greenlet is built-in in pypy
-PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
-
-inherit distutils-r1 flag-o-matic
-
-DESCRIPTION="Lightweight in-process concurrent programming"
-HOMEPAGE="http://pypi.python.org/pypi/greenlet/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc"
-
-DEPEND="app-arch/unzip
- dev-python/setuptools[${PYTHON_USEDEP}]
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
-RDEPEND=""
-
-python_compile() {
- if [[ ${EPYTHON} == python2* ]]; then
- local CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS}
-
- append-flags -fno-strict-aliasing
- fi
-
- distutils-r1_python_compile
-}
-
-python_compile_all() {
- use doc && emake -C doc html
-}
-
-python_test() {
- "${PYTHON}" run-tests.py -n || die "Tests fail with ${EPYTHON}"
-}
-
-python_install_all() {
- use doc && local HTML_DOCS=( doc/_build/html/. )
- distutils-r1_python_install_all
-}
diff --git a/dev-python/greenlet/greenlet-0.4.0-r2.ebuild b/dev-python/greenlet/greenlet-0.4.0-r2.ebuild
deleted file mode 100644
index fc92b5dab892..000000000000
--- a/dev-python/greenlet/greenlet-0.4.0-r2.ebuild
+++ /dev/null
@@ -1,47 +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/greenlet/greenlet-0.4.0-r2.ebuild,v 1.2 2013/09/05 18:47:05 mgorny Exp $
-
-EAPI=5
-
-# Note: greenlet is built-in in pypy
-PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
-
-inherit distutils-r1 flag-o-matic
-
-DESCRIPTION="Lightweight in-process concurrent programming"
-HOMEPAGE="http://pypi.python.org/pypi/greenlet/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc"
-
-DEPEND="app-arch/unzip
- dev-python/setuptools[${PYTHON_USEDEP}]
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
-
-PATCHES=( "${FILESDIR}"/${PN}-0.4.0-gcc48.patch )
-
-python_compile() {
- if [[ ${EPYTHON} == python2* ]]; then
- local CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS}
- append-flags -fno-strict-aliasing
- fi
-
- distutils-r1_python_compile
-}
-
-python_compile_all() {
- use doc && emake -C doc html
-}
-
-python_test() {
- "${PYTHON}" run-tests.py -n || die "Tests fail with ${EPYTHON}"
-}
-
-python_install_all() {
- use doc && local HTML_DOCS=( doc/_build/html/. )
- distutils-r1_python_install_all
-}
diff --git a/dev-python/greenlet/greenlet-0.4.0.ebuild b/dev-python/greenlet/greenlet-0.4.0.ebuild
deleted file mode 100644
index ad63d6b8a015..000000000000
--- a/dev-python/greenlet/greenlet-0.4.0.ebuild
+++ /dev/null
@@ -1,41 +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/greenlet/greenlet-0.4.0.ebuild,v 1.3 2012/12/06 17:35:30 bicatali Exp $
-
-EAPI=4
-
-SUPPORT_PYTHON_ABIS=1
-RESTRICT_PYTHON_ABIS="2.7-pypy-* *-jython"
-DISTUTILS_SRC_TEST=setup.py
-
-inherit distutils
-
-DESCRIPTION="Lightweight in-process concurrent programming"
-HOMEPAGE="http://pypi.python.org/pypi/greenlet/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc"
-
-DEPEND="app-arch/unzip
- dev-python/setuptools
- doc? ( dev-python/sphinx )"
-RDEPEND=""
-
-PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
-
-src_compile() {
- distutils_src_compile
- if use doc ; then
- emake -C doc html
- fi
-}
-
-src_install() {
- distutils_src_install
- if use doc; then
- dohtml -r doc/_build/html/
- fi
-}
diff --git a/dev-python/greenlet/greenlet-0.4.1.ebuild b/dev-python/greenlet/greenlet-0.4.1.ebuild
deleted file mode 100644
index 3b8d868a77f5..000000000000
--- a/dev-python/greenlet/greenlet-0.4.1.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/greenlet/greenlet-0.4.1.ebuild,v 1.6 2014/02/16 19:53:28 vapier Exp $
-
-EAPI=5
-
-# Note: greenlet is built-in in pypy
-PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
-
-inherit distutils-r1 flag-o-matic
-
-DESCRIPTION="Lightweight in-process concurrent programming"
-HOMEPAGE="http://pypi.python.org/pypi/greenlet/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 arm ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
-IUSE="doc"
-
-DEPEND="app-arch/unzip
- dev-python/setuptools[${PYTHON_USEDEP}]
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
-
-python_compile() {
- if [[ ${EPYTHON} == python2* ]]; then
- local CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS}
- append-flags -fno-strict-aliasing
- fi
-
- distutils-r1_python_compile
-}
-
-python_compile_all() {
- use doc && emake -C doc html
-}
-
-python_test() {
- "${PYTHON}" run-tests.py -n || die "Tests fail with ${EPYTHON}"
-}
-
-python_install_all() {
- use doc && local HTML_DOCS=( doc/_build/html/. )
- distutils-r1_python_install_all
-}