pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-uvloop py-uvloop: fix buidling - do not compi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/46ed644db63e
branches:  trunk
changeset: 401754:46ed644db63e
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Sep 25 08:45:54 2019 +0000

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

diffstat:

 devel/py-uvloop/Makefile               |   5 +----
 devel/py-uvloop/distinfo               |   3 ++-
 devel/py-uvloop/patches/patch-setup.py |  15 +++++++++++++++
 3 files changed, 18 insertions(+), 5 deletions(-)

diffs (50 lines):

diff -r 49fdfe5b7107 -r 46ed644db63e devel/py-uvloop/Makefile
--- a/devel/py-uvloop/Makefile  Wed Sep 25 07:27:45 2019 +0000
+++ b/devel/py-uvloop/Makefile  Wed Sep 25 08:45:54 2019 +0000
@@ -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 @@
 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"
diff -r 49fdfe5b7107 -r 46ed644db63e devel/py-uvloop/distinfo
--- a/devel/py-uvloop/distinfo  Wed Sep 25 07:27:45 2019 +0000
+++ b/devel/py-uvloop/distinfo  Wed Sep 25 08:45:54 2019 +0000
@@ -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
diff -r 49fdfe5b7107 -r 46ed644db63e devel/py-uvloop/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-uvloop/patches/patch-setup.py    Wed Sep 25 08:45:54 2019 +0000
@@ -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