1 |
commit: 68c85586ce7d9b479fa4ed239d0c60ca437e294b |
2 |
Author: Thomas Andrejak <thomas.andrejak <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Sep 28 23:19:43 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 12 12:39:47 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68c85586 |
7 |
|
8 |
www-apps/prewikka: Bump version 5.2.0 |
9 |
|
10 |
Signed-off-by: Thomas Andrejak <thomas.andrejak <AT> gmail.com> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/17704 |
12 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
13 |
|
14 |
www-apps/prewikka/Manifest | 1 + |
15 |
.../files/prewikka-5.2.0-fix_siteconfig.patch | 10 +++++ |
16 |
www-apps/prewikka/prewikka-5.2.0.ebuild | 52 ++++++++++++++++++++++ |
17 |
3 files changed, 63 insertions(+) |
18 |
|
19 |
diff --git a/www-apps/prewikka/Manifest b/www-apps/prewikka/Manifest |
20 |
index 871f7538d92..9404de59cca 100644 |
21 |
--- a/www-apps/prewikka/Manifest |
22 |
+++ b/www-apps/prewikka/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST prewikka-5.1.1.tar.gz 1662093 BLAKE2B a4057ee35bb2dbc55ee86c4f41c32074d20712e79fe62b4a409fb0c842ee6aac06418aeace8d11d3c74c99b6787a2e507d0e424180849b4acb3296ebc6c785f0 SHA512 97ac557964fc7a3a633d879830dbda1a263061acc7d943798638686a67db46f08371af081b07eded60dc9856dd47641fae5df50603e190f36acb71a45ee6089a |
25 |
+DIST prewikka-5.2.0.tar.gz 1808717 BLAKE2B 5713b0ce47a3ef137795035ca074410abf9e934c3e9c90b48d127396f0c92e48969e755b48a8519f52cc63bf56e7200c285fb7ad7069f4489cd552eddaa1be5a SHA512 034040e22c2b122289f6af5a2221024585c671327f158e61845feef720c7f70b06a6aa4caaaeba7b48394aa95cd67c45061d97cdaecc3902e26175df9b86c411 |
26 |
|
27 |
diff --git a/www-apps/prewikka/files/prewikka-5.2.0-fix_siteconfig.patch b/www-apps/prewikka/files/prewikka-5.2.0-fix_siteconfig.patch |
28 |
new file mode 100644 |
29 |
index 00000000000..03a20ab36ef |
30 |
--- /dev/null |
31 |
+++ b/www-apps/prewikka/files/prewikka-5.2.0-fix_siteconfig.patch |
32 |
@@ -0,0 +1,10 @@ |
33 |
+--- a/setup.py 2020-09-09 16:44:23.000000000 +0200 |
34 |
++++ b/setup.py 2020-09-29 01:07:56.522604785 +0200 |
35 |
+@@ -108,6 +108,7 @@ |
36 |
+ ofile, copied = self.copy_file('scripts/prewikka.wsgi', share_dir) |
37 |
+ |
38 |
+ def run(self): |
39 |
++ self.skip_build = 0 |
40 |
+ os.umask(0o22) |
41 |
+ self.install_conf() |
42 |
+ self.install_wsgi() |
43 |
|
44 |
diff --git a/www-apps/prewikka/prewikka-5.2.0.ebuild b/www-apps/prewikka/prewikka-5.2.0.ebuild |
45 |
new file mode 100644 |
46 |
index 00000000000..334841afd51 |
47 |
--- /dev/null |
48 |
+++ b/www-apps/prewikka/prewikka-5.2.0.ebuild |
49 |
@@ -0,0 +1,52 @@ |
50 |
+# Copyright 1999-2020 Gentoo Authors |
51 |
+# Distributed under the terms of the GNU General Public License v2 |
52 |
+ |
53 |
+EAPI=7 |
54 |
+ |
55 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
56 |
+PYTHON_REQ_USE="ssl" |
57 |
+ |
58 |
+inherit distutils-r1 optfeature |
59 |
+ |
60 |
+DESCRIPTION="Graphical front-end analysis console for the Prelude Framework" |
61 |
+HOMEPAGE="https://www.prelude-siem.org" |
62 |
+SRC_URI="https://www.prelude-siem.org/pkg/src/5.2.0/${P}.tar.gz" |
63 |
+ |
64 |
+LICENSE="GPL-2+" |
65 |
+SLOT="0" |
66 |
+KEYWORDS="~amd64 ~x86" |
67 |
+ |
68 |
+RDEPEND=">=dev-libs/libprelude-5.2.0[python,${PYTHON_USEDEP}] |
69 |
+ <dev-libs/libprelude-6[python,${PYTHON_USEDEP}] |
70 |
+ >=dev-libs/libpreludedb-5.2.0[python,${PYTHON_USEDEP}] |
71 |
+ <dev-libs/libpreludedb-6[python,${PYTHON_USEDEP}] |
72 |
+ dev-python/Babel[${PYTHON_USEDEP}] |
73 |
+ dev-python/croniter[${PYTHON_USEDEP}] |
74 |
+ dev-python/gevent[${PYTHON_USEDEP}] |
75 |
+ dev-python/lark-parser[${PYTHON_USEDEP}] |
76 |
+ dev-python/mako[${PYTHON_USEDEP}] |
77 |
+ dev-python/python-dateutil[${PYTHON_USEDEP}] |
78 |
+ dev-python/pytz[${PYTHON_USEDEP}] |
79 |
+ dev-python/pyyaml[${PYTHON_USEDEP}] |
80 |
+ dev-python/voluptuous[${PYTHON_USEDEP}] |
81 |
+ dev-python/werkzeug[${PYTHON_USEDEP}] |
82 |
+ media-fonts/font-xfree86-type1" |
83 |
+ |
84 |
+DEPEND="${RDEPEND}" |
85 |
+ |
86 |
+BDEPEND="dev-python/lesscpy[${PYTHON_USEDEP}] |
87 |
+ sys-devel/gettext" |
88 |
+ |
89 |
+PATCHES=( |
90 |
+ "${FILESDIR}/${PN}-5.2.0-fix_siteconfig.patch" |
91 |
+) |
92 |
+ |
93 |
+src_install() { |
94 |
+ distutils-r1_src_install |
95 |
+ |
96 |
+ keepdir /var/lib/prewikka |
97 |
+} |
98 |
+ |
99 |
+pkg_postinst() { |
100 |
+ optfeature "Asynchronous DNS" dev-python/twisted[${PYTHON_USEDEP}] |
101 |
+} |