summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-09-21 21:23:06 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-09-21 21:23:06 +0000
commit2ebd86f30185547b909798d14473346ff93440c0 (patch)
tree2df0a144c334e96b6bdece6f5f0903c5ac40dfe0 /dev-python
parent4765bc938c05f7b9b6f213901d66138d834fd13f (diff)
downloadbaldeagleos-repo-2ebd86f30185547b909798d14473346ff93440c0.tar.gz
baldeagleos-repo-2ebd86f30185547b909798d14473346ff93440c0.tar.xz
baldeagleos-repo-2ebd86f30185547b909798d14473346ff93440c0.zip
Adding metadata
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/cryptography/Manifest2
-rw-r--r--dev-python/cryptography/cryptography-41.0.4.ebuild (renamed from dev-python/cryptography/cryptography-41.0.2.ebuild)1
-rw-r--r--dev-python/langdetect/Manifest2
-rw-r--r--dev-python/langdetect/metadata.xml10
-rw-r--r--dev-python/urllib3/Manifest2
-rw-r--r--dev-python/urllib3/files/urllib.patch72
-rw-r--r--dev-python/urllib3/urllib3-2.0.5.ebuild (renamed from dev-python/urllib3/urllib3-2.0.3.ebuild)23
-rw-r--r--dev-python/urwid/Manifest2
-rw-r--r--dev-python/urwid/files/urwid-2.1.1-ignore-resetting-to-invalid-locale.patch32
-rw-r--r--dev-python/urwid/urwid-2.2.0.ebuild (renamed from dev-python/urwid/urwid-2.1.1.ebuild)12
10 files changed, 34 insertions, 124 deletions
diff --git a/dev-python/cryptography/Manifest b/dev-python/cryptography/Manifest
index 1826689b2689..70f67b5f345c 100644
--- a/dev-python/cryptography/Manifest
+++ b/dev-python/cryptography/Manifest
@@ -7,8 +7,8 @@ DIST base64-0.13.1.crate 61002 BLAKE2B 3b3a5b26e2ef18e9b4f1ede72b1bd160a14947518
DIST bitflags-1.3.2.crate 23021 BLAKE2B eb990bb27b2bdeb66fd7212ce582cb36e1c616debbac85df642d0c82b25439e6bf9b1e811fac76b59e58ea3c1bbea6170d03a61e8f9a395e4334a0e2e2987eda SHA512 3c698f757b5cc62f815f9a1cce365c3d2dd88e4db71f331dff8bba86c2865f755b81cb4c9bfc59bd86b7643b0943f9e09a7c4f8ad75eb2ab0e714803d0129f62
DIST cc-1.0.79.crate 62624 BLAKE2B b3cbed3bd6fcac1c6ea258ec96cd107f859947a35dc89c3dc8f314741b0f668e61518f896ec32ce10c9a7eb20dd350bc177a71810d53ebea59fda062ed9d27db SHA512 cbf0a25f3a23fc540e9d638fabc23f761f1c240ebb4814e761e90437d71fc559cd155768ab9e78fc192220d8a605c66c3af342ed736b719181656170b98d7bf5
DIST cfg-if-1.0.0.crate 7934 BLAKE2B e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b SHA512 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff
-DIST cryptography-41.0.2.tar.gz 630080 BLAKE2B 26f1422133510d2c8076dfdccc4cfc2134b3704122b13e15cc34b1b4a1362d81a22efb7cb9ba64a266a7832ff7910ddd9da94f4ab8e58bf7308985ca57c3c00c SHA512 9c9b7fd047430bbde841fcd97e4ce76be6c708b372a7c1170013d8d8baaa263d90bed4a0fa4fca82ff713e8acf25971e7eab0f4ec1c8cbc8e9658a8527787e3a
DIST cryptography-41.0.3.tar.gz 630139 BLAKE2B 148c01d3956a821edfcbba386287707f6e327d49669d163c00080f5208d65f340096a211825d6b5550036b00c5ccf9c84b137413454d68cae5374e9c10947c87 SHA512 84f79f72be3646c1e9a932ba8aba514471f6c0e50462a0bb3a927622ce67c7932e71d44e187db8928b05f04b803b958284f785c0dc297a0c9453846af1ac1aca
+DIST cryptography-41.0.4.tar.gz 630506 BLAKE2B 8d205ec707b0278f081c9d96d81d5bb2ac2554e0f73e97451c053da018ff7d0e0aaa2b1f043f2f67c0a93e7d0d02a130cdf3373ced21728268c7f882bd64fbd1 SHA512 0c0a025ed5e39195561e5a6374463ee2261448657ebb89e39e761a5b02c701a8f804c1f84733cf8376e44a46784b2cc41134952c329987a96ee85cb4532c75cd
DIST foreign-types-0.3.2.crate 7504 BLAKE2B 520818b702d990d296ecd31a8646850202509ccfa18edd0e1b260289619a6c351e758f317ec0824bd76eccb209b6f087057c25f1bd01a47897715013dd834867 SHA512 bf27b8243ed482c202d120383374f19ff09422535e24b9c1aebccc66529bf300ca17b8bbc76d67f98ac092e614497afe3add9dc68aa69c93074df05762f91232
DIST foreign-types-shared-0.1.1.crate 5672 BLAKE2B d2e42e04b6657e7a69fe0bd20c672176629c743e49a55fd007bb30e289710b70045d445ae9cae0eeaa747ee708c90e8abd9b5fc39bad8ec0666befe1b696d4f1 SHA512 bafdb2143e136fb0818e2ffd90b5c862b7181647d6568947d4e4531012bbf7a57b597221ec7056c1b562dfc0c3b5dead26d1a4111ebc15e7863737a873518a4a
DIST indoc-1.0.9.crate 13475 BLAKE2B a9696788574e56dd125c3371169fd59d6947d188f76e2669b21c0304692efd6709cd048920f7822e92c6a5620fb178e0e85c7776118cef8ccee0f58398e14abf SHA512 db8aef4a7bb606452dc8ed45aa29a255c7a135357a0bd586fb4429c5f56a1aa2ca9400d6fac39956aeb486a15d25cf5d1b9524967867f2c651d9d563e3e85be8
diff --git a/dev-python/cryptography/cryptography-41.0.2.ebuild b/dev-python/cryptography/cryptography-41.0.4.ebuild
index 33b03059c8f6..35a39014b169 100644
--- a/dev-python/cryptography/cryptography-41.0.2.ebuild
+++ b/dev-python/cryptography/cryptography-41.0.4.ebuild
@@ -6,6 +6,7 @@ CARGO_OPTIONAL=yes
PYTHON_COMPAT=( python3_{8,9,10,11} )
PYTHON_REQ_USE="threads(+)"
+
CRATES="
Inflector-0.11.4
aliasable-0.1.3
diff --git a/dev-python/langdetect/Manifest b/dev-python/langdetect/Manifest
index e9da2ac43cac..a11d7c268c91 100644
--- a/dev-python/langdetect/Manifest
+++ b/dev-python/langdetect/Manifest
@@ -1,3 +1 @@
DIST langdetect-1.0.9.tar.gz 981474 BLAKE2B ea8a9c3f16a2987c080742473bff4f2c1503f53fb3c2b40b0b1d6212bb6133ea22dce7864ffcfb8968c3a46b157d45cb3e2cf6f84bdbed0266cc716a853b032c SHA512 7558d674c47b080c79e43a00a25d2c7f77188cf60bea2cecb3bebb803d75e1aa42b43c74bd26ea1b541f4cb927421908882cbec01a91f0913984217e71ccc8db
-EBUILD langdetect-1.0.9.ebuild 493 BLAKE2B 0df8bce19bc80f79f8e76bcef5a4c2caf333365fe0cb9a3c076b7858bceded5a3e58921474f866a2709dd657b7ed330c1ec4a7f9d7bab0fcf1bc92d77cabc32d SHA512 ea2a1adcb133ac5fc951ba1aa90ef1ce3dfcc424e59727591763d4875aa044a74188be2d15fd89c6b2e83ed6ea04ec3d9851ed584ae79d2c2c127bde7d994b48
-MISC metadata.xml 457 BLAKE2B 630128a3e982b6d60cc7b9f74c79fcb5ee47a71a02c73a50af9da8cedb6fad8e20a7f74b881e5b25c6483b92c9edbd56552cd38b2d9cbfa8b3eb4530facea969 SHA512 674f4f5cd809c6c77bc14e0f5687fa972bef14bdfa0b3343c5d66b7163eef1906eb87d060c8288732f825de71dce291ad0b841a5f2f0dd230f957b5687e45d45
diff --git a/dev-python/langdetect/metadata.xml b/dev-python/langdetect/metadata.xml
index 020e07f2a3dd..ddb5b0f1787e 100644
--- a/dev-python/langdetect/metadata.xml
+++ b/dev-python/langdetect/metadata.xml
@@ -2,11 +2,9 @@
<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
- <email>marcin.deranek@slonko.net</email>
- <name>Marcin Deranek</name>
+ <email>cyber+gentoo@sysrq.in</email>
+ <name>Anna</name>
</maintainer>
- <upstream>
- <bugs-to>https://github.com/Mimino666/langdetect/issues</bugs-to>
- </upstream>
- <origin>slonko-overlay</origin>
+
+ <origin>gentoo-guru-overlay</origin>
</pkgmetadata> \ No newline at end of file
diff --git a/dev-python/urllib3/Manifest b/dev-python/urllib3/Manifest
index 060446d7c6cd..8296541f9110 100644
--- a/dev-python/urllib3/Manifest
+++ b/dev-python/urllib3/Manifest
@@ -1,3 +1,3 @@
DIST urllib3-1.26.15.tar.gz 301444 BLAKE2B 2681f0290a4f8b335dcdf384a0c0692cf51e88ea829f80c8c857be328b00c618978a84957da4e23826e4597fe90764eb36ab9acbbc33f9a6ec8df3e3ff3f4d48 SHA512 b6ddb29c15b2d729605a6acb7c602f18c75a937cdfe9649d35d790a59fbb1d96a8d68975ba0a4c073c9f1750e383c67b7566dbcd81b3e8611501e9f4153e9a2b
-DIST urllib3-2.0.3.tar.gz 280489 BLAKE2B 5cb68029b8ea2fc51c5abefe212ab4a58269e72f180d16e4c0bbef93284c3298195fa84e2f2d845663436c5397a73653a95d9970594dab6662077f77a11591a8 SHA512 fd586a12b25a30ea801cfd6e207854a0f762cefee54512d742b3fffcc772db9dd75f436f0b998edd32a60857a7bd818bd10f6984e26f2ea47f56b5c545ead45b
DIST urllib3-2.0.4.tar.gz 281517 BLAKE2B 58635787069b6d8e83394ddacca2c70824c03190efb4e0838b9b80d8e8c1499fa0143e1d38ece4e2a7f9b34d6b50f9805050bf85707d98eb171307ff35f8b215 SHA512 64d55714d871716730af5a691fc222722cffc13b0603ecae597e5f4cfd82297beede2b08cedc030b2419bd446f51c4c6e54f466ad96c71dd0848abbf806b4db4
+DIST urllib3-2.0.5.tar.gz 281697 BLAKE2B 7ae1cc90243cd2069767d4a3f7ca3b96d9e6270f38b363ba2c2cfddeb293cc75782740524bdf91d64bd08dcf1dc44cb9fe6ec2b501d34bdf4c69d893c794382a SHA512 dead3fcda9637c6142b577f051f25578249f7513d3d2bdf4ed880b7a063ff7ee2e946e72b91355328b12205600abc487252ca025f3946408093df46134d9fc12
diff --git a/dev-python/urllib3/files/urllib.patch b/dev-python/urllib3/files/urllib.patch
deleted file mode 100644
index 8ece62db16de..000000000000
--- a/dev-python/urllib3/files/urllib.patch
+++ /dev/null
@@ -1,72 +0,0 @@
-diff --git a/src/urllib3/__init__.py b/src/urllib3/__init__.py
-index 43e79fa2bb..c4f486ae3f 100644
---- a/src/urllib3/__init__.py
-+++ b/src/urllib3/__init__.py
-@@ -30,17 +30,18 @@
- except ImportError:
- pass
- else:
-- # fmt: off
-- if (
-- not ssl.OPENSSL_VERSION.startswith("OpenSSL ")
-- or ssl.OPENSSL_VERSION_INFO < (1, 1, 1)
-- ): # Defensive:
-+ if not ssl.OPENSSL_VERSION.startswith("OpenSSL "): # Defensive
-+ raise exceptions.NotOpenSSLWarning(
-+ "urllib3 v2.0 only supports OpenSSL 1.1.1+, currently "
-+ f"the 'ssl' module is compiled with {ssl.OPENSSL_VERSION}. "
-+ "See: https://github.com/urllib3/urllib3/issues/3020"
-+ )
-+ elif ssl.OPENSSL_VERSION_INFO < (1, 1, 1): # Defensive:
- raise ImportError(
- "urllib3 v2.0 only supports OpenSSL 1.1.1+, currently "
- f"the 'ssl' module is compiled with {ssl.OPENSSL_VERSION}. "
- "See: https://github.com/urllib3/urllib3/issues/2168"
- )
-- # fmt: on
-
- # === NOTE TO REPACKAGERS AND VENDORS ===
- # Please delete this block, this logic is only
-diff --git a/src/urllib3/exceptions.py b/src/urllib3/exceptions.py
-index 7f42689a4d..5bb9236961 100644
---- a/src/urllib3/exceptions.py
-+++ b/src/urllib3/exceptions.py
-@@ -214,6 +214,10 @@ class InsecureRequestWarning(SecurityWarning):
- """Warned when making an unverified HTTPS request."""
-
-
-+class NotOpenSSLWarning(SecurityWarning):
-+ """Warned when using unsupported SSL library"""
-+
-+
- class SystemTimeWarning(SecurityWarning):
- """Warned when system time is suspected to be wrong"""
-
-
-From 6ada43193bec82eb2798968464a0690f73288841 Mon Sep 17 00:00:00 2001
-From: Quentin Pradet <quentin.pradet@gmail.com>
-Date: Wed, 10 May 2023 18:02:37 +0400
-Subject: [PATCH 2/6] Raise a warning when not OpenSSL
-
----
- src/urllib3/__init__.py | 5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/src/urllib3/__init__.py b/src/urllib3/__init__.py
-index c4f486ae3f..9fc1e548b1 100644
---- a/src/urllib3/__init__.py
-+++ b/src/urllib3/__init__.py
-@@ -31,10 +31,11 @@
- pass
- else:
- if not ssl.OPENSSL_VERSION.startswith("OpenSSL "): # Defensive
-- raise exceptions.NotOpenSSLWarning(
-+ warnings.warn(
- "urllib3 v2.0 only supports OpenSSL 1.1.1+, currently "
- f"the 'ssl' module is compiled with {ssl.OPENSSL_VERSION}. "
-- "See: https://github.com/urllib3/urllib3/issues/3020"
-+ "See: https://github.com/urllib3/urllib3/issues/3020",
-+ exceptions.NotOpenSSLWarning,
- )
- elif ssl.OPENSSL_VERSION_INFO < (1, 1, 1): # Defensive:
- raise ImportError(
diff --git a/dev-python/urllib3/urllib3-2.0.3.ebuild b/dev-python/urllib3/urllib3-2.0.5.ebuild
index a1e83a44f40d..40fae9380bd1 100644
--- a/dev-python/urllib3/urllib3-2.0.3.ebuild
+++ b/dev-python/urllib3/urllib3-2.0.5.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~x86 ~x64-cygwin ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="brotli libressl test zstd"
RESTRICT="!test? ( test )"
@@ -44,6 +44,13 @@ BDEPEND="
)
"
+src_prepare() {
+ # upstream considers 0.5 s to be "long" for a timeout
+ # we get tons of test failures on *fast* systems because of that
+ sed -i -e '/LONG_TIMEOUT/s:0.5:5:' test/__init__.py || die
+ distutils-r1_src_prepare
+}
+
python_test() {
local -x CI=1
if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
@@ -55,7 +62,21 @@ python_test() {
# take forever
test/contrib/test_pyopenssl.py::TestSocketSSL::test_requesting_large_resources_via_ssl
test/with_dummyserver/test_socketlevel.py::TestSSL::test_requesting_large_resources_via_ssl
+ # stupid test, next bump please verify if they fixed it
+ test/test_poolmanager.py::TestPoolManager::test_deprecated_no_scheme
+ # fails with newer secure SSL configuration, which removes TLS 1.1
+ test/contrib/test_pyopenssl.py::TestHTTPS_TLSv1::test_verify_none_and_good_fingerprint
+ test/contrib/test_pyopenssl.py::TestHTTPS_TLSv1_1::test_verify_none_and_good_fingerprint
+ test/with_dummyserver/test_https.py::TestHTTPS_TLSv1::test_verify_none_and_good_fingerprint
+ test/with_dummyserver/test_https.py::TestHTTPS_TLSv1_1::test_verify_none_and_good_fingerprint
+ # TODO: timeouts
+ test/contrib/test_pyopenssl.py::TestSocketClosing::test_timeout_errors_cause_retries
+ test/with_dummyserver/test_socketlevel.py::TestSocketClosing::test_timeout_errors_cause_retries
+ # warnings, sigh
+ test/with_dummyserver/test_connectionpool.py::TestConnectionPool::test_request_chunked_is_deprecated
)
+ # plugins make tests slower, and more fragile
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest
}
diff --git a/dev-python/urwid/Manifest b/dev-python/urwid/Manifest
index 6e038e00a764..e64309d4c658 100644
--- a/dev-python/urwid/Manifest
+++ b/dev-python/urwid/Manifest
@@ -1,2 +1,2 @@
-DIST urwid-2.1.1.tar.gz 633082 BLAKE2B 93393cc9f8e755cf2e25119f26487e062ab145ff4c966c69ad0b153cc2a286aac4f70be9b7e82c57f644fb850f70c88c0c9562cf1c07dcdd427e0afe409a01b0 SHA512 08fc51205f0adeea0ecce876ca17d921961b665894aef440fd826ef0f8b9230cd8d22c5db85fcf4e227f8e70841e3439860e5035ff874b8d0c1834111c3a97db
DIST urwid-2.1.2.tar.gz 634621 BLAKE2B ce274820c27708fd0b10f22359923316576b895f6888c9b174b42dedcd551353b6c3ba797c68d61a082ecf23b8f0108a58454bdb44806e33b74d9e6e5bd28537 SHA512 f102bdde5f5d39d4bce455020bbe4f18290589da0750a3b15b1e2bc8acf8a405f02295d7efa3009877801a36bfbfade92ec963086122e9b133db137d816a1ea5
+DIST urwid-2.2.0.tar.gz 671888 BLAKE2B 456217f81d7a42a0ac19f55f2a886fac172bdf0951d3d0660f1273a8450acf3b15372f2087b29c118a8c557f475589bf856f58b69a60a05901629cbfa1cb8f51 SHA512 f4bc8f06f72f23499eddc8dbd15566a39a2129a10c2b685410144e4aa25f9c314b72162020e3d626f77ab4e113fe4a08a7fd9bc372142be799d06abc520cbb7e
diff --git a/dev-python/urwid/files/urwid-2.1.1-ignore-resetting-to-invalid-locale.patch b/dev-python/urwid/files/urwid-2.1.1-ignore-resetting-to-invalid-locale.patch
deleted file mode 100644
index 61549a50d087..000000000000
--- a/dev-python/urwid/files/urwid-2.1.1-ignore-resetting-to-invalid-locale.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From fd010f8336407ad1a42522b424d2ea7b7800ebc4 Mon Sep 17 00:00:00 2001
-From: Jochen Sprickerhof <git@jochen.sprickerhof.de>
-Date: Fri, 26 Jun 2020 22:26:23 +0200
-Subject: [PATCH] Ignore resetting to invalid locale (Closes: #377)
-
-Resetting the locale was introduced in 5dcf236, before that an invalid
-locale was ignored. Restore the old behavior insofar that only valid
-locales are restored.
-This fixes the unit tests of scottkosty/vit with unset LANG.
----
- urwid/util.py | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/urwid/util.py b/urwid/util.py
-index 17c049d..acd62f6 100644
---- a/urwid/util.py
-+++ b/urwid/util.py
-@@ -55,7 +55,10 @@ def detect_encoding():
- else:
- raise
- finally:
-- locale.setlocale(locale.LC_ALL, initial)
-+ try:
-+ locale.setlocale(locale.LC_ALL, initial)
-+ except locale.Error:
-+ pass
-
- if 'detected_encoding' not in locals():
- detected_encoding = detect_encoding()
---
-2.26.2
-
diff --git a/dev-python/urwid/urwid-2.1.1.ebuild b/dev-python/urwid/urwid-2.2.0.ebuild
index d3930b7c5487..0e7a4871feba 100644
--- a/dev-python/urwid/urwid-2.1.1.ebuild
+++ b/dev-python/urwid/urwid-2.2.0.ebuild
@@ -1,7 +1,6 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 2023 Liguros Authors
# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
+EAPI=8
PYTHON_COMPAT=( python3_{8,9,10,11} )
PYTHON_REQ_USE="ncurses"
@@ -10,17 +9,13 @@ inherit distutils-r1
DESCRIPTION="Curses-based user interface library for Python"
HOMEPAGE="http://urwid.org/ https://pypi.org/project/urwid/ https://github.com/urwid/urwid/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+SRC_URI="https://files.pythonhosted.org/packages/ae/d5/501aaf50b8eba09f4fa12f2b176bc4516fe41c853cf4fe31d9b7704defd1/urwid-2.2.0.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~mips ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
IUSE="examples"
-PATCHES=(
- "${FILESDIR}/${PN}-2.1.1-ignore-resetting-to-invalid-locale.patch"
-)
-
distutils_enable_sphinx docs
distutils_enable_tests setup.py
@@ -34,4 +29,5 @@ src_prepare() {
python_install_all() {
use examples && dodoc -r examples
distutils-r1_python_install_all
+ python_optimize
}