commit: 93d697e989c9f65af087a79edda9ffabd362f6fa
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 9 17:41:13 2018 +0000
Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Fri Mar 9 17:58:49 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93d697e9
dev-python/locustio: allow usage of renamed msgpack
Package-Manager: Portage-2.3.19, Repoman-2.3.6
.../locustio/{locustio-0.7.3.ebuild => locustio-0.7.3-r1.ebuild} | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/dev-python/locustio/locustio-0.7.3.ebuild
b/dev-python/locustio/locustio-0.7.3-r1.ebuild
similarity index 80%
rename from dev-python/locustio/locustio-0.7.3.ebuild
rename to dev-python/locustio/locustio-0.7.3-r1.ebuild
index 7892ab1e586..4196e40e6d3 100644
--- a/dev-python/locustio/locustio-0.7.3.ebuild
+++ b/dev-python/locustio/locustio-0.7.3-r1.ebuild
@@ -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=5
@@ -28,3 +28,9 @@ RDEPEND=">=dev-python/gevent-1.0.1[${PYTHON_USEDEP}]
python_test() {
esetup.py test
}
+
+python_prepare_all() {
+ # allow useage of renamed msgpack
+ sed -i '/^msgpack/d' setup.py || die
+ distutils-r1_python_prepare_all
+}