1 |
commit: 1218f5c7042155d1c4d5e062a8fd925a812d0e3e |
2 |
Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 18 00:23:55 2019 +0000 |
4 |
Commit: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 18 00:24:14 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1218f5c7 |
7 |
|
8 |
dev-db/pgadmin4: Bump to 4.13 |
9 |
|
10 |
Now require ssl on dev-qt/qtnetwork, and minimal deactivated dev-libs/libsodium. |
11 |
|
12 |
Bug: https://bugs.gentoo.org/689708 |
13 |
Bug: https://bugs.gentoo.org/689678 |
14 |
Closes: https://bugs.gentoo.org/695970 |
15 |
Package-Manager: Portage-2.3.76, Repoman-2.3.16 |
16 |
Signed-off-by: Aaron W. Swenson <titanofold <AT> gentoo.org> |
17 |
|
18 |
dev-db/pgadmin4/Manifest | 1 + |
19 |
dev-db/pgadmin4/pgadmin4-4.13.ebuild | 109 +++++++++++++++++++++++++++++++++++ |
20 |
2 files changed, 110 insertions(+) |
21 |
|
22 |
diff --git a/dev-db/pgadmin4/Manifest b/dev-db/pgadmin4/Manifest |
23 |
index 58070e21f70..dec6dfb5c26 100644 |
24 |
--- a/dev-db/pgadmin4/Manifest |
25 |
+++ b/dev-db/pgadmin4/Manifest |
26 |
@@ -1,3 +1,4 @@ |
27 |
DIST pgadmin4-4.10.tar.gz 22809776 BLAKE2B 70a9857de31721b1cd5816b9e15abf325516f94ad5248f3ce5387cca5081ba96d7fca6c487265960ffac8d63c2fd09c3dea44d24a1cc9f8dbb170bd76d5de545 SHA512 b7f91d85fdc39766a294d9b66e8539f709b99f971726551d013345595161ff017e03505f05a41352575892be9d9622e86f4ccdbac76bcea435e2fb88a690b565 |
28 |
+DIST pgadmin4-4.13.tar.gz 25077107 BLAKE2B afbf0b6fba2f4cbbc1f47ac6c7867b7f131e5698de265a9dda53b79968f237ac591c5ff4da94dde0b74479cac1158ec825f42b14fc01aee13982043822c04443 SHA512 7eca41047e41f7bdce2dfe992260e8c2ab40f985dd232eb240ea9c0024f551f011653717aa0d5e4ccdccd4ef4936102cde1f97a32852d8382dcc222fadce7707 |
29 |
DIST pgadmin4-4.5.tar.gz 22420769 BLAKE2B ae16e34c4cfce0ae78f06321ea1fc34aac0e081df4c0d5906fc4da0c82abb67e374477b8f9a9266d003579eb8887541e4224465ce6eccd86589129e1b3efff24 SHA512 835434612ac2a7ff89fab4c4bed89644e43506491ce12d2b74ffdbc25b33f2ac9ae566c95e886d4b4f8bca6499c40be5f0d776b18bfdcebd44d7ffe3b89deb5f |
30 |
DIST pgadmin4-4.8.tar.gz 22780924 BLAKE2B 7b64ef8ac3782e9c8207d5938f3638d67ddf5c86ca520afbfb296a824b39411362ca6e9d8b03920e35cca38d1303efe81750e5bfc849cfb363f370da3d25ac44 SHA512 68b35c1091435fbeb39e67c7f93038fcba95cd5ae7098434b5d3afee10595f875ef9fd997934f2bbd93c914bcd5c3c71bd43f032f788e55c5795f5ad63b57cd7 |
31 |
|
32 |
diff --git a/dev-db/pgadmin4/pgadmin4-4.13.ebuild b/dev-db/pgadmin4/pgadmin4-4.13.ebuild |
33 |
new file mode 100644 |
34 |
index 00000000000..52a65026ff9 |
35 |
--- /dev/null |
36 |
+++ b/dev-db/pgadmin4/pgadmin4-4.13.ebuild |
37 |
@@ -0,0 +1,109 @@ |
38 |
+# Copyright 1999-2019 Gentoo Authors |
39 |
+# Distributed under the terms of the GNU General Public License v2 |
40 |
+ |
41 |
+EAPI=7 |
42 |
+ |
43 |
+PYTHON_COMPAT=( python3_{5,6} ) |
44 |
+PYTHON_REQ_USE="sqlite" |
45 |
+ |
46 |
+inherit python-single-r1 qmake-utils |
47 |
+ |
48 |
+DESCRIPTION="GUI administration and development platform for PostgreSQL" |
49 |
+HOMEPAGE="https://www.pgadmin.org/" |
50 |
+SRC_URI="https://ftp.postgresql.org/pub/pgadmin/${PN}/v${PV}/source/${P}.tar.gz" |
51 |
+ |
52 |
+LICENSE="POSTGRESQL" |
53 |
+KEYWORDS="~amd64 ~x86" |
54 |
+SLOT="0" |
55 |
+IUSE="doc" |
56 |
+ |
57 |
+RESTRICT="test" |
58 |
+ |
59 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
60 |
+ |
61 |
+# libsodium dep added because of 689678 |
62 |
+COMMON_DEPEND="${PYTHON_DEPS} |
63 |
+ dev-libs/libsodium[-minimal] |
64 |
+ dev-qt/qtnetwork:5[ssl] |
65 |
+ dev-qt/qtwidgets:5 |
66 |
+" |
67 |
+ |
68 |
+DEPEND="${COMMON_DEPEND} |
69 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
70 |
+" |
71 |
+ |
72 |
+RDEPEND="${COMMON_DEPEND} |
73 |
+ >=app-text/htmlmin-0.1.12[${PYTHON_USEDEP}] |
74 |
+ >=dev-python/blinker-1.4[${PYTHON_USEDEP}] |
75 |
+ >=dev-python/flask-1.0.2[${PYTHON_USEDEP}] |
76 |
+ >=dev-python/flask-gravatar-0.5.0[${PYTHON_USEDEP}] |
77 |
+ >=dev-python/flask-htmlmin-1.5.0[${PYTHON_USEDEP}] |
78 |
+ >=dev-python/flask-login-0.4.1[${PYTHON_USEDEP}] |
79 |
+ >=dev-python/flask-mail-0.9.1[${PYTHON_USEDEP}] |
80 |
+ >=dev-python/flask-migrate-2.4.0[${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/passlib-1.7.1[${PYTHON_USEDEP}] |
87 |
+ >=dev-python/psutil-5.5.1[${PYTHON_USEDEP}] |
88 |
+ >=dev-python/psycopg-2.8[${PYTHON_USEDEP}] |
89 |
+ >=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}] |
90 |
+ >=dev-python/python-sqlparse-0.2.4[${PYTHON_USEDEP}] |
91 |
+ >=dev-python/pytz-2018.9[${PYTHON_USEDEP}] |
92 |
+ >=dev-python/simplejson-3.16.0[${PYTHON_USEDEP}] |
93 |
+ >=dev-python/six-1.12.0[${PYTHON_USEDEP}] |
94 |
+ >=dev-python/speaklater-1.3[${PYTHON_USEDEP}] |
95 |
+ >=dev-python/sqlalchemy-1.2.18[${PYTHON_USEDEP}] |
96 |
+ >=dev-python/sshtunnel-0.1.4[${PYTHON_USEDEP}] |
97 |
+ >=dev-python/wtforms-2.2.1[${PYTHON_USEDEP}] |
98 |
+" |
99 |
+ |
100 |
+S="${WORKDIR}"/${P}/runtime |
101 |
+ |
102 |
+src_prepare() { |
103 |
+ cd "${WORKDIR}"/${P} || die |
104 |
+ default |
105 |
+} |
106 |
+ |
107 |
+src_configure() { |
108 |
+ eqmake5 |
109 |
+} |
110 |
+ |
111 |
+src_compile() { |
112 |
+ default |
113 |
+ if use doc; then |
114 |
+ cd "${WORKDIR}"/${P} || die |
115 |
+ emake docs |
116 |
+ fi |
117 |
+} |
118 |
+ |
119 |
+src_install() { |
120 |
+ dobin pgAdmin4 |
121 |
+ |
122 |
+ cd "${WORKDIR}"/${P} || die |
123 |
+ |
124 |
+ local APP_DIR=/usr/share/${PN}/web |
125 |
+ insinto "${APP_DIR}" |
126 |
+ doins -r web/* |
127 |
+ cat > "${D}${APP_DIR}"/config_local.py <<-EOF |
128 |
+ SERVER_MODE = False |
129 |
+ UPGRADE_CHECK_ENABLED = False |
130 |
+ EOF |
131 |
+ python_optimize "${D}${APP_DIR}" |
132 |
+ |
133 |
+ local CONFIG_DIR="/etc/xdg/pgadmin" |
134 |
+ dodir "${CONFIG_DIR}" |
135 |
+ cat > "${D}${CONFIG_DIR}"/pgadmin4.conf <<-EOF |
136 |
+ [General] |
137 |
+ ApplicationPath=${APP_DIR} |
138 |
+ PythonPath=$(python_get_sitedir) |
139 |
+ EOF |
140 |
+ |
141 |
+ if use doc; then |
142 |
+ rm -r docs/en_US/_build/html/_sources || die |
143 |
+ insinto /usr/share/${PN}/docs/en_US/_build |
144 |
+ doins -r docs/en_US/_build/html |
145 |
+ fi |
146 |
+} |