1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

New Port: devel/py-uvloop: Fast drop-in replacement of asyncio event loop based on libuv

This commit is contained in:
Babak Farrokhi 2018-06-30 13:03:52 +00:00
parent 5acc044742
commit 67de388c63
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=473618
4 changed files with 45 additions and 0 deletions

View File

@ -5113,6 +5113,7 @@
SUBDIR += py-usb SUBDIR += py-usb
SUBDIR += py-user_agents SUBDIR += py-user_agents
SUBDIR += py-utils SUBDIR += py-utils
SUBDIR += py-uvloop
SUBDIR += py-validators SUBDIR += py-validators
SUBDIR += py-validictory SUBDIR += py-validictory
SUBDIR += py-vcrpy SUBDIR += py-vcrpy

37
devel/py-uvloop/Makefile Normal file
View File

@ -0,0 +1,37 @@
# Created by: Babak Farrokhi <farrokhi@FreeBSD.org>
# $FreeBSD$
PORTNAME= uvloop
PORTVERSION= 0.10.2
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= farrokhi@FreeBSD.org
COMMENT= Fast drop-in replacement of asyncio event loop based on libuv
LICENSE= APACHE20 MIT
LICENSE_COMB= dual
LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE
LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT
OPTIONS_DEFINE= DOCS EXAMPLES
USES= python:3.5+
USE_PYTHON= autoplist concurrent distutils setuptools
PORTDOCS= PKG-INFO README.rst
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/uvloop/loop.so
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/
post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/
.include <bsd.port.mk>

3
devel/py-uvloop/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1530336390
SHA256 (uvloop-0.10.2.tar.gz) = b7dc00fe9d0a04365d4c98f40316c8913463dc5b57ab64f23282d2e1d5c2defe
SIZE (uvloop-0.10.2.tar.gz) = 1913509

View File

@ -0,0 +1,4 @@
uvloop is a fast, drop-in replacement of the built-in asyncio event loop.
uvloop is implemented in Cython and uses libuv under the hood.
WWW: https://github.com/MagicStack/uvloop