summaryrefslogtreecommitdiff
path: root/dev-python/socketpool
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-05-30 11:44:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-05-30 11:44:06 +0100
commitf516638b7fe9592837389826a6152a7e1b251c54 (patch)
tree8bfecb640b7b6403d7a3d662d923eed630033da7 /dev-python/socketpool
parent1a61119f9f7b057830e2ce0563f913ec86f282ad (diff)
gentoo resync : 30.05.2020
Diffstat (limited to 'dev-python/socketpool')
-rw-r--r--dev-python/socketpool/Manifest4
-rw-r--r--dev-python/socketpool/socketpool-0.5.3-r2.ebuild9
-rw-r--r--dev-python/socketpool/socketpool-0.5.3-r3.ebuild11
3 files changed, 19 insertions, 5 deletions
diff --git a/dev-python/socketpool/Manifest b/dev-python/socketpool/Manifest
index ac08742fef0a..d5427e884a13 100644
--- a/dev-python/socketpool/Manifest
+++ b/dev-python/socketpool/Manifest
@@ -1,5 +1,5 @@
AUX socketpool-0.5.2-locale.patch 615 BLAKE2B eecb66a15dff1ca068da3147b7e27618f49cb414e34a27b10949565dfac46f5b714bd00bcfc152c9d3b98b59ae4282fa5431aff61295086abcf0e5367f45954c SHA512 df27a0b1cc8ef2475ad8c68e3f77153ccf5397e962bfae2f6116dd37d1ad3a1a45cfa0912ee4d4597560004b8875b609bb8b0a6298861651ff23ff2e70955dce
DIST socketpool-0.5.3.tar.gz 9793 BLAKE2B 89b7b71d9f05f7f5e560eb3cb5e7cd4d2254ff971066d236b98903d790dd96f6c580333e9fafeab7314c50f499c9617df706a20efa1c52de069c583b6dabd928 SHA512 6d16a18927672157703fb5a29f4332241f9ddf743dfee8f2606d600dbb75d547f2e0dcc0398febe55df3319829a80b3f537b5877679e4f674569ef55de78c1b7
-EBUILD socketpool-0.5.3-r2.ebuild 1138 BLAKE2B f1c7d6c566ac7aee49433bf8b191a7703de97c0925e295b7081ccc2f1cfd834d535fae6c36dc5a93a1c0506d0f17297809966b4f99649ed2a4a1a81364f4793a SHA512 ae3e49517c8aa528f181c664483abb2af614833cba070e5aa0977ddaddc467c05bb3a1145d88140bb21e5d8835a7619081bf6553e51a84647f3a349429e611e0
-EBUILD socketpool-0.5.3-r3.ebuild 1313 BLAKE2B 14d9e3bd61df40040d3c2b307f089a2bc2f12a2af013cb7c3e6b71a9f73becde1b2b5c986e463b42b106e153f472c64e4cb2a84b7fbab4c104ea736eca7550ab SHA512 a3c2bbcdfe27ab0e1902dd2edcaca9f68e4b44b724f041c47c7404556809a6548a570f2f2ac195aed2833ab37d9045c4921fdd19f627adc86c732013de956963
+EBUILD socketpool-0.5.3-r2.ebuild 1264 BLAKE2B df47285d2e83bc22500c18577d77997329eed569a6c5ac6d769599fe4343e666d27ea61a4433ac084fff5ab1ad37f81ae80c0c43686d2c91e4c50c33b6472cba SHA512 4b5fabf30d93ed2c1704881bad65d40806e98aa614d9b264c099a922747df64629164c4c818e0d5470b3a270cb82d85d095c5fa8dc926915cba79435170757e6
+EBUILD socketpool-0.5.3-r3.ebuild 1459 BLAKE2B 05aedc47e8f45aae2fac920759873461c69c715d6b63e952bb8b1eb2b36d4f999a1ff959c47635c53b6c007f7d8b9b1f88d2acb3020887faf23ae99c8d0765bf SHA512 b4cc7df0498317cb8b89cedddb74a9aa46cad0ef59b0366227165703a1626285f7103e36fc69b89b3d29628b319fbd54701bbc0c0b1b7d26e8a9e656a6b171dd
MISC metadata.xml 646 BLAKE2B 78d8d0ff3cf4c225a6f36e02c1ae604b2bc7274d2b3d1f5b13dba09e4111ffb1177cd9008b0841e1f22a5a77426dad7a6f7ff39b9475c7944e8becfaecc1499c SHA512 e0845d25b7c518c035e44094d6164d2184556e8e4c82691efb8c79401835a924ae3aebc271e29c756169bdcadd3a1b9db8fc8666aca65d79f5c10ae45848e1c7
diff --git a/dev-python/socketpool/socketpool-0.5.3-r2.ebuild b/dev-python/socketpool/socketpool-0.5.3-r2.ebuild
index c1a63b20d0a7..e0fffe7af7ae 100644
--- a/dev-python/socketpool/socketpool-0.5.3-r2.ebuild
+++ b/dev-python/socketpool/socketpool-0.5.3-r2.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 )
+PYTHON_COMPAT=( python2_7 python3_{6,7,8,9} pypy3 )
inherit distutils-r1
@@ -36,6 +36,13 @@ PATCHES=( "${FILESDIR}"/${PN}-0.5.2-locale.patch )
distutils_enable_tests pytest
+src_prepare() {
+ # py3.9
+ sed -i -e 's:isAlive:is_alive:' socketpool/backend_thread.py || die
+
+ distutils-r1_src_prepare
+}
+
python_test() {
cp -r examples tests "${BUILD_DIR}" || die
diff --git a/dev-python/socketpool/socketpool-0.5.3-r3.ebuild b/dev-python/socketpool/socketpool-0.5.3-r3.ebuild
index 88dfef3f89f8..f37b627f196a 100644
--- a/dev-python/socketpool/socketpool-0.5.3-r3.ebuild
+++ b/dev-python/socketpool/socketpool-0.5.3-r3.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 )
+PYTHON_COMPAT=( python2_7 python3_{6,7,8,9} pypy3 )
inherit distutils-r1
@@ -11,7 +11,7 @@ DESCRIPTION="A simple Python socket pool"
HOMEPAGE="https://github.com/benoitc/socketpool/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-KEYWORDS="~amd64 ~arm64 ~ia64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~hppa ~ia64 ~ppc64 ~sparc ~x86"
IUSE="eventlet examples gevent"
LICENSE="|| ( MIT public-domain )"
SLOT="0"
@@ -44,6 +44,13 @@ PATCHES=( "${FILESDIR}"/${PN}-0.5.2-locale.patch )
distutils_enable_tests pytest
+src_prepare() {
+ # py3.9
+ sed -i -e 's:isAlive:is_alive:' socketpool/backend_thread.py || die
+
+ distutils-r1_src_prepare
+}
+
python_test() {
cp -r examples tests "${BUILD_DIR}" || die