From 4dc5fd35fcce9bfeeceec0256d736e0f6f44c845 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Wed, 29 Mar 2017 13:32:24 +0200 Subject: [PATCH] dev-python/mypy: install missing data files --- .../{mypy-0.501.exheres-0 => mypy-0.501-r1.exheres-0} | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) rename packages/dev-python/mypy/{mypy-0.501.exheres-0 => mypy-0.501-r1.exheres-0} (86%) diff --git a/packages/dev-python/mypy/mypy-0.501.exheres-0 b/packages/dev-python/mypy/mypy-0.501-r1.exheres-0 similarity index 86% rename from packages/dev-python/mypy/mypy-0.501.exheres-0 rename to packages/dev-python/mypy/mypy-0.501-r1.exheres-0 index 9673c63f..baf73564 100644 --- a/packages/dev-python/mypy/mypy-0.501.exheres-0 +++ b/packages/dev-python/mypy/mypy-0.501-r1.exheres-0 @@ -30,10 +30,11 @@ DEPENDENCIES=" BUGS_TO="hasufell@posteo.de" -src_install() { - setup-py_src_install +prepare_one_multibuild() { + edo sed -i \ + -e "/target = /s|lib|$(exhost --target)/lib|" \ + setup.py - # misplaced and obsolete - edo rm -r "${IMAGE}"/usr/lib + setup-py_prepare_one_multibuild }