1 |
commit: fad7f93efac8cb3f0530b63c4df5b72731c2e4bc |
2 |
Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 4 15:06:36 2019 +0000 |
4 |
Commit: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 4 15:06:39 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fad7f93e |
7 |
|
8 |
dev-db/pgadmin4: Bump to 4.10 |
9 |
|
10 |
Package-Manager: Portage-2.3.66, Repoman-2.3.11 |
11 |
Signed-off-by: Aaron W. Swenson <titanofold <AT> gentoo.org> |
12 |
|
13 |
dev-db/pgadmin4/Manifest | 1 + |
14 |
dev-db/pgadmin4/pgadmin4-4.10.ebuild | 124 +++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 125 insertions(+) |
16 |
|
17 |
diff --git a/dev-db/pgadmin4/Manifest b/dev-db/pgadmin4/Manifest |
18 |
index 25f06e583f2..58070e21f70 100644 |
19 |
--- a/dev-db/pgadmin4/Manifest |
20 |
+++ b/dev-db/pgadmin4/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
+DIST pgadmin4-4.10.tar.gz 22809776 BLAKE2B 70a9857de31721b1cd5816b9e15abf325516f94ad5248f3ce5387cca5081ba96d7fca6c487265960ffac8d63c2fd09c3dea44d24a1cc9f8dbb170bd76d5de545 SHA512 b7f91d85fdc39766a294d9b66e8539f709b99f971726551d013345595161ff017e03505f05a41352575892be9d9622e86f4ccdbac76bcea435e2fb88a690b565 |
23 |
DIST pgadmin4-4.5.tar.gz 22420769 BLAKE2B ae16e34c4cfce0ae78f06321ea1fc34aac0e081df4c0d5906fc4da0c82abb67e374477b8f9a9266d003579eb8887541e4224465ce6eccd86589129e1b3efff24 SHA512 835434612ac2a7ff89fab4c4bed89644e43506491ce12d2b74ffdbc25b33f2ac9ae566c95e886d4b4f8bca6499c40be5f0d776b18bfdcebd44d7ffe3b89deb5f |
24 |
DIST pgadmin4-4.8.tar.gz 22780924 BLAKE2B 7b64ef8ac3782e9c8207d5938f3638d67ddf5c86ca520afbfb296a824b39411362ca6e9d8b03920e35cca38d1303efe81750e5bfc849cfb363f370da3d25ac44 SHA512 68b35c1091435fbeb39e67c7f93038fcba95cd5ae7098434b5d3afee10595f875ef9fd997934f2bbd93c914bcd5c3c71bd43f032f788e55c5795f5ad63b57cd7 |
25 |
|
26 |
diff --git a/dev-db/pgadmin4/pgadmin4-4.10.ebuild b/dev-db/pgadmin4/pgadmin4-4.10.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..31cf045d0bf |
29 |
--- /dev/null |
30 |
+++ b/dev-db/pgadmin4/pgadmin4-4.10.ebuild |
31 |
@@ -0,0 +1,124 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{5,6} ) |
38 |
+PYTHON_REQ_USE="sqlite" |
39 |
+ |
40 |
+inherit python-single-r1 qmake-utils |
41 |
+ |
42 |
+DESCRIPTION="GUI administration and development platform for PostgreSQL" |
43 |
+HOMEPAGE="https://www.pgadmin.org/" |
44 |
+SRC_URI="mirror://postgresql/pgadmin/${PN}/v${PV}/source/${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="POSTGRESQL" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+SLOT="0" |
49 |
+IUSE="doc" |
50 |
+ |
51 |
+RESTRICT="test" |
52 |
+ |
53 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
54 |
+ |
55 |
+COMMON_DEPEND="${PYTHON_DEPS} |
56 |
+ dev-qt/qtnetwork:5 |
57 |
+ dev-qt/qtwidgets:5 |
58 |
+" |
59 |
+ |
60 |
+DEPEND="${COMMON_DEPEND} |
61 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
62 |
+" |
63 |
+ |
64 |
+RDEPEND="${COMMON_DEPEND} |
65 |
+ >=app-text/htmlmin-0.1.12[${PYTHON_USEDEP}] |
66 |
+ >=dev-python/Babel-2.3.4[${PYTHON_USEDEP}] |
67 |
+ >=dev-python/beautifulsoup-4.4.1[${PYTHON_USEDEP}] |
68 |
+ >=dev-python/blinker-1.4[${PYTHON_USEDEP}] |
69 |
+ >=dev-python/click-6.6[${PYTHON_USEDEP}] |
70 |
+ >=dev-python/cryptography-2.2.2-r1[${PYTHON_USEDEP}] |
71 |
+ >=dev-python/extras-1.0.0[${PYTHON_USEDEP}] |
72 |
+ >=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}] |
73 |
+ >=dev-python/flask-0.12.4[${PYTHON_USEDEP}] |
74 |
+ >=dev-python/flask-babel-0.11.1[${PYTHON_USEDEP}] |
75 |
+ >=dev-python/flask-babelex-0.9.3[${PYTHON_USEDEP}] |
76 |
+ >=dev-python/flask-gravatar-0.5.0[${PYTHON_USEDEP}] |
77 |
+ >=dev-python/flask-htmlmin-1.3.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.1.1[${PYTHON_USEDEP}] |
81 |
+ >=dev-python/flask-paranoid-0.2.0[${PYTHON_USEDEP}] |
82 |
+ >=dev-python/flask-principal-0.4.0[${PYTHON_USEDEP}] |
83 |
+ >=dev-python/flask-security-3.0.0[${PYTHON_USEDEP}] |
84 |
+ >=dev-python/flask-sqlalchemy-2.3.2[${PYTHON_USEDEP}] |
85 |
+ >=dev-python/flask-wtf-0.14.2[${PYTHON_USEDEP}] |
86 |
+ >=dev-python/html5lib-1.0.1[${PYTHON_USEDEP}] |
87 |
+ >=dev-python/itsdangerous-0.24[${PYTHON_USEDEP}] |
88 |
+ >=dev-python/jinja-2.7.3[${PYTHON_USEDEP}] |
89 |
+ >=dev-python/linecache2-1.0.0[${PYTHON_USEDEP}] |
90 |
+ >=dev-python/markupsafe-0.23[${PYTHON_USEDEP}] |
91 |
+ >=dev-python/mimeparse-1.6.0[${PYTHON_USEDEP}] |
92 |
+ >=dev-python/passlib-1.7.1[${PYTHON_USEDEP}] |
93 |
+ >=dev-python/pbr-3.1.1[${PYTHON_USEDEP}] |
94 |
+ >=dev-python/psutil-5.4.7[${PYTHON_USEDEP}] |
95 |
+ >=dev-python/psycopg-2.7.4[${PYTHON_USEDEP}] |
96 |
+ >=dev-python/pyrsistent-0.14.2[${PYTHON_USEDEP}] |
97 |
+ >=dev-python/python-dateutil-2.7.1[${PYTHON_USEDEP}] |
98 |
+ >=dev-python/python-sqlparse-0.2.4[${PYTHON_USEDEP}] |
99 |
+ >=dev-python/pytz-2018.3[${PYTHON_USEDEP}] |
100 |
+ >=dev-python/simplejson-3.13.2[${PYTHON_USEDEP}] |
101 |
+ >=dev-python/six-1.11.0[${PYTHON_USEDEP}] |
102 |
+ >=dev-python/speaklater-1.3[${PYTHON_USEDEP}] |
103 |
+ >=dev-python/sqlalchemy-1.2.5[${PYTHON_USEDEP}] |
104 |
+ >=dev-python/sshtunnel-0.1.3[${PYTHON_USEDEP}] |
105 |
+ >=dev-python/werkzeug-0.9.6[${PYTHON_USEDEP}] |
106 |
+ >=dev-python/wtforms-2.1[${PYTHON_USEDEP}] |
107 |
+" |
108 |
+ |
109 |
+S="${WORKDIR}"/${P}/runtime |
110 |
+ |
111 |
+src_prepare() { |
112 |
+ cd "${WORKDIR}"/${P} || die |
113 |
+ default |
114 |
+} |
115 |
+ |
116 |
+src_configure() { |
117 |
+ eqmake5 |
118 |
+} |
119 |
+ |
120 |
+src_compile() { |
121 |
+ default |
122 |
+ if use doc; then |
123 |
+ cd "${WORKDIR}"/${P} || die |
124 |
+ emake docs |
125 |
+ fi |
126 |
+} |
127 |
+ |
128 |
+src_install() { |
129 |
+ dobin pgAdmin4 |
130 |
+ |
131 |
+ cd "${WORKDIR}"/${P} || die |
132 |
+ |
133 |
+ local APP_DIR=/usr/share/${PN}/web |
134 |
+ insinto "${APP_DIR}" |
135 |
+ doins -r web/* |
136 |
+ cat > "${D}${APP_DIR}"/config_local.py <<-EOF |
137 |
+ SERVER_MODE = False |
138 |
+ UPGRADE_CHECK_ENABLED = False |
139 |
+ EOF |
140 |
+ python_optimize "${D}${APP_DIR}" |
141 |
+ |
142 |
+ local CONFIG_DIR="/etc/xdg/pgadmin" |
143 |
+ dodir "${CONFIG_DIR}" |
144 |
+ cat > "${D}${CONFIG_DIR}"/pgadmin4.conf <<-EOF |
145 |
+ [General] |
146 |
+ ApplicationPath=${APP_DIR} |
147 |
+ PythonPath=$(python_get_sitedir) |
148 |
+ EOF |
149 |
+ |
150 |
+ if use doc; then |
151 |
+ rm -r docs/en_US/_build/html/_sources || die |
152 |
+ insinto /usr/share/${PN}/docs/en_US/_build |
153 |
+ doins -r docs/en_US/_build/html |
154 |
+ fi |
155 |
+} |