pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/py-pynng py-pynng: add missing dependencies



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cb4917b90883
branches:  trunk
changeset: 452690:cb4917b90883
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri May 14 12:31:52 2021 +0000

description:
py-pynng: add missing dependencies

diffstat:

 net/py-pynng/Makefile                      |   5 +++--
 net/py-pynng/distinfo                      |   3 +--
 net/py-pynng/patches/patch-build__pynng.py |  17 -----------------
 3 files changed, 4 insertions(+), 21 deletions(-)

diffs (59 lines):

diff -r e7469ec2d222 -r cb4917b90883 net/py-pynng/Makefile
--- a/net/py-pynng/Makefile     Fri May 14 12:29:44 2021 +0000
+++ b/net/py-pynng/Makefile     Fri May 14 12:31:52 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2021/05/13 19:35:54 khorben Exp $
+# $NetBSD: Makefile,v 1.4 2021/05/14 12:31:52 nia Exp $
 
 DISTNAME=      pynng-0.7.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -13,11 +13,12 @@
 
 USE_TOOLS+=    cmake
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
 DEPENDS+=      ${PYPKGPREFIX}-sniffio-[0-9]*:../../misc/py-sniffio
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
+.include "../../devel/libatomic/buildlink3.mk"
 .include "../../lang/python/egg.mk"
-.include "../../mk/atomic64.mk"
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r e7469ec2d222 -r cb4917b90883 net/py-pynng/distinfo
--- a/net/py-pynng/distinfo     Fri May 14 12:29:44 2021 +0000
+++ b/net/py-pynng/distinfo     Fri May 14 12:31:52 2021 +0000
@@ -1,10 +1,9 @@
-$NetBSD: distinfo,v 1.2 2021/05/13 19:35:54 khorben Exp $
+$NetBSD: distinfo,v 1.3 2021/05/14 12:31:52 nia Exp $
 
 SHA1 (pynng-0.7.1.tar.gz) = 306806f168cc064f830e064b2b748550cb726bf9
 RMD160 (pynng-0.7.1.tar.gz) = 79f7e542b2cf2db0c9b93ce67fe3d979a58f55a6
 SHA512 (pynng-0.7.1.tar.gz) = 72fc89902474dee6b2ae31cf8e572cd15deead170d8eacba73716b0df0ae3a24611fc1be9d098910cbe4a47dfff1e4a5f98cf8aeca946c469d80a2ae24c35b5f
 Size (pynng-0.7.1.tar.gz) = 3815296 bytes
-SHA1 (patch-build__pynng.py) = 9cb7216c90eb795934747272e0a9cf35d01aefee
 SHA1 (patch-mbedtls_library_net__sockets.c) = d4edd8bb86b78254994f7505abd6155ccdd947ce
 SHA1 (patch-nng_src_platform_posix_posix__thread.c) = e7df7ed999a4f9c9681f1456094a1e8dbff04547
 SHA1 (patch-setup.py) = c4dc8905bd304527b75ce53b39b70025be208714
diff -r e7469ec2d222 -r cb4917b90883 net/py-pynng/patches/patch-build__pynng.py
--- a/net/py-pynng/patches/patch-build__pynng.py        Fri May 14 12:29:44 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-$NetBSD: patch-build__pynng.py,v 1.1 2021/05/13 19:35:54 khorben Exp $
-
-Fix build on NetBSD
-
---- build_pynng.py.orig        2020-12-17 03:54:43.000000000 +0000
-+++ build_pynng.py
-@@ -28,8 +28,8 @@ else:
-     machine = os.uname().machine
-     # this is a pretty heuristic... but let's go with it anyway.
-     # it would be better to get linker information from cmake somehow.
--    if not ('x86' in machine or 'i386' in machine or 'i686' in machine):
--        libraries.append('atomic')
-+    #if not ('x86' in machine or 'i386' in machine or 'i686' in machine):
-+    #    libraries.append('atomic')
- 
- 
- ffibuilder.set_source(



Home | Main Index | Thread Index | Old Index