From f1af93971b7490792d8541bc790e0d8c6d787059 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 6 Sep 2019 10:28:05 +0100 Subject: gentoo resync : 06.08.2019 --- dev-libs/libpreludedb/Manifest | 8 +- dev-libs/libpreludedb/libpreludedb-3.0.0-r1.ebuild | 74 ++++++++++++++++++ dev-libs/libpreludedb/libpreludedb-3.0.0.ebuild | 74 ------------------ dev-libs/libpreludedb/libpreludedb-3.1.0-r1.ebuild | 72 +++++++++++++++++ dev-libs/libpreludedb/libpreludedb-3.1.0.ebuild | 72 ----------------- dev-libs/libpreludedb/libpreludedb-4.0.0-r1.ebuild | 89 ++++++++++++++++++++++ dev-libs/libpreludedb/libpreludedb-4.0.0.ebuild | 89 ---------------------- dev-libs/libpreludedb/libpreludedb-4.1.0-r1.ebuild | 89 ++++++++++++++++++++++ dev-libs/libpreludedb/libpreludedb-4.1.0.ebuild | 89 ---------------------- 9 files changed, 328 insertions(+), 328 deletions(-) create mode 100644 dev-libs/libpreludedb/libpreludedb-3.0.0-r1.ebuild delete mode 100644 dev-libs/libpreludedb/libpreludedb-3.0.0.ebuild create mode 100644 dev-libs/libpreludedb/libpreludedb-3.1.0-r1.ebuild delete mode 100644 dev-libs/libpreludedb/libpreludedb-3.1.0.ebuild create mode 100644 dev-libs/libpreludedb/libpreludedb-4.0.0-r1.ebuild delete mode 100644 dev-libs/libpreludedb/libpreludedb-4.0.0.ebuild create mode 100644 dev-libs/libpreludedb/libpreludedb-4.1.0-r1.ebuild delete mode 100644 dev-libs/libpreludedb/libpreludedb-4.1.0.ebuild (limited to 'dev-libs/libpreludedb') diff --git a/dev-libs/libpreludedb/Manifest b/dev-libs/libpreludedb/Manifest index 1f6044f60a47..ec779853062e 100644 --- a/dev-libs/libpreludedb/Manifest +++ b/dev-libs/libpreludedb/Manifest @@ -3,8 +3,8 @@ DIST libpreludedb-3.0.0.tar.gz 1269937 BLAKE2B 6f6bad7b9529b88bd03b224c1ea4066b9 DIST libpreludedb-3.1.0.tar.gz 1291186 BLAKE2B 90b3b6264f0042b14e54abfc3068071419646076fc6cfa3dd84ba6c14797fb0ea88885edef47b8a5d0dc455468e6daaa8e795b621a4f9001d19d8edc33630a88 SHA512 dcb98eff2521979c2956bdd6f3b661c346c0f6748ef820a75d77c948e426a996de26c7fc6b6c2abddc93277db3820eb2f44b61c87feb86483e720cf9b0e0124c DIST libpreludedb-4.0.0.tar.gz 1325812 BLAKE2B 7a506f7cd7b51898e26201f2cc640b1f34227f9cf7c5c6e2385480f1fc0ad854b6d747293ab502b641cc65f1ee9ae4a8f225e6a1d4489bcaa59901c6342f1279 SHA512 13f5dbcfa6af965f2075d60c645ebb19cbd6b18807b26f4f13a7a05f1cf552996f9846e856728a4e1dc621efda693016e82623d4a3cbf74849b3e7114f19faca DIST libpreludedb-4.1.0.tar.gz 1333638 BLAKE2B 380a6d4ef8836555510f9f9882b6100417f2567520c421355fb7eec8d2cd7e2f3942c4cb90ea21fa1557327026edd5c1e35e338a79e06a21cfb2bd6813a289c2 SHA512 de1fa5106d7f34edb5a23e726c968de84bb8b10257587b6ee36276ed75ddc54f4f9539aecb7836e114eb3bfa90104dd3b5e097be0c3d12347dcbded94f293dc4 -EBUILD libpreludedb-3.0.0.ebuild 1565 BLAKE2B 0970da7819576411410b104491aa6819c7d9799c97b6ee43656de8839c47c02b1fb01bcd433a31fce0a19b18e5fa564e7be586a4eedb65366d97cfc9224f1556 SHA512 70991e5ffe60a8071e308f79861f6ad780eda7bf22d7cc616008de0cb532f24125d24951b33dce15ba57ba61e128c2047923b18fe7025362b864f57841f5054f -EBUILD libpreludedb-3.1.0.ebuild 1489 BLAKE2B bce9a006c77081255e25d3f2c8e3d5e3e53eb0751578d870a157976caf20a2ad6ca4546c8d2557a42b570b325afcea835488112acff35d09e9b3b234156a0612 SHA512 09bf5c2bc1fa7ced73b179979dac8b05a2750a4e2a92bf3fece21c3d5d350613b0e81b45df409b67045a05be2bd67ce0a02d1de2c4a5a26030a4f8ba0ab596e2 -EBUILD libpreludedb-4.0.0.ebuild 1736 BLAKE2B ab3d192770ca8a37bb5d3a165405c7b1923f29aa5267c9ea8f3481a5291c72b677e0304c4e67a7ddd223bfab2f5a61f852bc0ed4d4fa0aba470e588bec4ffe4f SHA512 9f3f5d15e56ae1cc22e2fb404e8897b1aa5bb402c292cdd68f6c78316df96e7ba338684012d1122cf5b038e28acd9c14c9fdb0df6fa1199965a7f0fd60d9b4b0 -EBUILD libpreludedb-4.1.0.ebuild 1744 BLAKE2B 94b0b1d02edeeb51291d3d8e73d164f66d1238107357bbbb1abf8c33c3a4282c39dfbe12ebe428f110ab43ff96b91202e07f486ece4d5f53ba4938eed64df752 SHA512 af91a741ab6d21e10243ee1464fa7a4a91cffe828ff0e9dc25b452b99e7a7e191552d32ee5a4547c2a0831af063d11e9b672a15251757dbce277e44dc4cab267 +EBUILD libpreludedb-3.0.0-r1.ebuild 1569 BLAKE2B 09f528561880901c210847920fc2b1243b60141ca36f25e3f07158fef17bf029d4f2850f61db982b6bbe61a2f3a9ca488809d41132477ac4835568c8b2afa164 SHA512 a9e9f519c6ff194194a40f8a1073290c03ad1d3ca3829123524fde910d2c04343d0b0ff7ebb92e421438184511a3a4c4f326adc8cf734724419e9fbd22b1cb75 +EBUILD libpreludedb-3.1.0-r1.ebuild 1493 BLAKE2B ac1a9350ef9f151861afb2c228091ef128ed6e8a2ae3111268014aeec900a728c561799830a5694798a8b1c4b54b36920351a759306c0ea5a5555b6059eda928 SHA512 462da351b9cf2653d621a0284dedb52f26ceb9f64185d5cc70099bd80af6d79108baa3d2a1c7edc2c2cc1c90dee2289e611837c8f8bab8ca72ec87d0f0a0f2a4 +EBUILD libpreludedb-4.0.0-r1.ebuild 1740 BLAKE2B 2b8401a5fd6e7392b911a4772d108736f07fcde60a023eff9c4af1a5008723c86897a9359f0dc5582774b02f500edf8e0f309376c7dfe65312fa0379e13d904e SHA512 61ebcdb2fdb231a01f5e8d592958f31fe2d6c7723617bf35b44f4101ed80e1cb5a155efde9c561d2ceb7ce9f7f93d040cd892dec759685cc3469392f57e12f49 +EBUILD libpreludedb-4.1.0-r1.ebuild 1748 BLAKE2B 25b78382047147f273b9a3e2d8a267dddf3f45453bbc0cd5cb66a0e9fef0d7449ceaac1b687862ff49ea4301d6e94373cbe17b5830fc161cfddce51803ef8ec3 SHA512 bd14c7edb767f805a19fcec51491a52020e4548d8a0d93020cb59a60c4e29708a353474c465106dfd923c9ed7f2310992a0c4f23bfc75b44cc303b56b909a722 MISC metadata.xml 740 BLAKE2B 4378279b071469fe4b56d29d93bbfa596c007ed9be028c028c0b3cea7b4a4d206b8dfada84f8dbefdc56ec1d355c0a81f8a5f719a3819761ef532a85fbdc2490 SHA512 336a155dddb152697e44246184aaf0cfa928f1a3acd226c3f048aaeca81e96e1c5c7bceaee2bcc5e6ff731b59de1eadb02698e01c3e9443e6d9a37859da8e973 diff --git a/dev-libs/libpreludedb/libpreludedb-3.0.0-r1.ebuild b/dev-libs/libpreludedb/libpreludedb-3.0.0-r1.ebuild new file mode 100644 index 000000000000..4e7679606af1 --- /dev/null +++ b/dev-libs/libpreludedb/libpreludedb-3.0.0-r1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_5} ) + +inherit autotools eutils python-r1 + +DESCRIPTION="Framework to easy access to the Prelude database" +HOMEPAGE="https://www.prelude-siem.org" +SRC_URI="https://www.prelude-siem.org/pkg/src/3.0.0/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc python mysql postgres sqlite" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND="dev-libs/libgcrypt:0= + net-libs/gnutls + dev-libs/libprelude + python? ( ${PYTHON_DEPS} ) + mysql? ( dev-db/mysql-connector-c:= ) + postgres? ( dev-db/postgresql:* ) + sqlite? ( dev-db/sqlite:3 )" + +DEPEND="${RDEPEND} + doc? ( dev-util/gtk-doc ) + sys-devel/flex + virtual/yacc + >=dev-lang/swig-3.0.7 + virtual/pkgconfig" + +src_prepare() { + default_src_prepare + + mv "${S}/configure.in" "${S}/configure.ac" || die "mv failed" + + eautoreconf +} + +src_configure() { + local python2_configure=--without-python2 + local python3_configure=--without-python3 + + chk_python() { + if [[ ${EPYTHON} == python2* ]]; then + python2_configure=--with-python2 + elif [[ ${EPYTHON} == python3* ]]; then + python3_configure=--with-python3 + fi + } + + if use python; then + python_foreach_impl chk_python + fi + + econf \ + --enable-easy-bindings \ + --with-swig \ + $(use_enable doc gtk-doc) \ + ${python2_configure} \ + ${python3_configure} \ + $(use_with mysql) \ + $(use_with postgres postgresql) \ + $(use_with sqlite sqlite3) +} + +src_install() { + default_src_install + prune_libtool_files --modules +} diff --git a/dev-libs/libpreludedb/libpreludedb-3.0.0.ebuild b/dev-libs/libpreludedb/libpreludedb-3.0.0.ebuild deleted file mode 100644 index a42e13bd0878..000000000000 --- a/dev-libs/libpreludedb/libpreludedb-3.0.0.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python{2_7,3_5} ) - -inherit autotools eutils python-r1 - -DESCRIPTION="Framework to easy access to the Prelude database" -HOMEPAGE="https://www.prelude-siem.org" -SRC_URI="https://www.prelude-siem.org/pkg/src/3.0.0/${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc python mysql postgres sqlite" - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND="dev-libs/libgcrypt:0= - net-libs/gnutls - dev-libs/libprelude - python? ( ${PYTHON_DEPS} ) - mysql? ( virtual/libmysqlclient ) - postgres? ( dev-db/postgresql:* ) - sqlite? ( dev-db/sqlite:3 )" - -DEPEND="${RDEPEND} - doc? ( dev-util/gtk-doc ) - sys-devel/flex - virtual/yacc - >=dev-lang/swig-3.0.7 - virtual/pkgconfig" - -src_prepare() { - default_src_prepare - - mv "${S}/configure.in" "${S}/configure.ac" || die "mv failed" - - eautoreconf -} - -src_configure() { - local python2_configure=--without-python2 - local python3_configure=--without-python3 - - chk_python() { - if [[ ${EPYTHON} == python2* ]]; then - python2_configure=--with-python2 - elif [[ ${EPYTHON} == python3* ]]; then - python3_configure=--with-python3 - fi - } - - if use python; then - python_foreach_impl chk_python - fi - - econf \ - --enable-easy-bindings \ - --with-swig \ - $(use_enable doc gtk-doc) \ - ${python2_configure} \ - ${python3_configure} \ - $(use_with mysql) \ - $(use_with postgres postgresql) \ - $(use_with sqlite sqlite3) -} - -src_install() { - default_src_install - prune_libtool_files --modules -} diff --git a/dev-libs/libpreludedb/libpreludedb-3.1.0-r1.ebuild b/dev-libs/libpreludedb/libpreludedb-3.1.0-r1.ebuild new file mode 100644 index 000000000000..2fedf289e705 --- /dev/null +++ b/dev-libs/libpreludedb/libpreludedb-3.1.0-r1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_5} ) + +inherit autotools python-r1 + +DESCRIPTION="Framework to easy access to the Prelude database" +HOMEPAGE="https://www.prelude-siem.org" +SRC_URI="https://www.prelude-siem.org/pkg/src/${PV}/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc python mysql postgres sqlite" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND="dev-libs/libgcrypt:0= + net-libs/gnutls:= + ~dev-libs/libprelude-${PV} + python? ( ${PYTHON_DEPS} ) + mysql? ( dev-db/mysql-connector-c:= ) + postgres? ( dev-db/postgresql:* ) + sqlite? ( dev-db/sqlite:3 )" + +DEPEND="${RDEPEND} + doc? ( dev-util/gtk-doc ) + sys-devel/flex + virtual/yacc + >=dev-lang/swig-3.0.7 + virtual/pkgconfig" + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + local python2_configure=--without-python2 + local python3_configure=--without-python3 + + chk_python() { + if [[ ${EPYTHON} == python2* ]]; then + python2_configure=--with-python2 + elif [[ ${EPYTHON} == python3* ]]; then + python3_configure=--with-python3 + fi + } + + if use python; then + python_foreach_impl chk_python + fi + + econf \ + --enable-easy-bindings \ + --with-swig \ + $(use_enable doc gtk-doc) \ + ${python2_configure} \ + ${python3_configure} \ + $(use_with mysql) \ + $(use_with postgres postgresql) \ + $(use_with sqlite sqlite3) +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} diff --git a/dev-libs/libpreludedb/libpreludedb-3.1.0.ebuild b/dev-libs/libpreludedb/libpreludedb-3.1.0.ebuild deleted file mode 100644 index fdf5055c0559..000000000000 --- a/dev-libs/libpreludedb/libpreludedb-3.1.0.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python{2_7,3_5} ) - -inherit autotools python-r1 - -DESCRIPTION="Framework to easy access to the Prelude database" -HOMEPAGE="https://www.prelude-siem.org" -SRC_URI="https://www.prelude-siem.org/pkg/src/${PV}/${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc python mysql postgres sqlite" - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND="dev-libs/libgcrypt:0= - net-libs/gnutls:= - ~dev-libs/libprelude-${PV} - python? ( ${PYTHON_DEPS} ) - mysql? ( virtual/libmysqlclient ) - postgres? ( dev-db/postgresql:* ) - sqlite? ( dev-db/sqlite:3 )" - -DEPEND="${RDEPEND} - doc? ( dev-util/gtk-doc ) - sys-devel/flex - virtual/yacc - >=dev-lang/swig-3.0.7 - virtual/pkgconfig" - -src_prepare() { - default - - eautoreconf -} - -src_configure() { - local python2_configure=--without-python2 - local python3_configure=--without-python3 - - chk_python() { - if [[ ${EPYTHON} == python2* ]]; then - python2_configure=--with-python2 - elif [[ ${EPYTHON} == python3* ]]; then - python3_configure=--with-python3 - fi - } - - if use python; then - python_foreach_impl chk_python - fi - - econf \ - --enable-easy-bindings \ - --with-swig \ - $(use_enable doc gtk-doc) \ - ${python2_configure} \ - ${python3_configure} \ - $(use_with mysql) \ - $(use_with postgres postgresql) \ - $(use_with sqlite sqlite3) -} - -src_install() { - default - find "${D}" -name '*.la' -delete || die -} diff --git a/dev-libs/libpreludedb/libpreludedb-4.0.0-r1.ebuild b/dev-libs/libpreludedb/libpreludedb-4.0.0-r1.ebuild new file mode 100644 index 000000000000..54bb58c0faac --- /dev/null +++ b/dev-libs/libpreludedb/libpreludedb-4.0.0-r1.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_{5,6}} ) +USE_RUBY="ruby21 ruby22 ruby23 ruby24" +DISTUTILS_OPTIONAL=1 + +inherit autotools distutils-r1 ruby-single + +DESCRIPTION="Framework to easy access to the Prelude database" +HOMEPAGE="https://www.prelude-siem.org" +SRC_URI="https://www.prelude-siem.org/pkg/src/${PV}/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="mysql postgres python sqlite" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND="~dev-libs/libprelude-${PV} + net-libs/gnutls:= + mysql? ( dev-db/mysql-connector-c:= ) + postgres? ( dev-db/postgresql:* ) + python? ( ${PYTHON_DEPS} ) + sqlite? ( dev-db/sqlite:3 )" + +DEPEND="${RDEPEND} + >=dev-lang/swig-3.0.7 + dev-util/gtk-doc-am + sys-devel/flex + virtual/pkgconfig + virtual/yacc" + +PATCHES=( + "${FILESDIR}/${P}-fix-python-bindings.patch" +) + +src_prepare() { + default + + eautoreconf + + if use python; then + cd bindings/python || die + distutils-r1_src_prepare + fi +} + +src_configure() { + local myconf=( + --enable-easy-bindings + --with-swig + $(use_with mysql) + $(use_with postgres postgresql) + $(use_with sqlite sqlite3) + ) + + if use python; then + python_setup + if python_is_python3; then + myconf+=(--without-python2 --with-python3="${EPYTHON}") + else + myconf+=(--without-python3 --with-python2="${EPYTHON}") + fi + else + myconf+=(--without-python2 --without-python3) + fi + + econf "${myconf[@]}" +} + +src_compile() { + default + if use python; then + cd bindings/python || die + distutils-r1_src_compile + fi +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die + if use python; then + cd bindings/python || die + distutils-r1_src_install + fi +} diff --git a/dev-libs/libpreludedb/libpreludedb-4.0.0.ebuild b/dev-libs/libpreludedb/libpreludedb-4.0.0.ebuild deleted file mode 100644 index b7ded08b2281..000000000000 --- a/dev-libs/libpreludedb/libpreludedb-4.0.0.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python{2_7,3_{5,6}} ) -USE_RUBY="ruby21 ruby22 ruby23 ruby24" -DISTUTILS_OPTIONAL=1 - -inherit autotools distutils-r1 ruby-single - -DESCRIPTION="Framework to easy access to the Prelude database" -HOMEPAGE="https://www.prelude-siem.org" -SRC_URI="https://www.prelude-siem.org/pkg/src/${PV}/${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="mysql postgres python sqlite" - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND="~dev-libs/libprelude-${PV} - net-libs/gnutls:= - mysql? ( virtual/libmysqlclient ) - postgres? ( dev-db/postgresql:* ) - python? ( ${PYTHON_DEPS} ) - sqlite? ( dev-db/sqlite:3 )" - -DEPEND="${RDEPEND} - >=dev-lang/swig-3.0.7 - dev-util/gtk-doc-am - sys-devel/flex - virtual/pkgconfig - virtual/yacc" - -PATCHES=( - "${FILESDIR}/${P}-fix-python-bindings.patch" -) - -src_prepare() { - default - - eautoreconf - - if use python; then - cd bindings/python || die - distutils-r1_src_prepare - fi -} - -src_configure() { - local myconf=( - --enable-easy-bindings - --with-swig - $(use_with mysql) - $(use_with postgres postgresql) - $(use_with sqlite sqlite3) - ) - - if use python; then - python_setup - if python_is_python3; then - myconf+=(--without-python2 --with-python3="${EPYTHON}") - else - myconf+=(--without-python3 --with-python2="${EPYTHON}") - fi - else - myconf+=(--without-python2 --without-python3) - fi - - econf "${myconf[@]}" -} - -src_compile() { - default - if use python; then - cd bindings/python || die - distutils-r1_src_compile - fi -} - -src_install() { - default - find "${D}" -name '*.la' -delete || die - if use python; then - cd bindings/python || die - distutils-r1_src_install - fi -} diff --git a/dev-libs/libpreludedb/libpreludedb-4.1.0-r1.ebuild b/dev-libs/libpreludedb/libpreludedb-4.1.0-r1.ebuild new file mode 100644 index 000000000000..3c44652a69d1 --- /dev/null +++ b/dev-libs/libpreludedb/libpreludedb-4.1.0-r1.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_{5,6}} ) +USE_RUBY="ruby22 ruby23 ruby24 ruby25" +DISTUTILS_OPTIONAL=1 + +inherit autotools distutils-r1 ruby-single + +DESCRIPTION="Framework to easy access to the Prelude database" +HOMEPAGE="https://www.prelude-siem.org" +SRC_URI="https://www.prelude-siem.org/pkg/src/${PV}/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="mysql postgres python sqlite" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND="~dev-libs/libprelude-${PV} + net-libs/gnutls:= + mysql? ( dev-db/mysql-connector-c:= ) + postgres? ( dev-db/postgresql:* ) + python? ( ${PYTHON_DEPS} ) + sqlite? ( dev-db/sqlite:3 )" + +DEPEND="${RDEPEND} + >=dev-lang/swig-3.0.11 + dev-util/gtk-doc-am + sys-devel/flex + virtual/pkgconfig + virtual/yacc" + +PATCHES=( + "${FILESDIR}/${PN}-4.0.0-fix-python-bindings.patch" +) + +src_prepare() { + default + + eautoreconf + + if use python; then + cd bindings/python || die + distutils-r1_src_prepare + fi +} + +src_configure() { + local myconf=( + --enable-easy-bindings + --with-swig + $(use_with mysql) + $(use_with postgres postgresql) + $(use_with sqlite sqlite3) + ) + + if use python; then + python_setup + if python_is_python3; then + myconf+=(--without-python2 --with-python3="${EPYTHON}") + else + myconf+=(--without-python3 --with-python2="${EPYTHON}") + fi + else + myconf+=(--without-python2 --without-python3) + fi + + econf "${myconf[@]}" +} + +src_compile() { + default + if use python; then + cd bindings/python || die + distutils-r1_src_compile + fi +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die + if use python; then + cd bindings/python || die + distutils-r1_src_install + fi +} diff --git a/dev-libs/libpreludedb/libpreludedb-4.1.0.ebuild b/dev-libs/libpreludedb/libpreludedb-4.1.0.ebuild deleted file mode 100644 index 64f67755a9f9..000000000000 --- a/dev-libs/libpreludedb/libpreludedb-4.1.0.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python{2_7,3_{5,6}} ) -USE_RUBY="ruby22 ruby23 ruby24 ruby25" -DISTUTILS_OPTIONAL=1 - -inherit autotools distutils-r1 ruby-single - -DESCRIPTION="Framework to easy access to the Prelude database" -HOMEPAGE="https://www.prelude-siem.org" -SRC_URI="https://www.prelude-siem.org/pkg/src/${PV}/${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="mysql postgres python sqlite" - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND="~dev-libs/libprelude-${PV} - net-libs/gnutls:= - mysql? ( virtual/libmysqlclient ) - postgres? ( dev-db/postgresql:* ) - python? ( ${PYTHON_DEPS} ) - sqlite? ( dev-db/sqlite:3 )" - -DEPEND="${RDEPEND} - >=dev-lang/swig-3.0.11 - dev-util/gtk-doc-am - sys-devel/flex - virtual/pkgconfig - virtual/yacc" - -PATCHES=( - "${FILESDIR}/${PN}-4.0.0-fix-python-bindings.patch" -) - -src_prepare() { - default - - eautoreconf - - if use python; then - cd bindings/python || die - distutils-r1_src_prepare - fi -} - -src_configure() { - local myconf=( - --enable-easy-bindings - --with-swig - $(use_with mysql) - $(use_with postgres postgresql) - $(use_with sqlite sqlite3) - ) - - if use python; then - python_setup - if python_is_python3; then - myconf+=(--without-python2 --with-python3="${EPYTHON}") - else - myconf+=(--without-python3 --with-python2="${EPYTHON}") - fi - else - myconf+=(--without-python2 --without-python3) - fi - - econf "${myconf[@]}" -} - -src_compile() { - default - if use python; then - cd bindings/python || die - distutils-r1_src_compile - fi -} - -src_install() { - default - find "${D}" -name '*.la' -delete || die - if use python; then - cd bindings/python || die - distutils-r1_src_install - fi -} -- cgit v1.2.3