pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/py-pynng
Module Name: pkgsrc
Committed By: wiz
Date: Sat Aug 10 07:34:38 UTC 2024
Modified Files:
pkgsrc/net/py-pynng: Makefile PLIST distinfo
pkgsrc/net/py-pynng/patches: patch-mbedtls_library_net__sockets.c
patch-nng_src_platform_posix_posix__thread.c
Removed Files:
pkgsrc/net/py-pynng/patches: patch-setup.py
Log Message:
py-pynng: update to 0.8.0.
Changes not found.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/net/py-pynng/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/net/py-pynng/PLIST
cvs rdiff -u -r1.5 -r1.6 pkgsrc/net/py-pynng/distinfo
cvs rdiff -u -r1.1 -r1.2 \
pkgsrc/net/py-pynng/patches/patch-mbedtls_library_net__sockets.c \
pkgsrc/net/py-pynng/patches/patch-nng_src_platform_posix_posix__thread.c
cvs rdiff -u -r1.1 -r0 pkgsrc/net/py-pynng/patches/patch-setup.py
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-pynng/Makefile
diff -u pkgsrc/net/py-pynng/Makefile:1.6 pkgsrc/net/py-pynng/Makefile:1.7
--- pkgsrc/net/py-pynng/Makefile:1.6 Tue Jan 4 20:54:31 2022
+++ pkgsrc/net/py-pynng/Makefile Sat Aug 10 07:34:38 2024
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2022/01/04 20:54:31 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2024/08/10 07:34:38 wiz Exp $
-DISTNAME= pynng-0.7.1
+DISTNAME= pynng-0.8.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 2
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pynng/}
@@ -13,13 +12,17 @@ LICENSE= mit
USE_TOOLS+= cmake
-TOOL_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
DEPENDS+= ${PYPKGPREFIX}-cffi-[0-9]*:../../devel/py-cffi
DEPENDS+= ${PYPKGPREFIX}-sniffio-[0-9]*:../../misc/py-sniffio
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-trio-[0-9]*:../../devel/py-test-trio
+# unpackaged: py-test-curio
+# unpackaged: py-curio
PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../devel/libatomic/buildlink3.mk"
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/net/py-pynng/PLIST
diff -u pkgsrc/net/py-pynng/PLIST:1.1 pkgsrc/net/py-pynng/PLIST:1.2
--- pkgsrc/net/py-pynng/PLIST:1.1 Tue May 11 08:56:00 2021
+++ pkgsrc/net/py-pynng/PLIST Sat Aug 10 07:34:38 2024
@@ -1,9 +1,9 @@
-@comment $NetBSD: PLIST,v 1.1 2021/05/11 08:56:00 khorben Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.2 2024/08/10 07:34:38 wiz Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.txt
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/pynng/__init__.py
${PYSITELIB}/pynng/__init__.pyc
${PYSITELIB}/pynng/__init__.pyo
Index: pkgsrc/net/py-pynng/distinfo
diff -u pkgsrc/net/py-pynng/distinfo:1.5 pkgsrc/net/py-pynng/distinfo:1.6
--- pkgsrc/net/py-pynng/distinfo:1.5 Tue Oct 26 11:06:41 2021
+++ pkgsrc/net/py-pynng/distinfo Sat Aug 10 07:34:38 2024
@@ -1,8 +1,7 @@
-$NetBSD: distinfo,v 1.5 2021/10/26 11:06:41 nia Exp $
+$NetBSD: distinfo,v 1.6 2024/08/10 07:34:38 wiz Exp $
-BLAKE2s (pynng-0.7.1.tar.gz) = 33e32591d575399eb5789fe035311095a65bbc11fbdefe8869529cfb0b1801df
-SHA512 (pynng-0.7.1.tar.gz) = 72fc89902474dee6b2ae31cf8e572cd15deead170d8eacba73716b0df0ae3a24611fc1be9d098910cbe4a47dfff1e4a5f98cf8aeca946c469d80a2ae24c35b5f
-Size (pynng-0.7.1.tar.gz) = 3815296 bytes
-SHA1 (patch-mbedtls_library_net__sockets.c) = d4edd8bb86b78254994f7505abd6155ccdd947ce
-SHA1 (patch-nng_src_platform_posix_posix__thread.c) = e7df7ed999a4f9c9681f1456094a1e8dbff04547
-SHA1 (patch-setup.py) = c4dc8905bd304527b75ce53b39b70025be208714
+BLAKE2s (pynng-0.8.0.tar.gz) = 2c288366e7d835a96c91069129c09d1253f9ace406d1d48a1d14a4ea96500a47
+SHA512 (pynng-0.8.0.tar.gz) = f4ad5fa1a35a78b47672feb2047c91c4cc84109e37c74dbceee9db99e388534c1dfad510620307e64b981b590569f704b8041d144bf785e08489eb5a148e525a
+Size (pynng-0.8.0.tar.gz) = 6365314 bytes
+SHA1 (patch-mbedtls_library_net__sockets.c) = 31452021d414ed621cb5cf223883b98afa4643b6
+SHA1 (patch-nng_src_platform_posix_posix__thread.c) = 2cf9f0c291a0d5ca285479ce9bbd6b739011affc
Index: pkgsrc/net/py-pynng/patches/patch-mbedtls_library_net__sockets.c
diff -u pkgsrc/net/py-pynng/patches/patch-mbedtls_library_net__sockets.c:1.1 pkgsrc/net/py-pynng/patches/patch-mbedtls_library_net__sockets.c:1.2
--- pkgsrc/net/py-pynng/patches/patch-mbedtls_library_net__sockets.c:1.1 Thu May 13 19:35:54 2021
+++ pkgsrc/net/py-pynng/patches/patch-mbedtls_library_net__sockets.c Sat Aug 10 07:34:38 2024
@@ -1,17 +1,17 @@
-$NetBSD: patch-mbedtls_library_net__sockets.c,v 1.1 2021/05/13 19:35:54 khorben Exp $
+$NetBSD: patch-mbedtls_library_net__sockets.c,v 1.2 2024/08/10 07:34:38 wiz Exp $
Fix build on NetBSD
---- mbedtls/library/net_sockets.c.orig 2020-08-27 02:34:52.000000000 +0000
+--- mbedtls/library/net_sockets.c.orig 2024-01-16 17:26:58.000000000 +0000
+++ mbedtls/library/net_sockets.c
@@ -24,6 +24,10 @@
- * Harmless on other platforms. */
- #define _POSIX_C_SOURCE 200112L
-
+ !defined(__HAIKU__) && !defined(__midipix__)
+ #error "This module only works on Unix and Windows, see MBEDTLS_NET_C in mbedtls_config.h"
+ #endif
+#if defined(__NetBSD__)
+# define _NETBSD_SOURCE
+#endif
+
- #if !defined(MBEDTLS_CONFIG_FILE)
- #include "mbedtls/config.h"
- #else
+
+ #include "mbedtls/platform.h"
+
Index: pkgsrc/net/py-pynng/patches/patch-nng_src_platform_posix_posix__thread.c
diff -u pkgsrc/net/py-pynng/patches/patch-nng_src_platform_posix_posix__thread.c:1.1 pkgsrc/net/py-pynng/patches/patch-nng_src_platform_posix_posix__thread.c:1.2
--- pkgsrc/net/py-pynng/patches/patch-nng_src_platform_posix_posix__thread.c:1.1 Thu May 13 19:35:54 2021
+++ pkgsrc/net/py-pynng/patches/patch-nng_src_platform_posix_posix__thread.c Sat Aug 10 07:34:38 2024
@@ -1,12 +1,12 @@
-$NetBSD: patch-nng_src_platform_posix_posix__thread.c,v 1.1 2021/05/13 19:35:54 khorben Exp $
+$NetBSD: patch-nng_src_platform_posix_posix__thread.c,v 1.2 2024/08/10 07:34:38 wiz Exp $
Fix build on NetBSD
---- nng/src/platform/posix/posix_thread.c.orig 2020-08-27 02:35:02.000000000 +0000
+--- nng/src/platform/posix/posix_thread.c.orig 2024-01-16 17:27:13.000000000 +0000
+++ nng/src/platform/posix/posix_thread.c
-@@ -268,6 +268,12 @@ nni_plat_thr_set_name(nni_plat_thr *thr,
- if ((thr == NULL) || (pthread_self() == thr->tid)) {
- pthread_setname_np(name);
+@@ -316,6 +316,12 @@ nni_plat_thr_set_name(nni_plat_thr *thr,
+ } else {
+ pthread_setname_np(thr->tid, "%s", name);
}
+#elif defined(__NetBSD__)
+ if (thr == NULL) {
@@ -16,4 +16,4 @@ Fix build on NetBSD
+ }
#else
if (thr == NULL) {
- pthread_setname_np(pthread_self(), name);
+ pthread_setname_np(pthread_self(), name);
Home |
Main Index |
Thread Index |
Old Index