-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
+
EAPI=5
-# Tests fail, again
-RESTRICT="test"
+PYTHON_COMPAT=( python2_7 )
-PYTHON_COMPAT=( python2_7)
inherit eutils python-single-r1 autotools
DESCRIPTION="A searchable distributed Key-Value Store"
IUSE="test +python"
# need to add ruby and java useflags too
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) test? ( python )"
+
+# Tests fail, still
+RESTRICT="test"
-DEPEND="dev-cpp/glog
+DEPEND="
+ dev-cpp/glog
dev-cpp/sparsehash
dev-libs/cityhash
dev-libs/libpo6
dev-libs/replicant
dev-libs/libmacaroons
dev-libs/libtreadstone
- dev-libs/json-c"
+ dev-libs/json-c
+ python? ( ${PYTHON_DEPS} )"
RDEPEND="${DEPEND}"
-REQUIRED_USE="test? ( python )"
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
src_prepare() {
cp "${WORKDIR}/"*.m4 m4/
sed -i -e 's~json/json.h~json-c/json.h~' configure.ac common/datatype_document.cc daemon/index_document.cc || die "Blergh!"
eautoreconf
- use python && python-single-r1_pkg_setup
}
+
src_configure() {
econf --disable-static \
$(use_enable python python-bindings)
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
+
EAPI=5
-# Tests fail, again
-RESTRICT="test"
+PYTHON_COMPAT=( python2_7 )
-PYTHON_COMPAT=( python2_7)
inherit eutils python-single-r1 autotools
DESCRIPTION="A searchable distributed Key-Value Store"
IUSE="test +python"
# need to add ruby and java useflags too
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) test? ( python )"
+
+# Tests fail, still
+RESTRICT="test"
-DEPEND="dev-cpp/glog
+DEPEND="
+ dev-cpp/glog
dev-cpp/sparsehash
dev-libs/cityhash
dev-libs/libpo6
dev-libs/replicant
dev-libs/libmacaroons
dev-libs/libtreadstone
- dev-libs/json-c"
+ dev-libs/json-c
+ python? ( ${PYTHON_DEPS} )"
RDEPEND="${DEPEND}"
-REQUIRED_USE="test? ( python )"
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
src_prepare() {
cp "${WORKDIR}/"*.m4 m4/
sed -i -e 's~json/json.h~json-c/json.h~' configure.ac common/datatype_document.cc daemon/index_document.cc || die "Blergh!"
eautoreconf
- use python && python-single-r1_pkg_setup
}
+
src_configure() {
econf --disable-static \
$(use_enable python python-bindings)
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
+
EAPI=5
-# Tests fail, still
-RESTRICT="test"
+PYTHON_COMPAT=( python2_7 )
-PYTHON_COMPAT=( python2_7)
inherit eutils python-single-r1 autotools
DESCRIPTION="A searchable distributed Key-Value Store"
IUSE="test +python"
# need to add ruby and java useflags too
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) test? ( python )"
+
+# Tests fail, still
+RESTRICT="test"
-DEPEND="dev-cpp/glog
+DEPEND="
+ dev-cpp/glog
dev-cpp/sparsehash
dev-libs/cityhash
>=dev-libs/hyperleveldb-1.2
>=dev-libs/replicant-0.8
>=dev-libs/libmacaroons-0.3
>=dev-libs/libtreadstone-0.2
- dev-libs/json-c"
+ dev-libs/json-c
+ python? ( ${PYTHON_DEPS} )"
RDEPEND="${DEPEND}"
-REQUIRED_USE="test? ( python )"
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
src_prepare() {
cp "${WORKDIR}/"*.m4 m4/
sed -i -e 's~json/json.h~json-c/json.h~' configure.ac common/datatype_document.cc daemon/index_document.cc || die "Blergh!"
eautoreconf
- use python && python-single-r1_pkg_setup
}
+
src_configure() {
econf --disable-static \
$(use_enable python python-bindings)
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
+
EAPI=5
-# Tests fail, still
-RESTRICT="test"
+PYTHON_COMPAT=( python2_7 )
-PYTHON_COMPAT=( python2_7)
inherit eutils python-single-r1 autotools
DESCRIPTION="A searchable distributed Key-Value Store"
IUSE="test +python"
# need to add ruby and java useflags too
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) test? ( python )"
+
+# Tests fail, still
+RESTRICT="test"
-DEPEND="dev-cpp/glog
+DEPEND="
+ dev-cpp/glog
dev-cpp/sparsehash
dev-libs/cityhash
>=dev-libs/hyperleveldb-1.2
>=dev-libs/replicant-0.8
>=dev-libs/libmacaroons-0.3
>=dev-libs/libtreadstone-0.2
- dev-libs/json-c"
+ dev-libs/json-c
+ python? ( ${PYTHON_DEPS} )"
RDEPEND="${DEPEND}"
-REQUIRED_USE="test? ( python )"
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
src_prepare() {
cp "${WORKDIR}/"*.m4 m4/
sed -i -e 's~json/json.h~json-c/json.h~' configure.ac common/datatype_document.cc daemon/index_document.cc || die "Blergh!"
eautoreconf
- use python && python-single-r1_pkg_setup
}
+
src_configure() {
econf --disable-static \
$(use_enable python python-bindings)
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
+
EAPI=5
-PYTHON_COMPAT=( python2_7)
+PYTHON_COMPAT=( python2_7 )
+
inherit eutils python-r1 autotools git-r3
DESCRIPTION="A searchable distributed Key-Value Store"
IUSE="+python"
# need to add ruby and java useflags too
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-DEPEND="dev-cpp/glog
+DEPEND="
+ dev-cpp/glog
dev-cpp/sparsehash
dev-libs/cityhash
dev-libs/libpo6
dev-libs/busybee
dev-libs/popt
dev-libs/replicant
- dev-libs/json-c"
+ dev-libs/json-c
+ python? ( ${PYTHON_DEPS} )"
RDEPEND="${DEPEND}"
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
src_prepare() {
cd m4; tar xf "${DISTDIR}/autotools-java.tar"
cd ..
sed -i -e 's~json/json.h~json-c/json.h~' configure.ac common/datatype_document.cc daemon/index_document.cc || die "Blergh!"
eautoreconf
}
+
src_configure() {
econf --disable-static \
$(use_enable python python-bindings)