diff options
Diffstat (limited to 'dev-python/greenlet')
-rw-r--r-- | dev-python/greenlet/Manifest | 2 | ||||
-rw-r--r-- | dev-python/greenlet/greenlet-3.1.1.ebuild | 48 |
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/greenlet/Manifest b/dev-python/greenlet/Manifest index 0e040d7757dd..4ee21fb6efa8 100644 --- a/dev-python/greenlet/Manifest +++ b/dev-python/greenlet/Manifest @@ -1,6 +1,8 @@ AUX greenlet-3.0.3-py313.patch 8632 BLAKE2B 74d1119fdadd1f08a9a0e60398033be9e53797dbff466e896d8a935f4b9923e9ad399bb66ba07cabbbead296950a7e3fb7893f26c0f6b9057639f6db8b44f5e3 SHA512 b7c6185319426aa8a5e2808ad8d8e9d1db6c97e4fe4bb09f8a30af3f9e69426f6dd445d805c7ba3462dc47694dd912f94cc91834c04cc4fdc20d5cd6bb73491b DIST greenlet-3.0.3.tar.gz 182013 BLAKE2B 34ba9f13dd01f5bacedb69952b4d3d08e55eba82d94c5d95cf8bfeb0f1ce94dbde9d62f5e56c33cbf2467d82f6ffd8d05a37048d0292102b1dbb68c67e9398f4 SHA512 20d8818376a200332cbc2c85968317ddf828d2adf3fcc3c53623cd1504ec9a4e4e987e841bd2fe65e934e2b8a5e73a7205847526f0bd196e7afcdf3ae40e9d9b DIST greenlet-3.1.0.tar.gz 183954 BLAKE2B 30bc17bd449cbffba5a4a3b988de86c14335a6fc2311626f6f295f2c1434070ce3b9118341e328bc9a70904a3f6da6b527c28b0494371f58b50251db593f3ba4 SHA512 2c0d97848757e6346933426e3f6feb18120b3a63695a746acddbb467e01503174c46aea9b62e7507e8700f3450581ff2460f45700331368333977abebeb805eb +DIST greenlet-3.1.1.tar.gz 186022 BLAKE2B 1d73f63d3bf881534bd64eca6510f32d1596261bd42176d396c7a0442494c73f8b03e57621bd11fc1bc67db550514c26a94926eaba8c53e08eecb3f999c9ba16 SHA512 915a6e22c20b235de472c61c7bc4cb60a08b79e29127c4fb817c362cee37f589bc362f12ed31bdc7dda91f49976d4e2784c8d13202bf598156a0aacacdb7f6fb EBUILD greenlet-3.0.3-r1.ebuild 1284 BLAKE2B c66f36eb0edbdd736aa22a678493c72c1b94ce5c7abf1dc30120d3ecd802eff1b06baec7bb83d434c2399c883f7c11dbb7cac39c34e77b95aca71a081d2ca473 SHA512 181257056ea9968a33d4332122886afdb53fbb0ecf4f6907e17f47b1c55a882ac8c22692fa54b3f7596b9764e72313428a6ad431a1317a00a8fc9e27afd1ffd1 EBUILD greenlet-3.1.0.ebuild 1179 BLAKE2B a662b215fd4b8fb77d33dde0fd76bc48745bd01cee7725b61c96598f3725d3de3777451856f42f272e005f7666efc361fd85f77e9df5efc5e1c67b19316e390d SHA512 aeb9e1f3ded799bc0a296ac426c371dc10345bd09d8713a98e554a35fed7b89ad2c386aa2c7a5a2bc82c5499a7bf42f60f6d116ad544d3c005fc2d52bcc092a6 +EBUILD greenlet-3.1.1.ebuild 1179 BLAKE2B a662b215fd4b8fb77d33dde0fd76bc48745bd01cee7725b61c96598f3725d3de3777451856f42f272e005f7666efc361fd85f77e9df5efc5e1c67b19316e390d SHA512 aeb9e1f3ded799bc0a296ac426c371dc10345bd09d8713a98e554a35fed7b89ad2c386aa2c7a5a2bc82c5499a7bf42f60f6d116ad544d3c005fc2d52bcc092a6 MISC metadata.xml 388 BLAKE2B db0aba92c5c405fa5736f97c2db14319514e95296ad11aa9aac26e95bdb630961e2ae430cbfcdf2b72425c805b83556f3dda6983dde075be3cb0a3f7d0a45e8f SHA512 3b9003e181f15b46ddd5af3e4a6012f115ca42be0bf2f4e40c0fbb196231de8a5b1320d402de6d4105f61d7e4fd5d868131404796cea19a7547a53ee17c26ce1 diff --git a/dev-python/greenlet/greenlet-3.1.1.ebuild b/dev-python/greenlet/greenlet-3.1.1.ebuild new file mode 100644 index 000000000000..4d6eaeb489ce --- /dev/null +++ b/dev-python/greenlet/greenlet-3.1.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +# Note: greenlet is built-in in pypy +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Lightweight in-process concurrent programming" +HOMEPAGE=" + https://greenlet.readthedocs.io/en/latest/ + https://github.com/python-greenlet/greenlet/ + https://pypi.org/project/greenlet/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 -hppa ~m68k ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" + +BDEPEND=" + test? ( + dev-python/objgraph[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs \ + dev-python/furo +distutils_enable_tests unittest + +src_prepare() { + distutils-r1_src_prepare + + # patch cflag manipulations out + sed -i -e 's:global_compile_args[.]append.*:pass:' setup.py || die + # broken assertions on py3.12+ + # https://github.com/python-greenlet/greenlet/issues/368 + sed -e 's:test_trace_events_multiple_greenlets_switching:_&: ' \ + -i src/greenlet/tests/test_tracing.py || die +} + +python_test() { + eunittest greenlet.tests +} |