summaryrefslogtreecommitdiff
path: root/dev-python/pycurl
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-09-17 03:04:43 -0500
committerroot <root@alpha.trunkmasters.com>2026-09-17 03:04:43 -0500
commite354c0374d2aa19224b635b0ce38bd0e6a6b5fc3 (patch)
tree0c997c882ce62ff679b033d6fe8def52afb88216 /dev-python/pycurl
parent687a263b5212436c1ced6387f36d785b0a34599f (diff)
downloadbaldeagleos-repo-e354c0374d2aa19224b635b0ce38bd0e6a6b5fc3.tar.gz
baldeagleos-repo-e354c0374d2aa19224b635b0ce38bd0e6a6b5fc3.tar.xz
baldeagleos-repo-e354c0374d2aa19224b635b0ce38bd0e6a6b5fc3.zip
Adding metadata
Diffstat (limited to 'dev-python/pycurl')
-rw-r--r--dev-python/pycurl/Manifest2
-rw-r--r--dev-python/pycurl/pycurl-7.48.0.ebuild89
2 files changed, 91 insertions, 0 deletions
diff --git a/dev-python/pycurl/Manifest b/dev-python/pycurl/Manifest
index d7fbafc12696..8f419b1da666 100644
--- a/dev-python/pycurl/Manifest
+++ b/dev-python/pycurl/Manifest
@@ -4,3 +4,5 @@ DIST pycurl-7.46.0.tar.gz 284697 BLAKE2B 0839edc2b93ddf3a164452b5c1b312f06960d7b
DIST pycurl-7.46.0.tar.gz.provenance 9569 BLAKE2B 70d9db2f5f58586fd9cb7557f60ccb5eb5469bc17d8f42a616c754072bdf96c347e7ae09c7d706bc75835bab35e0a5fa07d74cdfe1e2bb8c1cbf90bf9f291263 SHA512 e66b4bc6c176264639485a7aa8f521783f7d95e6e05f3b7e78f5ba3a8e1845200e1aa67691d6ccf606d00791fe13e493b98d1e2e348afd4d599d2fc155ede8d6
DIST pycurl-7.47.0.tar.gz 301499 BLAKE2B 63538f5010435d3aacd4746f173d148e7aa00918f097f770850372bd145474e4b07defd423170de9be50b7934337dd7c07909bd3ce95a9b393980b003589fa0b SHA512 4dbd60c60fe6cab898a1477f144d3e7e6618939be62cbd29d3c3d675c846c0b44d518364d0b63a0c3d3255db7a31b9cb86201ccafe4b39dae23a52902be68bca
DIST pycurl-7.47.0.tar.gz.provenance 9726 BLAKE2B 9d01e77fb5ae3738629599a82532bfe80b2d33e45baea3ff172b83cb210f7ad117fe3be455f2287ef771a9466345f9eef0876a2fd280526335f33c9fda8cad35 SHA512 ae4621ac47e6f0873004ec9693e5718004c85927ff8c3509cc152ac67b5354bb1c84486a7253491075861e4995799394142b91799d1da88db04025d139491067
+DIST pycurl-7.48.0.tar.gz 320614 BLAKE2B 0506832eacf8560b96b5f286525a9ef2e27358ca68787facbe20a1f6e89570e34012ecea76dae8f52d4ad6e069b2117408f7d921673062504ee50acb57a7fd9b SHA512 2c63b3167b92e88801ca238403a3f30a6d6e3f056a2a16de3e96271ad6150eb619c7c411ab9c46023d8a3c9ea97caebdcad421c910ba9b74ec22d1e43983c677
+DIST pycurl-7.48.0.tar.gz.provenance 9672 BLAKE2B 19299d62eeed74929be75db0fc5dbb2433cd19c2d9bca3be15ae1023d2aad830633fe4412a1d71fcc5f5cf0c0ffbbeb76578e6a0fca8f0ae7e3c5a50d6680d46 SHA512 01163cc181d45306c07209366305e0c65e57ded375b2a9dda3fab33e512bfb334a02e25b382c15d6b016da7610e8c35b245fe47e15256f8e3737e6b34930828a
diff --git a/dev-python/pycurl/pycurl-7.48.0.ebuild b/dev-python/pycurl/pycurl-7.48.0.ebuild
new file mode 100644
index 000000000000..b71b7b57bf61
--- /dev/null
+++ b/dev-python/pycurl/pycurl-7.48.0.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYPI_VERIFY_REPO=https://github.com/pycurl/pycurl
+# broken assertions with py3.12
+# https://github.com/pycurl/pycurl/issues/1071
+PYTHON_COMPAT=( python3_{13..14} )
+
+inherit distutils-r1 pypi toolchain-funcs
+
+DESCRIPTION="Python bindings for curl/libcurl"
+HOMEPAGE="
+ http://pycurl.io/
+ https://github.com/pycurl/pycurl/
+ https://pypi.org/project/pycurl/
+"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
+IUSE="curl_ssl_gnutls +curl_ssl_openssl examples ssl"
+
+# Depend on a curl with curl_ssl_* USE flags.
+# libcurl must not be using an ssl backend we do not support.
+# If the libcurl ssl backend changes pycurl should be recompiled.
+# If curl uses gnutls, depend on at least gnutls 2.11.0 so that pycurl
+# does not need to initialize gcrypt threading and we do not need to
+# explicitly link to libgcrypt.
+DEPEND="
+ >=net-misc/curl-7.25.0-r1:=[ssl=]
+ ssl? (
+ net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
+ curl_ssl_gnutls? ( >=net-libs/gnutls-2.11.0:= )
+ curl_ssl_openssl? ( dev-libs/openssl:= )
+ )
+"
+
+RDEPEND="
+ ${DEPEND}
+"
+BDEPEND="
+ test? (
+ dev-python/flask[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ >=dev-python/websockets-12[${PYTHON_USEDEP}]
+ net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-),http2]
+ )
+"
+
+EPYTEST_PLUGINS=( flaky )
+: ${EPYTEST_TIMEOUT:=120}
+distutils_enable_tests pytest
+
+python_prepare_all() {
+ # docs installed into the wrong directory
+ sed -e "/setup_args\['data_files'\] = /d" -i setup.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_configure_all() {
+ # Override faulty detection in setup.py, bug #510974.
+ export PYCURL_SSL_LIBRARY=${CURL_SSL}
+}
+
+src_test() {
+ emake -C tests/fake-curl/libcurl CC="$(tc-getCC)"
+
+ distutils-r1_src_test
+}
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # refcounting tests are unreliable
+ tests/memory_mgmt_test.py::test_option_refcounting
+ )
+
+ epytest tests
+}
+
+python_install_all() {
+ local HTML_DOCS=( doc/. )
+ use examples && dodoc -r examples
+ distutils-r1_python_install_all
+}