1 |
commit: 2bc6b2674f0f1fe9f4bd0828ba35214962d64c94 |
2 |
Author: Thomas Andrejak <thomas.andrejak <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat May 19 16:32:52 2018 +0000 |
4 |
Commit: Tony Vroon <chainsaw <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jul 18 07:31:49 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bc6b267 |
7 |
|
8 |
dev-libs/libprelude: Bump version 4.1 |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/9239 |
11 |
Closes: https://bugs.gentoo.org/645852 |
12 |
|
13 |
dev-libs/libprelude/Manifest | 1 + |
14 |
dev-libs/libprelude/libprelude-4.1.0.ebuild | 92 +++++++++++++++++++++++++++++ |
15 |
2 files changed, 93 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/libprelude/Manifest b/dev-libs/libprelude/Manifest |
18 |
index 4db09474f9e..d853c53840b 100644 |
19 |
--- a/dev-libs/libprelude/Manifest |
20 |
+++ b/dev-libs/libprelude/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST libprelude-3.0.0.tar.gz 2900153 BLAKE2B dd03b46a11b673252dc36701e4568c445fe1e3a61a79c92ce04ed6fefac804983ba03e39928038a67768d9e5e0542d74703c07254c0112d5a6906a7c37ae4403 SHA512 a1fd51aa3bb1b68759a00dd1636cb96379f0e954a66f4e39887ab20a5b4c191a0455dd6bd5f41b20ad94d06fff59af7f89b258f42e1c0dd4cfc99185a77d1797 |
23 |
DIST libprelude-3.1.0.tar.gz 2949462 BLAKE2B 52764791766c54e2c1baa96231c6578f06219a6d1c48a97ad318fc8445fc64f90a63019654f7350d65ec4e0a336eef66bd449484321c590d1ee4596a6a386724 SHA512 f2878b19b4ba3cc74b0530f8741525ecf1425540d30356d182c4e0a797dbb5f4023792351bd059105dafc6b7818d4caa2e9c8b39be9a7039a89680244fcf1239 |
24 |
DIST libprelude-4.0.0.tar.gz 2864402 BLAKE2B 2e51eb1af74b63140bc66a358b112a753c1a0fd86d6bb8bb43ccddca4cd396e34566168edca55a626a0b43ba56e676301f3792247c25f64c7a31430af3708311 SHA512 5d88e8f211b09cc3e43dbe299e935d8f11575ae3f1894059793966cd14a8e47177ef8963d45305e1a24f9efc4048520329b31681301a21815909bd38606c2ce7 |
25 |
+DIST libprelude-4.1.0.tar.gz 2852916 BLAKE2B a18babb24795d17d72eb1c0755f4b0330125c8b289af0b52753f6f69b5e820f0f972019b57eaded3abfc45c69bd75c0d120fe29982887e55d75f2c4c8b6486f7 SHA512 073307ca070794b47643e2ef2db4788fa92374735558b466441f0663f420cab45aecc7a1d99bb487ad23ebe602d5668369ffa6ab29fa3b0504356420ab3a7878 |
26 |
|
27 |
diff --git a/dev-libs/libprelude/libprelude-4.1.0.ebuild b/dev-libs/libprelude/libprelude-4.1.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..975d9e553ea |
30 |
--- /dev/null |
31 |
+++ b/dev-libs/libprelude/libprelude-4.1.0.ebuild |
32 |
@@ -0,0 +1,92 @@ |
33 |
+# Copyright 1999-2018 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+PYTHON_COMPAT=( python{2_7,3_{4,5,6}} ) |
38 |
+USE_RUBY="ruby22 ruby23 ruby24 ruby25" |
39 |
+DISTUTILS_OPTIONAL=1 |
40 |
+ |
41 |
+inherit autotools distutils-r1 ruby-single |
42 |
+ |
43 |
+DESCRIPTION="Prelude-SIEM Framework Library" |
44 |
+HOMEPAGE="https://www.prelude-siem.org" |
45 |
+SRC_URI="https://www.prelude-siem.org/pkg/src/${PV}/${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="GPL-2+" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~x86" |
50 |
+IUSE="lua perl python ruby" |
51 |
+ |
52 |
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
53 |
+ |
54 |
+RDEPEND="net-libs/gnutls:= |
55 |
+ lua? ( dev-lang/lua:* ) |
56 |
+ perl? ( dev-lang/perl:= virtual/perl-ExtUtils-MakeMaker ) |
57 |
+ python? ( ${PYTHON_DEPS} ) |
58 |
+ ruby? ( ${RUBY_DEPS} )" |
59 |
+ |
60 |
+DEPEND="${RDEPEND} |
61 |
+ >=dev-lang/swig-3.0.11 |
62 |
+ dev-util/gtk-doc-am |
63 |
+ sys-devel/flex |
64 |
+ virtual/pkgconfig |
65 |
+ virtual/yacc" |
66 |
+ |
67 |
+PATCHES=( |
68 |
+ "${FILESDIR}/${PN}-4.0.0-fix-python-bindings.patch" |
69 |
+) |
70 |
+ |
71 |
+src_prepare() { |
72 |
+ default |
73 |
+ |
74 |
+ # Avoid null runpaths in Perl bindings. |
75 |
+ sed -e 's/ LD_RUN_PATH=""//' -i "${S}/bindings/Makefile.am" || die "sed failed" |
76 |
+ |
77 |
+ eautoreconf |
78 |
+ |
79 |
+ if use python; then |
80 |
+ cd bindings/python || die |
81 |
+ distutils-r1_src_prepare |
82 |
+ fi |
83 |
+} |
84 |
+ |
85 |
+src_configure() { |
86 |
+ local myconf=( |
87 |
+ --enable-easy-bindings |
88 |
+ --with-swig |
89 |
+ $(use_with lua) |
90 |
+ $(use_with perl) |
91 |
+ $(usex perl '--with-perl-installdirs=vendor' '') |
92 |
+ $(use_with ruby) |
93 |
+ ) |
94 |
+ |
95 |
+ if use python; then |
96 |
+ python_setup |
97 |
+ if python_is_python3; then |
98 |
+ myconf+=(--without-python2 --with-python3="${EPYTHON}") |
99 |
+ else |
100 |
+ myconf+=(--without-python3 --with-python2="${EPYTHON}") |
101 |
+ fi |
102 |
+ else |
103 |
+ myconf+=(--without-python2 --without-python3) |
104 |
+ fi |
105 |
+ |
106 |
+ econf "${myconf[@]}" |
107 |
+} |
108 |
+ |
109 |
+src_compile() { |
110 |
+ default |
111 |
+ if use python; then |
112 |
+ cd bindings/python || die |
113 |
+ distutils-r1_src_compile |
114 |
+ fi |
115 |
+} |
116 |
+ |
117 |
+src_install() { |
118 |
+ default |
119 |
+ find "${D}" -name '*.la' -delete || die |
120 |
+ if use python; then |
121 |
+ cd bindings/python || die |
122 |
+ distutils-r1_src_install |
123 |
+ fi |
124 |
+} |