1 |
commit: 94a6d311c6658baa2a87a37fb40cf03934890e94 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 30 21:40:49 2021 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 30 21:58:39 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94a6d311 |
7 |
|
8 |
dev-python/requests-futures: Add new package |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
dev-python/requests-futures/Manifest | 1 + |
13 |
dev-python/requests-futures/metadata.xml | 16 ++++++++++++++++ |
14 |
.../requests-futures/requests-futures-1.0.0.ebuild | 22 ++++++++++++++++++++++ |
15 |
3 files changed, 39 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/requests-futures/Manifest b/dev-python/requests-futures/Manifest |
18 |
new file mode 100644 |
19 |
index 00000000000..2354038e6dd |
20 |
--- /dev/null |
21 |
+++ b/dev-python/requests-futures/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST requests-futures-1.0.0.tar.gz 10897 BLAKE2B deccf99ffecf3dd04eaaa7692b93b046b027109346555ca9b4172f29600615fb78bd46528c2ae925587d06f24e5b52dc2f02f5d5da04eda18cd97037e1b28440 SHA512 64b39ed99712df8f1be74b2de97500d89711c0d5d3ba0f2b64e3bab755d0bf82029d7ced13b755ce12a2b86f3b673305b651ba6ff4cfb60aed40c8d5876f202c |
24 |
|
25 |
diff --git a/dev-python/requests-futures/metadata.xml b/dev-python/requests-futures/metadata.xml |
26 |
new file mode 100644 |
27 |
index 00000000000..68af319b43c |
28 |
--- /dev/null |
29 |
+++ b/dev-python/requests-futures/metadata.xml |
30 |
@@ -0,0 +1,16 @@ |
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>mattst88@g.o</email> |
36 |
+ <name>Matt Turner</name> |
37 |
+ </maintainer> |
38 |
+ <longdescription lang="en"> |
39 |
+ Small add-on for the python requests http library. Makes use of python 3.2's |
40 |
+ concurrent.futures or the backport for prior versions of python. |
41 |
+ </longdescription> |
42 |
+ <stabilize-allarches/> |
43 |
+ <upstream> |
44 |
+ <remote-id type="pypi">requests-futures</remote-id> |
45 |
+ </upstream> |
46 |
+</pkgmetadata> |
47 |
|
48 |
diff --git a/dev-python/requests-futures/requests-futures-1.0.0.ebuild b/dev-python/requests-futures/requests-futures-1.0.0.ebuild |
49 |
new file mode 100644 |
50 |
index 00000000000..b72806bb2c6 |
51 |
--- /dev/null |
52 |
+++ b/dev-python/requests-futures/requests-futures-1.0.0.ebuild |
53 |
@@ -0,0 +1,22 @@ |
54 |
+# Copyright 1999-2021 Gentoo Authors |
55 |
+# Distributed under the terms of the GNU General Public License v2 |
56 |
+ |
57 |
+EAPI=7 |
58 |
+ |
59 |
+PYTHON_COMPAT=( python3_{7..9} ) |
60 |
+PYTHON_REQ_USE="threads(+)" |
61 |
+ |
62 |
+inherit distutils-r1 |
63 |
+ |
64 |
+DESCRIPTION="Asynchronous Python HTTP for Humans" |
65 |
+HOMEPAGE="https://github.com/ross/requests-futures" |
66 |
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
67 |
+ |
68 |
+LICENSE="Apache-2.0" |
69 |
+SLOT="0" |
70 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" |
71 |
+RESTRICT="test" # https://github.com/ross/requests-futures/issues/94 |
72 |
+ |
73 |
+RDEPEND=">=dev-python/requests-1.2.0[${PYTHON_USEDEP}]" |
74 |
+ |
75 |
+distutils_enable_tests pytest |