1 |
commit: 92ed4f89f159ee3b73731ef555f5deae7a966f14 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 7 19:24:52 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 7 19:31:18 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92ed4f89 |
7 |
|
8 |
dev-python/requests-unixsocket: fix empty package installation |
9 |
|
10 |
The previous ebuild was creating an empty python package. pbr is a |
11 |
must for building this package. |
12 |
|
13 |
Also urllib3 rdep was removed from upstream |
14 |
|
15 |
Fixes: 722c44c5bee504086d7d4fb51b81d797d0c44164 |
16 |
Reported-by: Michał Górny <mgorny <AT> gentoo.org> |
17 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
18 |
|
19 |
...cket-0.3.0.ebuild => requests-unixsocket-0.3.0-r1.ebuild} | 12 +++--------- |
20 |
1 file changed, 3 insertions(+), 9 deletions(-) |
21 |
|
22 |
diff --git a/dev-python/requests-unixsocket/requests-unixsocket-0.3.0.ebuild b/dev-python/requests-unixsocket/requests-unixsocket-0.3.0-r1.ebuild |
23 |
similarity index 71% |
24 |
rename from dev-python/requests-unixsocket/requests-unixsocket-0.3.0.ebuild |
25 |
rename to dev-python/requests-unixsocket/requests-unixsocket-0.3.0-r1.ebuild |
26 |
index 516dfaa7a3fa..6e7c4fcb3bf0 100644 |
27 |
--- a/dev-python/requests-unixsocket/requests-unixsocket-0.3.0.ebuild |
28 |
+++ b/dev-python/requests-unixsocket/requests-unixsocket-0.3.0-r1.ebuild |
29 |
@@ -1,4 +1,4 @@ |
30 |
-# Copyright 2020-2021 Gentoo Authors |
31 |
+# Copyright 2020-2022 Gentoo Authors |
32 |
# Distributed under the terms of the GNU General Public License v2 |
33 |
|
34 |
EAPI=8 |
35 |
@@ -14,15 +14,9 @@ LICENSE="Apache-2.0" |
36 |
SLOT="0" |
37 |
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
38 |
|
39 |
-RDEPEND=" |
40 |
- dev-python/requests[${PYTHON_USEDEP}] |
41 |
- dev-python/urllib3[${PYTHON_USEDEP}]" |
42 |
+RDEPEND="dev-python/requests[${PYTHON_USEDEP}]" |
43 |
BDEPEND=" |
44 |
+ dev-python/pbr[${PYTHON_USEDEP}] |
45 |
test? ( dev-python/waitress[${PYTHON_USEDEP}] )" |
46 |
|
47 |
distutils_enable_tests pytest |
48 |
- |
49 |
-src_prepare() { |
50 |
- sed -e '/pbr/d' -i setup.py|| die |
51 |
- distutils-r1_src_prepare |
52 |
-} |