diff options
Diffstat (limited to 'dev-python/thriftpy2')
-rw-r--r-- | dev-python/thriftpy2/Manifest | 2 | ||||
-rw-r--r-- | dev-python/thriftpy2/thriftpy2-0.4.16.ebuild | 47 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/thriftpy2/Manifest b/dev-python/thriftpy2/Manifest index d5e80e4b3b4b..ebab34fb982e 100644 --- a/dev-python/thriftpy2/Manifest +++ b/dev-python/thriftpy2/Manifest @@ -1,3 +1,5 @@ DIST thriftpy2-0.4.15.gh.tar.gz 136581 BLAKE2B 68287057e76ec6f2b91d9fca9a63e1814e2e17f4fb074b5f227b177137452f88921adf4912c66fee206b29d9f32cd0eb43cbbbe275574c21babc12b1f949672e SHA512 c5a17e42ac8a4051714938a4db926a25f41c84e4935fcf18c62ef8b115d9a1df3853800ca6c9fa01cafd6cbdfe31b6b4eabc7a81169a4773e0bda2241c4a26fb +DIST thriftpy2-0.4.16.gh.tar.gz 146991 BLAKE2B 7547ea85106d0929d3e6ee771ff10ad2cd047f4e779c668e4a30ee936ac04d470e16d8321a2771db4404f57e1be41438b4a302bc04b8e4698db03de35dbfa5e9 SHA512 c00b21eb7db3fe91843a5129d16e7af2a29331489e7d8394bcf78eb5c4b8054162b9c5a024eec8080708dbffc491db7922258ecd895477cda49dcc7d56297ecf EBUILD thriftpy2-0.4.15.ebuild 1392 BLAKE2B 4ecc4bc5f8ca79ed9d08a93c7dc47a4c951d88d6292ca74c5ad2d2cae3186407f83fcee562fbbe022900675f19bd1e60277b9d264a88decb4de4b4b956f47183 SHA512 681682afa1a3d8bc73f98e3caee2f4cd121adf0d776d33e964a74649bb46dbdc304e2dc619339db4c27626b84b43f88e4e919d05557f989e198568cdbe067e6e +EBUILD thriftpy2-0.4.16.ebuild 960 BLAKE2B deca40404fa4235f75afd8fddb4691e876362bf67a350f70fc993a8a415ece170d96211232fa831f7823fd82f5c5aadfdc6b9c95e85fe4783cf81fc6f2d612ab SHA512 9a70ffd7fb1056db9ecf94068ced3a42aa68d0d5cb19be89a85ffefdcdba32c38e2be14ce436d5779815520283e15daa4c5906cca3a6abf0eb2f03ed0cd4f18b MISC metadata.xml 380 BLAKE2B 570746c7985eab098e590e49d267c406ce02cbf612dda6bf2a60439aee62cbf6eefebac14af29bf5fa52c8b5fd4846b2872beb7034364abb722f706978b55987 SHA512 d20d8641eea699cfa6d1930b8c5a9a8edfe76b5ef837551c52105d2fe8d70d481862c5d5cdbe389971588b3bdf62e9fb7e1cec2e89d635650cbabed7f7f53070 diff --git a/dev-python/thriftpy2/thriftpy2-0.4.16.ebuild b/dev-python/thriftpy2/thriftpy2-0.4.16.ebuild new file mode 100644 index 000000000000..856239dd1ed6 --- /dev/null +++ b/dev-python/thriftpy2/thriftpy2-0.4.16.ebuild @@ -0,0 +1,47 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="Pure python approach of Apache Thrift" +HOMEPAGE=" + https://github.com/Thriftpy/thriftpy2/ + https://pypi.org/project/thriftpy2/ +" +SRC_URI=" + https://github.com/Thriftpy/thriftpy2/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +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 +} |