mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-02 23:48:17 -07:00
dev-python/txtorcon: Fix ipaddress dep for setuptools
Remove it from requirements.txt which required it for py3 when it shouldn't. Error was discovered testing a new release of crossbar. Package-Manager: Portage-2.3.16, Repoman-2.3.6
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
@@ -42,6 +42,11 @@ PATCHES=(
|
||||
"${FILESDIR}/txtorcon-0.19.3-Removeinstalldocs.patch"
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
sed -e "s/^ipaddress.*//" -i requirements.txt || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
python_test() {
|
||||
pushd "${TEST_DIR}" > /dev/null || die
|
||||
/usr/bin/trial txtorcon || die "Tests failed with ${EPYTHON}"
|
||||
Reference in New Issue
Block a user