1 |
commit: bc687464acfaadd0c8dbde354f7d5d1d1f1f7d31 |
2 |
Author: Devan Franchini <twitch153 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 22 23:31:18 2017 +0000 |
4 |
Commit: Devan Franchini <twitch153 <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 22 23:33:11 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc687464 |
7 |
|
8 |
app-admin/webapp-config: Adds 1.55 ebuild to the tree |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
11 |
|
12 |
app-admin/webapp-config/Manifest | 1 + |
13 |
app-admin/webapp-config/webapp-config-1.55.ebuild | 66 +++++++++++++++++++++++ |
14 |
2 files changed, 67 insertions(+) |
15 |
|
16 |
diff --git a/app-admin/webapp-config/Manifest b/app-admin/webapp-config/Manifest |
17 |
index 4c6c0ac1933..49de5cd1bdf 100644 |
18 |
--- a/app-admin/webapp-config/Manifest |
19 |
+++ b/app-admin/webapp-config/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST webapp-config-1.52.tar.bz2 62951 SHA256 b8295bbc518f68f60913fe2ee9232d77f1a10e21fcddffb8c4370546ba96a2a5 SHA512 ec616067588e6ab306af067e70bab9d17961aa675f387ee67a2291235ce81638b49a784d9a6c31891b7c78a712f276c3e62c6681a5e496a52c7e6fe7753922ea WHIRLPOOL ca6484871e26acff6d14510a4a925672258f58c1c8c05c5207b78350b1cc787e29c6ea68c1af05b5c5aaebed12ce545e023f54acbdc7215678b30a2f14708eee |
22 |
DIST webapp-config-1.53.tar.bz2 63429 SHA256 4d45b1452feb730cc55bfdce686277183acfd64ab6aef5fab82992d1a508263d SHA512 7d2fc7197d537f2264c26b68b61e69273d2fcd3eec93657db54ba685c8383e7b8245cf05ed2ddd8b72453bf3fbf8f4bc4867e53d608331799df2e6162be14820 WHIRLPOOL f12ca0f3fcee31de6e2ead3cd3685fa32c697d258324bf40fc2bfc2f1787c4e7cbd7290bbb5f5523515bff29cb78bece35fcad390e419cf5dd619e5efdafc1dc |
23 |
DIST webapp-config-1.54.tar.bz2 58954 SHA256 7663c4f7ae0d4e7206e349f3bf79fed479c9971365363929f431c92ebd622d17 SHA512 fa61e88696eaed130575e5ae9a17ec827aa14aece359e5ba43fa723ad00083def22e44fb02d99fc5ba6000a5949c5ce7aecea9307d2bfae333e202ef111dcd31 WHIRLPOOL 417944147e0bdc7eb1575b10102230306f6c76652beeb0e2866d0fbe41b12bcdeb31421dd7551961db55f4fe4544ca5600c072cb74083621745c7c74fbfeec2e |
24 |
+DIST webapp-config-1.55.tar.bz2 72583 SHA256 222c41ac71b2991b078352fb8d09a0d458ff30b9c9729a2429165835c38c564b SHA512 44294b276fd036908438cd984ebf70433639caa18d8330bab348433b4f39ea2c42c57fa8de4f0a6198f7875429a3ef9ebe61321c288d910f9be8b3414865f438 WHIRLPOOL 80d577e4398f6872129544221d58003beb5b5ce972c181a241ec96cfe0fe34975e7bef5a96acc40977320ad71cd4370ee58216c0517d78c1765f000a42d8ea56 |
25 |
|
26 |
diff --git a/app-admin/webapp-config/webapp-config-1.55.ebuild b/app-admin/webapp-config/webapp-config-1.55.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..d1f94e21cf1 |
29 |
--- /dev/null |
30 |
+++ b/app-admin/webapp-config/webapp-config-1.55.ebuild |
31 |
@@ -0,0 +1,66 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=5 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy ) |
38 |
+ |
39 |
+inherit distutils-r1 prefix |
40 |
+ |
41 |
+SRC_URI="https://dev.gentoo.org/~twitch153/${PN}/${P}.tar.bz2" |
42 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
43 |
+ |
44 |
+DESCRIPTION="Gentoo's installer for web-based applications" |
45 |
+HOMEPAGE="https://sourceforge.net/projects/webapp-config/" |
46 |
+ |
47 |
+LICENSE="GPL-2" |
48 |
+SLOT="0" |
49 |
+IUSE="+portage" |
50 |
+ |
51 |
+DEPEND="app-text/xmlto |
52 |
+ !dev-python/configparser |
53 |
+ sys-apps/gentoo-functions" |
54 |
+RDEPEND="portage? ( sys-apps/portage[${PYTHON_USEDEP}] )" |
55 |
+ |
56 |
+python_prepare_all() { |
57 |
+ distutils-r1_python_prepare_all |
58 |
+ eprefixify WebappConfig/eprefix.py config/webapp-config |
59 |
+} |
60 |
+ |
61 |
+python_compile_all() { |
62 |
+ emake -C doc/ |
63 |
+} |
64 |
+ |
65 |
+python_install() { |
66 |
+ # According to this discussion: |
67 |
+ # http://mail.python.org/pipermail/distutils-sig/2004-February/003713.html |
68 |
+ # distutils does not provide for specifying two different script install |
69 |
+ # locations. Since we only install one script here the following should |
70 |
+ # be ok |
71 |
+ distutils-r1_python_install --install-scripts="${EPREFIX}/usr/sbin" |
72 |
+} |
73 |
+ |
74 |
+python_install_all() { |
75 |
+ distutils-r1_python_install_all |
76 |
+ |
77 |
+ insinto /etc/vhosts |
78 |
+ doins config/webapp-config |
79 |
+ |
80 |
+ keepdir /usr/share/webapps |
81 |
+ keepdir /var/db/webapps |
82 |
+ |
83 |
+ dodoc AUTHORS |
84 |
+ doman doc/*.[58] |
85 |
+ dohtml doc/*.[58].html |
86 |
+} |
87 |
+ |
88 |
+python_test() { |
89 |
+ PYTHONPATH="." "${PYTHON}" WebappConfig/tests/external.py \ |
90 |
+ || die "Testing failed with ${EPYTHON}" |
91 |
+} |
92 |
+ |
93 |
+pkg_postinst() { |
94 |
+ elog "Now that you have upgraded webapp-config, you **must** update your" |
95 |
+ elog "config files in /etc/vhosts/webapp-config before you emerge any" |
96 |
+ elog "packages that use webapp-config." |
97 |
+} |