Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/wsgi_intercept/
Date: Sun, 03 Oct 2021 18:33:31
Message-Id: 1633285921.e4b77eb4a4ef30ac50c233fe39287de6f1092c2d.Alessandro-Barbieri@gentoo
1 commit: e4b77eb4a4ef30ac50c233fe39287de6f1092c2d
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Sun Oct 3 16:43:03 2021 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Sun Oct 3 18:32:01 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e4b77eb4
7
8 dev-python/wsgi_intercept: initial import
9
10 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
11
12 dev-python/wsgi_intercept/Manifest | 1 +
13 dev-python/wsgi_intercept/metadata.xml | 11 ++++++++
14 .../wsgi_intercept/wsgi_intercept-1.9.2.ebuild | 30 ++++++++++++++++++++++
15 3 files changed, 42 insertions(+)
16
17 diff --git a/dev-python/wsgi_intercept/Manifest b/dev-python/wsgi_intercept/Manifest
18 new file mode 100644
19 index 000000000..3c3189d40
20 --- /dev/null
21 +++ b/dev-python/wsgi_intercept/Manifest
22 @@ -0,0 +1 @@
23 +DIST wsgi_intercept-1.9.2.tar.gz 29083 BLAKE2B 97eda40f40f0ea00ff213f2222310ce6c77ee9c822e89330ed8a277f32851d06bdf1050629e69677cf7fb00d04128403c5a89aec1d03d796fdbb65e8f3e4e9b6 SHA512 a313fe6302c9f168bd050c83ded1d58ef74feb54870197eb85b3527c2cc77eb76b4ca61ff4b554e13cca10ec7106ad9ba35c9a41a00bbd82ef39a26df2af7769
24
25 diff --git a/dev-python/wsgi_intercept/metadata.xml b/dev-python/wsgi_intercept/metadata.xml
26 new file mode 100644
27 index 000000000..5796baec0
28 --- /dev/null
29 +++ b/dev-python/wsgi_intercept/metadata.xml
30 @@ -0,0 +1,11 @@
31 +<?xml version="1.0" encoding="UTF-8"?>
32 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
33 +<pkgmetadata>
34 + <maintainer type="person">
35 + <email>lssndrbarbieri@×××××.com</email>
36 + <name>Alessandro Barbieri</name>
37 + </maintainer>
38 + <upstream>
39 + <remote-id type="pypi">wsgi-intercept</remote-id>
40 + </upstream>
41 +</pkgmetadata>
42
43 diff --git a/dev-python/wsgi_intercept/wsgi_intercept-1.9.2.ebuild b/dev-python/wsgi_intercept/wsgi_intercept-1.9.2.ebuild
44 new file mode 100644
45 index 000000000..8e7984886
46 --- /dev/null
47 +++ b/dev-python/wsgi_intercept/wsgi_intercept-1.9.2.ebuild
48 @@ -0,0 +1,30 @@
49 +# Copyright 1999-2021 Gentoo Authors
50 +# Distributed under the terms of the GNU General Public License v2
51 +
52 +EAPI="8"
53 +
54 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
55 +
56 +inherit distutils-r1
57 +
58 +DESCRIPTION="wsgi_intercept installs a WSGI application in place of a real URI for testing"
59 +HOMEPAGE="https://pypi.org/project/wsgi-intercept"
60 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
61 +
62 +SLOT="0"
63 +LICENSE="MIT"
64 +KEYWORDS="~amd64"
65 +
66 +RDEPEND="
67 + dev-python/six[${PYTHON_USEDEP}]
68 +"
69 +DEPEND="
70 + ${RDEPEND}
71 + test? (
72 + dev-python/httplib2[${PYTHON_USEDEP}]
73 + >=dev-python/requests-2.0.1[${PYTHON_USEDEP}]
74 + >=dev-python/urllib3-1.11.0[${PYTHON_USEDEP}]
75 + )
76 +"
77 +
78 +distutils_enable_tests pytest