summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-03-23 01:40:29 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-03-23 01:40:29 +0000
commit874f35de32fefcd5e6ff1f1a6e18a6f76b5838c7 (patch)
tree5666980849a277e42129513c9ebbbd9eedbf1012 /dev-python
parent0c43f91d12f9f68030078f81d635d6979ad22b6a (diff)
downloadbaldeagleos-repo-874f35de32fefcd5e6ff1f1a6e18a6f76b5838c7.tar.gz
baldeagleos-repo-874f35de32fefcd5e6ff1f1a6e18a6f76b5838c7.tar.xz
baldeagleos-repo-874f35de32fefcd5e6ff1f1a6e18a6f76b5838c7.zip
Adding metadata
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/cryptography/Manifest2
-rw-r--r--dev-python/cryptography/cryptography-36.0.2.ebuild (renamed from dev-python/cryptography/cryptography-36.0.0.ebuild)13
-rw-r--r--dev-python/cryptography/files/cryptography-36.0.2-libressl.patch102
-rw-r--r--dev-python/flask-security/flask-security-3.4.5.ebuild7
-rw-r--r--dev-python/flask-security/flask-security-4.1.2.ebuild8
-rw-r--r--dev-python/flask-security/flask-security-4.1.3.ebuild6
-rw-r--r--dev-python/pillow/pillow-9.0.1-r1.ebuild2
-rw-r--r--dev-python/python-ldap/python-ldap-3.4.0.ebuild7
-rw-r--r--dev-python/python-ldap/python-ldap-9999.ebuild19
-rw-r--r--dev-python/socketpool/Manifest1
-rw-r--r--dev-python/socketpool/files/socketpool-0.5.2-locale.patch21
-rw-r--r--dev-python/socketpool/metadata.xml23
-rw-r--r--dev-python/socketpool/socketpool-0.5.3-r3.ebuild69
13 files changed, 130 insertions, 150 deletions
diff --git a/dev-python/cryptography/Manifest b/dev-python/cryptography/Manifest
index 2178be803dcc..6bf9071c9760 100644
--- a/dev-python/cryptography/Manifest
+++ b/dev-python/cryptography/Manifest
@@ -13,7 +13,7 @@ DIST chrono-0.4.19.crate 155663 BLAKE2B c92c273fb6475bbb2546dfb75eaa23321bc8f9a5
DIST cryptography-3.3.2.tar.gz 539883 BLAKE2B e35de90362b24170c4025f67914e60c16fbf37fce6bcd5d6f3fe32e5a9bb60de8edbebcb1ff0450fabc9c244d4b1a4618c720b630f28c747fea17e9bf008f01f SHA512 55f6ee13342b3209b1fcb310f4c4d33d22856ee785cb2347e6ad36c34e9b42f6e0d5bece8e458b09663a5b78e34c4567fe7a211b51ca71f55ccc93e3f62dc5e4
DIST cryptography-3.4.8.tar.gz 35746288 BLAKE2B 750a265a5b518fdc992bf8a402792ff849129286751185f931ea82ebf4c9d3dabfed680ec2eb1c73d4c773ef2feac6186e251365921fbc67044b89bc040d311e SHA512 4007cb3a4312bd8053491741474309e9f39c21fe37e66b6a832ae837cf2e9330b71caa9bfc6d6692764336684c26809cb794521800b7f6dadce4367a588117ff
DIST cryptography-3fd9d5a8424eef3e08260a622ae3644777ac5339.tar.gz 35828220 BLAKE2B 46fd713e51061e51fdd9767caac8cad17e95c4f3491586b2e454f2ea5e9ae0cf89b857c1a4d8d7e6caaff21d0907da655b6fc1e8789d790f55fe15bab30d70b0 SHA512 d0802cae1c3134942e444d79471376588cca24b2cb18e8684b2ed6dc4ab4607079215df048913d3aa895ac65ea612eb1b2604f695d0539c778f696a1409e331b
-DIST cryptography-5d21990c32d0f93df4e54ef4ee7ff3a2dae3c3da.tar.gz 35828292 BLAKE2B 6ad06308300a5ec5c61d62814cf39721de1d47efcb0c9c18951723f6342119f31263df0e23052ae02e9538d7613a93ea3c60f66e39606ef0e30d876656896dce SHA512 3932ad6a372860fd03a335818a610af8bc2568e63d51e9862acc19fc2a552c20f802c738bd13d3aa1594d79ced2b0471c35adacef6bc4b2cc3098af5196b0e33
+DIST cryptography-df06889f348d7c3b7e9c35e4e5a1b1480f0b2c5a.tar.gz 35823566 BLAKE2B 31e6720761672e36548d47a5b2ba1f1a1a2032c5400655868be3d5575ef6d3b0e87a7f13607c9ffe69a8b240952e8a5ae8c440b2c850fcf9a29b057e2222f1a5 SHA512 158c0238e61d9bba927a5edfd55db741bec88e51873816391816c33f92309d29d6e34580c98419bb0b42be5cd122892696b8e08a452a4f056ead7402c831f51d
DIST cryptography_vectors-3.3.2.tar.gz 35168168 BLAKE2B 3991a16556ae5be0d153cfe302dd9a860918a80bd0bdef7104f3c170ba63941c4b1ff74750bc12329422a6061161cb6452bea60e191d85c0d79e0852566c6c0b SHA512 18590adb96a6f04b8a41d4346b126b8adfc854cbcec85f8c1c0a23b1b363f215b37da60ea94a481b8fd7752f07fba515b08fc18faf2e29fb858e133129971f7c
DIST ctor-0.1.20.crate 9328 BLAKE2B bc2f4ce53f6b7d6a2fb441317a3f91b8852c541261f95f0b7d12adb35ec1c943810242ce71e514445479c5d225b735cd50fa4dfb514e6b121be753555ab3c30c SHA512 877f4663f8079a368d198a3351e98551c6d8123dd5e53b812529b77b09f1c08296e6df817d7429e4c70a73a6203fd98bce5ec2ce7b09baabe4f348bd54a9c0dd
DIST ghost-0.1.2.crate 12777 BLAKE2B 34293c1ec8412ef207627ca2a041f2dd8822c2d8990df8e0f17ffdfc865a1662991a80680c484ddef505758578177d358c2e56003003a2cb685f07a41d6a9feb SHA512 4258fdfab59946a4955f053cf0b73f964d5bdf25ac9357ef8f4cb21948299fb749bf0c0e89a9c1e95a8606e74c6b3a3630fb4f6316815d83882a9531e3b78b5a
diff --git a/dev-python/cryptography/cryptography-36.0.0.ebuild b/dev-python/cryptography/cryptography-36.0.2.ebuild
index 7e3df42ef5ce..93e1b67da032 100644
--- a/dev-python/cryptography/cryptography-36.0.0.ebuild
+++ b/dev-python/cryptography/cryptography-36.0.2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 2021 Liguros Authors
+# Copyright 2021-2022 Liguros Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
CARGO_OPTIONAL=yes
-PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 )
+PYTHON_COMPAT=( python3_{7,8,9,10} )
PYTHON_REQ_USE="threads(+)"
CRATES="
@@ -57,7 +57,7 @@ winapi-x86_64-pc-windows-gnu-0.4.0
"
inherit cargo distutils-r1 multiprocessing
-GIT_TAG="5d21990c32d0f93df4e54ef4ee7ff3a2dae3c3da"
+GIT_TAG="df06889f348d7c3b7e9c35e4e5a1b1480f0b2c5a"
DESCRIPTION="Library providing cryptographic recipes and primitives"
HOMEPAGE="https://github.com/pyca/cryptography/ https://pypi.org/project/cryptography/"
SRC_URI="https://github.com/pyca/cryptography/archive/${GIT_TAG}.tar.gz -> ${PN}-${GIT_TAG}.tar.gz
@@ -99,6 +99,10 @@ S="${WORKDIR}/${PN}-${GIT_TAG}"
distutils_enable_tests pytest
+PATCHES=(
+"${FILESDIR}/${P}-libressl.patch"
+)
+
src_unpack() {
cargo_src_unpack
}
@@ -118,6 +122,7 @@ src_prepare() {
}
python_test() {
- local -x PYTHONPATH="${PYTHONPATH}:${S}/vectors"
+ #local -x PYTHONPATH="${PYTHONPATH}:${S}/vectors"
+ local -x PYTHONPATH="${PYTHONPATH}:${WORKDIR}/cryptography_vectors-${PV}"
epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
}
diff --git a/dev-python/cryptography/files/cryptography-36.0.2-libressl.patch b/dev-python/cryptography/files/cryptography-36.0.2-libressl.patch
new file mode 100644
index 000000000000..3e3722115455
--- /dev/null
+++ b/dev-python/cryptography/files/cryptography-36.0.2-libressl.patch
@@ -0,0 +1,102 @@
+commit 8a98c812c3346e6c18b6d067e036fad63e30fcc1
+Author: Charlie Li <vishwin@users.noreply.github.com>
+Date: Wed Mar 2 06:48:49 2022 -0500
+
+ Support LibreSSL 3.5.0 (#6919)
+
+ * Add LibreSSL 3.5.0 to CI
+
+ * Add LibreSSL 3.5.0 guard
+
+ * Expose FIPS functions in LibreSSL 3.5.0+
+
+ * Expose DH API in LibreSSL 3.5.0+
+
+ * Expose SSL_get0_verified_chain and SSL_CTX_{set,get}_keylog_callback in LibreSSL 3.5.0+
+
+ * Fix SSL_CTX_{set,get}_keylog_callback guard
+
+ * Add missing CRYPTOGRAPHY_LIBRESSL_LESS_THAN_350 symbol
+
+ * Fix SSL_CTX_{set,get}_keylog_callback guard again
+
+ * Condense LibreSSL 3.5.0 defines
+
+ * Kick CircleCI
+
+diff --git a/src/_cffi_src/openssl/cryptography.py b/src/_cffi_src/openssl/cryptography.py
+index 7d36feb5..03019e0a 100644
+--- a/src/_cffi_src/openssl/cryptography.py
++++ b/src/_cffi_src/openssl/cryptography.py
+@@ -43,9 +43,13 @@ INCLUDES = """
+ (LIBRESSL_VERSION_NUMBER < 0x3030200f)
+ #define CRYPTOGRAPHY_LIBRESSL_LESS_THAN_340 \
+ (LIBRESSL_VERSION_NUMBER < 0x3040000f)
++#define CRYPTOGRAPHY_LIBRESSL_LESS_THAN_350 \
++ (LIBRESSL_VERSION_NUMBER < 0x3050000f)
++
+ #else
+ #define CRYPTOGRAPHY_LIBRESSL_LESS_THAN_332 (0)
+ #define CRYPTOGRAPHY_LIBRESSL_LESS_THAN_340 (0)
++#define CRYPTOGRAPHY_LIBRESSL_LESS_THAN_350 (0)
+ #endif
+
+ #if OPENSSL_VERSION_NUMBER < 0x10100000
+@@ -84,6 +88,9 @@ static const int CRYPTOGRAPHY_OPENSSL_LESS_THAN_111;
+ static const int CRYPTOGRAPHY_OPENSSL_LESS_THAN_111B;
+ static const int CRYPTOGRAPHY_NEEDS_OSRANDOM_ENGINE;
+
++static const int CRYPTOGRAPHY_LIBRESSL_LESS_THAN_340;
++static const int CRYPTOGRAPHY_LIBRESSL_LESS_THAN_350;
++
+ static const int CRYPTOGRAPHY_IS_LIBRESSL;
+ static const int CRYPTOGRAPHY_IS_BORINGSSL;
+ """
+diff --git a/src/_cffi_src/openssl/dh.py b/src/_cffi_src/openssl/dh.py
+index b369bf9f..c378ad1b 100644
+--- a/src/_cffi_src/openssl/dh.py
++++ b/src/_cffi_src/openssl/dh.py
+@@ -36,7 +36,7 @@ int Cryptography_i2d_DHxparams_bio(BIO *, DH *);
+ """
+
+ CUSTOMIZATIONS = """
+-#if CRYPTOGRAPHY_IS_LIBRESSL
++#if CRYPTOGRAPHY_LIBRESSL_LESS_THAN_350
+ #ifndef DH_CHECK_Q_NOT_PRIME
+ #define DH_CHECK_Q_NOT_PRIME 0x10
+ #endif
+diff --git a/src/_cffi_src/openssl/fips.py b/src/_cffi_src/openssl/fips.py
+index 23c10af9..dd81d06c 100644
+--- a/src/_cffi_src/openssl/fips.py
++++ b/src/_cffi_src/openssl/fips.py
+@@ -17,7 +17,7 @@ int FIPS_mode(void);
+ """
+
+ CUSTOMIZATIONS = """
+-#if CRYPTOGRAPHY_IS_LIBRESSL || CRYPTOGRAPHY_OPENSSL_300_OR_GREATER
++#if CRYPTOGRAPHY_LIBRESSL_LESS_THAN_350 || CRYPTOGRAPHY_OPENSSL_300_OR_GREATER
+ static const long Cryptography_HAS_FIPS = 0;
+ int (*FIPS_mode_set)(int) = NULL;
+ int (*FIPS_mode)(void) = NULL;
+diff --git a/src/_cffi_src/openssl/ssl.py b/src/_cffi_src/openssl/ssl.py
+index 3ec82fb6..2d93fe24 100644
+--- a/src/_cffi_src/openssl/ssl.py
++++ b/src/_cffi_src/openssl/ssl.py
+@@ -527,14 +527,15 @@ static const long Cryptography_HAS_TLSEXT_HOSTNAME = 1;
+ int (*SSL_CTX_set_client_cert_engine)(SSL_CTX *, ENGINE *) = NULL;
+ #endif
+
+-#if CRYPTOGRAPHY_IS_LIBRESSL || CRYPTOGRAPHY_IS_BORINGSSL
++#if CRYPTOGRAPHY_LIBRESSL_LESS_THAN_350 || CRYPTOGRAPHY_IS_BORINGSSL
+ static const long Cryptography_HAS_VERIFIED_CHAIN = 0;
+ Cryptography_STACK_OF_X509 *(*SSL_get0_verified_chain)(const SSL *) = NULL;
+ #else
+ static const long Cryptography_HAS_VERIFIED_CHAIN = 1;
+ #endif
+
+-#if CRYPTOGRAPHY_OPENSSL_LESS_THAN_111
++#if CRYPTOGRAPHY_LIBRESSL_LESS_THAN_350 || \
++ (CRYPTOGRAPHY_OPENSSL_LESS_THAN_111 && !CRYPTOGRAPHY_IS_LIBRESSL)
+ static const long Cryptography_HAS_KEYLOG = 0;
+ void (*SSL_CTX_set_keylog_callback)(SSL_CTX *,
+ void (*) (const SSL *, const char *)
diff --git a/dev-python/flask-security/flask-security-3.4.5.ebuild b/dev-python/flask-security/flask-security-3.4.5.ebuild
index 6f3a1ddbe79c..7d2d4b8b1344 100644
--- a/dev-python/flask-security/flask-security-3.4.5.ebuild
+++ b/dev-python/flask-security/flask-security-3.4.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -46,11 +46,6 @@ BDEPEND="
>=dev-python/pymysql-0.9.3[${PYTHON_USEDEP}]
>=dev-python/pyqrcode-1.2[${PYTHON_USEDEP}]
>=dev-python/zxcvbn-4.4.28[${PYTHON_USEDEP}]
- $(python_gen_cond_dep '
- >=dev-python/pony-0.7.11[${PYTHON_USEDEP}]
- ' python3_{6,7})
- amd64? ( >=dev-python/flask-mongoengine-0.9.5[${PYTHON_USEDEP}] )
- arm64? ( >=dev-python/flask-mongoengine-0.9.5[${PYTHON_USEDEP}] )
)"
distutils_enable_tests pytest
diff --git a/dev-python/flask-security/flask-security-4.1.2.ebuild b/dev-python/flask-security/flask-security-4.1.2.ebuild
index b29168405493..21d75d123a57 100644
--- a/dev-python/flask-security/flask-security-4.1.2.ebuild
+++ b/dev-python/flask-security/flask-security-4.1.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -47,11 +47,7 @@ BDEPEND="
>=dev-python/pymysql-0.9.3[${PYTHON_USEDEP}]
>=dev-python/pyqrcode-1.2[${PYTHON_USEDEP}]
>=dev-python/zxcvbn-4.4.28[${PYTHON_USEDEP}]
- $(python_gen_cond_dep '
- >=dev-python/pony-0.7.11[${PYTHON_USEDEP}]
- ' python3_8 python3_9)
- amd64? ( >=dev-python/flask-mongoengine-0.9.5[${PYTHON_USEDEP}] )
- arm64? ( >=dev-python/flask-mongoengine-0.9.5[${PYTHON_USEDEP}] )
+ >=dev-python/pony-0.7.11[${PYTHON_USEDEP}]
)"
distutils_enable_tests pytest
diff --git a/dev-python/flask-security/flask-security-4.1.3.ebuild b/dev-python/flask-security/flask-security-4.1.3.ebuild
index 143b9b8a3927..143b1184f931 100644
--- a/dev-python/flask-security/flask-security-4.1.3.ebuild
+++ b/dev-python/flask-security/flask-security-4.1.3.ebuild
@@ -50,11 +50,7 @@ BDEPEND="
>=dev-python/pymysql-0.9.3[${PYTHON_USEDEP}]
>=dev-python/pyqrcode-1.2[${PYTHON_USEDEP}]
>=dev-python/zxcvbn-4.4.28[${PYTHON_USEDEP}]
- $(python_gen_cond_dep '
- >=dev-python/pony-0.7.11[${PYTHON_USEDEP}]
- ' python3_8 python3_9)
- amd64? ( >=dev-python/flask-mongoengine-0.9.5[${PYTHON_USEDEP}] )
- arm64? ( >=dev-python/flask-mongoengine-0.9.5[${PYTHON_USEDEP}] )
+ >=dev-python/pony-0.7.11[${PYTHON_USEDEP}]
)
"
diff --git a/dev-python/pillow/pillow-9.0.1-r1.ebuild b/dev-python/pillow/pillow-9.0.1-r1.ebuild
index fbc9da703088..f6f0cfca1832 100644
--- a/dev-python/pillow/pillow-9.0.1-r1.ebuild
+++ b/dev-python/pillow/pillow-9.0.1-r1.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
LICENSE="HPND"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux"
IUSE="examples imagequant +jpeg jpeg2k lcms test tiff tk truetype webp xcb zlib"
REQUIRED_USE="test? ( jpeg jpeg2k tiff truetype )"
RESTRICT="!test? ( test )"
diff --git a/dev-python/python-ldap/python-ldap-3.4.0.ebuild b/dev-python/python-ldap/python-ldap-3.4.0.ebuild
index 4a674b7e8bb3..f1094ae7fe90 100644
--- a/dev-python/python-ldap/python-ldap-3.4.0.ebuild
+++ b/dev-python/python-ldap/python-ldap-3.4.0.ebuild
@@ -22,15 +22,16 @@ LICENSE="MIT PSF-2"
SLOT="0"
IUSE="examples sasl ssl"
+# < dep on openldap for bug #835637, ldap_r is gone
RDEPEND="
>=dev-python/pyasn1-0.3.7[${PYTHON_USEDEP}]
>=dev-python/pyasn1-modules-0.1.5[${PYTHON_USEDEP}]
- >net-nds/openldap-2.4.11:=[sasl?,ssl?]
+ <net-nds/openldap-2.6:=[sasl?,ssl?]
"
# We do not link against cyrus-sasl but we use some
# of its headers during the build.
-BDEPEND="
- >net-nds/openldap-2.4.11:=[sasl?,ssl?]
+DEPEND="
+ <net-nds/openldap-2.6:=[sasl?,ssl?]
sasl? ( >=dev-libs/cyrus-sasl-2.1 )
"
diff --git a/dev-python/python-ldap/python-ldap-9999.ebuild b/dev-python/python-ldap/python-ldap-9999.ebuild
index 2603d59e9b24..c5a44fe75172 100644
--- a/dev-python/python-ldap/python-ldap-9999.ebuild
+++ b/dev-python/python-ldap/python-ldap-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 )
inherit distutils-r1
@@ -18,21 +18,20 @@ else
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-solaris"
fi
-LICENSE="PSF-2"
+LICENSE="MIT PSF-2"
SLOT="0"
IUSE="examples sasl ssl"
-# We do not need OpenSSL, it is never directly used:
-# https://github.com/python-ldap/python-ldap/issues/224
+# < dep on openldap for bug #835637, ldap_r is gone
RDEPEND="
>=dev-python/pyasn1-0.3.7[${PYTHON_USEDEP}]
>=dev-python/pyasn1-modules-0.1.5[${PYTHON_USEDEP}]
- >net-nds/openldap-2.4.11:=[sasl?,ssl?]
+ <net-nds/openldap-2.6:=[sasl?,ssl?]
"
# We do not link against cyrus-sasl but we use some
# of its headers during the build.
-BDEPEND="
- >net-nds/openldap-2.4.11:=[sasl?,ssl?]
+DEPEND="
+ <net-nds/openldap-2.6:=[sasl?,ssl?]
sasl? ( >=dev-libs/cyrus-sasl-2.1 )
"
@@ -58,7 +57,7 @@ python_prepare_all() {
python_test() {
# Run all tests which don't require slapd
- local ignored_tests=(
+ local EPYTEST_IGNORE=(
t_bind.py
t_cext.py
t_edit.py
@@ -70,7 +69,7 @@ python_test() {
t_slapdobject.py
)
pushd Tests >/dev/null || die
- epytest ${ignored_tests[@]/#/--ignore }
+ epytest
popd > /dev/null || die
}
diff --git a/dev-python/socketpool/Manifest b/dev-python/socketpool/Manifest
deleted file mode 100644
index 98de8aff3fd5..000000000000
--- a/dev-python/socketpool/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST socketpool-0.5.3.tar.gz 9793 BLAKE2B 89b7b71d9f05f7f5e560eb3cb5e7cd4d2254ff971066d236b98903d790dd96f6c580333e9fafeab7314c50f499c9617df706a20efa1c52de069c583b6dabd928 SHA512 6d16a18927672157703fb5a29f4332241f9ddf743dfee8f2606d600dbb75d547f2e0dcc0398febe55df3319829a80b3f537b5877679e4f674569ef55de78c1b7
diff --git a/dev-python/socketpool/files/socketpool-0.5.2-locale.patch b/dev-python/socketpool/files/socketpool-0.5.2-locale.patch
deleted file mode 100644
index aa0af681a768..000000000000
--- a/dev-python/socketpool/files/socketpool-0.5.2-locale.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -ur socketpool-0.5.2.orig/setup.py socketpool-0.5.2/setup.py
---- socketpool-0.5.2.orig/setup.py 2012-08-05 12:33:47.000000000 +0800
-+++ socketpool-0.5.2/setup.py 2013-02-05 00:22:13.685705089 +0800
-@@ -5,7 +5,7 @@
- # See the NOTICE for more information.
-
-
--import os
-+import os, io
- from setuptools import setup, find_packages
-
- CLASSIFIERS = [
-@@ -22,7 +22,7 @@
-
-
- # read long description
--with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f:
-+with io.open(os.path.join(os.path.dirname(__file__), 'README.rst'), encoding='utf8') as f:
- long_description = f.read()
-
- DATA_FILES = [
diff --git a/dev-python/socketpool/metadata.xml b/dev-python/socketpool/metadata.xml
deleted file mode 100644
index b723b84039ab..000000000000
--- a/dev-python/socketpool/metadata.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>python@gentoo.org</email>
- <name>Python</name>
- </maintainer>
- <upstream>
- <remote-id type="pypi">socketpool</remote-id>
- </upstream>
- <use>
- <flag name="eventlet">
- Install <pkg>dev-python/eventlet</pkg> as needed for the eventlet
- backend.
- </flag>
- <flag name="gevent">
- Install <pkg>dev-python/gevent</pkg> as needed for the gevent
- backend.
- </flag>
- </use>
- <origin>gentoo-staging</origin>
- <stabilize-allarches/>
-</pkgmetadata> \ No newline at end of file
diff --git a/dev-python/socketpool/socketpool-0.5.3-r3.ebuild b/dev-python/socketpool/socketpool-0.5.3-r3.ebuild
deleted file mode 100644
index 7b6a74743e12..000000000000
--- a/dev-python/socketpool/socketpool-0.5.3-r3.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9,10} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="A simple Python socket pool"
-HOMEPAGE="https://github.com/benoitc/socketpool/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~s390 ~sparc x86 ~x64-macos"
-IUSE="eventlet examples gevent"
-LICENSE="|| ( MIT public-domain )"
-SLOT="0"
-
-RDEPEND="
- eventlet? (
- $(python_gen_cond_dep '
- dev-python/eventlet[${PYTHON_USEDEP}]
- ' python3_{7..9})
- )
- gevent? (
- $(python_gen_cond_dep '
- dev-python/gevent[${PYTHON_USEDEP}]
- ' python3_{7..9})
- )"
-
-BDEPEND="
- test? (
- !alpha? ( !hppa? ( !ia64? (
- $(python_gen_cond_dep '
- dev-python/eventlet[${PYTHON_USEDEP}]
- ' python3_{7..9})
- $(python_gen_cond_dep '
- dev-python/gevent[${PYTHON_USEDEP}]
- ' python3_{7..9})
- ) ) )
- )"
-
-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
-
- pushd "${BUILD_DIR}" >/dev/null || die
- epytest tests
- popd >/dev/null || die
-}
-
-python_install_all() {
- distutils-r1_python_install_all
-
- use examples && dodoc -r examples
-
- # package installs unneeded LICENSE files here
- rm -r "${ED}"/usr/socketpool || die
-}