From b987a550f067c3da93b0664cf1fdc8a624c0aa38 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 24 Apr 2024 23:59:27 +0100 Subject: gentoo auto-resync : 24:04:2024 - 23:59:27 --- dev-python/thriftpy2/Manifest | 5 +-- dev-python/thriftpy2/thriftpy2-0.4.17.ebuild | 44 ------------------- dev-python/thriftpy2/thriftpy2-0.4.19.ebuild | 44 ------------------- dev-python/thriftpy2/thriftpy2-0.4.20-r1.ebuild | 57 +++++++++++++++++++++++++ 4 files changed, 58 insertions(+), 92 deletions(-) delete mode 100644 dev-python/thriftpy2/thriftpy2-0.4.17.ebuild delete mode 100644 dev-python/thriftpy2/thriftpy2-0.4.19.ebuild create mode 100644 dev-python/thriftpy2/thriftpy2-0.4.20-r1.ebuild (limited to 'dev-python/thriftpy2') diff --git a/dev-python/thriftpy2/Manifest b/dev-python/thriftpy2/Manifest index 9585e479aab9..6482745d67b0 100644 --- a/dev-python/thriftpy2/Manifest +++ b/dev-python/thriftpy2/Manifest @@ -1,7 +1,4 @@ -DIST thriftpy2-0.4.17.tar.gz 519386 BLAKE2B 29c383cb886debb7167fbcef3526d0c027dc60db5ae20c554ea19067bb9a3ab40bea50392bd903293c5d9de1e3bc210220d887bd71194f91345a7565f577ccd9 SHA512 7c58eb6d0c91c933e31654d28ce2f4ef04854551db3eb5b8022565932761c74d95f27d44fc847f93723e535fdb4997fdad66a9dba432aa44e27e069e73b7ff7e -DIST thriftpy2-0.4.19.tar.gz 689034 BLAKE2B 556d47b65b0f9801627515ab7e3fc9907af50b43e8197142626e51b8110ffd740285c895e9ee98e6e0bd8074b9e2f4e9811ce309a68d006dc504f80b3ca38ae6 SHA512 a67160e742683ecd4e47007cd4a6a52f78ab3ae492aa4c170f725d25f1a78fb6a0054cab691752b20a43ff855df61207d302af65ae5966ee5c3f961ff1e42650 DIST thriftpy2-0.4.20.tar.gz 689003 BLAKE2B b7ceb8345e984d6b3524fadff359bb125b0c94900afbfa4c3e64de7034bd816e3fd37fe721b7c35bee0c7fa7a6416ab859c2987cb66ed3fa4a66f6ca06eac952 SHA512 e06b22e1b63df3425eccdd3c83d1154413744ee387c3882d783a5168635087e6e38fd73d24c173e76854c4fe3f57631f4dd59fbb8e5b28cd380dd27d1d51caf3 -EBUILD thriftpy2-0.4.17.ebuild 889 BLAKE2B fc0ac876a82cc52d88e98bf58b93fbd4e1bf20c2fe6e8d7821679ad399bb81ad1312ae23279774a566f16c0be18bfed050944e9ef582a74fce1b22830187ce0b SHA512 9c36508262e6ebb52bcd0db9129be9b6a20550ff9ade7cb1e040f39fa27225c0762d4b32aed5a71d78ce1ce6e291a4e2d5d5eb1ec70ba10c32d32366cc26c17f -EBUILD thriftpy2-0.4.19.ebuild 889 BLAKE2B b726492be322828913a73ed4692c8375ca421d766545e8b31de4110df2a51ae5daa490bb52141ecd96f9e63825edf5e6f28b332ab64f8e3aa5231fabb97880f0 SHA512 94edff8858fc78010787405fba14d752b7349679c4ea46d0f6b5eba01b2d8ec7bff694543c3a5035000a1df0bf3d4468686fcf70589574aed86e319f5ff20b15 +EBUILD thriftpy2-0.4.20-r1.ebuild 1176 BLAKE2B 5d3d1f1a9730ff4f399693cfb9de5423548aa17347dd782dbba62c5132acb87df2293e1e21b9d692e21ffa87260c8ded6c55cee6f29eae88f085e00830f1f57c SHA512 f4bbe67acb24026583734c0ba12fcb2faf9f099a0013b6b0837bb2779ccf439a1842af08e3a14ca9a2eb84e0cb8d258b2c806ec894395af8ffdce99cba95a69a EBUILD thriftpy2-0.4.20.ebuild 1138 BLAKE2B 5057bde410eda482f0c3afb952865897feabfc85ac176f88489f3daa4e195e57b3d560595a99eb06d02dc6a29f9c17d0718f2326157373f6306da64b15c2cb48 SHA512 3c772cd330a5a50572f14f8fa8f9d4d03f7c9b196608a21da4765bb45dd8e2f76c868ae62ef94337d158a5e6e0d0b2f568b927d483a0b3e8251277f780579f1c MISC metadata.xml 380 BLAKE2B 570746c7985eab098e590e49d267c406ce02cbf612dda6bf2a60439aee62cbf6eefebac14af29bf5fa52c8b5fd4846b2872beb7034364abb722f706978b55987 SHA512 d20d8641eea699cfa6d1930b8c5a9a8edfe76b5ef837551c52105d2fe8d70d481862c5d5cdbe389971588b3bdf62e9fb7e1cec2e89d635650cbabed7f7f53070 diff --git a/dev-python/thriftpy2/thriftpy2-0.4.17.ebuild b/dev-python/thriftpy2/thriftpy2-0.4.17.ebuild deleted file mode 100644 index f4882f38def2..000000000000 --- a/dev-python/thriftpy2/thriftpy2-0.4.17.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 2021-2023 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..11} ) - -inherit distutils-r1 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 - -python_test() { - local EPYTEST_DESELECT=( - tests/test_tornado.py::TornadoRPCTestCase::test_asynchronous_exception - tests/test_tornado.py::TornadoRPCTestCase::test_asynchronous_result - ) - - cd tests || die - epytest -} diff --git a/dev-python/thriftpy2/thriftpy2-0.4.19.ebuild b/dev-python/thriftpy2/thriftpy2-0.4.19.ebuild deleted file mode 100644 index 7fb9eb1ee949..000000000000 --- a/dev-python/thriftpy2/thriftpy2-0.4.19.ebuild +++ /dev/null @@ -1,44 +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..11} ) - -inherit distutils-r1 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 - -python_test() { - local EPYTEST_DESELECT=( - tests/test_tornado.py::TornadoRPCTestCase::test_asynchronous_exception - tests/test_tornado.py::TornadoRPCTestCase::test_asynchronous_result - ) - - cd tests || die - epytest -} diff --git a/dev-python/thriftpy2/thriftpy2-0.4.20-r1.ebuild b/dev-python/thriftpy2/thriftpy2-0.4.20-r1.ebuild new file mode 100644 index 000000000000..a763b9df7329 --- /dev/null +++ b/dev-python/thriftpy2/thriftpy2-0.4.20-r1.ebuild @@ -0,0 +1,57 @@ +# 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 +} -- cgit v1.2.3