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>
This commit is contained in:
Zac Medico
2022-02-04 10:05:08 -08:00
parent 99da4ca7ea
commit 53a4bce277

View File

@@ -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
}