python-curl: bump to version 7.45.7
authorAlexandru Ardelean <[email protected]>
Tue, 25 Nov 2025 12:14:40 +0000 (14:14 +0200)
committerAlexandru Ardelean <[email protected]>
Wed, 26 Nov 2025 12:51:45 +0000 (14:51 +0200)
Change bumps version to 7.45.7
Adding python-setuptools/host as PKG_BUILD_DEPENDS.

Package is no longer needed.

Fixes:
 https://github.com/openwrt/packages/issues/27915

Signed-off-by: Alexandru Ardelean <[email protected]>
lang/python/python-curl/Makefile
lang/python/python-curl/patches/100_macos_compat.patch [deleted file]

index b239efd3a0d196bf491c7bf65a1ae04157acb396..810810e058fd389a299d8de1710b481757ad25a5 100644 (file)
@@ -5,16 +5,20 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=pycurl
-PKG_VERSION:=7.45.2
-PKG_RELEASE:=3
+PKG_VERSION:=7.45.7
+PKG_RELEASE:=1
 
 PYPI_NAME:=$(PKG_NAME)
-PKG_HASH:=5730590be0271364a5bddd9e245c9cc0fb710c4cbacbdd95264a3122d23224ca
+PKG_HASH:=9d43013002eab2fd6d0dcc671cd1e9149e2fc1c56d5e796fad94d076d6cb69ef
 
 PKG_MAINTAINER:=Waldemar Konik <[email protected]>
 PKG_LICENSE:=LGPL-2.1
 PKG_LICENSE_FILES:=COPYING-LGPL
 
+PKG_BUILD_DEPENDS:= \
+       python3/host \
+       python-setuptools/host
+
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
 include ../python3-package.mk
diff --git a/lang/python/python-curl/patches/100_macos_compat.patch b/lang/python/python-curl/patches/100_macos_compat.patch
deleted file mode 100644 (file)
index ba5e0b8..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-Support build on MacOS
-This patch should be deleted after resolving https://github.com/pycurl/pycurl/issues/727
----
---- a/setup.py
-+++ b/setup.py
-@@ -341,9 +341,6 @@ ignore this message.''')
-         if not self.libraries:
-             self.libraries.append("curl")
--        # Add extra compile flag for MacOS X
--        if sys.platform.startswith('darwin'):
--            self.extra_link_args.append("-flat_namespace")
-         # Recognize --avoid-stdio on Unix so that it can be tested
-         self.check_avoid_stdio()