summaryrefslogtreecommitdiff
path: root/dev-python/thriftpy2
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/thriftpy2')
-rw-r--r--dev-python/thriftpy2/Manifest9
-rw-r--r--dev-python/thriftpy2/metadata.xml4
-rw-r--r--dev-python/thriftpy2/thriftpy2-0.4.20-r1.ebuild57
-rw-r--r--dev-python/thriftpy2/thriftpy2-0.5.0.ebuild16
-rw-r--r--dev-python/thriftpy2/thriftpy2-0.5.2.ebuild (renamed from dev-python/thriftpy2/thriftpy2-0.4.20.ebuild)25
5 files changed, 17 insertions, 94 deletions
diff --git a/dev-python/thriftpy2/Manifest b/dev-python/thriftpy2/Manifest
index 8562fa7ef5b3..a9c562b9dc49 100644
--- a/dev-python/thriftpy2/Manifest
+++ b/dev-python/thriftpy2/Manifest
@@ -1,6 +1,5 @@
-DIST thriftpy2-0.4.20.tar.gz 689003 BLAKE2B b7ceb8345e984d6b3524fadff359bb125b0c94900afbfa4c3e64de7034bd816e3fd37fe721b7c35bee0c7fa7a6416ab859c2987cb66ed3fa4a66f6ca06eac952 SHA512 e06b22e1b63df3425eccdd3c83d1154413744ee387c3882d783a5168635087e6e38fd73d24c173e76854c4fe3f57631f4dd59fbb8e5b28cd380dd27d1d51caf3
DIST thriftpy2-0.5.0.tar.gz 779019 BLAKE2B b29e5349e11e3ce3bd587a7c8212cd6def7b9b287554a068399591bb7493a5c1d0e97c9b38a64973c01d27a83d49e181aad64cb41ce9500e40b96c813caa7b2d SHA512 f4c83bac053a2f073507e38f284f981bd129ee960dc9817f3bd5795c8e9773b78fa23d49d97cb5975783dbd1f4b52f380861bf4fc32a1af795365f703856f350
-EBUILD thriftpy2-0.4.20-r1.ebuild 1176 BLAKE2B 5d3d1f1a9730ff4f399693cfb9de5423548aa17347dd782dbba62c5132acb87df2293e1e21b9d692e21ffa87260c8ded6c55cee6f29eae88f085e00830f1f57c SHA512 f4bbe67acb24026583734c0ba12fcb2faf9f099a0013b6b0837bb2779ccf439a1842af08e3a14ca9a2eb84e0cb8d258b2c806ec894395af8ffdce99cba95a69a
-EBUILD thriftpy2-0.4.20.ebuild 1138 BLAKE2B 5057bde410eda482f0c3afb952865897feabfc85ac176f88489f3daa4e195e57b3d560595a99eb06d02dc6a29f9c17d0718f2326157373f6306da64b15c2cb48 SHA512 3c772cd330a5a50572f14f8fa8f9d4d03f7c9b196608a21da4765bb45dd8e2f76c868ae62ef94337d158a5e6e0d0b2f568b927d483a0b3e8251277f780579f1c
-EBUILD thriftpy2-0.5.0.ebuild 1138 BLAKE2B 608c3b65d33168f07eaf2368b6e1840a38a62a2ea5c26830448ea7fd075d4e1fa1cbe4664b85d214e4632bb089de4717558c1c9451c84638ed8dfdb8a106fe70 SHA512 5659da4f1e594793c16b1c6c3ee69aee36a9cec27473b9fc069541b4077f74b54aef31696d6709139b1c1c9c031f99b23c0bd6108ba2816e4d9da0dd9899cefc
-MISC metadata.xml 380 BLAKE2B 570746c7985eab098e590e49d267c406ce02cbf612dda6bf2a60439aee62cbf6eefebac14af29bf5fa52c8b5fd4846b2872beb7034364abb722f706978b55987 SHA512 d20d8641eea699cfa6d1930b8c5a9a8edfe76b5ef837551c52105d2fe8d70d481862c5d5cdbe389971588b3bdf62e9fb7e1cec2e89d635650cbabed7f7f53070
+DIST thriftpy2-0.5.2.tar.gz 782261 BLAKE2B 657e8dadd8757f9f0f6b4a7f73e4347651f6301c969cf4d2c37cf87c6176322b7afad6372a39ed7d4c9f36d07850d6ae4edb73ff08dd3530b88e0194032abc9b SHA512 89a73d70b7ba74acc5344c1471587a66664331fb3d160eeb31d27434c78a3e76e3ec0d84dec14ec57d0bcc89e867759883d69247ae65bff1a9a8a00fc8ff7747
+EBUILD thriftpy2-0.5.0.ebuild 889 BLAKE2B 386dd3f0ae5f085dcd302b34d3edad04a6098d4d0444ac310548bb36e728945b2e5986e69c304d8bf589df5e948874729570de9a2dcec4fca243d02836636bc5 SHA512 f3c69786a4c1d0193e69b3e1c96a10b642e914302e856890ec3d161a6dd405cf4841a60c58aabb8779a86a1c853aeea9f2eab0bc359c1cd1adbbbcf8d28a7463
+EBUILD thriftpy2-0.5.2.ebuild 945 BLAKE2B 57dbdaaad391744f022b2e86b8f6d445108fd50e72aa3ee809c826da786929283cd862261750de48b0b795cfe336bf97fe96489542ad5c751a4e1fdfe850d53c SHA512 bd12f197571dc64a2044458e4b52b87586eb8265400d2ea202cebe2158060d30bc70d20af9b1dc7a2d7fddf1c316ef095d386b38b5abfc3727a6047bef418e9e
+MISC metadata.xml 481 BLAKE2B fb00a720771ef2adfabfd3c2f9ecff88c263694947e1e457ab935cd2aa788b4879274857df7a898ad9e58239ce5de8f701febf148b1e2fd183330eba4e05f411 SHA512 86d6a43672be2259890e14f6ebe6bdb8645db7b9eda2da86b92546fc995cdafd767fedbb9c1998be3c062b95ed03d6ab28df4e8028ffc907b31eb423fc553fa6
diff --git a/dev-python/thriftpy2/metadata.xml b/dev-python/thriftpy2/metadata.xml
index c8e64f24d78e..629a3ee3f140 100644
--- a/dev-python/thriftpy2/metadata.xml
+++ b/dev-python/thriftpy2/metadata.xml
@@ -5,6 +5,10 @@
<email>chutzpah@gentoo.org</email>
<name>Patrick McLean</name>
</maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
<upstream>
<remote-id type="github">Thriftpy/thriftpy2</remote-id>
<remote-id type="pypi">thriftpy2</remote-id>
diff --git a/dev-python/thriftpy2/thriftpy2-0.4.20-r1.ebuild b/dev-python/thriftpy2/thriftpy2-0.4.20-r1.ebuild
deleted file mode 100644
index a763b9df7329..000000000000
--- a/dev-python/thriftpy2/thriftpy2-0.4.20-r1.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 2021-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_EXT=1
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
-
-inherit distutils-r1 flag-o-matic pypi
-
-DESCRIPTION="Pure python approach of Apache Thrift"
-HOMEPAGE="
- https://github.com/Thriftpy/thriftpy2/
- https://pypi.org/project/thriftpy2/
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
- dev-python/ply[${PYTHON_USEDEP}]
- dev-python/six[${PYTHON_USEDEP}]
-"
-BDEPEND="
- dev-python/cython[${PYTHON_USEDEP}]
- test? (
- dev-python/pytest-asyncio[${PYTHON_USEDEP}]
- dev-python/tornado[${PYTHON_USEDEP}]
- )
-"
-
-distutils_enable_tests pytest
-
-src_compile() {
- # -Werror=strict-aliasing
- # https://bugs.gentoo.org/857105
- # https://github.com/Thriftpy/thriftpy2/issues/246
- #
- # Don't trust this to LTO
- append-flags -fno-strict-aliasing
- filter-lto
-
- distutils-r1_src_compile
-}
-
-python_test() {
- local EPYTEST_DESELECT=(
- tests/test_tornado.py::TornadoRPCTestCase::test_asynchronous_exception
- tests/test_tornado.py::TornadoRPCTestCase::test_asynchronous_result
- )
-
- pushd tests >/dev/null || die
- epytest
- popd >/dev/null || die
-}
diff --git a/dev-python/thriftpy2/thriftpy2-0.5.0.ebuild b/dev-python/thriftpy2/thriftpy2-0.5.0.ebuild
index bb893082bf0b..3795d532cc5b 100644
--- a/dev-python/thriftpy2/thriftpy2-0.5.0.ebuild
+++ b/dev-python/thriftpy2/thriftpy2-0.5.0.ebuild
@@ -5,9 +5,9 @@ EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
-inherit distutils-r1 flag-o-matic pypi
+inherit distutils-r1 pypi
DESCRIPTION="Pure python approach of Apache Thrift"
HOMEPAGE="
@@ -33,18 +33,6 @@ BDEPEND="
distutils_enable_tests pytest
-src_compile() {
- # -Werror=strict-aliasing
- # https://bugs.gentoo.org/857105
- # https://github.com/Thriftpy/thriftpy2/issues/246
- #
- # Don't trust this to LTO
- append-flags -fno-strict-aliasing
- filter-lto
-
- distutils-r1_src_compile
-}
-
python_test() {
local EPYTEST_DESELECT=(
tests/test_tornado.py::TornadoRPCTestCase::test_asynchronous_exception
diff --git a/dev-python/thriftpy2/thriftpy2-0.4.20.ebuild b/dev-python/thriftpy2/thriftpy2-0.5.2.ebuild
index 732ec5cfd189..96c5e972bc59 100644
--- a/dev-python/thriftpy2/thriftpy2-0.4.20.ebuild
+++ b/dev-python/thriftpy2/thriftpy2-0.5.2.ebuild
@@ -5,9 +5,9 @@ EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..13} )
-inherit distutils-r1 flag-o-matic pypi
+inherit distutils-r1 pypi
DESCRIPTION="Pure python approach of Apache Thrift"
HOMEPAGE="
@@ -17,34 +17,23 @@ HOMEPAGE="
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64"
RDEPEND="
- dev-python/ply[${PYTHON_USEDEP}]
- dev-python/six[${PYTHON_USEDEP}]
+ <dev-python/ply-4[${PYTHON_USEDEP}]
+ <dev-python/six-2[${PYTHON_USEDEP}]
"
BDEPEND="
- dev-python/cython[${PYTHON_USEDEP}]
+ >=dev-python/cython-3.0.10[${PYTHON_USEDEP}]
test? (
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+ dev-python/pytest-reraise[${PYTHON_USEDEP}]
dev-python/tornado[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
-src_compile() {
- # -Werror=strict-aliasing
- # https://bugs.gentoo.org/857105
- # https://github.com/Thriftpy/thriftpy2/issues/246
- #
- # Don't trust this to LTO
- append-flags -fno-strict-aliasing
- filter-lto
-
- distutils-r1_src_compile
-}
-
python_test() {
local EPYTEST_DESELECT=(
tests/test_tornado.py::TornadoRPCTestCase::test_asynchronous_exception