1 |
commit: a79452f2b8628432e5ac33e4026f915856b0ec68 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 10 20:33:31 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 10 23:13:15 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a79452f2 |
7 |
|
8 |
dev-python/ruamel-yaml: Bump to 0.17.9 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/ruamel-yaml/Manifest | 1 + |
13 |
dev-python/ruamel-yaml/ruamel-yaml-0.17.9.ebuild | 50 ++++++++++++++++++++++++ |
14 |
2 files changed, 51 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/ruamel-yaml/Manifest b/dev-python/ruamel-yaml/Manifest |
17 |
index 461e33fe883..05523d26d63 100644 |
18 |
--- a/dev-python/ruamel-yaml/Manifest |
19 |
+++ b/dev-python/ruamel-yaml/Manifest |
20 |
@@ -3,3 +3,4 @@ DIST ruamel-yaml-0.17.4.tar.xz 178028 BLAKE2B 24c9f61cf8e158377ae839f73dcceab8fd |
21 |
DIST ruamel-yaml-0.17.5.tar.xz 182484 BLAKE2B 8e06b08799a2b8ec8cd5a732e689dd8413bdb3afdc621fbedfc769fea9cee6b06b33434765dfff048840b4b25b5b9784db6b93e22336cc4306103e91b0269e6b SHA512 99c8ea0cfcd3877b9a17fc781e32302359b9e704f72dbb53ede17fd63a78cce7f670de36a35d3ce9bd64f604c14741fba74a2c6c422a5adf484bbe5a31d464b3 |
22 |
DIST ruamel-yaml-0.17.7.tar.xz 182984 BLAKE2B 54c196f07cabe7cc97e4e652cb1c66443461f1555e0feb002e7c02e725a094a468733bcb9423c3a6d7450d25ad508a6a7338a107f0b015b2bfb0c42a57d8957f SHA512 0e5c638ac69d41ac5ea4712a97a05a43ec947a6bf9890f7c29aac057ef554fe65b92370bec91eae2803fc83be6ad01f60668f3d81458aaef32871312a62a86b8 |
23 |
DIST ruamel-yaml-0.17.8.tar.xz 182988 BLAKE2B bd9f19eacac51bf5032738c8cd3da08d42ee109abf69442ab079a2d88267146d23d6facb6bc8683d4b78cff0577271574a7012799828a77ba23631b7b6af5b65 SHA512 69fdcffdb3b4cfb4b7933750b2f3a0ee2f44166c38a0cf3c5ba72bb14c1513ed28138435fecf8f23d72cb76b0489450403f726c5740ee9715f7d993f95438c0f |
24 |
+DIST ruamel-yaml-0.17.9.tar.xz 183112 BLAKE2B 3dc33257435aa164724f8023c3bcd2f693c5dfbb4ac52467c821902819183e119f46e7dbcdab50216c019aa38a3d8fb94eb382c85edc0a08a278492ef53b2597 SHA512 dabc5540f68454d8abb46434bc91161ceb7bc613593c6aad79a4148c4526248d6053e356eb745e4cec7816885c1352f62d3c0a61d3d8a40315fd3ffb0e2f57ef |
25 |
|
26 |
diff --git a/dev-python/ruamel-yaml/ruamel-yaml-0.17.9.ebuild b/dev-python/ruamel-yaml/ruamel-yaml-0.17.9.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..f1cb20246e0 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/ruamel-yaml/ruamel-yaml-0.17.9.ebuild |
31 |
@@ -0,0 +1,50 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+PYTHON_COMPAT=( pypy3 python3_{8..10} ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+MY_PN="${PN//-/.}" |
42 |
+MY_P="${MY_PN}-${PV}" |
43 |
+ |
44 |
+DESCRIPTION="YAML parser/emitter that supports roundtrip comment preservation" |
45 |
+HOMEPAGE=" |
46 |
+ https://pypi.org/project/ruamel.yaml/ |
47 |
+ https://sourceforge.net/p/ruamel-yaml/" |
48 |
+# PyPI tarballs do not include tests |
49 |
+SRC_URI="mirror://sourceforge/ruamel-dl-tagged-releases/${MY_P}.tar.xz -> ${P}.tar.xz" |
50 |
+S="${WORKDIR}"/${MY_P} |
51 |
+ |
52 |
+LICENSE="MIT" |
53 |
+SLOT="0" |
54 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
55 |
+ |
56 |
+RDEPEND=" |
57 |
+ dev-python/namespace-ruamel[${PYTHON_USEDEP}] |
58 |
+ dev-python/ruamel-yaml-clib[${PYTHON_USEDEP}]" |
59 |
+BDEPEND=" |
60 |
+ test? ( |
61 |
+ dev-python/ruamel-std-pathlib[${PYTHON_USEDEP}] |
62 |
+ )" |
63 |
+ |
64 |
+distutils_enable_tests pytest |
65 |
+ |
66 |
+# Old PyYAML tests from lib/ require special set-up and are invoked indirectly |
67 |
+# via test_z_olddata, tell pytest itself to leave the subdir alone. |
68 |
+python_test() { |
69 |
+ local deselect=() |
70 |
+ |
71 |
+ [[ ${EPYTHON} == pypy3 ]] && deselect+=( |
72 |
+ _test/test_deprecation.py::test_collections_deprecation |
73 |
+ ) |
74 |
+ |
75 |
+ epytest --ignore _test/lib/ ${deselect[@]/#/--deselect } |
76 |
+} |
77 |
+ |
78 |
+python_install() { |
79 |
+ distutils-r1_python_install --single-version-externally-managed |
80 |
+ find "${ED}" -name '*.pth' -delete || die |
81 |
+} |