pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-uvloop



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Sep 25 08:45:54 UTC 2019

Modified Files:
        pkgsrc/devel/py-uvloop: Makefile distinfo
Added Files:
        pkgsrc/devel/py-uvloop/patches: patch-setup.py

Log Message:
py-uvloop: fix buidling - do not compile internal libuv when it is not used


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/devel/py-uvloop/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/devel/py-uvloop/distinfo
cvs rdiff -u -r0 -r1.4 pkgsrc/devel/py-uvloop/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/devel/py-uvloop/Makefile
diff -u pkgsrc/devel/py-uvloop/Makefile:1.19 pkgsrc/devel/py-uvloop/Makefile:1.20
--- pkgsrc/devel/py-uvloop/Makefile:1.19        Sat Aug 17 11:05:48 2019
+++ pkgsrc/devel/py-uvloop/Makefile     Wed Sep 25 08:45:54 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2019/08/17 11:05:48 adam Exp $
+# $NetBSD: Makefile,v 1.20 2019/09/25 08:45:54 adam Exp $
 
 DISTNAME=      uvloop-0.13.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -14,9 +14,6 @@ DEPENDS+=     libuv>=1.31.0:../../devel/libu
 TEST_DEPENDS+= ${PYPKGPREFIX}-OpenSSL-[0-9]*:../../security/py-OpenSSL
 TEST_DEPENDS+= ${PYPKGPREFIX}-psutil-[0-9]*:../../sysutils/py-psutil
 
-PYSETUPBUILDTARGET=    build_ext
-PYSETUPBUILDARGS=      --use-system-libuv
-
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 .include "../../devel/libuv/buildlink3.mk"

Index: pkgsrc/devel/py-uvloop/distinfo
diff -u pkgsrc/devel/py-uvloop/distinfo:1.15 pkgsrc/devel/py-uvloop/distinfo:1.16
--- pkgsrc/devel/py-uvloop/distinfo:1.15        Sat Aug 17 11:05:48 2019
+++ pkgsrc/devel/py-uvloop/distinfo     Wed Sep 25 08:45:54 2019
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.15 2019/08/17 11:05:48 adam Exp $
+$NetBSD: distinfo,v 1.16 2019/09/25 08:45:54 adam Exp $
 
 SHA1 (uvloop-0.13.0.tar.gz) = ed64cb53f3266ba948704004b72094d25c8c572c
 RMD160 (uvloop-0.13.0.tar.gz) = 4a896eae5b748729ab9aff4722158628bf101c67
 SHA512 (uvloop-0.13.0.tar.gz) = 4e24db94d207f23287a28d5b086cbd0a358f2fb3d35b55e9913b7b0867e4253259171f4d23969990b1e041fef0a28e44fcd1737e9be319293d223d987033de98
 Size (uvloop-0.13.0.tar.gz) = 1989805 bytes
+SHA1 (patch-setup.py) = d2f08bce0644b3a49b3800837c613a797a971150

Added files:

Index: pkgsrc/devel/py-uvloop/patches/patch-setup.py
diff -u /dev/null pkgsrc/devel/py-uvloop/patches/patch-setup.py:1.4
--- /dev/null   Wed Sep 25 08:45:54 2019
+++ pkgsrc/devel/py-uvloop/patches/patch-setup.py       Wed Sep 25 08:45:54 2019
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup.py,v 1.4 2019/09/25 08:45:54 adam Exp $
+
+Use system libuv (--use-system-libuv option does not work for 'install').
+
+--- setup.py.orig      2019-09-25 08:40:47.000000000 +0000
++++ setup.py
+@@ -87,7 +87,7 @@ class uvloop_build_ext(build_ext):
+             return
+ 
+         super().initialize_options()
+-        self.use_system_libuv = False
++        self.use_system_libuv = True
+         self.cython_always = False
+         self.cython_annotate = None
+         self.cython_directives = None



Home | Main Index | Thread Index | Old Index