summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2020-01-08 20:03:07 +0000
committeradam <adam@pkgsrc.org>2020-01-08 20:03:07 +0000
commitd26f29696d13bdfb8b3e4fe56a2709d0cfafc024 (patch)
treeb09ace1899936c5c1c706fd4f8b020505bda6335
parent29d17fd0ed0cc3f4ce733e25671ac0d45b360814 (diff)
downloadpkgsrc-d26f29696d13bdfb8b3e4fe56a2709d0cfafc024.tar.gz
py-contextvars: added version 2.4
This package implements a backport of Python 3.7 contextvars module (see PEP 567) for Python 3.6.
-rw-r--r--devel/Makefile3
-rw-r--r--devel/py-contextvars/DESCR2
-rw-r--r--devel/py-contextvars/Makefile20
-rw-r--r--devel/py-contextvars/PLIST9
-rw-r--r--devel/py-contextvars/distinfo6
5 files changed, 39 insertions, 1 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 3f9a15ab7c7..790dc15102f 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2981 2020/01/06 19:17:04 ng0 Exp $
+# $NetBSD: Makefile,v 1.2982 2020/01/08 20:03:07 adam Exp $
#
COMMENT= Development utilities
@@ -2113,6 +2113,7 @@ SUBDIR+= py-constantly
SUBDIR+= py-constants
SUBDIR+= py-construct
SUBDIR+= py-contextlib2
+SUBDIR+= py-contextvars
SUBDIR+= py-cookiecutter
SUBDIR+= py-coverage
SUBDIR+= py-cparser
diff --git a/devel/py-contextvars/DESCR b/devel/py-contextvars/DESCR
new file mode 100644
index 00000000000..90da785f136
--- /dev/null
+++ b/devel/py-contextvars/DESCR
@@ -0,0 +1,2 @@
+This package implements a backport of Python 3.7 contextvars module (see PEP
+567) for Python 3.6.
diff --git a/devel/py-contextvars/Makefile b/devel/py-contextvars/Makefile
new file mode 100644
index 00000000000..33ee6fd9277
--- /dev/null
+++ b/devel/py-contextvars/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2020/01/08 20:03:07 adam Exp $
+
+DISTNAME= contextvars-2.4
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_PYPI:=c/contextvars/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://github.com/MagicStack/contextvars
+COMMENT= PEP 567 Backport
+LICENSE= apache-2.0
+
+DEPENDS+= ${PYPKGPREFIX}-immutables>=0.9:../../misc/py-immutables
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_ACCEPTED= 36
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/py-contextvars/PLIST b/devel/py-contextvars/PLIST
new file mode 100644
index 00000000000..22cd469f9cb
--- /dev/null
+++ b/devel/py-contextvars/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2020/01/08 20:03:07 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/contextvars/__init__.py
+${PYSITELIB}/contextvars/__init__.pyc
+${PYSITELIB}/contextvars/__init__.pyo
diff --git a/devel/py-contextvars/distinfo b/devel/py-contextvars/distinfo
new file mode 100644
index 00000000000..9f322950330
--- /dev/null
+++ b/devel/py-contextvars/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/01/08 20:03:07 adam Exp $
+
+SHA1 (contextvars-2.4.tar.gz) = 7e4e8ac79c19d11d22affbb82db2503c85bf2e6b
+RMD160 (contextvars-2.4.tar.gz) = 8a93b02e1ca00c938a16ca579ac32801dd4e4cfb
+SHA512 (contextvars-2.4.tar.gz) = 529e3f3bdb2e02aa9205321c212fd82a1fcf3d5ec4325666c8b02c97d0e18f91706e01e0d7c8319db91324406e06731f226cf0fc09666c9ccdbe2db682187c78
+Size (contextvars-2.4.tar.gz) = 9570 bytes