summaryrefslogtreecommitdiff
path: root/dev-python/requests-wsgi-adapter
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/requests-wsgi-adapter')
-rw-r--r--dev-python/requests-wsgi-adapter/Manifest3
-rw-r--r--dev-python/requests-wsgi-adapter/metadata.xml16
-rw-r--r--dev-python/requests-wsgi-adapter/requests-wsgi-adapter-0.4.1.ebuild38
3 files changed, 57 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..9d12b9e49b3c
--- /dev/null
+++ b/dev-python/requests-wsgi-adapter/Manifest
@@ -0,0 +1,3 @@
+DIST requests-wsgi-adapter-0.4.1.gh.tar.gz 5265 BLAKE2B 1ad1783e7bc7a37f749cd7d8e041b5e86f5039a54a735b1db9c54bd5b356b4a583b9af52a2838ba4441ca4c0a653abe06a685274e054678cb398d813ad8504c9 SHA512 f5f3572586f3a4cba98bcebfec2a77382e101fb799998007ad37f804ec721533ccb84bb7cc4f7ee8cf2fe9e61e75440b75003e88d384c44a6484acc65bfa3626
+EBUILD requests-wsgi-adapter-0.4.1.ebuild 743 BLAKE2B c582e289356c5200e581cc10099169e88d67443a08dcdc0d878d1dfd0c0e58d6275f198eb6820682c2598c7804b8c4a6dc0653b639277553e83d859bf36f222b SHA512 5550a160055fafe4dd7def5078d63464405414140b23cbf5fe934ef9f529717f1dba710956b3b89bb274ce7207e0dadab4e9632f4ff0d595a09501aedb9a8ed9
+MISC metadata.xml 508 BLAKE2B f8aec1d97470e2aa980f0d86e2c14aa365418ca1ff3f62bd2b70821b5e0c15c3f32fcea6d22bc933d71ea912e59ed575a63ae6fc844d812387c82010ef485979 SHA512 49e0344fe521120035334acf84b8bc4179ea0a2ea13477776bf14cb96f283c3ba81e94c7196aff22900d52960262af877078044f930659ef0574df887d7ce73f
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
+}