summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2019-12-31 18:42:03 -0800
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2019-12-31 19:21:26 -0800
commit5d494802c77776b40e701c82f77497496f32db8f (patch)
treee8aaa73d2695486a3da672ad6405ef7b19448d4c /dev-python
parentdev-python/immutables: new package (diff)
downloadgentoo-5d494802c77776b40e701c82f77497496f32db8f.tar.gz
gentoo-5d494802c77776b40e701c82f77497496f32db8f.tar.bz2
gentoo-5d494802c77776b40e701c82f77497496f32db8f.zip
dev-python/contextvars: new package
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/contextvars/Manifest1
-rw-r--r--dev-python/contextvars/contextvars-2.4.ebuild19
-rw-r--r--dev-python/contextvars/metadata.xml11
3 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/contextvars/Manifest b/dev-python/contextvars/Manifest
new file mode 100644
index 000000000000..a401aecd212e
--- /dev/null
+++ b/dev-python/contextvars/Manifest
@@ -0,0 +1 @@
+DIST contextvars-2.4.tar.gz 9253 BLAKE2B b46466e44f836561024b69bd648613654336a41f964ced77ab29e2fa20b43b19f0c6b5b72d31ccf208c8b74ad54fa1898ac1c09b24b124ec53a5970019910553 SHA512 391c12f163854a21d6422afd9464e8896c02b5cb5e2c567550907a16b7970d4e2d02cd360851bba103efd64062669596eacadc7421432198c61054837b57b223
diff --git a/dev-python/contextvars/contextvars-2.4.ebuild b/dev-python/contextvars/contextvars-2.4.ebuild
new file mode 100644
index 000000000000..a430739ae4c9
--- /dev/null
+++ b/dev-python/contextvars/contextvars-2.4.ebuild
@@ -0,0 +1,19 @@
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_6 )
+inherit distutils-r1
+
+DESCRIPTION="Backport of Python 3.7 contextvars module (PEP 567) for Python 3.6"
+HOMEPAGE="https://github.com/MagicStack"
+SRC_URI="https://github.com/MagicStack/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+
+RDEPEND="dev-python/immutables[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest
diff --git a/dev-python/contextvars/metadata.xml b/dev-python/contextvars/metadata.xml
new file mode 100644
index 000000000000..2cd9d5948e31
--- /dev/null
+++ b/dev-python/contextvars/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">contextvars</remote-id>
+ <remote-id type="github">MagicStack/contextvars</remote-id>
+ </upstream>
+</pkgmetadata>