1 |
commit: 52a3d668722bedda48baaa054ed12e82335dcb42 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 1 07:46:27 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 1 16:49:10 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcore.git/commit/?id=52a3d668 |
7 |
|
8 |
setup.py: reorder data files |
9 |
|
10 |
Store all data files (files that should be installed into `/usr` outside |
11 |
python lib location) in one main "data" directory, with direct subdirs |
12 |
matching the once installed on system. This is preparation for moving to |
13 |
flit backend. |
14 |
|
15 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
16 |
|
17 |
.gitignore | 3 +- |
18 |
MANIFEST.in | 2 -- |
19 |
{ebd => data/lib/pkgcore/ebd}/eapi/0/global.bash | 0 |
20 |
{ebd => data/lib/pkgcore/ebd}/eapi/0/phase.bash | 0 |
21 |
.../lib/pkgcore/ebd}/eapi/0/src_compile.bash | 0 |
22 |
.../lib/pkgcore/ebd}/eapi/0/src_install.bash | 0 |
23 |
{ebd => data/lib/pkgcore/ebd}/eapi/1/global.bash | 0 |
24 |
{ebd => data/lib/pkgcore/ebd}/eapi/2/global.bash | 0 |
25 |
{ebd => data/lib/pkgcore/ebd}/eapi/2/phase.bash | 0 |
26 |
.../lib/pkgcore/ebd}/eapi/2/pkg_nofetch.bash | 0 |
27 |
.../lib/pkgcore/ebd}/eapi/2/src_compile.bash | 0 |
28 |
.../lib/pkgcore/ebd}/eapi/2/src_configure.bash | 0 |
29 |
.../lib/pkgcore/ebd}/eapi/2/src_prepare.bash | 0 |
30 |
{ebd => data/lib/pkgcore/ebd}/eapi/2/src_test.bash | 0 |
31 |
.../lib/pkgcore/ebd}/eapi/2/src_unpack.bash | 0 |
32 |
{ebd => data/lib/pkgcore/ebd}/eapi/4/global.bash | 0 |
33 |
{ebd => data/lib/pkgcore/ebd}/eapi/4/phase.bash | 0 |
34 |
.../lib/pkgcore/ebd}/eapi/4/src_configure.bash | 0 |
35 |
.../lib/pkgcore/ebd}/eapi/4/src_install.bash | 0 |
36 |
{ebd => data/lib/pkgcore/ebd}/eapi/5/global.bash | 0 |
37 |
{ebd => data/lib/pkgcore/ebd}/eapi/5/phase.bash | 0 |
38 |
.../lib/pkgcore/ebd}/eapi/5/src_configure.bash | 0 |
39 |
{ebd => data/lib/pkgcore/ebd}/eapi/6/global.bash | 0 |
40 |
{ebd => data/lib/pkgcore/ebd}/eapi/6/phase.bash | 0 |
41 |
.../lib/pkgcore/ebd}/eapi/6/src_configure.bash | 0 |
42 |
.../lib/pkgcore/ebd}/eapi/6/src_install.bash | 0 |
43 |
.../lib/pkgcore/ebd}/eapi/6/src_prepare.bash | 0 |
44 |
{ebd => data/lib/pkgcore/ebd}/eapi/7/global.bash | 0 |
45 |
.../lib/pkgcore/ebd}/eapi/7/src_configure.bash | 0 |
46 |
.../lib/pkgcore/ebd}/eapi/7/src_install.bash | 0 |
47 |
{ebd => data/lib/pkgcore/ebd}/eapi/8/global.bash | 0 |
48 |
{ebd => data/lib/pkgcore/ebd}/eapi/8/phase.bash | 0 |
49 |
.../lib/pkgcore/ebd}/eapi/8/src_configure.bash | 0 |
50 |
{ebd => data/lib/pkgcore/ebd}/eapi/common.bash | 0 |
51 |
{ebd => data/lib/pkgcore/ebd}/eapi/depend.bash | 0 |
52 |
.../lib/pkgcore/ebd}/ebuild-daemon-lib.bash | 0 |
53 |
{ebd => data/lib/pkgcore/ebd}/ebuild-daemon.bash | 0 |
54 |
.../lib/pkgcore/ebd}/ebuild-default-functions.bash | 0 |
55 |
.../lib/pkgcore/ebd}/ebuild-env-utils.bash | 0 |
56 |
{ebd => data/lib/pkgcore/ebd}/ebuild.bash | 0 |
57 |
{ebd => data/lib/pkgcore/ebd}/exit-handling.bash | 0 |
58 |
.../lib/pkgcore/ebd}/generate_eapi_cmd_list | 0 |
59 |
.../lib/pkgcore/ebd}/generate_eapi_func_list | 0 |
60 |
{ebd => data/lib/pkgcore/ebd}/generate_eapi_lib | 0 |
61 |
.../lib/pkgcore/ebd}/generate_global_func_list | 0 |
62 |
{ebd => data/lib/pkgcore/ebd}/helpers/0/dosed | 0 |
63 |
{ebd => data/lib/pkgcore/ebd}/helpers/0/emake | 0 |
64 |
.../pkgcore/ebd}/helpers/0/pkg_postinst/fowners | 0 |
65 |
.../lib/pkgcore/ebd}/helpers/0/pkg_postinst/fperms | 0 |
66 |
.../pkgcore/ebd}/helpers/0/pkg_postinst/keepdir | 0 |
67 |
.../lib/pkgcore/ebd}/helpers/0/pkg_preinst/dodir | 0 |
68 |
.../lib/pkgcore/ebd}/helpers/0/pkg_preinst/fowners | 0 |
69 |
.../lib/pkgcore/ebd}/helpers/0/pkg_preinst/fperms | 0 |
70 |
.../lib/pkgcore/ebd}/helpers/0/pkg_preinst/keepdir | 0 |
71 |
.../lib/pkgcore/ebd}/helpers/0/src_install/dobin | 0 |
72 |
.../lib/pkgcore/ebd}/helpers/0/src_install/doconfd | 0 |
73 |
.../lib/pkgcore/ebd}/helpers/0/src_install/dodir | 0 |
74 |
.../lib/pkgcore/ebd}/helpers/0/src_install/dodoc | 0 |
75 |
.../lib/pkgcore/ebd}/helpers/0/src_install/doenvd | 0 |
76 |
.../lib/pkgcore/ebd}/helpers/0/src_install/doexe | 0 |
77 |
.../lib/pkgcore/ebd}/helpers/0/src_install/dohard | 0 |
78 |
.../lib/pkgcore/ebd}/helpers/0/src_install/dohtml | 0 |
79 |
.../lib/pkgcore/ebd}/helpers/0/src_install/doinfo | 0 |
80 |
.../lib/pkgcore/ebd}/helpers/0/src_install/doinitd | 0 |
81 |
.../lib/pkgcore/ebd}/helpers/0/src_install/doins | 0 |
82 |
.../lib/pkgcore/ebd}/helpers/0/src_install/dolib | 0 |
83 |
.../lib/pkgcore/ebd}/helpers/0/src_install/dolib.a | 0 |
84 |
.../pkgcore/ebd}/helpers/0/src_install/dolib.so | 0 |
85 |
.../lib/pkgcore/ebd}/helpers/0/src_install/doman | 0 |
86 |
.../lib/pkgcore/ebd}/helpers/0/src_install/domo | 0 |
87 |
.../lib/pkgcore/ebd}/helpers/0/src_install/dosbin | 0 |
88 |
.../lib/pkgcore/ebd}/helpers/0/src_install/dosym | 0 |
89 |
.../lib/pkgcore/ebd}/helpers/0/src_install/fowners | 0 |
90 |
.../lib/pkgcore/ebd}/helpers/0/src_install/fperms | 0 |
91 |
.../lib/pkgcore/ebd}/helpers/0/src_install/keepdir | 0 |
92 |
.../lib/pkgcore/ebd}/helpers/0/src_install/newbin | 0 |
93 |
.../pkgcore/ebd}/helpers/0/src_install/newconfd | 0 |
94 |
.../lib/pkgcore/ebd}/helpers/0/src_install/newdoc | 0 |
95 |
.../lib/pkgcore/ebd}/helpers/0/src_install/newenvd | 0 |
96 |
.../lib/pkgcore/ebd}/helpers/0/src_install/newexe | 0 |
97 |
.../pkgcore/ebd}/helpers/0/src_install/newinitd | 0 |
98 |
.../lib/pkgcore/ebd}/helpers/0/src_install/newins | 0 |
99 |
.../pkgcore/ebd}/helpers/0/src_install/newlib.a | 0 |
100 |
.../pkgcore/ebd}/helpers/0/src_install/newlib.so | 0 |
101 |
.../lib/pkgcore/ebd}/helpers/0/src_install/newman | 0 |
102 |
.../lib/pkgcore/ebd}/helpers/0/src_install/newsbin | 0 |
103 |
{ebd => data/lib/pkgcore/ebd}/helpers/4/dosed | 0 |
104 |
.../lib/pkgcore/ebd}/helpers/4/src_install/dohard | 0 |
105 |
.../pkgcore/ebd}/helpers/5/src_install/doheader | 0 |
106 |
.../pkgcore/ebd}/helpers/5/src_install/newheader | 0 |
107 |
.../lib/pkgcore/ebd}/helpers/6/src_install/dohtml | 0 |
108 |
{ebd => data/lib/pkgcore/ebd}/helpers/7/nonfatal | 0 |
109 |
.../lib/pkgcore/ebd}/helpers/7/src_install/dohtml | 0 |
110 |
.../lib/pkgcore/ebd}/helpers/7/src_install/dolib | 0 |
111 |
.../lib/pkgcore/ebd}/helpers/8/src_install/doconfd | 0 |
112 |
.../lib/pkgcore/ebd}/helpers/8/src_install/doenvd | 0 |
113 |
.../pkgcore/ebd}/helpers/8/src_install/doheader | 0 |
114 |
.../lib/pkgcore/ebd}/helpers/8/src_install/doinitd | 0 |
115 |
.../ebd}/helpers/common/pkgcore-ebuild-helper | 0 |
116 |
.../pkgcore/ebd}/helpers/common/pkgcore-ipc-helper | 0 |
117 |
.../lib/pkgcore/ebd}/helpers/common/prepalldocs | 0 |
118 |
.../lib/pkgcore/ebd}/helpers/common/prepallstrip | 0 |
119 |
.../lib/pkgcore/ebd}/helpers/common/prepinfo | 0 |
120 |
.../lib/pkgcore/ebd}/helpers/common/prepman | 0 |
121 |
.../lib/pkgcore/ebd}/helpers/common/prepstrip | 0 |
122 |
.../pkgcore/ebd}/helpers/internals/_generic_new | 0 |
123 |
.../lib/pkgcore/ebd}/helpers/internals/banned | 0 |
124 |
.../lib/pkgcore/ebd}/helpers/internals/deprecated | 0 |
125 |
.../pkgcore/ebd}/helpers/internals/helper-lib.bash | 0 |
126 |
.../lib/pkgcore/ebd}/helpers/internals/prepall | 0 |
127 |
.../lib/pkgcore/ebd}/isolated-functions.bash | 0 |
128 |
.../lib/pkgcore/shell}/bash/pkgcore.bash | 0 |
129 |
.../lib/pkgcore/shell}/bin/pkgcore-sh-helper | 0 |
130 |
{shell => data/lib/pkgcore/shell}/bin/psite | 0 |
131 |
{shell => data/lib/pkgcore/shell}/pkgcore.sh | 0 |
132 |
{shell => data/lib/pkgcore/shell}/zsh/pkgcore.zsh | 0 |
133 |
.../share/bash-completion/completions}/pquery | 0 |
134 |
data/{ => share/pkgcore}/config/make.globals | 0 |
135 |
data/{ => share/pkgcore}/config/repos.conf | 0 |
136 |
data/{ => share/pkgcore}/stubconfig/repos.conf | 0 |
137 |
.../pkgcore}/stubrepo/metadata/layout.conf | 0 |
138 |
.../pkgcore}/stubrepo/profiles/arch.list | 0 |
139 |
.../stubrepo/profiles/default/make.defaults | 0 |
140 |
.../pkgcore}/stubrepo/profiles/profiles.desc | 0 |
141 |
.../pkgcore}/stubrepo/profiles/repo_name | 0 |
142 |
data/{ => share/pkgcore}/xml-schema/metadata.xsd | 0 |
143 |
.../share/zsh/site-functions}/_pkgcore | 0 |
144 |
setup.py | 37 ++++++++-------------- |
145 |
src/pkgcore/const.py | 4 +-- |
146 |
src/pkgcore/ebuild/const.py | 2 +- |
147 |
130 files changed, 19 insertions(+), 29 deletions(-) |
148 |
|
149 |
diff --git a/.gitignore b/.gitignore |
150 |
index 349b8bdae..09a222c41 100644 |
151 |
--- a/.gitignore |
152 |
+++ b/.gitignore |
153 |
@@ -6,6 +6,7 @@ src/**/*.so |
154 |
|
155 |
# generated function lists |
156 |
ebd/.generated |
157 |
+data/lib/pkgcore/ebd/.generated |
158 |
|
159 |
src/pkgcore/plugins/plugincache |
160 |
/build |
161 |
@@ -13,7 +14,7 @@ src/pkgcore/plugins/plugincache |
162 |
/dist |
163 |
/.tox |
164 |
/.coverage |
165 |
-/*.egg-info |
166 |
+*.egg-info |
167 |
_trial_temp |
168 |
/doc/dev-notes/index.rst |
169 |
/doc/dev-notes/*/index.rst |
170 |
|
171 |
diff --git a/MANIFEST.in b/MANIFEST.in |
172 |
index 5a6be6ab3..27ad49216 100644 |
173 |
--- a/MANIFEST.in |
174 |
+++ b/MANIFEST.in |
175 |
@@ -3,9 +3,7 @@ include pytest.ini tox.ini pyproject.toml .coveragerc |
176 |
recursive-include bin * |
177 |
recursive-include data * |
178 |
recursive-include doc * |
179 |
-recursive-include ebd * |
180 |
recursive-include examples * |
181 |
recursive-include requirements * |
182 |
-recursive-include shell * |
183 |
recursive-include tests * |
184 |
global-exclude *.pyc *.pyo __pycache__ |
185 |
|
186 |
diff --git a/ebd/eapi/0/global.bash b/data/lib/pkgcore/ebd/eapi/0/global.bash |
187 |
similarity index 100% |
188 |
rename from ebd/eapi/0/global.bash |
189 |
rename to data/lib/pkgcore/ebd/eapi/0/global.bash |
190 |
|
191 |
diff --git a/ebd/eapi/0/phase.bash b/data/lib/pkgcore/ebd/eapi/0/phase.bash |
192 |
similarity index 100% |
193 |
rename from ebd/eapi/0/phase.bash |
194 |
rename to data/lib/pkgcore/ebd/eapi/0/phase.bash |
195 |
|
196 |
diff --git a/ebd/eapi/0/src_compile.bash b/data/lib/pkgcore/ebd/eapi/0/src_compile.bash |
197 |
similarity index 100% |
198 |
rename from ebd/eapi/0/src_compile.bash |
199 |
rename to data/lib/pkgcore/ebd/eapi/0/src_compile.bash |
200 |
|
201 |
diff --git a/ebd/eapi/0/src_install.bash b/data/lib/pkgcore/ebd/eapi/0/src_install.bash |
202 |
similarity index 100% |
203 |
rename from ebd/eapi/0/src_install.bash |
204 |
rename to data/lib/pkgcore/ebd/eapi/0/src_install.bash |
205 |
|
206 |
diff --git a/ebd/eapi/1/global.bash b/data/lib/pkgcore/ebd/eapi/1/global.bash |
207 |
similarity index 100% |
208 |
rename from ebd/eapi/1/global.bash |
209 |
rename to data/lib/pkgcore/ebd/eapi/1/global.bash |
210 |
|
211 |
diff --git a/ebd/eapi/2/global.bash b/data/lib/pkgcore/ebd/eapi/2/global.bash |
212 |
similarity index 100% |
213 |
rename from ebd/eapi/2/global.bash |
214 |
rename to data/lib/pkgcore/ebd/eapi/2/global.bash |
215 |
|
216 |
diff --git a/ebd/eapi/2/phase.bash b/data/lib/pkgcore/ebd/eapi/2/phase.bash |
217 |
similarity index 100% |
218 |
rename from ebd/eapi/2/phase.bash |
219 |
rename to data/lib/pkgcore/ebd/eapi/2/phase.bash |
220 |
|
221 |
diff --git a/ebd/eapi/2/pkg_nofetch.bash b/data/lib/pkgcore/ebd/eapi/2/pkg_nofetch.bash |
222 |
similarity index 100% |
223 |
rename from ebd/eapi/2/pkg_nofetch.bash |
224 |
rename to data/lib/pkgcore/ebd/eapi/2/pkg_nofetch.bash |
225 |
|
226 |
diff --git a/ebd/eapi/2/src_compile.bash b/data/lib/pkgcore/ebd/eapi/2/src_compile.bash |
227 |
similarity index 100% |
228 |
rename from ebd/eapi/2/src_compile.bash |
229 |
rename to data/lib/pkgcore/ebd/eapi/2/src_compile.bash |
230 |
|
231 |
diff --git a/ebd/eapi/2/src_configure.bash b/data/lib/pkgcore/ebd/eapi/2/src_configure.bash |
232 |
similarity index 100% |
233 |
rename from ebd/eapi/2/src_configure.bash |
234 |
rename to data/lib/pkgcore/ebd/eapi/2/src_configure.bash |
235 |
|
236 |
diff --git a/ebd/eapi/2/src_prepare.bash b/data/lib/pkgcore/ebd/eapi/2/src_prepare.bash |
237 |
similarity index 100% |
238 |
rename from ebd/eapi/2/src_prepare.bash |
239 |
rename to data/lib/pkgcore/ebd/eapi/2/src_prepare.bash |
240 |
|
241 |
diff --git a/ebd/eapi/2/src_test.bash b/data/lib/pkgcore/ebd/eapi/2/src_test.bash |
242 |
similarity index 100% |
243 |
rename from ebd/eapi/2/src_test.bash |
244 |
rename to data/lib/pkgcore/ebd/eapi/2/src_test.bash |
245 |
|
246 |
diff --git a/ebd/eapi/2/src_unpack.bash b/data/lib/pkgcore/ebd/eapi/2/src_unpack.bash |
247 |
similarity index 100% |
248 |
rename from ebd/eapi/2/src_unpack.bash |
249 |
rename to data/lib/pkgcore/ebd/eapi/2/src_unpack.bash |
250 |
|
251 |
diff --git a/ebd/eapi/4/global.bash b/data/lib/pkgcore/ebd/eapi/4/global.bash |
252 |
similarity index 100% |
253 |
rename from ebd/eapi/4/global.bash |
254 |
rename to data/lib/pkgcore/ebd/eapi/4/global.bash |
255 |
|
256 |
diff --git a/ebd/eapi/4/phase.bash b/data/lib/pkgcore/ebd/eapi/4/phase.bash |
257 |
similarity index 100% |
258 |
rename from ebd/eapi/4/phase.bash |
259 |
rename to data/lib/pkgcore/ebd/eapi/4/phase.bash |
260 |
|
261 |
diff --git a/ebd/eapi/4/src_configure.bash b/data/lib/pkgcore/ebd/eapi/4/src_configure.bash |
262 |
similarity index 100% |
263 |
rename from ebd/eapi/4/src_configure.bash |
264 |
rename to data/lib/pkgcore/ebd/eapi/4/src_configure.bash |
265 |
|
266 |
diff --git a/ebd/eapi/4/src_install.bash b/data/lib/pkgcore/ebd/eapi/4/src_install.bash |
267 |
similarity index 100% |
268 |
rename from ebd/eapi/4/src_install.bash |
269 |
rename to data/lib/pkgcore/ebd/eapi/4/src_install.bash |
270 |
|
271 |
diff --git a/ebd/eapi/5/global.bash b/data/lib/pkgcore/ebd/eapi/5/global.bash |
272 |
similarity index 100% |
273 |
rename from ebd/eapi/5/global.bash |
274 |
rename to data/lib/pkgcore/ebd/eapi/5/global.bash |
275 |
|
276 |
diff --git a/ebd/eapi/5/phase.bash b/data/lib/pkgcore/ebd/eapi/5/phase.bash |
277 |
similarity index 100% |
278 |
rename from ebd/eapi/5/phase.bash |
279 |
rename to data/lib/pkgcore/ebd/eapi/5/phase.bash |
280 |
|
281 |
diff --git a/ebd/eapi/5/src_configure.bash b/data/lib/pkgcore/ebd/eapi/5/src_configure.bash |
282 |
similarity index 100% |
283 |
rename from ebd/eapi/5/src_configure.bash |
284 |
rename to data/lib/pkgcore/ebd/eapi/5/src_configure.bash |
285 |
|
286 |
diff --git a/ebd/eapi/6/global.bash b/data/lib/pkgcore/ebd/eapi/6/global.bash |
287 |
similarity index 100% |
288 |
rename from ebd/eapi/6/global.bash |
289 |
rename to data/lib/pkgcore/ebd/eapi/6/global.bash |
290 |
|
291 |
diff --git a/ebd/eapi/6/phase.bash b/data/lib/pkgcore/ebd/eapi/6/phase.bash |
292 |
similarity index 100% |
293 |
rename from ebd/eapi/6/phase.bash |
294 |
rename to data/lib/pkgcore/ebd/eapi/6/phase.bash |
295 |
|
296 |
diff --git a/ebd/eapi/6/src_configure.bash b/data/lib/pkgcore/ebd/eapi/6/src_configure.bash |
297 |
similarity index 100% |
298 |
rename from ebd/eapi/6/src_configure.bash |
299 |
rename to data/lib/pkgcore/ebd/eapi/6/src_configure.bash |
300 |
|
301 |
diff --git a/ebd/eapi/6/src_install.bash b/data/lib/pkgcore/ebd/eapi/6/src_install.bash |
302 |
similarity index 100% |
303 |
rename from ebd/eapi/6/src_install.bash |
304 |
rename to data/lib/pkgcore/ebd/eapi/6/src_install.bash |
305 |
|
306 |
diff --git a/ebd/eapi/6/src_prepare.bash b/data/lib/pkgcore/ebd/eapi/6/src_prepare.bash |
307 |
similarity index 100% |
308 |
rename from ebd/eapi/6/src_prepare.bash |
309 |
rename to data/lib/pkgcore/ebd/eapi/6/src_prepare.bash |
310 |
|
311 |
diff --git a/ebd/eapi/7/global.bash b/data/lib/pkgcore/ebd/eapi/7/global.bash |
312 |
similarity index 100% |
313 |
rename from ebd/eapi/7/global.bash |
314 |
rename to data/lib/pkgcore/ebd/eapi/7/global.bash |
315 |
|
316 |
diff --git a/ebd/eapi/7/src_configure.bash b/data/lib/pkgcore/ebd/eapi/7/src_configure.bash |
317 |
similarity index 100% |
318 |
rename from ebd/eapi/7/src_configure.bash |
319 |
rename to data/lib/pkgcore/ebd/eapi/7/src_configure.bash |
320 |
|
321 |
diff --git a/ebd/eapi/7/src_install.bash b/data/lib/pkgcore/ebd/eapi/7/src_install.bash |
322 |
similarity index 100% |
323 |
rename from ebd/eapi/7/src_install.bash |
324 |
rename to data/lib/pkgcore/ebd/eapi/7/src_install.bash |
325 |
|
326 |
diff --git a/ebd/eapi/8/global.bash b/data/lib/pkgcore/ebd/eapi/8/global.bash |
327 |
similarity index 100% |
328 |
rename from ebd/eapi/8/global.bash |
329 |
rename to data/lib/pkgcore/ebd/eapi/8/global.bash |
330 |
|
331 |
diff --git a/ebd/eapi/8/phase.bash b/data/lib/pkgcore/ebd/eapi/8/phase.bash |
332 |
similarity index 100% |
333 |
rename from ebd/eapi/8/phase.bash |
334 |
rename to data/lib/pkgcore/ebd/eapi/8/phase.bash |
335 |
|
336 |
diff --git a/ebd/eapi/8/src_configure.bash b/data/lib/pkgcore/ebd/eapi/8/src_configure.bash |
337 |
similarity index 100% |
338 |
rename from ebd/eapi/8/src_configure.bash |
339 |
rename to data/lib/pkgcore/ebd/eapi/8/src_configure.bash |
340 |
|
341 |
diff --git a/ebd/eapi/common.bash b/data/lib/pkgcore/ebd/eapi/common.bash |
342 |
similarity index 100% |
343 |
rename from ebd/eapi/common.bash |
344 |
rename to data/lib/pkgcore/ebd/eapi/common.bash |
345 |
|
346 |
diff --git a/ebd/eapi/depend.bash b/data/lib/pkgcore/ebd/eapi/depend.bash |
347 |
similarity index 100% |
348 |
rename from ebd/eapi/depend.bash |
349 |
rename to data/lib/pkgcore/ebd/eapi/depend.bash |
350 |
|
351 |
diff --git a/ebd/ebuild-daemon-lib.bash b/data/lib/pkgcore/ebd/ebuild-daemon-lib.bash |
352 |
similarity index 100% |
353 |
rename from ebd/ebuild-daemon-lib.bash |
354 |
rename to data/lib/pkgcore/ebd/ebuild-daemon-lib.bash |
355 |
|
356 |
diff --git a/ebd/ebuild-daemon.bash b/data/lib/pkgcore/ebd/ebuild-daemon.bash |
357 |
similarity index 100% |
358 |
rename from ebd/ebuild-daemon.bash |
359 |
rename to data/lib/pkgcore/ebd/ebuild-daemon.bash |
360 |
|
361 |
diff --git a/ebd/ebuild-default-functions.bash b/data/lib/pkgcore/ebd/ebuild-default-functions.bash |
362 |
similarity index 100% |
363 |
rename from ebd/ebuild-default-functions.bash |
364 |
rename to data/lib/pkgcore/ebd/ebuild-default-functions.bash |
365 |
|
366 |
diff --git a/ebd/ebuild-env-utils.bash b/data/lib/pkgcore/ebd/ebuild-env-utils.bash |
367 |
similarity index 100% |
368 |
rename from ebd/ebuild-env-utils.bash |
369 |
rename to data/lib/pkgcore/ebd/ebuild-env-utils.bash |
370 |
|
371 |
diff --git a/ebd/ebuild.bash b/data/lib/pkgcore/ebd/ebuild.bash |
372 |
similarity index 100% |
373 |
rename from ebd/ebuild.bash |
374 |
rename to data/lib/pkgcore/ebd/ebuild.bash |
375 |
|
376 |
diff --git a/ebd/exit-handling.bash b/data/lib/pkgcore/ebd/exit-handling.bash |
377 |
similarity index 100% |
378 |
rename from ebd/exit-handling.bash |
379 |
rename to data/lib/pkgcore/ebd/exit-handling.bash |
380 |
|
381 |
diff --git a/ebd/generate_eapi_cmd_list b/data/lib/pkgcore/ebd/generate_eapi_cmd_list |
382 |
similarity index 100% |
383 |
rename from ebd/generate_eapi_cmd_list |
384 |
rename to data/lib/pkgcore/ebd/generate_eapi_cmd_list |
385 |
|
386 |
diff --git a/ebd/generate_eapi_func_list b/data/lib/pkgcore/ebd/generate_eapi_func_list |
387 |
similarity index 100% |
388 |
rename from ebd/generate_eapi_func_list |
389 |
rename to data/lib/pkgcore/ebd/generate_eapi_func_list |
390 |
|
391 |
diff --git a/ebd/generate_eapi_lib b/data/lib/pkgcore/ebd/generate_eapi_lib |
392 |
similarity index 100% |
393 |
rename from ebd/generate_eapi_lib |
394 |
rename to data/lib/pkgcore/ebd/generate_eapi_lib |
395 |
|
396 |
diff --git a/ebd/generate_global_func_list b/data/lib/pkgcore/ebd/generate_global_func_list |
397 |
similarity index 100% |
398 |
rename from ebd/generate_global_func_list |
399 |
rename to data/lib/pkgcore/ebd/generate_global_func_list |
400 |
|
401 |
diff --git a/ebd/helpers/0/dosed b/data/lib/pkgcore/ebd/helpers/0/dosed |
402 |
similarity index 100% |
403 |
rename from ebd/helpers/0/dosed |
404 |
rename to data/lib/pkgcore/ebd/helpers/0/dosed |
405 |
|
406 |
diff --git a/ebd/helpers/0/emake b/data/lib/pkgcore/ebd/helpers/0/emake |
407 |
similarity index 100% |
408 |
rename from ebd/helpers/0/emake |
409 |
rename to data/lib/pkgcore/ebd/helpers/0/emake |
410 |
|
411 |
diff --git a/ebd/helpers/0/pkg_postinst/fowners b/data/lib/pkgcore/ebd/helpers/0/pkg_postinst/fowners |
412 |
similarity index 100% |
413 |
rename from ebd/helpers/0/pkg_postinst/fowners |
414 |
rename to data/lib/pkgcore/ebd/helpers/0/pkg_postinst/fowners |
415 |
|
416 |
diff --git a/ebd/helpers/0/pkg_postinst/fperms b/data/lib/pkgcore/ebd/helpers/0/pkg_postinst/fperms |
417 |
similarity index 100% |
418 |
rename from ebd/helpers/0/pkg_postinst/fperms |
419 |
rename to data/lib/pkgcore/ebd/helpers/0/pkg_postinst/fperms |
420 |
|
421 |
diff --git a/ebd/helpers/0/pkg_postinst/keepdir b/data/lib/pkgcore/ebd/helpers/0/pkg_postinst/keepdir |
422 |
similarity index 100% |
423 |
rename from ebd/helpers/0/pkg_postinst/keepdir |
424 |
rename to data/lib/pkgcore/ebd/helpers/0/pkg_postinst/keepdir |
425 |
|
426 |
diff --git a/ebd/helpers/0/pkg_preinst/dodir b/data/lib/pkgcore/ebd/helpers/0/pkg_preinst/dodir |
427 |
similarity index 100% |
428 |
rename from ebd/helpers/0/pkg_preinst/dodir |
429 |
rename to data/lib/pkgcore/ebd/helpers/0/pkg_preinst/dodir |
430 |
|
431 |
diff --git a/ebd/helpers/0/pkg_preinst/fowners b/data/lib/pkgcore/ebd/helpers/0/pkg_preinst/fowners |
432 |
similarity index 100% |
433 |
rename from ebd/helpers/0/pkg_preinst/fowners |
434 |
rename to data/lib/pkgcore/ebd/helpers/0/pkg_preinst/fowners |
435 |
|
436 |
diff --git a/ebd/helpers/0/pkg_preinst/fperms b/data/lib/pkgcore/ebd/helpers/0/pkg_preinst/fperms |
437 |
similarity index 100% |
438 |
rename from ebd/helpers/0/pkg_preinst/fperms |
439 |
rename to data/lib/pkgcore/ebd/helpers/0/pkg_preinst/fperms |
440 |
|
441 |
diff --git a/ebd/helpers/0/pkg_preinst/keepdir b/data/lib/pkgcore/ebd/helpers/0/pkg_preinst/keepdir |
442 |
similarity index 100% |
443 |
rename from ebd/helpers/0/pkg_preinst/keepdir |
444 |
rename to data/lib/pkgcore/ebd/helpers/0/pkg_preinst/keepdir |
445 |
|
446 |
diff --git a/ebd/helpers/0/src_install/dobin b/data/lib/pkgcore/ebd/helpers/0/src_install/dobin |
447 |
similarity index 100% |
448 |
rename from ebd/helpers/0/src_install/dobin |
449 |
rename to data/lib/pkgcore/ebd/helpers/0/src_install/dobin |
450 |
|
451 |
diff --git a/ebd/helpers/0/src_install/doconfd b/data/lib/pkgcore/ebd/helpers/0/src_install/doconfd |
452 |
similarity index 100% |
453 |
rename from ebd/helpers/0/src_install/doconfd |
454 |
rename to data/lib/pkgcore/ebd/helpers/0/src_install/doconfd |
455 |
|
456 |
diff --git a/ebd/helpers/0/src_install/dodir b/data/lib/pkgcore/ebd/helpers/0/src_install/dodir |
457 |
similarity index 100% |
458 |
rename from ebd/helpers/0/src_install/dodir |
459 |
rename to data/lib/pkgcore/ebd/helpers/0/src_install/dodir |
460 |
|
461 |
diff --git a/ebd/helpers/0/src_install/dodoc b/data/lib/pkgcore/ebd/helpers/0/src_install/dodoc |
462 |
similarity index 100% |
463 |
rename from ebd/helpers/0/src_install/dodoc |
464 |
rename to data/lib/pkgcore/ebd/helpers/0/src_install/dodoc |
465 |
|
466 |
diff --git a/ebd/helpers/0/src_install/doenvd b/data/lib/pkgcore/ebd/helpers/0/src_install/doenvd |
467 |
similarity index 100% |
468 |
rename from ebd/helpers/0/src_install/doenvd |
469 |
rename to data/lib/pkgcore/ebd/helpers/0/src_install/doenvd |
470 |
|
471 |
diff --git a/ebd/helpers/0/src_install/doexe b/data/lib/pkgcore/ebd/helpers/0/src_install/doexe |
472 |
similarity index 100% |
473 |
rename from ebd/helpers/0/src_install/doexe |
474 |
rename to data/lib/pkgcore/ebd/helpers/0/src_install/doexe |
475 |
|
476 |
diff --git a/ebd/helpers/0/src_install/dohard b/data/lib/pkgcore/ebd/helpers/0/src_install/dohard |
477 |
similarity index 100% |
478 |
rename from ebd/helpers/0/src_install/dohard |
479 |
rename to data/lib/pkgcore/ebd/helpers/0/src_install/dohard |
480 |
|
481 |
diff --git a/ebd/helpers/0/src_install/dohtml b/data/lib/pkgcore/ebd/helpers/0/src_install/dohtml |
482 |
similarity index 100% |
483 |
rename from ebd/helpers/0/src_install/dohtml |
484 |
rename to data/lib/pkgcore/ebd/helpers/0/src_install/dohtml |
485 |
|
486 |
diff --git a/ebd/helpers/0/src_install/doinfo b/data/lib/pkgcore/ebd/helpers/0/src_install/doinfo |
487 |
similarity index 100% |
488 |
rename from ebd/helpers/0/src_install/doinfo |
489 |
rename to data/lib/pkgcore/ebd/helpers/0/src_install/doinfo |
490 |
|
491 |
diff --git a/ebd/helpers/0/src_install/doinitd b/data/lib/pkgcore/ebd/helpers/0/src_install/doinitd |
492 |
similarity index 100% |
493 |
rename from ebd/helpers/0/src_install/doinitd |
494 |
rename to data/lib/pkgcore/ebd/helpers/0/src_install/doinitd |
495 |
|
496 |
diff --git a/ebd/helpers/0/src_install/doins b/data/lib/pkgcore/ebd/helpers/0/src_install/doins |
497 |
similarity index 100% |
498 |
rename from ebd/helpers/0/src_install/doins |
499 |
rename to data/lib/pkgcore/ebd/helpers/0/src_install/doins |
500 |
|
501 |
diff --git a/ebd/helpers/0/src_install/dolib b/data/lib/pkgcore/ebd/helpers/0/src_install/dolib |
502 |
similarity index 100% |
503 |
rename from ebd/helpers/0/src_install/dolib |
504 |
rename to data/lib/pkgcore/ebd/helpers/0/src_install/dolib |
505 |
|
506 |
diff --git a/ebd/helpers/0/src_install/dolib.a b/data/lib/pkgcore/ebd/helpers/0/src_install/dolib.a |
507 |
similarity index 100% |
508 |
rename from ebd/helpers/0/src_install/dolib.a |
509 |
rename to data/lib/pkgcore/ebd/helpers/0/src_install/dolib.a |
510 |
|
511 |
diff --git a/ebd/helpers/0/src_install/dolib.so b/data/lib/pkgcore/ebd/helpers/0/src_install/dolib.so |
512 |
similarity index 100% |
513 |
rename from ebd/helpers/0/src_install/dolib.so |
514 |
rename to data/lib/pkgcore/ebd/helpers/0/src_install/dolib.so |
515 |
|
516 |
diff --git a/ebd/helpers/0/src_install/doman b/data/lib/pkgcore/ebd/helpers/0/src_install/doman |
517 |
similarity index 100% |
518 |
rename from ebd/helpers/0/src_install/doman |
519 |
rename to data/lib/pkgcore/ebd/helpers/0/src_install/doman |
520 |
|
521 |
diff --git a/ebd/helpers/0/src_install/domo b/data/lib/pkgcore/ebd/helpers/0/src_install/domo |
522 |
similarity index 100% |
523 |
rename from ebd/helpers/0/src_install/domo |
524 |
rename to data/lib/pkgcore/ebd/helpers/0/src_install/domo |
525 |
|
526 |
diff --git a/ebd/helpers/0/src_install/dosbin b/data/lib/pkgcore/ebd/helpers/0/src_install/dosbin |
527 |
similarity index 100% |
528 |
rename from ebd/helpers/0/src_install/dosbin |
529 |
rename to data/lib/pkgcore/ebd/helpers/0/src_install/dosbin |
530 |
|
531 |
diff --git a/ebd/helpers/0/src_install/dosym b/data/lib/pkgcore/ebd/helpers/0/src_install/dosym |
532 |
similarity index 100% |
533 |
rename from ebd/helpers/0/src_install/dosym |
534 |
rename to data/lib/pkgcore/ebd/helpers/0/src_install/dosym |
535 |
|
536 |
diff --git a/ebd/helpers/0/src_install/fowners b/data/lib/pkgcore/ebd/helpers/0/src_install/fowners |
537 |
similarity index 100% |
538 |
rename from ebd/helpers/0/src_install/fowners |
539 |
rename to data/lib/pkgcore/ebd/helpers/0/src_install/fowners |
540 |
|
541 |
diff --git a/ebd/helpers/0/src_install/fperms b/data/lib/pkgcore/ebd/helpers/0/src_install/fperms |
542 |
similarity index 100% |
543 |
rename from ebd/helpers/0/src_install/fperms |
544 |
rename to data/lib/pkgcore/ebd/helpers/0/src_install/fperms |
545 |
|
546 |
diff --git a/ebd/helpers/0/src_install/keepdir b/data/lib/pkgcore/ebd/helpers/0/src_install/keepdir |
547 |
similarity index 100% |
548 |
rename from ebd/helpers/0/src_install/keepdir |
549 |
rename to data/lib/pkgcore/ebd/helpers/0/src_install/keepdir |
550 |
|
551 |
diff --git a/ebd/helpers/0/src_install/newbin b/data/lib/pkgcore/ebd/helpers/0/src_install/newbin |
552 |
similarity index 100% |
553 |
rename from ebd/helpers/0/src_install/newbin |
554 |
rename to data/lib/pkgcore/ebd/helpers/0/src_install/newbin |
555 |
|
556 |
diff --git a/ebd/helpers/0/src_install/newconfd b/data/lib/pkgcore/ebd/helpers/0/src_install/newconfd |
557 |
similarity index 100% |
558 |
rename from ebd/helpers/0/src_install/newconfd |
559 |
rename to data/lib/pkgcore/ebd/helpers/0/src_install/newconfd |
560 |
|
561 |
diff --git a/ebd/helpers/0/src_install/newdoc b/data/lib/pkgcore/ebd/helpers/0/src_install/newdoc |
562 |
similarity index 100% |
563 |
rename from ebd/helpers/0/src_install/newdoc |
564 |
rename to data/lib/pkgcore/ebd/helpers/0/src_install/newdoc |
565 |
|
566 |
diff --git a/ebd/helpers/0/src_install/newenvd b/data/lib/pkgcore/ebd/helpers/0/src_install/newenvd |
567 |
similarity index 100% |
568 |
rename from ebd/helpers/0/src_install/newenvd |
569 |
rename to data/lib/pkgcore/ebd/helpers/0/src_install/newenvd |
570 |
|
571 |
diff --git a/ebd/helpers/0/src_install/newexe b/data/lib/pkgcore/ebd/helpers/0/src_install/newexe |
572 |
similarity index 100% |
573 |
rename from ebd/helpers/0/src_install/newexe |
574 |
rename to data/lib/pkgcore/ebd/helpers/0/src_install/newexe |
575 |
|
576 |
diff --git a/ebd/helpers/0/src_install/newinitd b/data/lib/pkgcore/ebd/helpers/0/src_install/newinitd |
577 |
similarity index 100% |
578 |
rename from ebd/helpers/0/src_install/newinitd |
579 |
rename to data/lib/pkgcore/ebd/helpers/0/src_install/newinitd |
580 |
|
581 |
diff --git a/ebd/helpers/0/src_install/newins b/data/lib/pkgcore/ebd/helpers/0/src_install/newins |
582 |
similarity index 100% |
583 |
rename from ebd/helpers/0/src_install/newins |
584 |
rename to data/lib/pkgcore/ebd/helpers/0/src_install/newins |
585 |
|
586 |
diff --git a/ebd/helpers/0/src_install/newlib.a b/data/lib/pkgcore/ebd/helpers/0/src_install/newlib.a |
587 |
similarity index 100% |
588 |
rename from ebd/helpers/0/src_install/newlib.a |
589 |
rename to data/lib/pkgcore/ebd/helpers/0/src_install/newlib.a |
590 |
|
591 |
diff --git a/ebd/helpers/0/src_install/newlib.so b/data/lib/pkgcore/ebd/helpers/0/src_install/newlib.so |
592 |
similarity index 100% |
593 |
rename from ebd/helpers/0/src_install/newlib.so |
594 |
rename to data/lib/pkgcore/ebd/helpers/0/src_install/newlib.so |
595 |
|
596 |
diff --git a/ebd/helpers/0/src_install/newman b/data/lib/pkgcore/ebd/helpers/0/src_install/newman |
597 |
similarity index 100% |
598 |
rename from ebd/helpers/0/src_install/newman |
599 |
rename to data/lib/pkgcore/ebd/helpers/0/src_install/newman |
600 |
|
601 |
diff --git a/ebd/helpers/0/src_install/newsbin b/data/lib/pkgcore/ebd/helpers/0/src_install/newsbin |
602 |
similarity index 100% |
603 |
rename from ebd/helpers/0/src_install/newsbin |
604 |
rename to data/lib/pkgcore/ebd/helpers/0/src_install/newsbin |
605 |
|
606 |
diff --git a/ebd/helpers/4/dosed b/data/lib/pkgcore/ebd/helpers/4/dosed |
607 |
similarity index 100% |
608 |
rename from ebd/helpers/4/dosed |
609 |
rename to data/lib/pkgcore/ebd/helpers/4/dosed |
610 |
|
611 |
diff --git a/ebd/helpers/4/src_install/dohard b/data/lib/pkgcore/ebd/helpers/4/src_install/dohard |
612 |
similarity index 100% |
613 |
rename from ebd/helpers/4/src_install/dohard |
614 |
rename to data/lib/pkgcore/ebd/helpers/4/src_install/dohard |
615 |
|
616 |
diff --git a/ebd/helpers/5/src_install/doheader b/data/lib/pkgcore/ebd/helpers/5/src_install/doheader |
617 |
similarity index 100% |
618 |
rename from ebd/helpers/5/src_install/doheader |
619 |
rename to data/lib/pkgcore/ebd/helpers/5/src_install/doheader |
620 |
|
621 |
diff --git a/ebd/helpers/5/src_install/newheader b/data/lib/pkgcore/ebd/helpers/5/src_install/newheader |
622 |
similarity index 100% |
623 |
rename from ebd/helpers/5/src_install/newheader |
624 |
rename to data/lib/pkgcore/ebd/helpers/5/src_install/newheader |
625 |
|
626 |
diff --git a/ebd/helpers/6/src_install/dohtml b/data/lib/pkgcore/ebd/helpers/6/src_install/dohtml |
627 |
similarity index 100% |
628 |
rename from ebd/helpers/6/src_install/dohtml |
629 |
rename to data/lib/pkgcore/ebd/helpers/6/src_install/dohtml |
630 |
|
631 |
diff --git a/ebd/helpers/7/nonfatal b/data/lib/pkgcore/ebd/helpers/7/nonfatal |
632 |
similarity index 100% |
633 |
rename from ebd/helpers/7/nonfatal |
634 |
rename to data/lib/pkgcore/ebd/helpers/7/nonfatal |
635 |
|
636 |
diff --git a/ebd/helpers/7/src_install/dohtml b/data/lib/pkgcore/ebd/helpers/7/src_install/dohtml |
637 |
similarity index 100% |
638 |
rename from ebd/helpers/7/src_install/dohtml |
639 |
rename to data/lib/pkgcore/ebd/helpers/7/src_install/dohtml |
640 |
|
641 |
diff --git a/ebd/helpers/7/src_install/dolib b/data/lib/pkgcore/ebd/helpers/7/src_install/dolib |
642 |
similarity index 100% |
643 |
rename from ebd/helpers/7/src_install/dolib |
644 |
rename to data/lib/pkgcore/ebd/helpers/7/src_install/dolib |
645 |
|
646 |
diff --git a/ebd/helpers/8/src_install/doconfd b/data/lib/pkgcore/ebd/helpers/8/src_install/doconfd |
647 |
similarity index 100% |
648 |
rename from ebd/helpers/8/src_install/doconfd |
649 |
rename to data/lib/pkgcore/ebd/helpers/8/src_install/doconfd |
650 |
|
651 |
diff --git a/ebd/helpers/8/src_install/doenvd b/data/lib/pkgcore/ebd/helpers/8/src_install/doenvd |
652 |
similarity index 100% |
653 |
rename from ebd/helpers/8/src_install/doenvd |
654 |
rename to data/lib/pkgcore/ebd/helpers/8/src_install/doenvd |
655 |
|
656 |
diff --git a/ebd/helpers/8/src_install/doheader b/data/lib/pkgcore/ebd/helpers/8/src_install/doheader |
657 |
similarity index 100% |
658 |
rename from ebd/helpers/8/src_install/doheader |
659 |
rename to data/lib/pkgcore/ebd/helpers/8/src_install/doheader |
660 |
|
661 |
diff --git a/ebd/helpers/8/src_install/doinitd b/data/lib/pkgcore/ebd/helpers/8/src_install/doinitd |
662 |
similarity index 100% |
663 |
rename from ebd/helpers/8/src_install/doinitd |
664 |
rename to data/lib/pkgcore/ebd/helpers/8/src_install/doinitd |
665 |
|
666 |
diff --git a/ebd/helpers/common/pkgcore-ebuild-helper b/data/lib/pkgcore/ebd/helpers/common/pkgcore-ebuild-helper |
667 |
similarity index 100% |
668 |
rename from ebd/helpers/common/pkgcore-ebuild-helper |
669 |
rename to data/lib/pkgcore/ebd/helpers/common/pkgcore-ebuild-helper |
670 |
|
671 |
diff --git a/ebd/helpers/common/pkgcore-ipc-helper b/data/lib/pkgcore/ebd/helpers/common/pkgcore-ipc-helper |
672 |
similarity index 100% |
673 |
rename from ebd/helpers/common/pkgcore-ipc-helper |
674 |
rename to data/lib/pkgcore/ebd/helpers/common/pkgcore-ipc-helper |
675 |
|
676 |
diff --git a/ebd/helpers/common/prepalldocs b/data/lib/pkgcore/ebd/helpers/common/prepalldocs |
677 |
similarity index 100% |
678 |
rename from ebd/helpers/common/prepalldocs |
679 |
rename to data/lib/pkgcore/ebd/helpers/common/prepalldocs |
680 |
|
681 |
diff --git a/ebd/helpers/common/prepallstrip b/data/lib/pkgcore/ebd/helpers/common/prepallstrip |
682 |
similarity index 100% |
683 |
rename from ebd/helpers/common/prepallstrip |
684 |
rename to data/lib/pkgcore/ebd/helpers/common/prepallstrip |
685 |
|
686 |
diff --git a/ebd/helpers/common/prepinfo b/data/lib/pkgcore/ebd/helpers/common/prepinfo |
687 |
similarity index 100% |
688 |
rename from ebd/helpers/common/prepinfo |
689 |
rename to data/lib/pkgcore/ebd/helpers/common/prepinfo |
690 |
|
691 |
diff --git a/ebd/helpers/common/prepman b/data/lib/pkgcore/ebd/helpers/common/prepman |
692 |
similarity index 100% |
693 |
rename from ebd/helpers/common/prepman |
694 |
rename to data/lib/pkgcore/ebd/helpers/common/prepman |
695 |
|
696 |
diff --git a/ebd/helpers/common/prepstrip b/data/lib/pkgcore/ebd/helpers/common/prepstrip |
697 |
similarity index 100% |
698 |
rename from ebd/helpers/common/prepstrip |
699 |
rename to data/lib/pkgcore/ebd/helpers/common/prepstrip |
700 |
|
701 |
diff --git a/ebd/helpers/internals/_generic_new b/data/lib/pkgcore/ebd/helpers/internals/_generic_new |
702 |
similarity index 100% |
703 |
rename from ebd/helpers/internals/_generic_new |
704 |
rename to data/lib/pkgcore/ebd/helpers/internals/_generic_new |
705 |
|
706 |
diff --git a/ebd/helpers/internals/banned b/data/lib/pkgcore/ebd/helpers/internals/banned |
707 |
similarity index 100% |
708 |
rename from ebd/helpers/internals/banned |
709 |
rename to data/lib/pkgcore/ebd/helpers/internals/banned |
710 |
|
711 |
diff --git a/ebd/helpers/internals/deprecated b/data/lib/pkgcore/ebd/helpers/internals/deprecated |
712 |
similarity index 100% |
713 |
rename from ebd/helpers/internals/deprecated |
714 |
rename to data/lib/pkgcore/ebd/helpers/internals/deprecated |
715 |
|
716 |
diff --git a/ebd/helpers/internals/helper-lib.bash b/data/lib/pkgcore/ebd/helpers/internals/helper-lib.bash |
717 |
similarity index 100% |
718 |
rename from ebd/helpers/internals/helper-lib.bash |
719 |
rename to data/lib/pkgcore/ebd/helpers/internals/helper-lib.bash |
720 |
|
721 |
diff --git a/ebd/helpers/internals/prepall b/data/lib/pkgcore/ebd/helpers/internals/prepall |
722 |
similarity index 100% |
723 |
rename from ebd/helpers/internals/prepall |
724 |
rename to data/lib/pkgcore/ebd/helpers/internals/prepall |
725 |
|
726 |
diff --git a/ebd/isolated-functions.bash b/data/lib/pkgcore/ebd/isolated-functions.bash |
727 |
similarity index 100% |
728 |
rename from ebd/isolated-functions.bash |
729 |
rename to data/lib/pkgcore/ebd/isolated-functions.bash |
730 |
|
731 |
diff --git a/shell/bash/pkgcore.bash b/data/lib/pkgcore/shell/bash/pkgcore.bash |
732 |
similarity index 100% |
733 |
rename from shell/bash/pkgcore.bash |
734 |
rename to data/lib/pkgcore/shell/bash/pkgcore.bash |
735 |
|
736 |
diff --git a/shell/bin/pkgcore-sh-helper b/data/lib/pkgcore/shell/bin/pkgcore-sh-helper |
737 |
similarity index 100% |
738 |
rename from shell/bin/pkgcore-sh-helper |
739 |
rename to data/lib/pkgcore/shell/bin/pkgcore-sh-helper |
740 |
|
741 |
diff --git a/shell/bin/psite b/data/lib/pkgcore/shell/bin/psite |
742 |
similarity index 100% |
743 |
rename from shell/bin/psite |
744 |
rename to data/lib/pkgcore/shell/bin/psite |
745 |
|
746 |
diff --git a/shell/pkgcore.sh b/data/lib/pkgcore/shell/pkgcore.sh |
747 |
similarity index 100% |
748 |
rename from shell/pkgcore.sh |
749 |
rename to data/lib/pkgcore/shell/pkgcore.sh |
750 |
|
751 |
diff --git a/shell/zsh/pkgcore.zsh b/data/lib/pkgcore/shell/zsh/pkgcore.zsh |
752 |
similarity index 100% |
753 |
rename from shell/zsh/pkgcore.zsh |
754 |
rename to data/lib/pkgcore/shell/zsh/pkgcore.zsh |
755 |
|
756 |
diff --git a/shell/bash/completion/pquery b/data/share/bash-completion/completions/pquery |
757 |
similarity index 100% |
758 |
rename from shell/bash/completion/pquery |
759 |
rename to data/share/bash-completion/completions/pquery |
760 |
|
761 |
diff --git a/data/config/make.globals b/data/share/pkgcore/config/make.globals |
762 |
similarity index 100% |
763 |
rename from data/config/make.globals |
764 |
rename to data/share/pkgcore/config/make.globals |
765 |
|
766 |
diff --git a/data/config/repos.conf b/data/share/pkgcore/config/repos.conf |
767 |
similarity index 100% |
768 |
rename from data/config/repos.conf |
769 |
rename to data/share/pkgcore/config/repos.conf |
770 |
|
771 |
diff --git a/data/stubconfig/repos.conf b/data/share/pkgcore/stubconfig/repos.conf |
772 |
similarity index 100% |
773 |
rename from data/stubconfig/repos.conf |
774 |
rename to data/share/pkgcore/stubconfig/repos.conf |
775 |
|
776 |
diff --git a/data/stubrepo/metadata/layout.conf b/data/share/pkgcore/stubrepo/metadata/layout.conf |
777 |
similarity index 100% |
778 |
rename from data/stubrepo/metadata/layout.conf |
779 |
rename to data/share/pkgcore/stubrepo/metadata/layout.conf |
780 |
|
781 |
diff --git a/data/stubrepo/profiles/arch.list b/data/share/pkgcore/stubrepo/profiles/arch.list |
782 |
similarity index 100% |
783 |
rename from data/stubrepo/profiles/arch.list |
784 |
rename to data/share/pkgcore/stubrepo/profiles/arch.list |
785 |
|
786 |
diff --git a/data/stubrepo/profiles/default/make.defaults b/data/share/pkgcore/stubrepo/profiles/default/make.defaults |
787 |
similarity index 100% |
788 |
rename from data/stubrepo/profiles/default/make.defaults |
789 |
rename to data/share/pkgcore/stubrepo/profiles/default/make.defaults |
790 |
|
791 |
diff --git a/data/stubrepo/profiles/profiles.desc b/data/share/pkgcore/stubrepo/profiles/profiles.desc |
792 |
similarity index 100% |
793 |
rename from data/stubrepo/profiles/profiles.desc |
794 |
rename to data/share/pkgcore/stubrepo/profiles/profiles.desc |
795 |
|
796 |
diff --git a/data/stubrepo/profiles/repo_name b/data/share/pkgcore/stubrepo/profiles/repo_name |
797 |
similarity index 100% |
798 |
rename from data/stubrepo/profiles/repo_name |
799 |
rename to data/share/pkgcore/stubrepo/profiles/repo_name |
800 |
|
801 |
diff --git a/data/xml-schema/metadata.xsd b/data/share/pkgcore/xml-schema/metadata.xsd |
802 |
similarity index 100% |
803 |
rename from data/xml-schema/metadata.xsd |
804 |
rename to data/share/pkgcore/xml-schema/metadata.xsd |
805 |
|
806 |
diff --git a/shell/zsh/completion/_pkgcore b/data/share/zsh/site-functions/_pkgcore |
807 |
similarity index 100% |
808 |
rename from shell/zsh/completion/_pkgcore |
809 |
rename to data/share/zsh/site-functions/_pkgcore |
810 |
|
811 |
diff --git a/setup.py b/setup.py |
812 |
index 38cb7bb85..58d65dbe1 100755 |
813 |
--- a/setup.py |
814 |
+++ b/setup.py |
815 |
@@ -1,10 +1,8 @@ |
816 |
#!/usr/bin/env python3 |
817 |
|
818 |
-import glob |
819 |
import os |
820 |
import subprocess |
821 |
import sys |
822 |
-from itertools import chain |
823 |
|
824 |
from setuptools import setup |
825 |
from setuptools._distutils import log |
826 |
@@ -21,6 +19,7 @@ CONFIG_INSTALL_OFFSET = os.path.join(DATA_INSTALL_OFFSET, 'config') |
827 |
LIBDIR_INSTALL_OFFSET = 'lib/pkgcore' |
828 |
EBD_INSTALL_OFFSET = os.path.join(LIBDIR_INSTALL_OFFSET, 'ebd') |
829 |
|
830 |
+EBD_SCRIPTS_DIR = os.path.join(pkgdist.REPODIR, 'data/lib/pkgcore/ebd') |
831 |
|
832 |
class sdist(pkgdist.sdist): |
833 |
"""sdist wrapper to bundle generated files for release.""" |
834 |
@@ -30,12 +29,12 @@ class sdist(pkgdist.sdist): |
835 |
import shutil |
836 |
|
837 |
# generate function lists so they don't need to be created on install |
838 |
- write_pkgcore_ebd_funclists(root='/', target='ebd/.generated') |
839 |
- write_pkgcore_ebd_cmdlists(root='/', target='ebd/.generated') |
840 |
- write_pkgcore_ebd_eapi_libs(root='/', target='ebd/.generated') |
841 |
+ write_pkgcore_ebd_funclists(root='/', target='data/lib/pkgcore/ebd/.generated') |
842 |
+ write_pkgcore_ebd_cmdlists(root='/', target='data/lib/pkgcore/ebd/.generated') |
843 |
+ write_pkgcore_ebd_eapi_libs(root='/', target='data/lib/pkgcore/ebd/.generated') |
844 |
shutil.copytree( |
845 |
- os.path.join(pkgdist.REPODIR, 'ebd', '.generated'), |
846 |
- os.path.join(base_dir, 'ebd', '.generated')) |
847 |
+ os.path.join(pkgdist.REPODIR, 'data/lib/pkgcore/ebd/.generated'), |
848 |
+ os.path.join(base_dir, 'data/lib/pkgcore/ebd/.generated')) |
849 |
|
850 |
pkgdist.sdist.make_release_tree(self, base_dir, files) |
851 |
|
852 |
@@ -84,7 +83,7 @@ def write_pkgcore_ebd_funclists(root, target): |
853 |
log.info(f'writing ebd global function list: {path!r}') |
854 |
with open(path, 'w') as f: |
855 |
if subprocess.call( |
856 |
- [os.path.join(pkgdist.REPODIR, 'ebd', 'generate_global_func_list')], |
857 |
+ [os.path.join(EBD_SCRIPTS_DIR, 'generate_global_func_list')], |
858 |
cwd=ebd_dir, stdout=f): |
859 |
raise DistutilsExecError("generating global function list failed") |
860 |
|
861 |
@@ -97,7 +96,7 @@ def write_pkgcore_ebd_funclists(root, target): |
862 |
log.info(f'writing EAPI {eapi} function list: {path!r}') |
863 |
with open(path, 'w') as f: |
864 |
if subprocess.call( |
865 |
- [os.path.join(pkgdist.REPODIR, 'ebd', 'generate_eapi_func_list'), eapi], |
866 |
+ [os.path.join(EBD_SCRIPTS_DIR, 'generate_eapi_func_list'), eapi], |
867 |
cwd=ebd_dir, stdout=f): |
868 |
raise DistutilsExecError(f"generating EAPI {eapi} function list failed") |
869 |
|
870 |
@@ -110,6 +109,7 @@ def write_pkgcore_ebd_cmdlists(root, target): |
871 |
os.makedirs(os.path.join(ebd_dir, 'cmds'), exist_ok=True) |
872 |
|
873 |
# generate EAPI specific command lists |
874 |
+ script = os.path.join(EBD_SCRIPTS_DIR, 'generate_eapi_cmd_list') |
875 |
with pkgdist.syspath(pkgdist.PACKAGEDIR): |
876 |
from pkgcore.ebuild.eapi import EAPI |
877 |
for eapi_obj in EAPI.known_eapis.values(): |
878 |
@@ -120,7 +120,7 @@ def write_pkgcore_ebd_cmdlists(root, target): |
879 |
log.info(f'writing EAPI {eapi} banned command list: {path!r}') |
880 |
with open(path, 'w') as f: |
881 |
if subprocess.call( |
882 |
- [os.path.join(pkgdist.REPODIR, 'ebd', 'generate_eapi_cmd_list'), '-b', eapi], |
883 |
+ [script, '-b', eapi], |
884 |
cwd=ebd_dir, stdout=f): |
885 |
raise DistutilsExecError(f'generating EAPI {eapi} banned command list failed') |
886 |
|
887 |
@@ -128,7 +128,7 @@ def write_pkgcore_ebd_cmdlists(root, target): |
888 |
log.info(f'writing EAPI {eapi} deprecated command list: {path!r}') |
889 |
with open(path, 'w') as f: |
890 |
if subprocess.call( |
891 |
- [os.path.join(pkgdist.REPODIR, 'ebd', 'generate_eapi_cmd_list'), '-d', eapi], |
892 |
+ [script, '-d', eapi], |
893 |
cwd=ebd_dir, stdout=f): |
894 |
raise DistutilsExecError(f'generating EAPI {eapi} deprecated command list failed') |
895 |
|
896 |
@@ -136,7 +136,7 @@ def write_pkgcore_ebd_cmdlists(root, target): |
897 |
log.info(f'writing EAPI {eapi} internal command list: {path!r}') |
898 |
with open(path, 'w') as f: |
899 |
if subprocess.call( |
900 |
- [os.path.join(pkgdist.REPODIR, 'ebd', 'generate_eapi_cmd_list'), '-i', eapi], |
901 |
+ [script, '-i', eapi], |
902 |
cwd=ebd_dir, stdout=f): |
903 |
raise DistutilsExecError(f'generating EAPI {eapi} internal command list failed') |
904 |
|
905 |
@@ -147,7 +147,7 @@ def write_pkgcore_ebd_eapi_libs(root, target): |
906 |
if root != '/': |
907 |
ebd_dir = os.path.join(root, target.lstrip('/')) |
908 |
|
909 |
- script = os.path.join(pkgdist.REPODIR, 'ebd', 'generate_eapi_lib') |
910 |
+ script = os.path.join(EBD_SCRIPTS_DIR, 'generate_eapi_lib') |
911 |
with pkgdist.syspath(pkgdist.PACKAGEDIR): |
912 |
from pkgcore.ebuild.eapi import EAPI |
913 |
for eapi_obj in EAPI.known_eapis.values(): |
914 |
@@ -238,16 +238,7 @@ setup(**dict( |
915 |
author='Tim Harder', |
916 |
author_email='radhermit@×××××.com', |
917 |
entry_points={'pytest11': ['pkgcore = pkgcore.pytest.plugin']}, |
918 |
- data_files=list(chain( |
919 |
- pkgdist.data_mapping(EBD_INSTALL_OFFSET, 'ebd'), |
920 |
- pkgdist.data_mapping(DATA_INSTALL_OFFSET, 'data'), |
921 |
- pkgdist.data_mapping('share/bash-completion/completions', 'shell/bash/completion'), |
922 |
- pkgdist.data_mapping('share/zsh/site-functions', 'shell/zsh/completion'), |
923 |
- pkgdist.data_mapping( |
924 |
- os.path.join(LIBDIR_INSTALL_OFFSET, 'shell'), 'shell', |
925 |
- skip=glob.glob('shell/*/completion'), |
926 |
- ), |
927 |
- )), |
928 |
+ data_files=list(pkgdist.data_mapping('.', 'data')), |
929 |
cmdclass=dict( |
930 |
pkgdist_cmds, |
931 |
sdist=sdist, |
932 |
|
933 |
diff --git a/src/pkgcore/const.py b/src/pkgcore/const.py |
934 |
index 023508408..f5dde16a3 100644 |
935 |
--- a/src/pkgcore/const.py |
936 |
+++ b/src/pkgcore/const.py |
937 |
@@ -49,8 +49,8 @@ SYSTEM_CONF_FILE = '/etc/pkgcore/pkgcore.conf' |
938 |
SYSTEM_CACHE_PATH = '/var/cache/pkgcore' |
939 |
|
940 |
REPO_PATH = _GET_CONST('REPO_PATH', _reporoot) |
941 |
-DATA_PATH = _GET_CONST('DATA_PATH', '%(REPO_PATH)s/data') |
942 |
+DATA_PATH = _GET_CONST('DATA_PATH', '%(REPO_PATH)s/data/share/pkgcore') |
943 |
LIBDIR_PATH = _GET_CONST('LIBDIR_PATH', '%(REPO_PATH)s') |
944 |
-CONFIG_PATH = _GET_CONST('CONFIG_PATH', '%(REPO_PATH)s/data/config') |
945 |
+CONFIG_PATH = _GET_CONST('CONFIG_PATH', '%(DATA_PATH)s/config') |
946 |
PATH_FORCED_PREPEND = _GET_CONST('INJECTED_BIN_PATH', ('%(REPO_PATH)s/bin',)) |
947 |
CP_BINARY = _GET_CONST('CP_BINARY', '/bin/cp') |
948 |
|
949 |
diff --git a/src/pkgcore/ebuild/const.py b/src/pkgcore/ebuild/const.py |
950 |
index 78b0256b8..c32fa9ba7 100644 |
951 |
--- a/src/pkgcore/ebuild/const.py |
952 |
+++ b/src/pkgcore/ebuild/const.py |
953 |
@@ -25,7 +25,7 @@ metadata_keys = ( |
954 |
|
955 |
WORLD_FILE = '/var/lib/portage/world' |
956 |
|
957 |
-EBD_PATH = const._GET_CONST('EBD_PATH', '%(REPO_PATH)s/ebd') |
958 |
+EBD_PATH = const._GET_CONST('EBD_PATH', '%(REPO_PATH)s/data/lib/pkgcore/ebd') |
959 |
EBUILD_DAEMON_PATH = pjoin(EBD_PATH, "ebuild-daemon.bash") |
960 |
EBUILD_HELPERS_PATH = pjoin(EBD_PATH, "helpers") |