1 |
commit: 4fa1dd70f058f40437a9b32dc7efdc883a6d61b2 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 15 17:39:10 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 15 17:50:31 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fa1dd70 |
7 |
|
8 |
dev-python/agate: Bump to 1.6.3 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/agate/Manifest | 1 + |
13 |
dev-python/agate/agate-1.6.3.ebuild | 44 +++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 45 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/agate/Manifest b/dev-python/agate/Manifest |
17 |
index 7b0c44d435c..53a8e48bf65 100644 |
18 |
--- a/dev-python/agate/Manifest |
19 |
+++ b/dev-python/agate/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST agate-1.6.2.tar.gz 191216 BLAKE2B 63e89f6815a36dea956e8a919aeb926291eaf1f4d5eaac7f96dab97c6958dfee4788e18a4c1325a5b8cebf15df27b32e75409ddeab1289c1e8e548088fdc0ea7 SHA512 34d9e45d162bce69d28ad0ec07f5b410b2cdac831e5bd986ca8cb8902fd0ca1ec67663b2f956f42acaf18b8ca0fa169d5236aa4cee7457765e4e86d837e7794e |
22 |
+DIST agate-1.6.3.tar.gz 202102 BLAKE2B b1a5624b4744b8f3ed266470da580cef2f2e1cf6159e1b33fcd461e4abd235c5e3fe0da35408a42c92fd4abf14a1f841a1ab9eb6cd31545d826a5223e85b4904 SHA512 e83a03c5a3e4b7fa9997030ce0d33e7b59b397e2ae07ee6a723eb7fb708a7fa8b8c4322dd034f42bf664bf2911d89731fd060e4ff33a237f83114a83312ac5ed |
23 |
|
24 |
diff --git a/dev-python/agate/agate-1.6.3.ebuild b/dev-python/agate/agate-1.6.3.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..52a588ad921 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/agate/agate-1.6.3.ebuild |
29 |
@@ -0,0 +1,44 @@ |
30 |
+# Copyright 2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{8..9} ) |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+DESCRIPTION="A Python data analysis library that is optimized for humans instead of machines" |
39 |
+HOMEPAGE="https://github.com/wireservice/agate https://pypi.org/project/agate/" |
40 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="MIT" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64" |
45 |
+IUSE="+xml" |
46 |
+ |
47 |
+# Other packages have BDEPEND="test? ( dev-python/agate[xml] )" |
48 |
+LEATHER_VERSION_DEP=">=dev-python/leather-0.3.3-r2" |
49 |
+TEST_AGAINST_RDEPEND="xml? ( ${LEATHER_VERSION_DEP}[xml,${PYTHON_USEDEP}] )" |
50 |
+RDEPEND=" |
51 |
+ >=dev-python/six-1.9.0[${PYTHON_USEDEP}] |
52 |
+ >=dev-python/pytimeparse-1.1.5[${PYTHON_USEDEP}] |
53 |
+ >=dev-python/parsedatetime-2.1[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/Babel-2.0[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/isodate-0.5.4[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/pyicu-2.4.2[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/python-slugify-1.2.1[${PYTHON_USEDEP}] |
58 |
+ ${LEATHER_VERSION_DEP}[${PYTHON_USEDEP}] |
59 |
+ |
60 |
+ ${TEST_AGAINST_RDEPEND} |
61 |
+" |
62 |
+BDEPEND="test? ( ${LEATHER_VERSION_DEP}[xml,${PYTHON_USEDEP}] )" |
63 |
+ |
64 |
+distutils_enable_tests pytest |
65 |
+ |
66 |
+python_test() { |
67 |
+ local deselect=( |
68 |
+ # require specific locales |
69 |
+ tests/test_data_types.py::TestDate::test_cast_format_locale |
70 |
+ tests/test_data_types.py::TestDateTime::test_cast_format_locale |
71 |
+ ) |
72 |
+ epytest ${deselect[@]/#/--deselect } |
73 |
+} |