diff options
author | Patrick McLean <patrick.mclean@sony.com> | 2019-12-04 20:52:30 -0800 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2019-12-04 20:53:00 -0800 |
commit | 91b10285caefa93163f51feafcc824e8e54a7c5e (patch) | |
tree | 0a090652ad8b22be45fa37b3ac31c59e91b763a5 /dev-python/freezegun | |
parent | dev-libs/oniguruma: bump to v6.9.4 (diff) | |
download | gentoo-91b10285caefa93163f51feafcc824e8e54a7c5e.tar.gz gentoo-91b10285caefa93163f51feafcc824e8e54a7c5e.tar.bz2 gentoo-91b10285caefa93163f51feafcc824e8e54a7c5e.zip |
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 <chutzpah@gentoo.org>
Diffstat (limited to 'dev-python/freezegun')
-rw-r--r-- | dev-python/freezegun/freezegun-0.3.12-r1.ebuild (renamed from dev-python/freezegun/freezegun-0.3.12.ebuild) | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dev-python/freezegun/freezegun-0.3.12.ebuild b/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 |