Date: Sat, 24 Jul 2021 20:31:17 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 43e1bb7f3a78 - main - devel/py-contextvars: Readd py-contextvars 2.4 (copied from r534742) Message-ID: <202107242031.16OKVH2S004197@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=43e1bb7f3a78fcc95af29ea6848197b8c1e64e63 commit 43e1bb7f3a78fcc95af29ea6848197b8c1e64e63 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2021-07-24 20:20:49 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> 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 <sunpoet@FreeBSD.org> + +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 <bsd.port.pre.mk> + +.if ${PYTHON_REL} >= 30700 +IGNORE= included in python ${PYTHON_VER} +.endif + +.include <bsd.port.post.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107242031.16OKVH2S004197>