summaryrefslogtreecommitdiff
path: root/dev-python/pycurl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-05-29 03:16:09 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-05-29 03:16:09 +0100
commit2d3042634af4767714cb90eff3f773ef54afb5ed (patch)
tree52df7aa6b75899440a32b7c80c8d7015adaf4524 /dev-python/pycurl
parent14bda3c9c57c13e8a59303f400678313fd770bdd (diff)
gentoo auto-resync : 29:05:2023 - 03:16:09
Diffstat (limited to 'dev-python/pycurl')
-rw-r--r--dev-python/pycurl/Manifest3
-rw-r--r--dev-python/pycurl/files/pycurl-7.45.2-skip-http3-test.patch28
-rw-r--r--dev-python/pycurl/pycurl-7.45.2.ebuild6
3 files changed, 35 insertions, 2 deletions
diff --git a/dev-python/pycurl/Manifest b/dev-python/pycurl/Manifest
index 8ab565cd185f..cd8e51c0ac7d 100644
--- a/dev-python/pycurl/Manifest
+++ b/dev-python/pycurl/Manifest
@@ -1,3 +1,4 @@
+AUX pycurl-7.45.2-skip-http3-test.patch 1116 BLAKE2B 9852580ab51cd978501d966292827c6f7739d52f65eb4cb01b3cd9517aa1b7f522c58dd0703264d662f431292ef55188f16d50f9f8df5b0dd1b7e32f0a185e64 SHA512 51567f97f96d94878a0af446a89a032aa79c6a062d2efbe1d32c8a9b70d1ba75eada54fff53ea9de37c739635225310d067976d4883937914dc2708de4837789
DIST pycurl-7.45.2.tar.gz 234245 BLAKE2B 16257a967d2867de08d83478f602d00b54316d37b6a544804e606a814f61507530fb7e1ef3247be824dfa22b9487a69bbfc9b1038b2b776ebc556b18ed2d93ca SHA512 8a82346395acfc0bd37a8c4d8d2b17e5ab4602710308ed50f9ed88c223c73f15f5b1c95fc6191708e3bd9d647e4bc5ec91f740de433dd87e2ae0796ac79879ac
-EBUILD pycurl-7.45.2.ebuild 2488 BLAKE2B 5a202448a36c56f4a422b958da5857f2caa99dfb886cd48233371f7d6cbe49ee518759c547975bfd001a77269616dd863a6e328a953169e4379bff98e3f68517 SHA512 63eb5089953c999234a2a3b5fca25f0915f7daefee5a39d78da561d321167b25d3502292b309356e53966aa364d910d22df77d4d83596c5baaecfad6104f4a84
+EBUILD pycurl-7.45.2.ebuild 2552 BLAKE2B b3ca9d8caf1ded466ca006f07cbfd6006fa69053c96a9a19e307b0b27d87edab693b88a7032ae04a5058ebb4594f7c44307fa4912c7037a983050e7f61cb115b SHA512 0232c303ec7c260432304cfa891c08e64dc9d83d010c2017a8cf90edeb672e2f2b0a761fee2e8828f4978384d3bdee7b295cae263c6dd702a63b9c4afd89f1c8
MISC metadata.xml 1100 BLAKE2B dfc7fe054c7cc34c61bf58fef0378df304a539c28cbc0dff4ffff65ccc8892c38aaf1e275885fc54d2854d9acc6b382947038041f815b5941859be7cfe75523f SHA512 f1de0dccd625ae0b02ff9a55cbc1bbf7944faa24dba28ffd711c728001f180afa598a255132aea860ad616637325cdc653577af531b1a954a3994e8902c774aa
diff --git a/dev-python/pycurl/files/pycurl-7.45.2-skip-http3-test.patch b/dev-python/pycurl/files/pycurl-7.45.2-skip-http3-test.patch
new file mode 100644
index 000000000000..4ebf3b4b1ba8
--- /dev/null
+++ b/dev-python/pycurl/files/pycurl-7.45.2-skip-http3-test.patch
@@ -0,0 +1,28 @@
+In Gentoo, we don't yet usually have HTTP3 for curl either.
+
+https://src.fedoraproject.org/rpms/python-pycurl/raw/rawhide/f/0002-python-pycurl-7.45.2-disable-test_http_version_3.patch
+
+From 6c55e6822a064edb8dd6dfe1ee21080f4f30b5cf Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Zaoral?= <lzaoral@redhat.com>
+Date: Tue, 7 Mar 2023 16:32:19 +0100
+Subject: [PATCH] tests: temporarily disable test_http_version_3
+
+HTTP3 support in curl is only experimental at the moment and is disabled
+in the corresponding Fedora package.
+--- a/tests/option_constants_test.py
++++ b/tests/option_constants_test.py
+@@ -508,10 +508,6 @@ class OptionConstantsSettingTest(unittest.TestCase):
+ def test_http_version_2prior_knowledge(self):
+ self.curl.setopt(self.curl.HTTP_VERSION, self.curl.CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE)
+
+- @util.min_libcurl(7, 66, 0)
+- def test_http_version_3(self):
+- self.curl.setopt(self.curl.HTTP_VERSION, self.curl.CURL_HTTP_VERSION_3)
+-
+ @util.min_libcurl(7, 21, 5)
+ def test_sockopt_constants(self):
+ assert self.curl.SOCKOPT_OK is not None
+--
+2.39.2
+
+
diff --git a/dev-python/pycurl/pycurl-7.45.2.ebuild b/dev-python/pycurl/pycurl-7.45.2.ebuild
index cdacb83de93f..721c43c1facc 100644
--- a/dev-python/pycurl/pycurl-7.45.2.ebuild
+++ b/dev-python/pycurl/pycurl-7.45.2.ebuild
@@ -5,7 +5,7 @@ EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1 pypi toolchain-funcs
@@ -47,6 +47,10 @@ BDEPEND="
)
"
+PATCHES=(
+ "${FILESDIR}"/${PN}-7.45.2-skip-http3-test.patch
+)
+
distutils_enable_tests pytest
python_prepare_all() {