1 |
commit: a1480664ce90376232ad9034eb05db109479527a |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 3 17:48:31 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 3 17:49:08 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1480664 |
7 |
|
8 |
dev-python/ruamel-yaml: add 0.17.20 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/ruamel-yaml/Manifest | 1 + |
13 |
dev-python/ruamel-yaml/ruamel-yaml-0.17.20.ebuild | 47 +++++++++++++++++++++++ |
14 |
2 files changed, 48 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/ruamel-yaml/Manifest b/dev-python/ruamel-yaml/Manifest |
17 |
index 2709407427b7..676ddcb2ca7f 100644 |
18 |
--- a/dev-python/ruamel-yaml/Manifest |
19 |
+++ b/dev-python/ruamel-yaml/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST ruamel.yaml-0.17.17.tar.xz 184120 BLAKE2B 05bd1dd719677918a49798f377c5e52bd1b8c7e3bd38a416626330baec90f3e7a71509f236151be73b1773e48ae02d25ac01ef970ebe6cf15ccca49a01a996d1 SHA512 72fbdda33c193dfb556367d79b50e148d2aecd4f2b04cf5b48f2dcf4b690e0796b40273995badec655891408bb8ba6a7e84992e6911e55e75ab453403da3397f |
22 |
DIST ruamel.yaml-0.17.18.tar.xz 184412 BLAKE2B 47fc39b8811b19507a99a88408660ed9eef0182a91cdc86976d04f055361b9cf296e4761433207d47c8343c184c2f6358cb4541af4efce19be6865f492d11939 SHA512 dc11868522904463aba8d7d85e4c44d0d72c6fa84381089647546bde5ab091f733476d04f088611222ad4cac818dbbc7b24c51f721f34d94bdeae82fe0c627ae |
23 |
DIST ruamel.yaml-0.17.19.tar.xz 184508 BLAKE2B dea922cab102f8a73888df2af8093a0c6ae51bae93ceb34f5cf58d1c9be407b65b52b000688213aed41ba14cf39506193a13102d8cd0a6597c8f7d30cc15a0fb SHA512 5f1daeead463e8fc0de43f2180ef1b536036d01c3aa1fdeaf6854789c0170dd54a09d72055b5528ed836f8323b3bec79b85c409812d7ab3c09de0e98f03f4c33 |
24 |
+DIST ruamel.yaml-0.17.20.tar.xz 184628 BLAKE2B 0b50240717c10d6dd5aefed9e092fddf503f079066ed49d1f614928046544a67b9168c76a58ee5fbe782fe6e1296a6282416fa8567783f4543ef9c8c0ad340ca SHA512 8c2614ffecba1560e829cfc27f9b4effec589f9eba90792c470ba8f531fecd06ae6f12036ee5463f89021360fb4f35e9b78a16fc778507e88c5c6a8f6e293876 |
25 |
|
26 |
diff --git a/dev-python/ruamel-yaml/ruamel-yaml-0.17.20.ebuild b/dev-python/ruamel-yaml/ruamel-yaml-0.17.20.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..a3068aac1127 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/ruamel-yaml/ruamel-yaml-0.17.20.ebuild |
31 |
@@ -0,0 +1,47 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+PYTHON_COMPAT=( pypy3 python3_{8..10} ) |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+MY_P="${P/-/.}" |
41 |
+DESCRIPTION="YAML parser/emitter that supports roundtrip comment preservation" |
42 |
+HOMEPAGE=" |
43 |
+ https://pypi.org/project/ruamel.yaml/ |
44 |
+ https://sourceforge.net/p/ruamel-yaml/" |
45 |
+# PyPI tarballs do not include tests |
46 |
+SRC_URI="mirror://sourceforge/ruamel-dl-tagged-releases/${MY_P}.tar.xz" |
47 |
+S="${WORKDIR}"/${MY_P} |
48 |
+ |
49 |
+LICENSE="MIT" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" |
52 |
+ |
53 |
+RDEPEND=" |
54 |
+ dev-python/namespace-ruamel[${PYTHON_USEDEP}] |
55 |
+ dev-python/ruamel-yaml-clib[${PYTHON_USEDEP}]" |
56 |
+BDEPEND=" |
57 |
+ test? ( |
58 |
+ dev-python/ruamel-std-pathlib[${PYTHON_USEDEP}] |
59 |
+ )" |
60 |
+ |
61 |
+distutils_enable_tests pytest |
62 |
+ |
63 |
+# Old PyYAML tests from lib/ require special set-up and are invoked indirectly |
64 |
+# via test_z_olddata, tell pytest itself to leave the subdir alone. |
65 |
+python_test() { |
66 |
+ [[ ${EPYTHON} == pypy3 ]] && local EPYTEST_DESELECT=( |
67 |
+ _test/test_deprecation.py::test_collections_deprecation |
68 |
+ ) |
69 |
+ local EPYTEST_IGNORE=( |
70 |
+ _test/lib/ |
71 |
+ ) |
72 |
+ epytest |
73 |
+} |
74 |
+ |
75 |
+python_install() { |
76 |
+ distutils-r1_python_install --single-version-externally-managed |
77 |
+ find "${ED}" -name '*.pth' -delete || die |
78 |
+} |