summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-01-07 21:24:52 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2022-01-07 21:31:18 +0200
commit92ed4f89f159ee3b73731ef555f5deae7a966f14 (patch)
tree25ebb735699883321955d2f7f3eb7d5e464d6591 /dev-python/requests-unixsocket
parentsys-fs/udiskie: drop old (diff)
downloadgentoo-92ed4f89f159ee3b73731ef555f5deae7a966f14.tar.gz
gentoo-92ed4f89f159ee3b73731ef555f5deae7a966f14.tar.bz2
gentoo-92ed4f89f159ee3b73731ef555f5deae7a966f14.zip
dev-python/requests-unixsocket: fix empty package installation
The previous ebuild was creating an empty python package. pbr is a must for building this package. Also urllib3 rdep was removed from upstream Fixes: 722c44c5bee504086d7d4fb51b81d797d0c44164 Reported-by: Michał Górny <mgorny@gentoo.org> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/requests-unixsocket')
-rw-r--r--dev-python/requests-unixsocket/requests-unixsocket-0.3.0-r1.ebuild (renamed from dev-python/requests-unixsocket/requests-unixsocket-0.3.0.ebuild)12
1 files changed, 3 insertions, 9 deletions
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
index 516dfaa7a3fa..6e7c4fcb3bf0 100644
--- a/dev-python/requests-unixsocket/requests-unixsocket-0.3.0.ebuild
+++ b/dev-python/requests-unixsocket/requests-unixsocket-0.3.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2021 Gentoo Authors
+# Copyright 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -14,15 +14,9 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-RDEPEND="
- dev-python/requests[${PYTHON_USEDEP}]
- dev-python/urllib3[${PYTHON_USEDEP}]"
+RDEPEND="dev-python/requests[${PYTHON_USEDEP}]"
BDEPEND="
+ dev-python/pbr[${PYTHON_USEDEP}]
test? ( dev-python/waitress[${PYTHON_USEDEP}] )"
distutils_enable_tests pytest
-
-src_prepare() {
- sed -e '/pbr/d' -i setup.py|| die
- distutils-r1_src_prepare
-}