From owner-svn-ports-head@freebsd.org Sun Jan 3 19:56:58 2021 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 58D6B4DB9AF; Sun, 3 Jan 2021 19:56:58 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D88fd5Msmz3sgd; Sun, 3 Jan 2021 19:56:57 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 62CC956B2; Sun, 3 Jan 2021 19:56:57 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 103Juv0m085621; Sun, 3 Jan 2021 19:56:57 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 103Juurm085618; Sun, 3 Jan 2021 19:56:56 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <202101031956.103Juurm085618@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 3 Jan 2021 19:56:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r560039 - in head/devel: . py-anyio X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/devel: . py-anyio X-SVN-Commit-Revision: 560039 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jan 2021 19:56:58 -0000 Author: sunpoet Date: Sun Jan 3 19:56:56 2021 New Revision: 560039 URL: https://svnweb.freebsd.org/changeset/ports/560039 Log: Add py-anyio 2.0.2 AnyIO is a asynchronous compatibility API that allows applications and libraries written against it to run unmodified on asyncio, curio and trio. It bridges the following functionality: - Task groups - Cancellation - Threads - Signal handling - Asynchronous file I/O - Subprocesses - Inter-task synchronization and communication (locks, conditions, events, semaphores, object streams) - High level networking (TCP, UDP and UNIX sockets) You can even use it together with native libraries from your selected backend in applications. Doing this in libraries is not advisable however since it limits the usefulness of your library. WWW: https://github.com/agronholm/anyio Added: head/devel/py-anyio/ head/devel/py-anyio/Makefile (contents, props changed) head/devel/py-anyio/distinfo (contents, props changed) head/devel/py-anyio/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sun Jan 3 19:56:50 2021 (r560038) +++ head/devel/Makefile Sun Jan 3 19:56:56 2021 (r560039) @@ -4030,6 +4030,7 @@ SUBDIR += py-ansi SUBDIR += py-antlr4-python3-runtime SUBDIR += py-anyconfig + SUBDIR += py-anyio SUBDIR += py-anyjson SUBDIR += py-apache_conf_parser SUBDIR += py-apipkg Added: head/devel/py-anyio/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-anyio/Makefile Sun Jan 3 19:56:56 2021 (r560039) @@ -0,0 +1,30 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= anyio +PORTVERSION= 2.0.2 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= High level compatibility layer for multiple asynchronous event loop implementations + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}idna>=2.8:dns/py-idna@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sniffio>=1.1:devel/py-sniffio@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include + +.if ${PYTHON_REL} < 3800 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} +.endif + +.include Added: head/devel/py-anyio/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-anyio/distinfo Sun Jan 3 19:56:56 2021 (r560039) @@ -0,0 +1,3 @@ +TIMESTAMP = 1609598733 +SHA256 (anyio-2.0.2.tar.gz) = 35075abd32cf20fd7e0be2fee3614e80b92d5392eba257c8d2f33de3df7ca237 +SIZE (anyio-2.0.2.tar.gz) = 91805 Added: head/devel/py-anyio/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-anyio/pkg-descr Sun Jan 3 19:56:56 2021 (r560039) @@ -0,0 +1,19 @@ +AnyIO is a asynchronous compatibility API that allows applications and libraries +written against it to run unmodified on asyncio, curio and trio. + +It bridges the following functionality: +- Task groups +- Cancellation +- Threads +- Signal handling +- Asynchronous file I/O +- Subprocesses +- Inter-task synchronization and communication (locks, conditions, events, + semaphores, object streams) +- High level networking (TCP, UDP and UNIX sockets) + +You can even use it together with native libraries from your selected backend in +applications. Doing this in libraries is not advisable however since it limits +the usefulness of your library. + +WWW: https://github.com/agronholm/anyio