summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-01-04 14:38:49 +0100
committerMichał Górny <mgorny@gentoo.org>2023-01-04 15:12:16 +0100
commite6655fea139c32c6c7773b1302dd6c194a83b7f9 (patch)
treefe826abbfe385a7b0f9d71011df53c24c9d152e2 /dev-python
parentece7e2152e4e565ab915b1be2aeec01a00ab4f8e (diff)
downloadgentoo-e6655fea139c32c6c7773b1302dd6c194a83b7f9.tar.gz
gentoo-e6655fea139c32c6c7773b1302dd6c194a83b7f9.tar.bz2
gentoo-e6655fea139c32c6c7773b1302dd6c194a83b7f9.zip
dev-python/agate: Bump to 1.7.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/agate/Manifest1
-rw-r--r--dev-python/agate/agate-1.7.0.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/agate/Manifest b/dev-python/agate/Manifest
index 72ba351ff55a..f740d56b6483 100644
--- a/dev-python/agate/Manifest
+++ b/dev-python/agate/Manifest
@@ -1 +1,2 @@
DIST agate-1.6.3.tar.gz 202102 BLAKE2B b1a5624b4744b8f3ed266470da580cef2f2e1cf6159e1b33fcd461e4abd235c5e3fe0da35408a42c92fd4abf14a1f841a1ab9eb6cd31545d826a5223e85b4904 SHA512 e83a03c5a3e4b7fa9997030ce0d33e7b59b397e2ae07ee6a723eb7fb708a7fa8b8c4322dd034f42bf664bf2911d89731fd060e4ff33a237f83114a83312ac5ed
+DIST agate-1.7.0.tar.gz 201944 BLAKE2B 4d3ac4cd0fc9f7e11175524652ba1bc13ee2b07e30115f807745387cde4ae9f49be3885dce93a2c3738d1fd4f6c005cb6db1103068510fe6caef635c04dd03e3 SHA512 75781ed3e46dbe5dd9a541bb3d968081b9776721b1518f232d551cbba8d792c43cab7ffccd9dfebd6303f167132808ccab409d8b92b3fc0c48a6314aec0b8c9d
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
+}