summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Andrejak <thomas.andrejak@gmail.com>2020-09-29 01:19:43 +0200
committerJoonas Niilola <juippis@gentoo.org>2020-10-12 15:39:47 +0300
commit68c85586ce7d9b479fa4ed239d0c60ca437e294b (patch)
treed37229ce6bf0bd00920f40fa4f96237939b2873f /www-apps/prewikka
parentnet-analyzer/prelude-correlator: Bump version 5.2.0 (diff)
downloadgentoo-68c85586ce7d9b479fa4ed239d0c60ca437e294b.tar.gz
gentoo-68c85586ce7d9b479fa4ed239d0c60ca437e294b.tar.bz2
gentoo-68c85586ce7d9b479fa4ed239d0c60ca437e294b.zip
www-apps/prewikka: Bump version 5.2.0
Signed-off-by: Thomas Andrejak <thomas.andrejak@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/17704 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'www-apps/prewikka')
-rw-r--r--www-apps/prewikka/Manifest1
-rw-r--r--www-apps/prewikka/files/prewikka-5.2.0-fix_siteconfig.patch10
-rw-r--r--www-apps/prewikka/prewikka-5.2.0.ebuild52
3 files changed, 63 insertions, 0 deletions
diff --git a/www-apps/prewikka/Manifest b/www-apps/prewikka/Manifest
index 871f7538d923..9404de59ccab 100644
--- a/www-apps/prewikka/Manifest
+++ b/www-apps/prewikka/Manifest
@@ -1 +1,2 @@
DIST prewikka-5.1.1.tar.gz 1662093 BLAKE2B a4057ee35bb2dbc55ee86c4f41c32074d20712e79fe62b4a409fb0c842ee6aac06418aeace8d11d3c74c99b6787a2e507d0e424180849b4acb3296ebc6c785f0 SHA512 97ac557964fc7a3a633d879830dbda1a263061acc7d943798638686a67db46f08371af081b07eded60dc9856dd47641fae5df50603e190f36acb71a45ee6089a
+DIST prewikka-5.2.0.tar.gz 1808717 BLAKE2B 5713b0ce47a3ef137795035ca074410abf9e934c3e9c90b48d127396f0c92e48969e755b48a8519f52cc63bf56e7200c285fb7ad7069f4489cd552eddaa1be5a SHA512 034040e22c2b122289f6af5a2221024585c671327f158e61845feef720c7f70b06a6aa4caaaeba7b48394aa95cd67c45061d97cdaecc3902e26175df9b86c411
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
new file mode 100644
index 000000000000..03a20ab36efe
--- /dev/null
+++ b/www-apps/prewikka/files/prewikka-5.2.0-fix_siteconfig.patch
@@ -0,0 +1,10 @@
+--- a/setup.py 2020-09-09 16:44:23.000000000 +0200
++++ b/setup.py 2020-09-29 01:07:56.522604785 +0200
+@@ -108,6 +108,7 @@
+ ofile, copied = self.copy_file('scripts/prewikka.wsgi', share_dir)
+
+ def run(self):
++ self.skip_build = 0
+ os.umask(0o22)
+ self.install_conf()
+ self.install_wsgi()
diff --git a/www-apps/prewikka/prewikka-5.2.0.ebuild b/www-apps/prewikka/prewikka-5.2.0.ebuild
new file mode 100644
index 000000000000..334841afd51d
--- /dev/null
+++ b/www-apps/prewikka/prewikka-5.2.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_REQ_USE="ssl"
+
+inherit distutils-r1 optfeature
+
+DESCRIPTION="Graphical front-end analysis console for the Prelude Framework"
+HOMEPAGE="https://www.prelude-siem.org"
+SRC_URI="https://www.prelude-siem.org/pkg/src/5.2.0/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND=">=dev-libs/libprelude-5.2.0[python,${PYTHON_USEDEP}]
+ <dev-libs/libprelude-6[python,${PYTHON_USEDEP}]
+ >=dev-libs/libpreludedb-5.2.0[python,${PYTHON_USEDEP}]
+ <dev-libs/libpreludedb-6[python,${PYTHON_USEDEP}]
+ dev-python/Babel[${PYTHON_USEDEP}]
+ dev-python/croniter[${PYTHON_USEDEP}]
+ dev-python/gevent[${PYTHON_USEDEP}]
+ dev-python/lark-parser[${PYTHON_USEDEP}]
+ dev-python/mako[${PYTHON_USEDEP}]
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ dev-python/voluptuous[${PYTHON_USEDEP}]
+ dev-python/werkzeug[${PYTHON_USEDEP}]
+ media-fonts/font-xfree86-type1"
+
+DEPEND="${RDEPEND}"
+
+BDEPEND="dev-python/lesscpy[${PYTHON_USEDEP}]
+ sys-devel/gettext"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-5.2.0-fix_siteconfig.patch"
+)
+
+src_install() {
+ distutils-r1_src_install
+
+ keepdir /var/lib/prewikka
+}
+
+pkg_postinst() {
+ optfeature "Asynchronous DNS" dev-python/twisted[${PYTHON_USEDEP}]
+}