dev-python/locustio: allow usage of renamed msgpack
authorMatthew Thode <prometheanfire@gentoo.org>
Fri, 9 Mar 2018 17:41:13 +0000 (11:41 -0600)
committerMatthew Thode <prometheanfire@gentoo.org>
Fri, 9 Mar 2018 17:58:49 +0000 (11:58 -0600)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

dev-python/locustio/locustio-0.7.3-r1.ebuild [moved from dev-python/locustio/locustio-0.7.3.ebuild with 80% similarity]

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 7892ab1e586c88247ea361c5552ace968c9bb540..4196e40e6d3b081ec4bf8e9d606a01408e520d3c 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=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
+}