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: updated to 0.13.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/27e3108e7556
branches:  trunk
changeset: 338006:27e3108e7556
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Aug 17 11:05:48 2019 +0000

description:
py-uvloop: updated to 0.13.0

v0.13.0

New Features
Implement Server.start_serving() and related APIs.
Make Server an asynchronous context manager.

Performance
Start using high-performance uv_udp_t handle. This
should result in a significantly faster UDP support.
Make address validation faster in udp.sendto().

Misc
OSError is no longer logged by Transports.
This matches asyncio behaviour in 3.8.

Build
Upgrade to libuv v1.31.0.
Use manylinux-2010. This means we no longer provide
32bit builds for Linux.

diffstat:

 devel/py-uvloop/Makefile               |  11 ++++++++---
 devel/py-uvloop/PLIST                  |   3 ++-
 devel/py-uvloop/distinfo               |  11 +++++------
 devel/py-uvloop/patches/patch-setup.py |  15 ---------------
 4 files changed, 15 insertions(+), 25 deletions(-)

diffs (78 lines):

diff -r ace4af7ebbb8 -r 27e3108e7556 devel/py-uvloop/Makefile
--- a/devel/py-uvloop/Makefile  Sat Aug 17 10:55:57 2019 +0000
+++ b/devel/py-uvloop/Makefile  Sat Aug 17 11:05:48 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.18 2019/04/26 13:13:54 maya Exp $
+# $NetBSD: Makefile,v 1.19 2019/08/17 11:05:48 adam Exp $
 
-DISTNAME=      uvloop-0.12.2
+DISTNAME=      uvloop-0.13.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=u/uvloop/}
@@ -10,7 +10,12 @@
 COMMENT=       Fast implementation of asyncio event loop on top of libuv
 LICENSE=       mit AND apache-2.0
 
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-cython-[0-9]*:../../devel/py-cython
+DEPENDS+=      libuv>=1.31.0:../../devel/libuv
+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
 
diff -r ace4af7ebbb8 -r 27e3108e7556 devel/py-uvloop/PLIST
--- a/devel/py-uvloop/PLIST     Sat Aug 17 10:55:57 2019 +0000
+++ b/devel/py-uvloop/PLIST     Sat Aug 17 11:05:48 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2019/01/22 08:56:38 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2019/08/17 11:05:48 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -61,6 +61,7 @@
 ${PYSITELIB}/uvloop/loop.pxd
 ${PYSITELIB}/uvloop/loop.pyx
 ${PYSITELIB}/uvloop/loop.so
+${PYSITELIB}/uvloop/lru.pyx
 ${PYSITELIB}/uvloop/pseudosock.pyx
 ${PYSITELIB}/uvloop/request.pxd
 ${PYSITELIB}/uvloop/request.pyx
diff -r ace4af7ebbb8 -r 27e3108e7556 devel/py-uvloop/distinfo
--- a/devel/py-uvloop/distinfo  Sat Aug 17 10:55:57 2019 +0000
+++ b/devel/py-uvloop/distinfo  Sat Aug 17 11:05:48 2019 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.14 2019/03/21 10:15:41 adam Exp $
+$NetBSD: distinfo,v 1.15 2019/08/17 11:05:48 adam Exp $
 
-SHA1 (uvloop-0.12.2.tar.gz) = 671161cbca97bc31f7098b432c7e561ceb05b37e
-RMD160 (uvloop-0.12.2.tar.gz) = 9ef8a0053a38c5434cac3856d431ce959bfc5ab9
-SHA512 (uvloop-0.12.2.tar.gz) = 59e34c83946facf70e839831dcd61fb7a8cf22df48d2ede6de84edbd4af5e789b2b404c8b7835e9a8cd7be706ad370bde2a290beab72c5d7411d35d07ee7974c
-Size (uvloop-0.12.2.tar.gz) = 1922375 bytes
-SHA1 (patch-setup.py) = 4be1c2b9612dfaa749ae1c92382fd054b17a1d8c
+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
diff -r ace4af7ebbb8 -r 27e3108e7556 devel/py-uvloop/patches/patch-setup.py
--- a/devel/py-uvloop/patches/patch-setup.py    Sat Aug 17 10:55:57 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-setup.py,v 1.2 2017/09/13 06:21:02 adam Exp $
-
-Use external libuv.
-
---- setup.py.orig      2017-09-12 20:04:48.000000000 +0000
-+++ setup.py
-@@ -80,7 +80,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