summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2022-02-04 10:05:08 -0800
committerZac Medico <zmedico@gentoo.org>2022-02-04 10:05:56 -0800
commit53a4bce277d2eeee57502bae52c801d828586e4e (patch)
treed640408185d4b1d81e0a8528ed10b5ce636406d8 /dev-python/agate
parentwww-plugins/chrome-binary-plugins: automated update (100.0.4867.0_alpha) (diff)
downloadgentoo-53a4bce277d2eeee57502bae52c801d828586e4e.tar.gz
gentoo-53a4bce277d2eeee57502bae52c801d828586e4e.tar.bz2
gentoo-53a4bce277d2eeee57502bae52c801d828586e4e.zip
dev-python/agate: accept parsedatetime-2.6
Closes: https://bugs.gentoo.org/815178 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'dev-python/agate')
-rw-r--r--dev-python/agate/agate-1.6.3-r2.ebuild (renamed from dev-python/agate/agate-1.6.3-r1.ebuild)7
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-python/agate/agate-1.6.3-r1.ebuild b/dev-python/agate/agate-1.6.3-r2.ebuild
index a55081099558..67dd8ae99c92 100644
--- a/dev-python/agate/agate-1.6.3-r1.ebuild
+++ b/dev-python/agate/agate-1.6.3-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2021 Gentoo Authors
+# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -35,3 +35,8 @@ EPYTEST_DESELECT=(
tests/test_data_types.py::TestDate::test_cast_format_locale
tests/test_data_types.py::TestDateTime::test_cast_format_locale
)
+
+python_prepare_all() {
+ sed -i -e "s:\\(parsedatetime>=2.1\\),[^']*:\1:" -i setup.py || die
+ distutils-r1_python_prepare_all
+}