dev-python/txtorcon: Fix ipaddress dep for setuptools
authorBrian Dolbec <dolsen@gentoo.org>
Fri, 19 Jan 2018 21:44:37 +0000 (13:44 -0800)
committerBrian Dolbec <dolsen@gentoo.org>
Fri, 19 Jan 2018 22:55:35 +0000 (14:55 -0800)
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

dev-python/txtorcon/txtorcon-0.19.3-r1.ebuild [moved from dev-python/txtorcon/txtorcon-0.19.3.ebuild with 92% similarity]

similarity index 92%
rename from dev-python/txtorcon/txtorcon-0.19.3.ebuild
rename to dev-python/txtorcon/txtorcon-0.19.3-r1.ebuild
index 5155d74c9df7d90b4baed3b11c56bb38ae74f898..7a947665ebdf1bd15dba484600c11ab9c95c2f58 100644 (file)
@@ -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}"