diff options
author | Patrick McLean <chutzpah@gentoo.org> | 2023-07-21 12:36:32 -0700 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2023-07-21 15:57:19 -0700 |
commit | 9bd229c67df703a0b87bff9b10b4d64357211d02 (patch) | |
tree | 93af02de9648557dfaf832701ac1b735658c5393 /dev-python/requests-wsgi-adapter | |
parent | net-libs/webkit-gtk: Version bump to 2.40.4 (diff) | |
download | gentoo-9bd229c67df703a0b87bff9b10b4d64357211d02.tar.gz gentoo-9bd229c67df703a0b87bff9b10b4d64357211d02.tar.bz2 gentoo-9bd229c67df703a0b87bff9b10b4d64357211d02.zip |
dev-python/requests-wsgi-adapter: new package, add 0.4.1
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'dev-python/requests-wsgi-adapter')
-rw-r--r-- | dev-python/requests-wsgi-adapter/Manifest | 1 | ||||
-rw-r--r-- | dev-python/requests-wsgi-adapter/metadata.xml | 16 | ||||
-rw-r--r-- | dev-python/requests-wsgi-adapter/requests-wsgi-adapter-0.4.1.ebuild | 38 |
3 files changed, 55 insertions, 0 deletions
diff --git a/dev-python/requests-wsgi-adapter/Manifest b/dev-python/requests-wsgi-adapter/Manifest new file mode 100644 index 000000000000..f4e37643b490 --- /dev/null +++ b/dev-python/requests-wsgi-adapter/Manifest @@ -0,0 +1 @@ +DIST requests-wsgi-adapter-0.4.1.gh.tar.gz 5265 BLAKE2B 1ad1783e7bc7a37f749cd7d8e041b5e86f5039a54a735b1db9c54bd5b356b4a583b9af52a2838ba4441ca4c0a653abe06a685274e054678cb398d813ad8504c9 SHA512 f5f3572586f3a4cba98bcebfec2a77382e101fb799998007ad37f804ec721533ccb84bb7cc4f7ee8cf2fe9e61e75440b75003e88d384c44a6484acc65bfa3626 diff --git a/dev-python/requests-wsgi-adapter/metadata.xml b/dev-python/requests-wsgi-adapter/metadata.xml new file mode 100644 index 000000000000..33942be1e8ac --- /dev/null +++ b/dev-python/requests-wsgi-adapter/metadata.xml @@ -0,0 +1,16 @@ +<?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> + </maintainer> + <maintainer type="person"> + <email>chutzpah@gentoo.org</email> + <name>Patrick McLean</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="pypi">requests-wsgi-adapter</remote-id> + <remote-id type="github">seanbrant/requests-wsgi-adapter</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/requests-wsgi-adapter/requests-wsgi-adapter-0.4.1.ebuild b/dev-python/requests-wsgi-adapter/requests-wsgi-adapter-0.4.1.ebuild new file mode 100644 index 000000000000..9edd29bda551 --- /dev/null +++ b/dev-python/requests-wsgi-adapter/requests-wsgi-adapter-0.4.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="WSGI Transport Adapter for Requests" +HOMEPAGE=" + https://pypi.org/project/requests-wsgi-adapter/ +" +COMMIT_HASH="5b771effb5414096089375a3a36a3e7af1522ae0" +SRC_URI=" + https://github.com/seanbrant/requests-wsgi-adapter/archive/${COMMIT_HASH}.tar.gz -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${PN}-${COMMIT_HASH}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/requests[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + epytest tests.py +} |