summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2015-07-10 03:53:48 +0000
committerPatrick Lauer <patrick@gentoo.org>2015-07-10 03:53:48 +0000
commit9d9fc74914900b97d177e92df9adb2a596c057f6 (patch)
treeba2b88cdc808b262ffc4e136d863eefced6806e9 /dev-db/hyperdex
parentVersion bump. (diff)
downloadgentoo-2-9d9fc74914900b97d177e92df9adb2a596c057f6.tar.gz
gentoo-2-9d9fc74914900b97d177e92df9adb2a596c057f6.tar.bz2
gentoo-2-9d9fc74914900b97d177e92df9adb2a596c057f6.zip
Bump
(Portage version: 2.2.20/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-db/hyperdex')
-rw-r--r--dev-db/hyperdex/ChangeLog7
-rw-r--r--dev-db/hyperdex/hyperdex-1.8.0.ebuild60
2 files changed, 66 insertions, 1 deletions
diff --git a/dev-db/hyperdex/ChangeLog b/dev-db/hyperdex/ChangeLog
index 5e09638d99b4..6bcb58251f2c 100644
--- a/dev-db/hyperdex/ChangeLog
+++ b/dev-db/hyperdex/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-db/hyperdex
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/hyperdex/ChangeLog,v 1.34 2015/06/18 02:53:38 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/hyperdex/ChangeLog,v 1.35 2015/07/10 03:53:48 patrick Exp $
+
+*hyperdex-1.8.0 (10 Jul 2015)
+
+ 10 Jul 2015; Patrick Lauer <patrick@gentoo.org> +hyperdex-1.8.0.ebuild:
+ Bump
18 Jun 2015; Patrick Lauer <patrick@gentoo.org> -hyperdex-1.7.0.ebuild:
Remove old
diff --git a/dev-db/hyperdex/hyperdex-1.8.0.ebuild b/dev-db/hyperdex/hyperdex-1.8.0.ebuild
new file mode 100644
index 000000000000..f99a597c225e
--- /dev/null
+++ b/dev-db/hyperdex/hyperdex-1.8.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/hyperdex/hyperdex-1.8.0.ebuild,v 1.1 2015/07/10 03:53:48 patrick Exp $
+EAPI=5
+
+# Tests fail, still
+RESTRICT="test"
+
+PYTHON_COMPAT=( python2_7)
+inherit eutils python-single-r1 autotools
+
+DESCRIPTION="A searchable distributed Key-Value Store"
+
+HOMEPAGE="http://hyperdex.org"
+SRC_URI="http://hyperdex.org/src/${P}.tar.gz
+ http://dev.gentooexperimental.org/~patrick/autotools-java.tar"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="test +python"
+# need to add ruby and java useflags too
+
+DEPEND="dev-cpp/glog
+ dev-cpp/sparsehash
+ dev-libs/cityhash
+ >=dev-libs/hyperleveldb-1.2
+ >=dev-libs/libpo6-0.8
+ >=dev-libs/libe-0.11
+ >=dev-libs/busybee-0.7
+ dev-libs/popt
+ >=dev-libs/replicant-0.8
+ >=dev-libs/libmacaroons-0.3
+ >=dev-libs/libtreadstone-0.2
+ dev-libs/json-c"
+RDEPEND="${DEPEND}"
+
+REQUIRED_USE="test? ( python )"
+
+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)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "Failed to install"
+ newinitd "${FILESDIR}/hyperdex.initd" hyperdex || die "Failed to install init script"
+ newconfd "${FILESDIR}/hyperdex.confd" hyperdex || die "Failed to install config file"
+ find "${D}" -name '*.la' -exec rm {} \; # bad buildsystem! bad!
+}
+
+src_test() {
+ emake -j1 check
+}