commit: 7068c29a235d0fe5053b79d5830c4b2b6df2a538 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Mar 10 04:35:38 2023 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Mar 10 04:35:47 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7068c29a
dev-python/a2wsgi: New package, v1.7.0 New dependency of dev-python/uvicorn. Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/a2wsgi/Manifest | 1 + dev-python/a2wsgi/a2wsgi-1.7.0.ebuild | 30 ++++++++++++++++++++++++++++++ dev-python/a2wsgi/metadata.xml | 13 +++++++++++++ 3 files changed, 44 insertions(+) diff --git a/dev-python/a2wsgi/Manifest b/dev-python/a2wsgi/Manifest new file mode 100644 index 000000000000..5895e9b820f5 --- /dev/null +++ b/dev-python/a2wsgi/Manifest @@ -0,0 +1 @@ +DIST a2wsgi-1.7.0.tar.gz 12933 BLAKE2B 20dc3eb0a836e47cab98810fbaa343a0ac2070a0aba3e80667e32a14a72c8838acd2c3f082d4ca2ef639b37086523c2ce18020f5ec3acfa08d0b593e9cf5d196 SHA512 f2971bfebceec7a0b91fcc3d5916455917a4f05e39f61cfde8027b1e7051c21e5ba389b86b223fb9fd875471994eee3f4455c6634b5b207417d3ec13c9452f4c diff --git a/dev-python/a2wsgi/a2wsgi-1.7.0.ebuild b/dev-python/a2wsgi/a2wsgi-1.7.0.ebuild new file mode 100644 index 000000000000..9766d4c1494b --- /dev/null +++ b/dev-python/a2wsgi/a2wsgi-1.7.0.ebuild @@ -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 diff --git a/dev-python/a2wsgi/metadata.xml b/dev-python/a2wsgi/metadata.xml new file mode 100644 index 000000000000..b5e8f0959b7a --- /dev/null +++ b/dev-python/a2wsgi/metadata.xml @@ -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>pyt...@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>