1 |
commit: 1965e28d7214124a5744c2df3587cd9cd434a363 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 16 13:28:21 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 16 13:28:21 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1965e28d |
7 |
|
8 |
dev-python/yamlpath: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/yamlpath/Manifest | 2 -- |
13 |
dev-python/yamlpath/yamlpath-3.6.1.ebuild | 56 ------------------------------- |
14 |
dev-python/yamlpath/yamlpath-3.6.3.ebuild | 50 --------------------------- |
15 |
3 files changed, 108 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/yamlpath/Manifest b/dev-python/yamlpath/Manifest |
18 |
index 852c02355f1e..bbb3675b2b2a 100644 |
19 |
--- a/dev-python/yamlpath/Manifest |
20 |
+++ b/dev-python/yamlpath/Manifest |
21 |
@@ -1,3 +1 @@ |
22 |
-DIST yamlpath-3.6.1.tar.gz 214053 BLAKE2B 5c72ffc4e4307f1a3fea7a697782c432402acc1ee929de34a702188d51287fd7187b688354533163b7101dc17ed394f0e2681a1a194807f00762bf6c71387292 SHA512 8ef8e1931118ed881d52b6d7f589b1c671694c211cb1c988e7e6945b7ff5408163bd402f52c1815b453bf8ccc61e8b8ed5c19a00be076d8e76e0a037461a12e2 |
23 |
-DIST yamlpath-3.6.3.gh.tar.gz 214734 BLAKE2B fd36d276831771c81272a2bb60a9fe7995c63f1026143925e34167ee397b56725ec9ba5d5afac2a85121512b8f8da3f988fd022dc2378ee80b91567f15d95c1a SHA512 b6c41b550339809e3a0bcbd7dca190956f06799303c1c12bb68eed567c56ccafd2acc2a8a6ab33fb03abde61b3de25673ee2d459f6d66e6782f9325212653ade |
24 |
DIST yamlpath-3.6.4.gh.tar.gz 216016 BLAKE2B fc6537b7c80ecfb9f69c646970e43935374bb105df007c123cf837eb1de6827ac2cc443294b69500c966ea6bc5d7f56498aec13340238c7660118f17cc6685e5 SHA512 eb1ac0d5861818f4f4b57b07f9fa7f758846982abbb3ac4ec58a1adaca8ec36deba1e21ce3e13916e74a946512f4d66e341a9d45392ef7133d0293e5fd6f66c9 |
25 |
|
26 |
diff --git a/dev-python/yamlpath/yamlpath-3.6.1.ebuild b/dev-python/yamlpath/yamlpath-3.6.1.ebuild |
27 |
deleted file mode 100644 |
28 |
index fcffedb6f449..000000000000 |
29 |
--- a/dev-python/yamlpath/yamlpath-3.6.1.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,56 +0,0 @@ |
32 |
-# Copyright 2021 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=7 |
36 |
-PYTHON_COMPAT=( python3_{8..10} ) |
37 |
-DISTUTILS_USE_SETUPTOOLS=bdepend |
38 |
- |
39 |
-inherit distutils-r1 |
40 |
- |
41 |
-DESCRIPTION="Command-line processors for YAML/JSON/Compatible data" |
42 |
-HOMEPAGE="https://github.com/wwkimball/yamlpath https://github.com/wwkimball/yamlpath/wiki" |
43 |
-SRC_URI="https://github.com/wwkimball/yamlpath/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
44 |
-LICENSE="ISC" |
45 |
-SLOT="0" |
46 |
-KEYWORDS="~amd64" |
47 |
-IUSE="test" |
48 |
-RESTRICT="test" |
49 |
-RDEPEND=" |
50 |
- dev-python/ruamel-yaml[${PYTHON_USEDEP}] |
51 |
-" |
52 |
-BDEPEND=" |
53 |
- ${RDEPEND} |
54 |
- test? ( dev-python/pytest[${PYTHON_USEDEP}] ) |
55 |
-" |
56 |
- |
57 |
-python_prepare_all() { |
58 |
- local sed_args |
59 |
- |
60 |
- sed_args=( |
61 |
- -e 's|\("ruamel\.yaml\)[^"]*|\1|' |
62 |
- -e '/pytest-cov/d' |
63 |
- -e '/pytest-console-scripts/d' |
64 |
- ) |
65 |
- sed "${sed_args[@]}" -i setup.py || die |
66 |
- |
67 |
- distutils-r1_python_prepare_all |
68 |
-} |
69 |
- |
70 |
-python_test() { |
71 |
- PYTHONPATH="${S}" py.test -v tests || die "Tests failed under ${EPYTHON}" |
72 |
-} |
73 |
- |
74 |
-yamlpath_post_src_install() { |
75 |
- local sitedir=$(python_get_sitedir) |
76 |
- [[ -d ${D}${sitedir} ]] || die "${D}${sitedir}: No such directory" |
77 |
- insinto "${sitedir}/yamlpath" |
78 |
- doins -r "${S}/yamlpath/patches" |
79 |
- python_optimize "${D}${sitedir}" || die |
80 |
-} |
81 |
- |
82 |
-src_install() { |
83 |
- find "${WORKDIR}" -name tests -print0 | xargs -0 rm -rf || die |
84 |
- distutils-r1_src_install |
85 |
- |
86 |
- python_foreach_impl yamlpath_post_src_install |
87 |
-} |
88 |
|
89 |
diff --git a/dev-python/yamlpath/yamlpath-3.6.3.ebuild b/dev-python/yamlpath/yamlpath-3.6.3.ebuild |
90 |
deleted file mode 100644 |
91 |
index caea22ecdf53..000000000000 |
92 |
--- a/dev-python/yamlpath/yamlpath-3.6.3.ebuild |
93 |
+++ /dev/null |
94 |
@@ -1,50 +0,0 @@ |
95 |
-# Copyright 2021 Gentoo Authors |
96 |
-# Distributed under the terms of the GNU General Public License v2 |
97 |
- |
98 |
-EAPI=8 |
99 |
- |
100 |
-PYTHON_COMPAT=( python3_{8..10} ) |
101 |
-inherit distutils-r1 |
102 |
- |
103 |
-DESCRIPTION="Command-line processors for YAML/JSON/Compatible data" |
104 |
-HOMEPAGE="https://github.com/wwkimball/yamlpath https://github.com/wwkimball/yamlpath/wiki" |
105 |
-SRC_URI=" |
106 |
- https://github.com/wwkimball/yamlpath/archive/v${PV}.tar.gz |
107 |
- -> ${P}.gh.tar.gz |
108 |
-" |
109 |
- |
110 |
-LICENSE="ISC" |
111 |
-SLOT="0" |
112 |
-KEYWORDS="~amd64" |
113 |
- |
114 |
-RDEPEND=" |
115 |
- dev-python/ruamel-yaml[${PYTHON_USEDEP}] |
116 |
-" |
117 |
-BDEPEND=" |
118 |
- test? ( |
119 |
- dev-python/pytest-console-scripts[${PYTHON_USEDEP}] |
120 |
- dev-ruby/hiera-eyaml |
121 |
- ) |
122 |
-" |
123 |
- |
124 |
-distutils_enable_tests --install pytest |
125 |
- |
126 |
-python_prepare_all() { |
127 |
- sed -e '/ruamel\.yaml/d' \ |
128 |
- -e '/pytest-cov/d' \ |
129 |
- -e "/find_packages/s/()/(exclude=\['tests'\])/" \ |
130 |
- -i setup.py || die |
131 |
- |
132 |
- distutils-r1_python_prepare_all |
133 |
-} |
134 |
- |
135 |
-python_install() { |
136 |
- distutils-r1_python_install |
137 |
- |
138 |
- # install and optimize yamlpath/patches/aliasstyle.py |
139 |
- local sitedir=$(python_get_sitedir) |
140 |
- [[ -d ${D}${sitedir} ]] || die "${D}${sitedir}: No such directory" |
141 |
- insinto "${sitedir}/yamlpath" |
142 |
- doins -r "${S}/yamlpath/patches" |
143 |
- python_optimize "${D}${sitedir}" |
144 |
-} |