commit: 651d0fd3069f55efb3e58889ce0329809c23c4cc
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 16 16:43:08 2022 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Thu Jun 16 16:43:32 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=651d0fd3
dev-python/thriftpy2: Revbump, EAPI=8, py310
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
dev-python/thriftpy2/Manifest | 2 +-
.../{thriftpy2-0.4.14.ebuild => thriftpy2-0.4.14-r1.ebuild} | 11 ++++++-----
2 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/dev-python/thriftpy2/Manifest b/dev-python/thriftpy2/Manifest
index e844d9323692..907734570ece 100644
--- a/dev-python/thriftpy2/Manifest
+++ b/dev-python/thriftpy2/Manifest
@@ -1 +1 @@
-DIST thriftpy2-0.4.14.tar.gz 127552 BLAKE2B
4061642fb14b60ba53e0c4e6342ead25f781ee923b718a6c557235fcbfe4219b4d8944894afe9783062e7950b689b909af6be5cefe3b634a476ec582adfefbed
SHA512
0b248c4999b0a97287d8db3e5b79ac687bc7e25a5478ef125b479e0baf9be9d0aa5f9eaadf0612c228133295743ba913bfe69e7fe59a8d5f854a682da9d31c50
+DIST thriftpy2-0.4.14.gh.tar.gz 127552 BLAKE2B
4061642fb14b60ba53e0c4e6342ead25f781ee923b718a6c557235fcbfe4219b4d8944894afe9783062e7950b689b909af6be5cefe3b634a476ec582adfefbed
SHA512
0b248c4999b0a97287d8db3e5b79ac687bc7e25a5478ef125b479e0baf9be9d0aa5f9eaadf0612c228133295743ba913bfe69e7fe59a8d5f854a682da9d31c50
diff --git a/dev-python/thriftpy2/thriftpy2-0.4.14.ebuild
b/dev-python/thriftpy2/thriftpy2-0.4.14-r1.ebuild
similarity index 79%
rename from dev-python/thriftpy2/thriftpy2-0.4.14.ebuild
rename to dev-python/thriftpy2/thriftpy2-0.4.14-r1.ebuild
index 16727441076a..d71392dd16a7 100644
--- a/dev-python/thriftpy2/thriftpy2-0.4.14.ebuild
+++ b/dev-python/thriftpy2/thriftpy2-0.4.14-r1.ebuild
@@ -1,14 +1,14 @@
-# Copyright 2021 Gentoo Authors
+# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-PYTHON_COMPAT=( python3_{8..9} )
+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}.tar.gz"
+SRC_URI="https://github.com/Thriftpy/thriftpy2/archive/refs/tags/v${PV}.tar.gz
-> ${P}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
@@ -27,7 +27,8 @@ BDEPEND="
distutils_enable_tests --install pytest
python_prepare_all() {
- rm tests/test_tornado.py || die
+ # tests that need network access
+ rm tests/test_{tornado,rpc,sslsocket}.py || die
distutils-r1_python_prepare_all
}