From 91b10285caefa93163f51feafcc824e8e54a7c5e Mon Sep 17 00:00:00 2001 From: Patrick McLean Date: Wed, 4 Dec 2019 20:52:30 -0800 Subject: [PATCH] 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 --- ...reezegun-0.3.12.ebuild => freezegun-0.3.12-r1.ebuild} | 9 +++++++++ 1 file changed, 9 insertions(+) rename dev-python/freezegun/{freezegun-0.3.12.ebuild => freezegun-0.3.12-r1.ebuild} (86%) 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 -- 2.26.2