From owner-dev-commits-ports-main@freebsd.org Sat Jul 24 20:31:18 2021 Return-Path: Delivered-To: dev-commits-ports-main@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 15C5C6668C7; Sat, 24 Jul 2021 20:31:18 +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 4GXHs15xl3z3lZ0; Sat, 24 Jul 2021 20:31:17 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 882EC171B4; Sat, 24 Jul 2021 20:31:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 16OKVHcU004198; Sat, 24 Jul 2021 20:31:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 16OKVH2S004197; Sat, 24 Jul 2021 20:31:17 GMT (envelope-from git) Date: Sat, 24 Jul 2021 20:31:17 GMT Message-Id: <202107242031.16OKVH2S004197@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: 43e1bb7f3a78 - main - devel/py-contextvars: Readd py-contextvars 2.4 (copied from r534742) 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: 43e1bb7f3a78fcc95af29ea6848197b8c1e64e63 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jul 2021 20:31:18 -0000 The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=43e1bb7f3a78fcc95af29ea6848197b8c1e64e63 commit 43e1bb7f3a78fcc95af29ea6848197b8c1e64e63 Author: Po-Chuan Hsieh AuthorDate: 2021-07-24 20:20:49 +0000 Commit: Po-Chuan Hsieh CommitDate: 2021-07-24 20:20:49 +0000 devel/py-contextvars: Readd py-contextvars 2.4 (copied from r534742) contextvars implements a backport of Python 3.7 contextvars module (see PEP 567) for Python 3.6. WWW: https://github.com/MagicStack/contextvars --- devel/Makefile | 1 + devel/py-contextvars/Makefile | 28 ++++++++++++++++++++++++++++ devel/py-contextvars/distinfo | 3 +++ devel/py-contextvars/pkg-descr | 4 ++++ 4 files changed, 36 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index a6b6f6a60fa0..7cba68f9edfe 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4315,6 +4315,7 @@ SUBDIR += py-constantly SUBDIR += py-construct SUBDIR += py-contextlib2 + SUBDIR += py-contextvars SUBDIR += py-convertdate SUBDIR += py-cookiecutter SUBDIR += py-copier diff --git a/devel/py-contextvars/Makefile b/devel/py-contextvars/Makefile new file mode 100644 index 000000000000..a90fe59cba14 --- /dev/null +++ b/devel/py-contextvars/Makefile @@ -0,0 +1,28 @@ +# Created by: Po-Chuan Hsieh + +PORTNAME= contextvars +PORTVERSION= 2.4 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= PEP 567 backport + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}immutables>=0.9:devel/py-immutables@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include + +.if ${PYTHON_REL} >= 30700 +IGNORE= included in python ${PYTHON_VER} +.endif + +.include diff --git a/devel/py-contextvars/distinfo b/devel/py-contextvars/distinfo new file mode 100644 index 000000000000..ff9ff5bf1b99 --- /dev/null +++ b/devel/py-contextvars/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1588793342 +SHA256 (contextvars-2.4.tar.gz) = f38c908aaa59c14335eeea12abea5f443646216c4e29380d7bf34d2018e2c39e +SIZE (contextvars-2.4.tar.gz) = 9570 diff --git a/devel/py-contextvars/pkg-descr b/devel/py-contextvars/pkg-descr new file mode 100644 index 000000000000..e04d94f2af8f --- /dev/null +++ b/devel/py-contextvars/pkg-descr @@ -0,0 +1,4 @@ +contextvars implements a backport of Python 3.7 contextvars module (see PEP 567) +for Python 3.6. + +WWW: https://github.com/MagicStack/contextvars