From: Patrick McLean Date: Thu, 5 Dec 2019 04:52:30 +0000 (-0800) Subject: dev-python/freezegun-0.3.12-r1: Revbump, cleanup deps a bit X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=91b10285caefa93163f51feafcc824e8e54a7c5e;p=gentoo.git dev-python/freezegun-0.3.12-r1: Revbump, cleanup deps a bit Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.80, Repoman-2.3.19 Signed-off-by: Patrick McLean --- diff --git a/dev-python/freezegun/freezegun-0.3.12.ebuild b/dev-python/freezegun/freezegun-0.3.12-r1.ebuild similarity index 86% rename from dev-python/freezegun/freezegun-0.3.12.ebuild rename to dev-python/freezegun/freezegun-0.3.12-r1.ebuild index d33a914e745d..bef9ce1ee62a 100644 --- a/dev-python/freezegun/freezegun-0.3.12.ebuild +++ b/dev-python/freezegun/freezegun-0.3.12-r1.ebuild @@ -38,6 +38,15 @@ PATCHES=( distutils_enable_tests pytest +python_prepare_all() { + sed -r \ + -e 's:(python-dateutil)>=2.0:\1:' \ + -e "s:'(python-dateutil)>=[0-9.]+,.+':'\1':" \ + -i setup.py + + distutils-r1_python_prepare_all +} + python_prepare() { # optional and only works with python3 if ! python_is_python3; then