1 |
commit: 3b839f1d5bdfc40aaad5d356cca34d279b1ab659 |
2 |
Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 16 12:05:03 2019 +0000 |
4 |
Commit: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 16 12:05:09 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b839f1d |
7 |
|
8 |
dev-db/pgadmin4: Cleanup old |
9 |
|
10 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
11 |
Signed-off-by: Aaron W. Swenson <titanofold <AT> gentoo.org> |
12 |
|
13 |
dev-db/pgadmin4/Manifest | 2 - |
14 |
dev-db/pgadmin4/pgadmin4-3.4-r1.ebuild | 123 -------------------------------- |
15 |
dev-db/pgadmin4/pgadmin4-3.5.ebuild | 124 --------------------------------- |
16 |
dev-db/pgadmin4/pgadmin4-4.2.ebuild | 123 -------------------------------- |
17 |
4 files changed, 372 deletions(-) |
18 |
|
19 |
diff --git a/dev-db/pgadmin4/Manifest b/dev-db/pgadmin4/Manifest |
20 |
index 092a1dc9686..7c6b12e4036 100644 |
21 |
--- a/dev-db/pgadmin4/Manifest |
22 |
+++ b/dev-db/pgadmin4/Manifest |
23 |
@@ -1,4 +1,2 @@ |
24 |
DIST pgadmin4-3.0.tar.gz 28915010 BLAKE2B 7e6dccd91f082f7b5514f5d3abdf4653a9961b4efc706e10ce58d817785d514508233e25068762fe0e4bca4c1a3cf10a2515afa38e6f9ba3c99b4af3fa32f3d2 SHA512 5921340176e6748ef13112d906061f195d4bb2f73917d762371bbaeb44ef66cf8e0edcd1cd241eb78dae46ed0b3af014c749468a930fb0c0983b38b2c54dfc3a |
25 |
-DIST pgadmin4-3.4.tar.gz 30743447 BLAKE2B 4476989dc9bd672810ced56f4c3e6b87f27ec28d693ab6a909b1cdd4ddc0ae51552fe7ac5a3db4382ccded433b1dab239de01697c0709474381c117460a45163 SHA512 57160827a7577b89029a3a621653f2fec9f3b5379a554ea8bcaf80225f32f1ed93e4560ce5d5b499aff2091589e641bdfe82987be46b6155bca3fb072cf2c5e2 |
26 |
-DIST pgadmin4-3.5.tar.gz 31501977 BLAKE2B fbb1ab4ffde62f6a62ff74088d32cfbdb147c5599d713eae46b3ff50972aab7c6aa48ef108d360001dcca8d999cdd0526c6db5f8bfe260bda52dfa4b41678a87 SHA512 6971c003a39fdd2f279fa7a652a32e1554d17d1794fa0b84c4aa3394ab128efbb44299890bd69b07a0ca926d918668fba124f99f3d7271c60ee70616eedd6d1c |
27 |
DIST pgadmin4-4.2.tar.gz 32382384 BLAKE2B c96806302e7c298e9fcdee3ada8fc519431eb3de778c55445de648e2867dc32168c5ad38209da63ac2d181612b2edfdd532f11ccd6020ab187c6fe23ef6272a6 SHA512 d3d242904c65f0af871890954c24005b4849b88599cde9a7cb82e077ff5db5a8c5f015c4af0b135d68f02daad42492af71373831c2212a36672af8d7621c3b2a |
28 |
|
29 |
diff --git a/dev-db/pgadmin4/pgadmin4-3.4-r1.ebuild b/dev-db/pgadmin4/pgadmin4-3.4-r1.ebuild |
30 |
deleted file mode 100644 |
31 |
index 18064c0d8ee..00000000000 |
32 |
--- a/dev-db/pgadmin4/pgadmin4-3.4-r1.ebuild |
33 |
+++ /dev/null |
34 |
@@ -1,123 +0,0 @@ |
35 |
-# Copyright 1999-2018 Gentoo Authors |
36 |
-# Distributed under the terms of the GNU General Public License v2 |
37 |
- |
38 |
-EAPI=6 |
39 |
- |
40 |
-PYTHON_COMPAT=( python3_{4,5,6} ) |
41 |
-PYTHON_REQ_USE="sqlite" |
42 |
- |
43 |
-inherit python-single-r1 qmake-utils |
44 |
- |
45 |
-DESCRIPTION="GUI administration and development platform for PostgreSQL" |
46 |
-HOMEPAGE="https://www.pgadmin.org/" |
47 |
-SRC_URI="mirror://postgresql/pgadmin/${PN}/v${PV}/source/${P}.tar.gz" |
48 |
- |
49 |
-LICENSE="POSTGRESQL" |
50 |
-KEYWORDS="~amd64 ~x86" |
51 |
-SLOT="0" |
52 |
-IUSE="doc" |
53 |
- |
54 |
-RESTRICT="test" |
55 |
- |
56 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
57 |
- |
58 |
-COMMON_DEPEND="${PYTHON_DEPS} |
59 |
- dev-qt/qtnetwork:5 |
60 |
- dev-qt/qtwidgets:5 |
61 |
-" |
62 |
- |
63 |
-DEPEND="${COMMON_DEPEND} |
64 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
65 |
-" |
66 |
- |
67 |
-RDEPEND="${COMMON_DEPEND} |
68 |
- >=app-text/htmlmin-0.1.12[${PYTHON_USEDEP}] |
69 |
- >=dev-python/Babel-2.3.4[${PYTHON_USEDEP}] |
70 |
- >=dev-python/beautifulsoup-4.4.1[${PYTHON_USEDEP}] |
71 |
- >=dev-python/blinker-1.4[${PYTHON_USEDEP}] |
72 |
- >=dev-python/click-6.6[${PYTHON_USEDEP}] |
73 |
- >=dev-python/extras-1.0.0[${PYTHON_USEDEP}] |
74 |
- >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] |
75 |
- >=dev-python/flask-1.0.2[${PYTHON_USEDEP}] |
76 |
- >=dev-python/flask-babel-0.11.1[${PYTHON_USEDEP}] |
77 |
- >=dev-python/flask-babelex-0.9.3[${PYTHON_USEDEP}] |
78 |
- >=dev-python/flask-gravatar-0.5.0[${PYTHON_USEDEP}] |
79 |
- >=dev-python/flask-htmlmin-1.3.2[${PYTHON_USEDEP}] |
80 |
- >=dev-python/flask-login-0.3.2[${PYTHON_USEDEP}] |
81 |
- >=dev-python/flask-mail-0.9.1[${PYTHON_USEDEP}] |
82 |
- >=dev-python/flask-migrate-2.1.1[${PYTHON_USEDEP}] |
83 |
- >=dev-python/flask-paranoid-0.2.0[${PYTHON_USEDEP}] |
84 |
- >=dev-python/flask-principal-0.4.0[${PYTHON_USEDEP}] |
85 |
- >=dev-python/flask-security-3.0.0[${PYTHON_USEDEP}] |
86 |
- >=dev-python/flask-sqlalchemy-2.3.2[${PYTHON_USEDEP}] |
87 |
- >=dev-python/flask-wtf-0.14.2[${PYTHON_USEDEP}] |
88 |
- >=dev-python/html5lib-1.0.1[${PYTHON_USEDEP}] |
89 |
- >=dev-python/itsdangerous-0.24[${PYTHON_USEDEP}] |
90 |
- >=dev-python/jinja-2.7.3[${PYTHON_USEDEP}] |
91 |
- >=dev-python/linecache2-1.0.0[${PYTHON_USEDEP}] |
92 |
- >=dev-python/markupsafe-0.23[${PYTHON_USEDEP}] |
93 |
- >=dev-python/mimeparse-1.6.0[${PYTHON_USEDEP}] |
94 |
- >=dev-python/passlib-1.7.1[${PYTHON_USEDEP}] |
95 |
- >=dev-python/pbr-3.1.1[${PYTHON_USEDEP}] |
96 |
- >=dev-python/psycopg-2.7.4[${PYTHON_USEDEP}] |
97 |
- >=dev-python/pycrypto-2.6.1[${PYTHON_USEDEP}] |
98 |
- >=dev-python/pyrsistent-0.14.2[${PYTHON_USEDEP}] |
99 |
- >=dev-python/python-dateutil-2.7.1[${PYTHON_USEDEP}] |
100 |
- >=dev-python/python-sqlparse-0.2.4[${PYTHON_USEDEP}] |
101 |
- >=dev-python/pytz-2018.3[${PYTHON_USEDEP}] |
102 |
- >=dev-python/simplejson-3.13.2[${PYTHON_USEDEP}] |
103 |
- >=dev-python/six-1.11.0[${PYTHON_USEDEP}] |
104 |
- >=dev-python/speaklater-1.3[${PYTHON_USEDEP}] |
105 |
- >=dev-python/sqlalchemy-1.2.5[${PYTHON_USEDEP}] |
106 |
- >=dev-python/sshtunnel-0.1.3[${PYTHON_USEDEP}] |
107 |
- >=dev-python/werkzeug-0.9.6[${PYTHON_USEDEP}] |
108 |
- >=dev-python/wtforms-2.1[${PYTHON_USEDEP}] |
109 |
-" |
110 |
- |
111 |
-S="${WORKDIR}"/${P}/runtime |
112 |
- |
113 |
-src_prepare() { |
114 |
- cd "${WORKDIR}"/${P} || die |
115 |
- default |
116 |
-} |
117 |
- |
118 |
-src_configure() { |
119 |
- eqmake5 |
120 |
-} |
121 |
- |
122 |
-src_compile() { |
123 |
- default |
124 |
- if use doc; then |
125 |
- cd "${WORKDIR}"/${P} || die |
126 |
- emake docs |
127 |
- fi |
128 |
-} |
129 |
- |
130 |
-src_install() { |
131 |
- dobin pgAdmin4 |
132 |
- |
133 |
- cd "${WORKDIR}"/${P} || die |
134 |
- |
135 |
- local APP_DIR=/usr/share/${PN}/web |
136 |
- insinto "${APP_DIR}" |
137 |
- doins -r web/* |
138 |
- cat > "${D}${APP_DIR}"/config_local.py <<-EOF |
139 |
- SERVER_MODE = False |
140 |
- UPGRADE_CHECK_ENABLED = False |
141 |
- EOF |
142 |
- python_optimize "${D}${APP_DIR}" |
143 |
- |
144 |
- local CONFIG_DIR="/etc/xdg/pgadmin" |
145 |
- dodir "${CONFIG_DIR}" |
146 |
- cat > "${D}${CONFIG_DIR}"/pgadmin4.conf <<-EOF |
147 |
- [General] |
148 |
- ApplicationPath=${APP_DIR} |
149 |
- PythonPath=$(python_get_sitedir) |
150 |
- EOF |
151 |
- |
152 |
- if use doc; then |
153 |
- rm -r docs/en_US/_build/html/_sources || die |
154 |
- insinto /usr/share/${PN}/docs/en_US/_build |
155 |
- doins -r docs/en_US/_build/html |
156 |
- fi |
157 |
-} |
158 |
|
159 |
diff --git a/dev-db/pgadmin4/pgadmin4-3.5.ebuild b/dev-db/pgadmin4/pgadmin4-3.5.ebuild |
160 |
deleted file mode 100644 |
161 |
index f0db6c59553..00000000000 |
162 |
--- a/dev-db/pgadmin4/pgadmin4-3.5.ebuild |
163 |
+++ /dev/null |
164 |
@@ -1,124 +0,0 @@ |
165 |
-# Copyright 1999-2018 Gentoo Authors |
166 |
-# Distributed under the terms of the GNU General Public License v2 |
167 |
- |
168 |
-EAPI=6 |
169 |
- |
170 |
-PYTHON_COMPAT=( python3_{4,5,6} ) |
171 |
-PYTHON_REQ_USE="sqlite" |
172 |
- |
173 |
-inherit python-single-r1 qmake-utils |
174 |
- |
175 |
-DESCRIPTION="GUI administration and development platform for PostgreSQL" |
176 |
-HOMEPAGE="https://www.pgadmin.org/" |
177 |
-SRC_URI="mirror://postgresql/pgadmin/${PN}/v${PV}/source/${P}.tar.gz" |
178 |
- |
179 |
-LICENSE="POSTGRESQL" |
180 |
-KEYWORDS="~amd64 ~x86" |
181 |
-SLOT="0" |
182 |
-IUSE="doc" |
183 |
- |
184 |
-RESTRICT="test" |
185 |
- |
186 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
187 |
- |
188 |
-COMMON_DEPEND="${PYTHON_DEPS} |
189 |
- dev-qt/qtnetwork:5 |
190 |
- dev-qt/qtwidgets:5 |
191 |
-" |
192 |
- |
193 |
-DEPEND="${COMMON_DEPEND} |
194 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
195 |
-" |
196 |
- |
197 |
-RDEPEND="${COMMON_DEPEND} |
198 |
- >=app-text/htmlmin-0.1.12[${PYTHON_USEDEP}] |
199 |
- >=dev-python/Babel-2.3.4[${PYTHON_USEDEP}] |
200 |
- >=dev-python/beautifulsoup-4.4.1[${PYTHON_USEDEP}] |
201 |
- >=dev-python/blinker-1.4[${PYTHON_USEDEP}] |
202 |
- >=dev-python/click-6.6[${PYTHON_USEDEP}] |
203 |
- >=dev-python/extras-1.0.0[${PYTHON_USEDEP}] |
204 |
- >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] |
205 |
- >=dev-python/flask-0.12.4[${PYTHON_USEDEP}] |
206 |
- >=dev-python/flask-babel-0.11.1[${PYTHON_USEDEP}] |
207 |
- >=dev-python/flask-babelex-0.9.3[${PYTHON_USEDEP}] |
208 |
- >=dev-python/flask-gravatar-0.5.0[${PYTHON_USEDEP}] |
209 |
- >=dev-python/flask-htmlmin-1.3.2[${PYTHON_USEDEP}] |
210 |
- >=dev-python/flask-login-0.3.2[${PYTHON_USEDEP}] |
211 |
- >=dev-python/flask-mail-0.9.1[${PYTHON_USEDEP}] |
212 |
- >=dev-python/flask-migrate-2.1.1[${PYTHON_USEDEP}] |
213 |
- >=dev-python/flask-paranoid-0.2.0[${PYTHON_USEDEP}] |
214 |
- >=dev-python/flask-principal-0.4.0[${PYTHON_USEDEP}] |
215 |
- >=dev-python/flask-security-3.0.0[${PYTHON_USEDEP}] |
216 |
- >=dev-python/flask-sqlalchemy-2.3.2[${PYTHON_USEDEP}] |
217 |
- >=dev-python/flask-wtf-0.14.2[${PYTHON_USEDEP}] |
218 |
- >=dev-python/html5lib-1.0.1[${PYTHON_USEDEP}] |
219 |
- >=dev-python/itsdangerous-0.24[${PYTHON_USEDEP}] |
220 |
- >=dev-python/jinja-2.7.3[${PYTHON_USEDEP}] |
221 |
- >=dev-python/linecache2-1.0.0[${PYTHON_USEDEP}] |
222 |
- >=dev-python/markupsafe-0.23[${PYTHON_USEDEP}] |
223 |
- >=dev-python/mimeparse-1.6.0[${PYTHON_USEDEP}] |
224 |
- >=dev-python/passlib-1.7.1[${PYTHON_USEDEP}] |
225 |
- >=dev-python/pbr-3.1.1[${PYTHON_USEDEP}] |
226 |
- >=dev-python/psutil-5.4.7[${PYTHON_USEDEP}] |
227 |
- >=dev-python/psycopg-2.7.4[${PYTHON_USEDEP}] |
228 |
- >=dev-python/pycrypto-2.6.1[${PYTHON_USEDEP}] |
229 |
- >=dev-python/pyrsistent-0.14.2[${PYTHON_USEDEP}] |
230 |
- >=dev-python/python-dateutil-2.7.1[${PYTHON_USEDEP}] |
231 |
- >=dev-python/python-sqlparse-0.2.4[${PYTHON_USEDEP}] |
232 |
- >=dev-python/pytz-2018.3[${PYTHON_USEDEP}] |
233 |
- >=dev-python/simplejson-3.13.2[${PYTHON_USEDEP}] |
234 |
- >=dev-python/six-1.11.0[${PYTHON_USEDEP}] |
235 |
- >=dev-python/speaklater-1.3[${PYTHON_USEDEP}] |
236 |
- >=dev-python/sqlalchemy-1.2.5[${PYTHON_USEDEP}] |
237 |
- >=dev-python/sshtunnel-0.1.3[${PYTHON_USEDEP}] |
238 |
- >=dev-python/werkzeug-0.9.6[${PYTHON_USEDEP}] |
239 |
- >=dev-python/wtforms-2.1[${PYTHON_USEDEP}] |
240 |
-" |
241 |
- |
242 |
-S="${WORKDIR}"/${P}/runtime |
243 |
- |
244 |
-src_prepare() { |
245 |
- cd "${WORKDIR}"/${P} || die |
246 |
- default |
247 |
-} |
248 |
- |
249 |
-src_configure() { |
250 |
- eqmake5 |
251 |
-} |
252 |
- |
253 |
-src_compile() { |
254 |
- default |
255 |
- if use doc; then |
256 |
- cd "${WORKDIR}"/${P} || die |
257 |
- emake docs |
258 |
- fi |
259 |
-} |
260 |
- |
261 |
-src_install() { |
262 |
- dobin pgAdmin4 |
263 |
- |
264 |
- cd "${WORKDIR}"/${P} || die |
265 |
- |
266 |
- local APP_DIR=/usr/share/${PN}/web |
267 |
- insinto "${APP_DIR}" |
268 |
- doins -r web/* |
269 |
- cat > "${D}${APP_DIR}"/config_local.py <<-EOF |
270 |
- SERVER_MODE = False |
271 |
- UPGRADE_CHECK_ENABLED = False |
272 |
- EOF |
273 |
- python_optimize "${D}${APP_DIR}" |
274 |
- |
275 |
- local CONFIG_DIR="/etc/xdg/pgadmin" |
276 |
- dodir "${CONFIG_DIR}" |
277 |
- cat > "${D}${CONFIG_DIR}"/pgadmin4.conf <<-EOF |
278 |
- [General] |
279 |
- ApplicationPath=${APP_DIR} |
280 |
- PythonPath=$(python_get_sitedir) |
281 |
- EOF |
282 |
- |
283 |
- if use doc; then |
284 |
- rm -r docs/en_US/_build/html/_sources || die |
285 |
- insinto /usr/share/${PN}/docs/en_US/_build |
286 |
- doins -r docs/en_US/_build/html |
287 |
- fi |
288 |
-} |
289 |
|
290 |
diff --git a/dev-db/pgadmin4/pgadmin4-4.2.ebuild b/dev-db/pgadmin4/pgadmin4-4.2.ebuild |
291 |
deleted file mode 100644 |
292 |
index 3c0954e74f3..00000000000 |
293 |
--- a/dev-db/pgadmin4/pgadmin4-4.2.ebuild |
294 |
+++ /dev/null |
295 |
@@ -1,123 +0,0 @@ |
296 |
-# Copyright 1999-2019 Gentoo Authors |
297 |
-# Distributed under the terms of the GNU General Public License v2 |
298 |
- |
299 |
-EAPI=6 |
300 |
- |
301 |
-PYTHON_COMPAT=( python3_{4,5,6} ) |
302 |
-PYTHON_REQ_USE="sqlite" |
303 |
- |
304 |
-inherit python-single-r1 qmake-utils |
305 |
- |
306 |
-DESCRIPTION="GUI administration and development platform for PostgreSQL" |
307 |
-HOMEPAGE="https://www.pgadmin.org/" |
308 |
-SRC_URI="mirror://postgresql/pgadmin/${PN}/v${PV}/source/${P}.tar.gz" |
309 |
- |
310 |
-LICENSE="POSTGRESQL" |
311 |
-KEYWORDS="~amd64 ~x86" |
312 |
-SLOT="0" |
313 |
-IUSE="doc" |
314 |
- |
315 |
-RESTRICT="test" |
316 |
- |
317 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
318 |
- |
319 |
-COMMON_DEPEND="${PYTHON_DEPS} |
320 |
- dev-qt/qtnetwork:5 |
321 |
- dev-qt/qtwidgets:5 |
322 |
-" |
323 |
- |
324 |
-DEPEND="${COMMON_DEPEND} |
325 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
326 |
-" |
327 |
- |
328 |
-RDEPEND="${COMMON_DEPEND} |
329 |
- >=app-text/htmlmin-0.1.12[${PYTHON_USEDEP}] |
330 |
- >=dev-python/Babel-2.3.4[${PYTHON_USEDEP}] |
331 |
- >=dev-python/beautifulsoup-4.4.1[${PYTHON_USEDEP}] |
332 |
- >=dev-python/blinker-1.4[${PYTHON_USEDEP}] |
333 |
- >=dev-python/click-6.6[${PYTHON_USEDEP}] |
334 |
- >=dev-python/extras-1.0.0[${PYTHON_USEDEP}] |
335 |
- >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] |
336 |
- >=dev-python/flask-0.12.4[${PYTHON_USEDEP}] |
337 |
- >=dev-python/flask-babel-0.11.1[${PYTHON_USEDEP}] |
338 |
- >=dev-python/flask-babelex-0.9.3[${PYTHON_USEDEP}] |
339 |
- >=dev-python/flask-gravatar-0.5.0[${PYTHON_USEDEP}] |
340 |
- >=dev-python/flask-htmlmin-1.3.2[${PYTHON_USEDEP}] |
341 |
- >=dev-python/flask-login-0.3.2[${PYTHON_USEDEP}] |
342 |
- >=dev-python/flask-mail-0.9.1[${PYTHON_USEDEP}] |
343 |
- >=dev-python/flask-migrate-2.1.1[${PYTHON_USEDEP}] |
344 |
- >=dev-python/flask-paranoid-0.2.0[${PYTHON_USEDEP}] |
345 |
- >=dev-python/flask-principal-0.4.0[${PYTHON_USEDEP}] |
346 |
- >=dev-python/flask-security-3.0.0[${PYTHON_USEDEP}] |
347 |
- >=dev-python/flask-sqlalchemy-2.3.2[${PYTHON_USEDEP}] |
348 |
- >=dev-python/flask-wtf-0.14.2[${PYTHON_USEDEP}] |
349 |
- >=dev-python/html5lib-1.0.1[${PYTHON_USEDEP}] |
350 |
- >=dev-python/itsdangerous-0.24[${PYTHON_USEDEP}] |
351 |
- >=dev-python/jinja-2.7.3[${PYTHON_USEDEP}] |
352 |
- >=dev-python/linecache2-1.0.0[${PYTHON_USEDEP}] |
353 |
- >=dev-python/markupsafe-0.23[${PYTHON_USEDEP}] |
354 |
- >=dev-python/mimeparse-1.6.0[${PYTHON_USEDEP}] |
355 |
- >=dev-python/passlib-1.7.1[${PYTHON_USEDEP}] |
356 |
- >=dev-python/pbr-3.1.1[${PYTHON_USEDEP}] |
357 |
- >=dev-python/psutil-5.4.7[${PYTHON_USEDEP}] |
358 |
- >=dev-python/psycopg-2.7.4[${PYTHON_USEDEP}] |
359 |
- >=dev-python/pyrsistent-0.14.2[${PYTHON_USEDEP}] |
360 |
- >=dev-python/python-dateutil-2.7.1[${PYTHON_USEDEP}] |
361 |
- >=dev-python/python-sqlparse-0.2.4[${PYTHON_USEDEP}] |
362 |
- >=dev-python/pytz-2018.3[${PYTHON_USEDEP}] |
363 |
- >=dev-python/simplejson-3.13.2[${PYTHON_USEDEP}] |
364 |
- >=dev-python/six-1.11.0[${PYTHON_USEDEP}] |
365 |
- >=dev-python/speaklater-1.3[${PYTHON_USEDEP}] |
366 |
- >=dev-python/sqlalchemy-1.2.5[${PYTHON_USEDEP}] |
367 |
- >=dev-python/sshtunnel-0.1.3[${PYTHON_USEDEP}] |
368 |
- >=dev-python/werkzeug-0.9.6[${PYTHON_USEDEP}] |
369 |
- >=dev-python/wtforms-2.1[${PYTHON_USEDEP}] |
370 |
-" |
371 |
- |
372 |
-S="${WORKDIR}"/${P}/runtime |
373 |
- |
374 |
-src_prepare() { |
375 |
- cd "${WORKDIR}"/${P} || die |
376 |
- default |
377 |
-} |
378 |
- |
379 |
-src_configure() { |
380 |
- eqmake5 |
381 |
-} |
382 |
- |
383 |
-src_compile() { |
384 |
- default |
385 |
- if use doc; then |
386 |
- cd "${WORKDIR}"/${P} || die |
387 |
- emake docs |
388 |
- fi |
389 |
-} |
390 |
- |
391 |
-src_install() { |
392 |
- dobin pgAdmin4 |
393 |
- |
394 |
- cd "${WORKDIR}"/${P} || die |
395 |
- |
396 |
- local APP_DIR=/usr/share/${PN}/web |
397 |
- insinto "${APP_DIR}" |
398 |
- doins -r web/* |
399 |
- cat > "${D}${APP_DIR}"/config_local.py <<-EOF |
400 |
- SERVER_MODE = False |
401 |
- UPGRADE_CHECK_ENABLED = False |
402 |
- EOF |
403 |
- python_optimize "${D}${APP_DIR}" |
404 |
- |
405 |
- local CONFIG_DIR="/etc/xdg/pgadmin" |
406 |
- dodir "${CONFIG_DIR}" |
407 |
- cat > "${D}${CONFIG_DIR}"/pgadmin4.conf <<-EOF |
408 |
- [General] |
409 |
- ApplicationPath=${APP_DIR} |
410 |
- PythonPath=$(python_get_sitedir) |
411 |
- EOF |
412 |
- |
413 |
- if use doc; then |
414 |
- rm -r docs/en_US/_build/html/_sources || die |
415 |
- insinto /usr/share/${PN}/docs/en_US/_build |
416 |
- doins -r docs/en_US/_build/html |
417 |
- fi |
418 |
-} |