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
This commit is contained in:
parent
3830a51e08
commit
43e1bb7f3a
4 changed files with 36 additions and 0 deletions
|
@ -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
|
||||
|
|
28
devel/py-contextvars/Makefile
Normal file
28
devel/py-contextvars/Makefile
Normal file
|
@ -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>
|
3
devel/py-contextvars/distinfo
Normal file
3
devel/py-contextvars/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1588793342
|
||||
SHA256 (contextvars-2.4.tar.gz) = f38c908aaa59c14335eeea12abea5f443646216c4e29380d7bf34d2018e2c39e
|
||||
SIZE (contextvars-2.4.tar.gz) = 9570
|
4
devel/py-contextvars/pkg-descr
Normal file
4
devel/py-contextvars/pkg-descr
Normal file
|
@ -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
|
Loading…
Reference in a new issue