diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-01-04 18:07:08 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-01-04 18:07:08 +0000 |
commit | d46d0aa37cf8b6304aea3c3f2a1be8cca389e989 (patch) | |
tree | dbfd9db95941a47b8ecb038ae6792beba39799af /dev-python/agate/agate-1.7.0.ebuild | |
parent | 4551b41523452c0d743a71cca34e4dca2ca7538c (diff) |
gentoo auto-resync : 04:01:2023 - 18:07:08
Diffstat (limited to 'dev-python/agate/agate-1.7.0.ebuild')
-rw-r--r-- | dev-python/agate/agate-1.7.0.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/agate/agate-1.7.0.ebuild b/dev-python/agate/agate-1.7.0.ebuild new file mode 100644 index 000000000000..06a2044936d2 --- /dev/null +++ b/dev-python/agate/agate-1.7.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="A Python data analysis library that is optimized for humans instead of machines" +HOMEPAGE=" + https://github.com/wireservice/agate/ + https://pypi.org/project/agate/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv" + +RDEPEND=" + >=dev-python/pytimeparse-1.1.5[${PYTHON_USEDEP}] + >=dev-python/parsedatetime-2.1[${PYTHON_USEDEP}] + >=dev-python/Babel-2.0[${PYTHON_USEDEP}] + >=dev-python/isodate-0.5.4[${PYTHON_USEDEP}] + >=dev-python/pyicu-2.4.2[${PYTHON_USEDEP}] + >=dev-python/python-slugify-1.2.1[${PYTHON_USEDEP}] + >=dev-python/leather-0.3.3-r2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/lxml[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + dev-python/sphinx_rtd_theme + +EPYTEST_DESELECT=( + # require specific locales + 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:" setup.py || die + distutils-r1_python_prepare_all +} |