From nobody Mon Sep 04 21:31:04 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Rfhdh5fdmz4sNqG; Mon, 4 Sep 2023 21:31:04 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rfhdh5Bntz4r2D; Mon, 4 Sep 2023 21:31:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693863064; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=t6V/5sqPxaV41xmDSh1b/I/kG3FPFdTv/rZzIfazE+8=; b=FBJ6pHH3qnn9K30Yn1fYiiuktqAsHzltXeA9pBdgCFfv5EQ5WnDjW8OlbWF8TIg5KQld0x 5cxR8DzpgzPHSAjbnA9cNUC/3Vg7bACSTItcK7MHYom/b+0m31J5VUz+YEfW51Jy9mpnnG L5XV0bpQbrGThPOIknt9TecjM6wuS8/cQpm9MTqKqAlLHVgCoaZjQ5G0gUXj4L0QtOM32Z 1qbC7TkLtX53EsPJ6f3c3huxWPcFAEL++vF+RI/tx/GSFb0CYDyRwMNGYIvHoSclx54DMF BSn/8icjqlkDo06EB/Xvpdq3w7pISkGav9fPTJLjdLVxq99wr4TqCT6bHq+5Mg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693863064; a=rsa-sha256; cv=none; b=VZlygo9OkUW0FhR7Tnkrhuqj8C6szhB+GaBKz+/s/Y0UR+wsXfAyBV//Ni1WPnUyzVyF6p TxD/Ap0WXIQ5yseNDp4+o9018OFASWs5zRmRMGm2xVfVBHhF18QzOS74znN4sCTZYIxaLj Jj8OxXJITOdLMaKn7jq8K/zobJddcXpwp/OgQoZIBnXxbU9GGiI44wjEW0focHTo0TIxRI KIowhiNEsx+KmpPwtOPKBhfLUMZjwNCqGyL2LE/rBG0prIMsa0y7V6vw0w6yuyuo7WkCM5 7Lpx1t0zze47VZnuAup2AmpQfLzZgX344xoIM/7SZ7Rts2UEpsz20iAO9aDiSQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693863064; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=t6V/5sqPxaV41xmDSh1b/I/kG3FPFdTv/rZzIfazE+8=; b=rUAd+p+14565NiqNQtuUcyZwpJj0RocD/vPlKkdwTCVkL/k6wBp417gXMhf6RnBvE1lYmB zG18QiEhcX8AHz5s8wsmIVif+T6KFLgv+1jNJk9OIcYabLGnKh3rNQUTKK5pA07NOgerWC 0CL13Vkjjt5X/IJ/UOWME3uA0sZLLS2uQlh/QfpJOgOEeURlJDtkapWvrncKncBK5M6uD+ DRhr7M6zgPuMfnow6n9xkuWSec1n3sEl8+zR6LgMS64wz8C8KIi7xVtIAhTgoGuWEp+0Ek GqTdbva0Fg0/cqfAbvaJa2N7Rf6fyrPBCLGL6jMMRu5Lw4LXxZ1kqOXR/MULZQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Rfhdh4Hn3z1LqM; Mon, 4 Sep 2023 21:31:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 384LV4Z8090372; Mon, 4 Sep 2023 21:31:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 384LV4Ux090369; Mon, 4 Sep 2023 21:31:04 GMT (envelope-from git) Date: Mon, 4 Sep 2023 21:31:04 GMT Message-Id: <202309042131.384LV4Ux090369@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 41c8aa935cda - main - devel/py-anyio3: Add py-anyio3 3.7.1 (copied from py-anyio) List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 41c8aa935cda66c8ab735628f12eeda7802e8471 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=41c8aa935cda66c8ab735628f12eeda7802e8471 commit 41c8aa935cda66c8ab735628f12eeda7802e8471 Author: Po-Chuan Hsieh AuthorDate: 2023-09-04 21:18:11 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-09-04 21:30:01 +0000 devel/py-anyio3: Add py-anyio3 3.7.1 (copied from py-anyio) - Add PORTSCOUT --- devel/Makefile | 1 + devel/py-anyio3/Makefile | 39 ++++++++++++++++++++++++++++++ devel/py-anyio3/distinfo | 3 +++ devel/py-anyio3/files/patch-pyproject.toml | 10 ++++++++ devel/py-anyio3/pkg-descr | 17 +++++++++++++ 5 files changed, 70 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 30ce5446528d..7982f6b2fed3 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4228,6 +4228,7 @@ SUBDIR += py-antlr4-python3-runtime SUBDIR += py-anyconfig SUBDIR += py-anyio + SUBDIR += py-anyio3 SUBDIR += py-anyjson SUBDIR += py-anytree SUBDIR += py-apache_conf_parser diff --git a/devel/py-anyio3/Makefile b/devel/py-anyio3/Makefile new file mode 100644 index 000000000000..2e08970bb08b --- /dev/null +++ b/devel/py-anyio3/Makefile @@ -0,0 +1,39 @@ +PORTNAME= anyio +PORTVERSION= 3.7.1 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +PKGNAMESUFFIX= 3 + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= High level compatibility layer for multiple asynchronous event loop implementations +WWW= https://github.com/agronholm/anyio + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=6.4:devel/py-setuptools_scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}idna>=2.8:dns/py-idna@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sniffio>=1.1:devel/py-sniffio@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +PORTSCOUT= limit:^3\. + +OPTIONS_DEFINE= TRIO +TRIO_DESC= Use trio as backend + +TRIO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}trio>=0.22:net/py-trio@${PY_FLAVOR} + +.include + +.if ${PYTHON_REL} < 31100 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}exceptiongroup>=0:devel/py-exceptiongroup@${PY_FLAVOR} +.endif + +.include diff --git a/devel/py-anyio3/distinfo b/devel/py-anyio3/distinfo new file mode 100644 index 000000000000..afecd69a34c0 --- /dev/null +++ b/devel/py-anyio3/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1688902087 +SHA256 (anyio-3.7.1.tar.gz) = 44a3c9aba0f5defa43261a8b3efb97891f2bd7d804e0e1f56419befa1adfc780 +SIZE (anyio-3.7.1.tar.gz) = 142927 diff --git a/devel/py-anyio3/files/patch-pyproject.toml b/devel/py-anyio3/files/patch-pyproject.toml new file mode 100644 index 000000000000..e9bf63a21bb4 --- /dev/null +++ b/devel/py-anyio3/files/patch-pyproject.toml @@ -0,0 +1,10 @@ +--- pyproject.toml.orig 2023-05-27 11:12:17 UTC ++++ pyproject.toml +@@ -1,6 +1,6 @@ + [build-system] + requires = [ +- "setuptools >= 64", ++ "setuptools >= 61", + "setuptools_scm >= 6.4" + ] + build-backend = "setuptools.build_meta" diff --git a/devel/py-anyio3/pkg-descr b/devel/py-anyio3/pkg-descr new file mode 100644 index 000000000000..f891ed0294c3 --- /dev/null +++ b/devel/py-anyio3/pkg-descr @@ -0,0 +1,17 @@ +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.