summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python')
-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 a5508109955..67dd8ae99c9 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
+}