pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/py-cares
Module Name: pkgsrc
Committed By: wiz
Date: Thu Jan 8 12:03:28 UTC 2026
Modified Files:
pkgsrc/net/py-cares: Makefile distinfo
Added Files:
pkgsrc/net/py-cares/patches:
patch-deps_build-config_config__netbsd_ares__config.h
Log Message:
py-cares: revert update, breaks py-aiodns
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/net/py-cares/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/net/py-cares/distinfo
cvs rdiff -u -r0 -r1.3 \
pkgsrc/net/py-cares/patches/patch-deps_build-config_config__netbsd_ares__config.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/net/py-cares/Makefile
diff -u pkgsrc/net/py-cares/Makefile:1.18 pkgsrc/net/py-cares/Makefile:1.19
--- pkgsrc/net/py-cares/Makefile:1.18 Thu Jan 8 09:32:17 2026
+++ pkgsrc/net/py-cares/Makefile Thu Jan 8 12:03:28 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.18 2026/01/08 09:32:17 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2026/01/08 12:03:28 wiz Exp $
-DISTNAME= pycares-5.0.1
+DISTNAME= pycares-4.11.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//}
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pycares/}
@@ -19,7 +19,6 @@ LICENSE= mit
# Fix py-cares or cffi to work with a packed definition.
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
-TOOL_DEPENDS+= cmake-[0-9]*:../../devel/cmake
DEPENDS+= ${PYPKGPREFIX}-cffi>=1.5.0:../../devel/py-cffi
.include "../../lang/python/wheel.mk"
Index: pkgsrc/net/py-cares/distinfo
diff -u pkgsrc/net/py-cares/distinfo:1.15 pkgsrc/net/py-cares/distinfo:1.16
--- pkgsrc/net/py-cares/distinfo:1.15 Thu Jan 8 09:32:17 2026
+++ pkgsrc/net/py-cares/distinfo Thu Jan 8 12:03:28 2026
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.15 2026/01/08 09:32:17 wiz Exp $
+$NetBSD: distinfo,v 1.16 2026/01/08 12:03:28 wiz Exp $
-BLAKE2s (pycares-5.0.1.tar.gz) = 0abbd64ac305c3c1e8b8ee3a0c9867a0fa92d312852020843d35ff0d4ff51bad
-SHA512 (pycares-5.0.1.tar.gz) = 3cb23e36e9526b44398b1ffdf9223f0eec5f6e085b6276188329239d1e9a9ee173239691e39cbc9d7a4854a54e181bd200e2011bb3bf6741f79be81b46665348
-Size (pycares-5.0.1.tar.gz) = 652222 bytes
+BLAKE2s (pycares-4.11.0.tar.gz) = 34fcdc40a086bf37b58abb0cf288371ca1078a986c475082670b1c1c8234147d
+SHA512 (pycares-4.11.0.tar.gz) = 5ded9356942233f8c77792cdf5061018ec6c7ccc0ce144657c0ca7473d18fbd649699e4814047c41dec3ca393d4fc2402b1b60fbdbd947c05dc881f574edff4b
+Size (pycares-4.11.0.tar.gz) = 654473 bytes
+SHA1 (patch-deps_build-config_config__netbsd_ares__config.h) = 023150f022e84387b605722a63d4f5e439d671d6
Added files:
Index: pkgsrc/net/py-cares/patches/patch-deps_build-config_config__netbsd_ares__config.h
diff -u /dev/null pkgsrc/net/py-cares/patches/patch-deps_build-config_config__netbsd_ares__config.h:1.3
--- /dev/null Thu Jan 8 12:03:28 2026
+++ pkgsrc/net/py-cares/patches/patch-deps_build-config_config__netbsd_ares__config.h Thu Jan 8 12:03:28 2026
@@ -0,0 +1,29 @@
+$NetBSD: patch-deps_build-config_config__netbsd_ares__config.h,v 1.3 2026/01/08 12:03:28 wiz Exp $
+
+NetBSD does not provide getservbyport_r().
+https://github.com/saghul/pycares/issues/266
+
+--- deps/build-config/config_netbsd/ares_config.h.orig 2025-10-12 16:58:12.306284033 +0000
++++ deps/build-config/config_netbsd/ares_config.h
+@@ -47,10 +47,10 @@
+ #define GETNAMEINFO_TYPE_ARG7 int
+
+ /* Specifies the number of arguments to getservbyport_r */
+-#define GETSERVBYPORT_R_ARGS 4
++/* #define GETSERVBYPORT_R_ARGS 4 */
+
+ /* Specifies the size of the buffer to pass to getservbyport_r */
+-#define GETSERVBYPORT_R_BUFSIZE sizeof(struct servent_data)
++/* #define GETSERVBYPORT_R_BUFSIZE sizeof(struct servent_data) */
+
+ /* Define to 1 if you have AF_INET6. */
+ #define HAVE_AF_INET6 1
+@@ -128,7 +128,7 @@
+ #define HAVE_GETNAMEINFO 1
+
+ /* Define to 1 if you have the getservbyport_r function. */
+-#define HAVE_GETSERVBYPORT_R 1
++/* #define HAVE_GETSERVBYPORT_R 1 */
+
+ /* Define to 1 if you have the `gettimeofday' function. */
+ #define HAVE_GETTIMEOFDAY 1
Home |
Main Index |
Thread Index |
Old Index