From: Matthew Thode Date: Fri, 9 Mar 2018 17:41:13 +0000 (-0600) Subject: dev-python/locustio: allow usage of renamed msgpack X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=93d697e989c9f65af087a79edda9ffabd362f6fa;p=gentoo.git dev-python/locustio: allow usage of renamed msgpack Package-Manager: Portage-2.3.19, Repoman-2.3.6 --- 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 7892ab1e586c..4196e40e6d3b 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 +}