From 0f558761aa2dee1017b4751e4017205e015a9560 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 29 Jun 2022 12:04:12 +0100 Subject: gentoo resync : 29.12.2022 --- dev-python/thriftpy2/Manifest | 4 +-- dev-python/thriftpy2/thriftpy2-0.4.14-r1.ebuild | 40 +++++++++++++++++++++++++ dev-python/thriftpy2/thriftpy2-0.4.14.ebuild | 39 ------------------------ 3 files changed, 42 insertions(+), 41 deletions(-) create mode 100644 dev-python/thriftpy2/thriftpy2-0.4.14-r1.ebuild delete mode 100644 dev-python/thriftpy2/thriftpy2-0.4.14.ebuild (limited to 'dev-python/thriftpy2') diff --git a/dev-python/thriftpy2/Manifest b/dev-python/thriftpy2/Manifest index c84e60522a9b..921740daccd9 100644 --- a/dev-python/thriftpy2/Manifest +++ b/dev-python/thriftpy2/Manifest @@ -1,3 +1,3 @@ -DIST thriftpy2-0.4.14.tar.gz 127552 BLAKE2B 4061642fb14b60ba53e0c4e6342ead25f781ee923b718a6c557235fcbfe4219b4d8944894afe9783062e7950b689b909af6be5cefe3b634a476ec582adfefbed SHA512 0b248c4999b0a97287d8db3e5b79ac687bc7e25a5478ef125b479e0baf9be9d0aa5f9eaadf0612c228133295743ba913bfe69e7fe59a8d5f854a682da9d31c50 -EBUILD thriftpy2-0.4.14.ebuild 880 BLAKE2B 8b711aa1c10aeedc3e4998f9fb50a3ebbbefa96513b4f7283b75854b961566e51e291847541accf91fd9aff58b0640a7fcff656968c44af8f73191a111fe5e22 SHA512 cb62288b5b9ca13d4bf0739effe56e5dab8c1a727b3a4955ae081e8a0a3e4d6430e6dad8872bb2ab1044e5393287cee345d0e52d17005149da8bc24e857291ff +DIST thriftpy2-0.4.14.gh.tar.gz 127552 BLAKE2B 4061642fb14b60ba53e0c4e6342ead25f781ee923b718a6c557235fcbfe4219b4d8944894afe9783062e7950b689b909af6be5cefe3b634a476ec582adfefbed SHA512 0b248c4999b0a97287d8db3e5b79ac687bc7e25a5478ef125b479e0baf9be9d0aa5f9eaadf0612c228133295743ba913bfe69e7fe59a8d5f854a682da9d31c50 +EBUILD thriftpy2-0.4.14-r1.ebuild 939 BLAKE2B c4c817d423130a110a4a4b69d18f068f6757b0b443bf9e851486473d2323ed9af9f752cf684e2e32f2caf5ab95b584e18dd8d0795002f4e59d9d47f68d7b94a2 SHA512 36cfc0e63170e2b6308733d0674e16390cc31c2b11b7b68d258cd06e1e6b470a63fcb0326e8dfb006889741ac20b1041d4528155b4d5633cd881e7fd214a5493 MISC metadata.xml 380 BLAKE2B 570746c7985eab098e590e49d267c406ce02cbf612dda6bf2a60439aee62cbf6eefebac14af29bf5fa52c8b5fd4846b2872beb7034364abb722f706978b55987 SHA512 d20d8641eea699cfa6d1930b8c5a9a8edfe76b5ef837551c52105d2fe8d70d481862c5d5cdbe389971588b3bdf62e9fb7e1cec2e89d635650cbabed7f7f53070 diff --git a/dev-python/thriftpy2/thriftpy2-0.4.14-r1.ebuild b/dev-python/thriftpy2/thriftpy2-0.4.14-r1.ebuild new file mode 100644 index 000000000000..d71392dd16a7 --- /dev/null +++ b/dev-python/thriftpy2/thriftpy2-0.4.14-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="Pure python approach of Apache Thrift" +HOMEPAGE="https://github.com/Thriftpy/thriftpy2" +SRC_URI="https://github.com/Thriftpy/thriftpy2/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + dev-python/ply[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + www-servers/tornado[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests --install pytest + +python_prepare_all() { + # tests that need network access + rm tests/test_{tornado,rpc,sslsocket}.py || die + distutils-r1_python_prepare_all +} + +python_test() { + distutils_install_for_testing --via-root + pushd tests >/dev/null || die + epytest + popd >/dev/null || die +} diff --git a/dev-python/thriftpy2/thriftpy2-0.4.14.ebuild b/dev-python/thriftpy2/thriftpy2-0.4.14.ebuild deleted file mode 100644 index 16727441076a..000000000000 --- a/dev-python/thriftpy2/thriftpy2-0.4.14.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8..9} ) -inherit distutils-r1 - -DESCRIPTION="Pure python approach of Apache Thrift" -HOMEPAGE="https://github.com/Thriftpy/thriftpy2" -SRC_URI="https://github.com/Thriftpy/thriftpy2/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - dev-python/ply[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - test? ( - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - www-servers/tornado[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests --install pytest - -python_prepare_all() { - rm tests/test_tornado.py || die - distutils-r1_python_prepare_all -} - -python_test() { - distutils_install_for_testing --via-root - pushd tests >/dev/null || die - epytest - popd >/dev/null || die -} -- cgit v1.2.3