dev-python/a2wsgi: New package, v1.7.0

New dependency of dev-python/uvicorn.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2023-03-10 05:35:38 +01:00
parent 34a2753317
commit 7068c29a23
3 changed files with 44 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST a2wsgi-1.7.0.tar.gz 12933 BLAKE2B 20dc3eb0a836e47cab98810fbaa343a0ac2070a0aba3e80667e32a14a72c8838acd2c3f082d4ca2ef639b37086523c2ce18020f5ec3acfa08d0b593e9cf5d196 SHA512 f2971bfebceec7a0b91fcc3d5916455917a4f05e39f61cfde8027b1e7051c21e5ba389b86b223fb9fd875471994eee3f4455c6634b5b207417d3ec13c9452f4c

View File

@@ -0,0 +1,30 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=pdm
PYTHON_COMPAT=( pypy3 python3_{9..11} )
inherit distutils-r1 pypi
DESCRIPTION="Convert WSGI app to ASGI app or ASGI app to WSGI app"
HOMEPAGE="
https://github.com/abersheeran/a2wsgi/
https://pypi.org/project/a2wsgi/
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
BDEPEND="
test? (
<dev-python/asgiref-4[${PYTHON_USEDEP}]
>=dev-python/asgiref-3.2.7[${PYTHON_USEDEP}]
<dev-python/httpx-1[${PYTHON_USEDEP}]
>=dev-python/httpx-0.22.0[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="github">abersheeran/a2wsgi</remote-id>
<remote-id type="pypi">a2wsgi</remote-id>
</upstream>
</pkgmetadata>