Date: Thu, 16 Jul 2020 14:04:41 +0000 (UTC) From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r542358 - in head/net: . py-trio Message-ID: <202007161404.06GE4fV8044883@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ehaupt Date: Thu Jul 16 14:04:41 2020 New Revision: 542358 URL: https://svnweb.freebsd.org/changeset/ports/542358 Log: Add py-trio 0.16.0, library for async concurrency and I/O. Added: head/net/py-trio/ head/net/py-trio/Makefile (contents, props changed) head/net/py-trio/distinfo (contents, props changed) head/net/py-trio/pkg-descr (contents, props changed) Modified: head/net/Makefile Modified: head/net/Makefile ============================================================================== --- head/net/Makefile Thu Jul 16 13:25:15 2020 (r542357) +++ head/net/Makefile Thu Jul 16 14:04:41 2020 (r542358) @@ -1118,6 +1118,7 @@ SUBDIR += py-terminado SUBDIR += py-tofu SUBDIR += py-transip + SUBDIR += py-trio SUBDIR += py-twitter-tools SUBDIR += py-txamqp SUBDIR += py-txrestapi Added: head/net/py-trio/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/py-trio/Makefile Thu Jul 16 14:04:41 2020 (r542358) @@ -0,0 +1,30 @@ +# Created by: Emanuel Haupt <ehaupt@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= trio +PORTVERSION= 0.16.0 +CATEGORIES= net python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= ehaupt@FreeBSD.org +COMMENT= Library for async concurrency and I/O + +LICENSE= APACHE20 MIT +LICENSE_COMB= dual + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}async_generator>0:devel/py-async_generator@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}attrs>=19.2.0:devel/py-attrs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}cffi>=1.14:devel/py-cffi@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}idna>0:dns/py-idna@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}outcome>0:devel/py-outcome@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sniffio>0:devel/py-sniffio@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sortedcontainers>0:devel/py-sortedcontainers@${PY_FLAVOR} + +# 3.6+ but contextvars comes with 3.7 +USES= python:3.7+ +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +.include <bsd.port.mk> Added: head/net/py-trio/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/py-trio/distinfo Thu Jul 16 14:04:41 2020 (r542358) @@ -0,0 +1,3 @@ +TIMESTAMP = 1594904510 +SHA256 (trio-0.16.0.tar.gz) = df067dd0560c321af39d412cd81fc3a7d13f55af9150527daab980683e9fcf3c +SIZE (trio-0.16.0.tar.gz) = 414931 Added: head/net/py-trio/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/py-trio/pkg-descr Thu Jul 16 14:04:41 2020 (r542358) @@ -0,0 +1,15 @@ +A permissively licensed, async/await-native I/O library for Python. Its main +purpose is to help you write programs that do multiple things at the same time +with parallelized I/O. A web spider that wants to fetch lots of pages in +parallel, a web server that needs to juggle lots of downloads and websocket +connections at the same time, a process supervisor monitoring multiple +subprocesses. Compared to other libraries, Trio attempts to distinguish itself +with an obsessive focus on usability and correctness. Concurrency is +complicated; trio tries to make it easy to get things right. + +Trio was built from the ground up to take advantage of the latest Python +features, and draws inspiration from many sources, in particular Dave Beazley's +Curio. The resulting design is radically simpler than older competitors like +asyncio and Twisted, yet just as capable. + +WWW: https://pypi.org/project/trio/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007161404.06GE4fV8044883>