1 |
commit: 4b57775c07db488724946ae9f8f34f6ec8bf5a26 |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Oct 7 10:06:11 2021 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Thu Oct 7 10:22:45 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4b57775c |
7 |
|
8 |
dev-python/orjson: EAPI 8 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/816738 |
11 |
Closes: https://bugs.gentoo.org/816735 |
12 |
Closes: https://bugs.gentoo.org/816732 |
13 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
14 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
15 |
|
16 |
...{orjson-3.5.3.ebuild => orjson-3.5.3-r1.ebuild} | 23 +++++++++++----------- |
17 |
1 file changed, 11 insertions(+), 12 deletions(-) |
18 |
|
19 |
diff --git a/dev-python/orjson/orjson-3.5.3.ebuild b/dev-python/orjson/orjson-3.5.3-r1.ebuild |
20 |
similarity index 78% |
21 |
rename from dev-python/orjson/orjson-3.5.3.ebuild |
22 |
rename to dev-python/orjson/orjson-3.5.3-r1.ebuild |
23 |
index 3dc01d0d5..ee55a96ae 100644 |
24 |
--- a/dev-python/orjson/orjson-3.5.3.ebuild |
25 |
+++ b/dev-python/orjson/orjson-3.5.3-r1.ebuild |
26 |
@@ -1,7 +1,7 @@ |
27 |
# Copyright 1999-2021 Gentoo Authors |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
|
30 |
-EAPI=7 |
31 |
+EAPI=8 |
32 |
|
33 |
CRATES=" |
34 |
ahash-0.7.4 |
35 |
@@ -39,7 +39,17 @@ CRATES=" |
36 |
" |
37 |
DISTUTILS_SINGLE_IMPL=1 |
38 |
DISTUTILS_USE_SETUPTOOLS=no |
39 |
+EPYTEST_DESELECT=( |
40 |
+ test/test_datetime.py::DatetimeTests::test_datetime_pendulum_positive |
41 |
+ test/test_datetime.py::DatetimeTests::test_datetime_partial_second_pendulum_supported |
42 |
+ test/test_datetime.py::DatetimeTests::test_datetime_pendulum_negative_dst |
43 |
+ test/test_datetime.py::DatetimeTests::test_datetime_pendulum_negative_non_dst |
44 |
+ test/test_datetime.py::DatetimeTests::test_datetime_partial_hour |
45 |
+ test/test_datetime.py::DatetimeTests::test_datetime_pendulum_partial_hour |
46 |
+ test/test_api.py::ApiTests::test_version |
47 |
+) |
48 |
PYTHON_COMPAT=( python3_{8..9} ) |
49 |
+QA_FLAGS_IGNORED="*" |
50 |
|
51 |
inherit cargo distutils-r1 |
52 |
|
53 |
@@ -97,14 +107,3 @@ src_install() { |
54 |
python_domodule orjson/orjson*.so |
55 |
dodoc README.md |
56 |
} |
57 |
- |
58 |
-python_test() { |
59 |
- epytest -vv \ |
60 |
- --deselect test/test_datetime.py::DatetimeTests::test_datetime_pendulum_positive \ |
61 |
- --deselect test/test_datetime.py::DatetimeTests::test_datetime_partial_second_pendulum_supported \ |
62 |
- --deselect test/test_datetime.py::DatetimeTests::test_datetime_pendulum_negative_dst \ |
63 |
- --deselect test/test_datetime.py::DatetimeTests::test_datetime_pendulum_negative_non_dst \ |
64 |
- --deselect test/test_datetime.py::DatetimeTests::test_datetime_partial_hour \ |
65 |
- --deselect test/test_datetime.py::DatetimeTests::test_datetime_pendulum_partial_hour \ |
66 |
- || die |
67 |
-} |