Gentoo Archives: gentoo-commits

From: Aaron Swenson <titanofold@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/pgadmin4/
Date: Sat, 14 Oct 2017 23:32:16
Message-Id: 1508023916.168dfa7fdc872d570ff67284f184199455397ba5.titanofold@gentoo
1 commit: 168dfa7fdc872d570ff67284f184199455397ba5
2 Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 14 23:31:56 2017 +0000
4 Commit: Aaron Swenson <titanofold <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 14 23:31:56 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=168dfa7f
7
8 dev-db/pgadmin4: Remove 1.6 and 2.0-r0
9
10 Clean up old and broken ebuilds.
11
12 Package-Manager: Portage-2.3.8, Repoman-2.3.3
13
14 dev-db/pgadmin4/Manifest | 1 -
15 dev-db/pgadmin4/pgadmin4-1.6.ebuild | 121 ------------------------------------
16 dev-db/pgadmin4/pgadmin4-2.0.ebuild | 121 ------------------------------------
17 3 files changed, 243 deletions(-)
18
19 diff --git a/dev-db/pgadmin4/Manifest b/dev-db/pgadmin4/Manifest
20 index 640aa461c8c..796add4d123 100644
21 --- a/dev-db/pgadmin4/Manifest
22 +++ b/dev-db/pgadmin4/Manifest
23 @@ -1,2 +1 @@
24 -DIST pgadmin4-1.6.tar.gz 24595129 SHA256 514c021994c91eb9adb4a42edcec12974b473175289d48a5824b8c0f4e15e0c8 SHA512 115c2b0f1fd205912ba5fa51426de8c75ce979a075a16434ced3421186794fef756faae58f81c9585359cbe31b7bde24b773cfc886a64d349e656334349f6387 WHIRLPOOL 2697d253cf4a05a57fd06576636ab689c883daea46eae190f57ccb0a88a77e0df5e57bea554aca844beaab4cc9e10ecdf0607a0aee24468ed0602c78073f98c4
25 DIST pgadmin4-2.0.tar.gz 24988176 SHA256 a8c8052d9e61f3ae357810bcabc8ffc8b02a0c39730e1f14d9a920ae7cae6ccb SHA512 463e95a341dec74ac0a08a647af1cbe83b514b0595b8469ab9c7b5335e24604e082b906d530aa735fef7b08c58d8a8a6df3edf5dc65402f6521165f1cbb72f67 WHIRLPOOL 5685a6d7c4fbeb1c4629ab30908e75792ede775afe59895462fe1760b45e33a7b67e5942eabb63400eab9c757aeb1f872d0146161839f304cb2d2b8f133a1ff5
26
27 diff --git a/dev-db/pgadmin4/pgadmin4-1.6.ebuild b/dev-db/pgadmin4/pgadmin4-1.6.ebuild
28 deleted file mode 100644
29 index 9357a0e8f27..00000000000
30 --- a/dev-db/pgadmin4/pgadmin4-1.6.ebuild
31 +++ /dev/null
32 @@ -1,121 +0,0 @@
33 -# Copyright 1999-2017 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=6
37 -
38 -PYTHON_COMPAT=( python3_{4,5} )
39 -PYTHON_REQ_USE="sqlite"
40 -
41 -inherit python-single-r1 qmake-utils
42 -
43 -DESCRIPTION="GUI administration and development platform for PostgreSQL"
44 -HOMEPAGE="http://www.pgadmin.org/"
45 -SRC_URI="mirror://postgresql/pgadmin/${PN}/v${PV}/source/${P}.tar.gz"
46 -
47 -LICENSE="POSTGRESQL"
48 -KEYWORDS="~amd64 ~x86"
49 -SLOT="0"
50 -IUSE="doc"
51 -
52 -RESTRICT="test"
53 -
54 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
55 -
56 -COMMON_DEPEND="${PYTHON_DEPS}
57 - dev-qt/qtwidgets:5
58 - dev-qt/qtwebkit:5
59 - dev-qt/qtwebengine:5[widgets]
60 -"
61 -
62 -DEPEND="${COMMON_DEPEND}
63 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
64 -"
65 -
66 -RDEPEND="${COMMON_DEPEND}
67 - >=app-text/htmlmin-0.1.10[${PYTHON_USEDEP}]
68 - >=dev-python/Babel-2.3.4[${PYTHON_USEDEP}]
69 - >=dev-python/beautifulsoup-4.4.1[${PYTHON_USEDEP}]
70 - >=dev-python/blinker-1.3[${PYTHON_USEDEP}]
71 - >=dev-python/click-6.6[${PYTHON_USEDEP}]
72 - >=dev-python/extras-0.0.3[${PYTHON_USEDEP}]
73 - >=dev-python/fixtures-2.0.0[${PYTHON_USEDEP}]
74 - >=dev-python/flask-0.11.1[${PYTHON_USEDEP}]
75 - >=dev-python/flask-babel-0.11.1[${PYTHON_USEDEP}]
76 - >=dev-python/flask-gravatar-0.4.2[${PYTHON_USEDEP}]
77 - >=dev-python/flask-htmlmin-1.2[${PYTHON_USEDEP}]
78 - >=dev-python/flask-login-0.3.2[${PYTHON_USEDEP}]
79 - >=dev-python/flask-mail-0.9.1[${PYTHON_USEDEP}]
80 - >=dev-python/flask-migrate-2.0.3[${PYTHON_USEDEP}]
81 - >=dev-python/flask-principal-0.4.0[${PYTHON_USEDEP}]
82 - >=dev-python/flask-security-1.7.5[${PYTHON_USEDEP}]
83 - >=dev-python/flask-sqlalchemy-2.1[${PYTHON_USEDEP}]
84 - >=dev-python/flask-wtf-0.12[${PYTHON_USEDEP}]
85 - >=dev-python/html5lib-0.9999999[${PYTHON_USEDEP}]
86 - >=dev-python/itsdangerous-0.24[${PYTHON_USEDEP}]
87 - >=dev-python/jinja-2.7.3[${PYTHON_USEDEP}]
88 - >=dev-python/linecache2-1.0.0[${PYTHON_USEDEP}]
89 - >=dev-python/markupsafe-0.23[${PYTHON_USEDEP}]
90 - >=dev-python/mimeparse-1.5.1[${PYTHON_USEDEP}]
91 - >=dev-python/passlib-1.6.2[${PYTHON_USEDEP}]
92 - >=dev-python/pbr-1.9.1[${PYTHON_USEDEP}]
93 - >=dev-python/psycopg-2.7.1[${PYTHON_USEDEP}]
94 - >=dev-python/pycrypto-2.6.1[${PYTHON_USEDEP}]
95 - >=dev-python/pyrsistent-0.11.13[${PYTHON_USEDEP}]
96 - >=dev-python/python-dateutil-2.5.0[${PYTHON_USEDEP}]
97 - >=dev-python/python-sqlparse-0.1.19[${PYTHON_USEDEP}]
98 - >=dev-python/pytz-2014.10[${PYTHON_USEDEP}]
99 - >=dev-python/simplejson-3.6.5[${PYTHON_USEDEP}]
100 - >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
101 - >=dev-python/speaklater-1.3[${PYTHON_USEDEP}]
102 - >=dev-python/sqlalchemy-1.0.14[${PYTHON_USEDEP}]
103 - >=dev-python/werkzeug-0.9.6[${PYTHON_USEDEP}]
104 - >=dev-python/wtforms-2.0.2[${PYTHON_USEDEP}]
105 -"
106 -
107 -S="${WORKDIR}"/${P}/runtime
108 -
109 -src_prepare() {
110 - cd "${WORKDIR}"/${P} || die
111 - default
112 -}
113 -
114 -src_configure() {
115 - eqmake5
116 -}
117 -
118 -src_compile() {
119 - default
120 - if use doc; then
121 - cd "${WORKDIR}"/${P} || die
122 - emake docs
123 - fi
124 -}
125 -
126 -src_install() {
127 - dobin pgAdmin4
128 -
129 - cd "${WORKDIR}"/${P} || die
130 -
131 - local APP_DIR=/usr/share/${PN}/web
132 - insinto "${APP_DIR}"
133 - doins -r web/*
134 - cat > "${D}${APP_DIR}"/config_local.py <<-EOF
135 - SERVER_MODE = False
136 - UPGRADE_CHECK_ENABLED = False
137 - EOF
138 - python_optimize "${D}${APP_DIR}"
139 -
140 - local CONFIG_DIR="/etc/xdg/pgadmin"
141 - dodir "${CONFIG_DIR}"
142 - cat > "${D}${CONFIG_DIR}"/pgadmin4.conf <<-EOF
143 - [General]
144 - ApplicationPath=${APP_DIR}
145 - PythonPath=$(python_get_sitedir)
146 - EOF
147 -
148 - if use doc; then
149 - rm -r docs/en_US/_build/html/_sources || die
150 - insinto /usr/share/${PN}/docs/en_US/_build
151 - doins -r docs/en_US/_build/html
152 - fi
153 -}
154
155 diff --git a/dev-db/pgadmin4/pgadmin4-2.0.ebuild b/dev-db/pgadmin4/pgadmin4-2.0.ebuild
156 deleted file mode 100644
157 index 9357a0e8f27..00000000000
158 --- a/dev-db/pgadmin4/pgadmin4-2.0.ebuild
159 +++ /dev/null
160 @@ -1,121 +0,0 @@
161 -# Copyright 1999-2017 Gentoo Foundation
162 -# Distributed under the terms of the GNU General Public License v2
163 -
164 -EAPI=6
165 -
166 -PYTHON_COMPAT=( python3_{4,5} )
167 -PYTHON_REQ_USE="sqlite"
168 -
169 -inherit python-single-r1 qmake-utils
170 -
171 -DESCRIPTION="GUI administration and development platform for PostgreSQL"
172 -HOMEPAGE="http://www.pgadmin.org/"
173 -SRC_URI="mirror://postgresql/pgadmin/${PN}/v${PV}/source/${P}.tar.gz"
174 -
175 -LICENSE="POSTGRESQL"
176 -KEYWORDS="~amd64 ~x86"
177 -SLOT="0"
178 -IUSE="doc"
179 -
180 -RESTRICT="test"
181 -
182 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
183 -
184 -COMMON_DEPEND="${PYTHON_DEPS}
185 - dev-qt/qtwidgets:5
186 - dev-qt/qtwebkit:5
187 - dev-qt/qtwebengine:5[widgets]
188 -"
189 -
190 -DEPEND="${COMMON_DEPEND}
191 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
192 -"
193 -
194 -RDEPEND="${COMMON_DEPEND}
195 - >=app-text/htmlmin-0.1.10[${PYTHON_USEDEP}]
196 - >=dev-python/Babel-2.3.4[${PYTHON_USEDEP}]
197 - >=dev-python/beautifulsoup-4.4.1[${PYTHON_USEDEP}]
198 - >=dev-python/blinker-1.3[${PYTHON_USEDEP}]
199 - >=dev-python/click-6.6[${PYTHON_USEDEP}]
200 - >=dev-python/extras-0.0.3[${PYTHON_USEDEP}]
201 - >=dev-python/fixtures-2.0.0[${PYTHON_USEDEP}]
202 - >=dev-python/flask-0.11.1[${PYTHON_USEDEP}]
203 - >=dev-python/flask-babel-0.11.1[${PYTHON_USEDEP}]
204 - >=dev-python/flask-gravatar-0.4.2[${PYTHON_USEDEP}]
205 - >=dev-python/flask-htmlmin-1.2[${PYTHON_USEDEP}]
206 - >=dev-python/flask-login-0.3.2[${PYTHON_USEDEP}]
207 - >=dev-python/flask-mail-0.9.1[${PYTHON_USEDEP}]
208 - >=dev-python/flask-migrate-2.0.3[${PYTHON_USEDEP}]
209 - >=dev-python/flask-principal-0.4.0[${PYTHON_USEDEP}]
210 - >=dev-python/flask-security-1.7.5[${PYTHON_USEDEP}]
211 - >=dev-python/flask-sqlalchemy-2.1[${PYTHON_USEDEP}]
212 - >=dev-python/flask-wtf-0.12[${PYTHON_USEDEP}]
213 - >=dev-python/html5lib-0.9999999[${PYTHON_USEDEP}]
214 - >=dev-python/itsdangerous-0.24[${PYTHON_USEDEP}]
215 - >=dev-python/jinja-2.7.3[${PYTHON_USEDEP}]
216 - >=dev-python/linecache2-1.0.0[${PYTHON_USEDEP}]
217 - >=dev-python/markupsafe-0.23[${PYTHON_USEDEP}]
218 - >=dev-python/mimeparse-1.5.1[${PYTHON_USEDEP}]
219 - >=dev-python/passlib-1.6.2[${PYTHON_USEDEP}]
220 - >=dev-python/pbr-1.9.1[${PYTHON_USEDEP}]
221 - >=dev-python/psycopg-2.7.1[${PYTHON_USEDEP}]
222 - >=dev-python/pycrypto-2.6.1[${PYTHON_USEDEP}]
223 - >=dev-python/pyrsistent-0.11.13[${PYTHON_USEDEP}]
224 - >=dev-python/python-dateutil-2.5.0[${PYTHON_USEDEP}]
225 - >=dev-python/python-sqlparse-0.1.19[${PYTHON_USEDEP}]
226 - >=dev-python/pytz-2014.10[${PYTHON_USEDEP}]
227 - >=dev-python/simplejson-3.6.5[${PYTHON_USEDEP}]
228 - >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
229 - >=dev-python/speaklater-1.3[${PYTHON_USEDEP}]
230 - >=dev-python/sqlalchemy-1.0.14[${PYTHON_USEDEP}]
231 - >=dev-python/werkzeug-0.9.6[${PYTHON_USEDEP}]
232 - >=dev-python/wtforms-2.0.2[${PYTHON_USEDEP}]
233 -"
234 -
235 -S="${WORKDIR}"/${P}/runtime
236 -
237 -src_prepare() {
238 - cd "${WORKDIR}"/${P} || die
239 - default
240 -}
241 -
242 -src_configure() {
243 - eqmake5
244 -}
245 -
246 -src_compile() {
247 - default
248 - if use doc; then
249 - cd "${WORKDIR}"/${P} || die
250 - emake docs
251 - fi
252 -}
253 -
254 -src_install() {
255 - dobin pgAdmin4
256 -
257 - cd "${WORKDIR}"/${P} || die
258 -
259 - local APP_DIR=/usr/share/${PN}/web
260 - insinto "${APP_DIR}"
261 - doins -r web/*
262 - cat > "${D}${APP_DIR}"/config_local.py <<-EOF
263 - SERVER_MODE = False
264 - UPGRADE_CHECK_ENABLED = False
265 - EOF
266 - python_optimize "${D}${APP_DIR}"
267 -
268 - local CONFIG_DIR="/etc/xdg/pgadmin"
269 - dodir "${CONFIG_DIR}"
270 - cat > "${D}${CONFIG_DIR}"/pgadmin4.conf <<-EOF
271 - [General]
272 - ApplicationPath=${APP_DIR}
273 - PythonPath=$(python_get_sitedir)
274 - EOF
275 -
276 - if use doc; then
277 - rm -r docs/en_US/_build/html/_sources || die
278 - insinto /usr/share/${PN}/docs/en_US/_build
279 - doins -r docs/en_US/_build/html
280 - fi
281 -}