dev-python/asgiref: New package, needed for django-3
authorMichał Górny <mgorny@gentoo.org>
Tue, 5 May 2020 19:47:26 +0000 (21:47 +0200)
committerMichał Górny <mgorny@gentoo.org>
Tue, 5 May 2020 20:22:42 +0000 (22:22 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/asgiref/Manifest [new file with mode: 0644]
dev-python/asgiref/asgiref-3.2.7.ebuild [new file with mode: 0644]
dev-python/asgiref/metadata.xml [new file with mode: 0644]

diff --git a/dev-python/asgiref/Manifest b/dev-python/asgiref/Manifest
new file mode 100644 (file)
index 0000000..c595938
--- /dev/null
@@ -0,0 +1 @@
+DIST asgiref-3.2.7.tar.gz 25350 BLAKE2B a92d573330b1d10ba9c8d963c0824bce93151f0e38533f81a292ec0b98bc218e3b214e44ed1dadcaf10b94e94fd626cea00a5da40c5dc129b7f40ca2c5afa432 SHA512 a7b8b94e14299ced539c7ca60d310bbbde2af0f40bfa404d176a95bb6cd37402bf6bef5a5a309cdcdda4852908717a83763d7deb520b05ce74977a3bca4621e9
diff --git a/dev-python/asgiref/asgiref-3.2.7.ebuild b/dev-python/asgiref/asgiref-3.2.7.ebuild
new file mode 100644 (file)
index 0000000..cb79e51
--- /dev/null
@@ -0,0 +1,23 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+inherit distutils-r1
+
+DESCRIPTION="ASGI utilities (successor to WSGI)"
+HOMEPAGE="
+       https://asgi.readthedocs.io/en/latest/
+       https://github.com/django/asgiref/
+       https://pypi.org/project/asgiref/"
+SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+BDEPEND="
+       test? ( dev-python/pytest-asyncio[${PYTHON_USEDEP}] )"
+
+distutils_enable_tests pytest
diff --git a/dev-python/asgiref/metadata.xml b/dev-python/asgiref/metadata.xml
new file mode 100644 (file)
index 0000000..7f4f33c
--- /dev/null
@@ -0,0 +1,8 @@
+<?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>
+               <name>Python</name>
+       </maintainer>
+</pkgmetadata>