Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libpreludedb/files/, dev-libs/libpreludedb/
Date: Mon, 31 May 2021 20:22:19
Message-Id: 1622492501.4f7d0ed6e661425f65895938c5a90bc0da5b141d.mgorny@gentoo
1 commit: 4f7d0ed6e661425f65895938c5a90bc0da5b141d
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 31 20:21:41 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon May 31 20:21:41 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f7d0ed6
7
8 dev-libs/libpreludedb: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-libs/libpreludedb/Manifest | 1 -
13 .../files/libpreludedb-5.1.0-fix_py38.patch | 11 ---
14 dev-libs/libpreludedb/libpreludedb-5.1.0.ebuild | 93 ----------------------
15 3 files changed, 105 deletions(-)
16
17 diff --git a/dev-libs/libpreludedb/Manifest b/dev-libs/libpreludedb/Manifest
18 index 47b6710121d..6e250e91e8e 100644
19 --- a/dev-libs/libpreludedb/Manifest
20 +++ b/dev-libs/libpreludedb/Manifest
21 @@ -1,3 +1,2 @@
22 DIST libpreludedb-5.1.0-update_m4_postgresql.patch 20562 BLAKE2B 5db9a213c47296b308a641942e41c82eb9642dc7817ac1134ac52c8f24e38b68e0dacc5adedc30ba0611e84c97bb51f444b75b2b98884c0f21312da58f40b6d8 SHA512 24881cfe0e471e934fc9b1bd64dd901303f68615e1700ce92d6bc7324b28587aef8cc05be9cc7c2545f86666064607d8113c5273381bf9306ef69f569ab9d1bf
23 -DIST libpreludedb-5.1.0.tar.gz 1374511 BLAKE2B 569324a5ae484b1d13ac729f25a2f7f8924a8dced923859cdc393289acf0c0cf098ae6e0f9f572a707c85aa9af4a27bbaa0927e20d610b423e2aae86718d232b SHA512 9e45e0f7a945eef254f8e59c0c7212c6afca897584ea8f2c88e16478fde448abdeeb991828cc2482373d2c735e1229f1a11fe9780e40da1a8aed867fe158f481
24 DIST libpreludedb-5.2.0.tar.gz 1372810 BLAKE2B 5a6bed23eba77591b8e97bb3c6f2b321970c94f88fb86094146a1a3fa64cc0f0c97ca1d1488b2202ab7042207ca2ca4f74029415ef1ca6ea13c84d158a23473f SHA512 357e3ce69927ed405bc757774466631d34cad9b53031be6ce456238dd8aef3781471ecbb36ab4a3131468f4686a635095aaf837d23a0efc9db758322298e7744
25
26 diff --git a/dev-libs/libpreludedb/files/libpreludedb-5.1.0-fix_py38.patch b/dev-libs/libpreludedb/files/libpreludedb-5.1.0-fix_py38.patch
27 deleted file mode 100644
28 index a2a6a0a8be0..00000000000
29 --- a/dev-libs/libpreludedb/files/libpreludedb-5.1.0-fix_py38.patch
30 +++ /dev/null
31 @@ -1,11 +0,0 @@
32 ---- a/bindings/python/_preludedb.cxx
33 -+++ b/bindings/python/_preludedb.cxx
34 -@@ -3133,7 +3133,7 @@
35 -
36 - SWIGINTERN void
37 - SwigPyStaticVar_dealloc(PyDescrObject *descr) {
38 -- _PyObject_GC_UNTRACK(descr);
39 -+ PyObject_GC_UnTrack(descr);
40 - Py_XDECREF(PyDescr_TYPE(descr));
41 - Py_XDECREF(PyDescr_NAME(descr));
42 - PyObject_GC_Del(descr);
43
44 diff --git a/dev-libs/libpreludedb/libpreludedb-5.1.0.ebuild b/dev-libs/libpreludedb/libpreludedb-5.1.0.ebuild
45 deleted file mode 100644
46 index 2d7d6e0157e..00000000000
47 --- a/dev-libs/libpreludedb/libpreludedb-5.1.0.ebuild
48 +++ /dev/null
49 @@ -1,93 +0,0 @@
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_7 )
56 -DISTUTILS_OPTIONAL=1
57 -
58 -inherit autotools distutils-r1
59 -
60 -DESCRIPTION="Framework to easy access to the Prelude database"
61 -HOMEPAGE="https://www.prelude-siem.org"
62 -SRC_URI="https://www.prelude-siem.org/pkg/src/${PV}/${P}.tar.gz
63 - https://dev.gentoo.org/~juippis/distfiles/tmp/libpreludedb-5.1.0-update_m4_postgresql.patch"
64 -
65 -LICENSE="GPL-2+"
66 -SLOT="0"
67 -KEYWORDS="~amd64 ~x86"
68 -IUSE="mysql postgres python sqlite"
69 -
70 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
71 -
72 -RDEPEND=">=dev-libs/libprelude-5.1.0
73 - <dev-libs/libprelude-6
74 - net-libs/gnutls:=
75 - mysql? ( dev-db/mysql-connector-c:= )
76 - postgres? ( dev-db/postgresql:* )
77 - python? ( ${PYTHON_DEPS} )
78 - sqlite? ( dev-db/sqlite:3 )"
79 -
80 -DEPEND="${RDEPEND}"
81 -
82 -BDEPEND=">=dev-lang/swig-3.0.11
83 - dev-util/gtk-doc-am
84 - sys-devel/flex
85 - virtual/pkgconfig
86 - virtual/yacc
87 - python? ( ${PYTHON_DEPS} )"
88 -
89 -PATCHES=(
90 - "${FILESDIR}/${PN}-4.0.0-fix-python-bindings.patch"
91 - "${FILESDIR}/${PN}-5.1.0-fix_gtkdoc_1.32.patch"
92 - "${FILESDIR}/${PN}-5.1.0-fix_py38.patch"
93 - "${DISTDIR}/${PN}-5.1.0-update_m4_postgresql.patch"
94 -)
95 -
96 -src_prepare() {
97 - default
98 -
99 - eautoreconf
100 -
101 - if use python; then
102 - cd bindings/python || die
103 - distutils-r1_src_prepare
104 - fi
105 -}
106 -
107 -src_configure() {
108 - local myconf=(
109 - --enable-easy-bindings
110 - --with-swig
111 - --without-python2
112 - $(use_with mysql)
113 - $(use_with postgres postgresql)
114 - $(use_with sqlite sqlite3)
115 - )
116 -
117 - if use python; then
118 - python_setup
119 - myconf+=( --with-python3="${EPYTHON}" )
120 - else
121 - myconf+=( --without-python3 )
122 - fi
123 -
124 - econf "${myconf[@]}"
125 -}
126 -
127 -src_compile() {
128 - default
129 - if use python; then
130 - cd bindings/python || die
131 - distutils-r1_src_compile
132 - fi
133 -}
134 -
135 -src_install() {
136 - default
137 - find "${D}" -name '*.la' -delete || die
138 - if use python; then
139 - cd bindings/python || die
140 - distutils-r1_src_install
141 - fi
142 -}