From 93d697e989c9f65af087a79edda9ffabd362f6fa Mon Sep 17 00:00:00 2001 From: Matthew Thode Date: Fri, 9 Mar 2018 11:41:13 -0600 Subject: [PATCH] dev-python/locustio: allow usage of renamed msgpack Package-Manager: Portage-2.3.19, Repoman-2.3.6 --- .../{locustio-0.7.3.ebuild => locustio-0.7.3-r1.ebuild} | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) rename dev-python/locustio/{locustio-0.7.3.ebuild => locustio-0.7.3-r1.ebuild} (80%) 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 7892ab1e586c8..4196e40e6d3b0 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 +}