summaryrefslogtreecommitdiff
path: root/dev-util/mdds
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-util/mdds
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-util/mdds')
-rw-r--r--dev-util/mdds/Manifest5
-rw-r--r--dev-util/mdds/files/mdds-1.2.3-buildsystem.patch36
-rw-r--r--dev-util/mdds/mdds-1.3.1.ebuild46
-rw-r--r--dev-util/mdds/mdds-9999.ebuild49
-rw-r--r--dev-util/mdds/metadata.xml14
5 files changed, 150 insertions, 0 deletions
diff --git a/dev-util/mdds/Manifest b/dev-util/mdds/Manifest
new file mode 100644
index 000000000000..aa18392fc3c7
--- /dev/null
+++ b/dev-util/mdds/Manifest
@@ -0,0 +1,5 @@
+AUX mdds-1.2.3-buildsystem.patch 901 BLAKE2B 040cf2db28e1c36c28d617b8f56abfca11909267230e7986e4e2439b8e98d7bedb076bad415a75846db038166583c1f3395cd71affb60959956062c293929378 SHA512 bc48b893c0b3d98aa45d7642bbd9bd10ee0f183bcd3da848a0abe4f33547b693e171a327439aba9b76f0683cc15eeb0410be7ed6f834d28483b8f82f8c13678f
+DIST mdds-1.3.1.tar.bz2 287612 BLAKE2B 476f15bea2ab75ba322139834badaf372026a5e0ce67d5487acc61b38321a21dd6b25efacc91dbb0ebdef274338c909b1c7ac0ff6aaedd8dd899458319d94c30 SHA512 c7ed422c8e0bfb00debd43a12638efc6706d25f9aee0b7cfc15dc711693c4d555e262ae47ff00797c9601c12c0a7eced0f753b263b5f61623470f842814970a8
+EBUILD mdds-1.3.1.ebuild 981 BLAKE2B d56dee445b3d1c55fa2d2eb6c742c45574db99784ea41e26d0b24eb12ef439eb6522385f1c9b1e539373d5b88a7361f412cc192b2b7a297fb689d576c06bd3ad SHA512 9564ee7663255f1757c86325bc80b78c6b05375a5a35a9a46b4567c7a307b8c3cc0d7e4e86349fa7074d65bb321bde88e9a625ed2ecb668f0574899d80e48c88
+EBUILD mdds-9999.ebuild 996 BLAKE2B e1ca3357c730601129ef9e698d6d200152dc29e99b1198e4e9b5de556e228e741829c0e8c25abbecc5bf8cb7fbf2b10e0d25a24ab6b25c0dcd2b88f42821daf9 SHA512 39a037513bffeeac8931380b00f46a151b930c50dedc81b5d27c960a0448e123505ae50d5e399bd514ac695af0187a4b93d826bc766bb608b53013e3b5291185
+MISC metadata.xml 456 BLAKE2B 18fd8f49cbbb2b86b19ef2aaa0dcc1ae57c16597e4357c7f18eeb529972931234fa165e3d1a8a65f1f5b004fed57bfb09896a6b5505fd71d2ffe7cd2a2a42f3b SHA512 51aa3106f9bb7b962e7225e88fb56335b0bef35dc1749866a4e44290ca0cac510be348aa6b5542f536a8b3bdc83dbf39c4af6b79dc603047a7a6ba6980842d71
diff --git a/dev-util/mdds/files/mdds-1.2.3-buildsystem.patch b/dev-util/mdds/files/mdds-1.2.3-buildsystem.patch
new file mode 100644
index 000000000000..89b45d826e04
--- /dev/null
+++ b/dev-util/mdds/files/mdds-1.2.3-buildsystem.patch
@@ -0,0 +1,36 @@
+We want to install (not all of) those files manually.
+
+--- a/Makefile.am 2017-05-24 23:59:15.000000000 +0200
++++ b/Makefile.am 2017-05-26 21:52:01.184258647 +0200
+@@ -4,16 +4,12 @@
+
+ AM_CPPFLAGS = -I$(top_srcdir)/include
+
+-dist_doc_DATA = AUTHORS README.md
+-nodist_doc_DATA = VERSION
+ nodist_pkgconf_DATA = misc/mdds-@API_VERSION@.pc
+
+ DISTCLEANFILES = misc/mdds-@API_VERSION@.pc
+
+ EXTRA_DIST = \
+ autogen.sh \
+- CHANGELOG \
+- LICENSE \
+ doc/conf.py \
+ doc/doxygen.conf \
+ doc/flat_segment_tree.rst \
+@@ -151,14 +147,6 @@
+ trie_map_test_mem.mem
+ endif
+
+-install-data-local:
+- $(MKDIR_P) $(DESTDIR)$(docdir)
+- $(INSTALL_DATA) $(top_srcdir)/LICENSE $(DESTDIR)$(docdir)/COPYING
+- $(INSTALL_DATA) $(top_srcdir)/CHANGELOG $(DESTDIR)$(docdir)/NEWS
+-
+-uninstall-local:
+- rm -f $(DESTDIR)$(docdir)/COPYING $(DESTDIR)$(docdir)/NEWS
+-
+ if BUILD_DOCS
+ html-local:
+ (cd doc && $(DOXYGEN) doxygen.conf)
diff --git a/dev-util/mdds/mdds-1.3.1.ebuild b/dev-util/mdds/mdds-1.3.1.ebuild
new file mode 100644
index 000000000000..1473b988ea99
--- /dev/null
+++ b/dev-util/mdds/mdds-1.3.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGIT_REPO_URI="https://gitlab.com/mdds/mdds.git"
+[[ ${PV} == 9999 ]] && GITECLASS="git-r3"
+
+inherit autotools toolchain-funcs ${GITECLASS}
+
+DESCRIPTION="A collection of multi-dimensional data structure and indexing algorithm"
+HOMEPAGE="https://gitlab.com/mdds/mdds"
+[[ ${PV} == 9999 ]] || SRC_URI="https://kohei.us/files/${PN}/src/${P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="1/1.2"
+IUSE="valgrind"
+
+[[ ${PV} == 9999 ]] || \
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="dev-libs/boost:="
+DEPEND="${RDEPEND}
+ valgrind? ( dev-util/valgrind )
+"
+
+PATCHES=( "${FILESDIR}/${PN}-1.2.3-buildsystem.patch" )
+
+src_prepare(){
+ default
+ eautoreconf
+}
+
+src_configure() {
+ # docs require dev-python/breathe etc., bug #602026
+ econf \
+ --disable-docs \
+ $(use_enable valgrind memory_tests)
+}
+
+src_compile() { :; }
+
+src_test() {
+ tc-export CXX
+ default
+}
diff --git a/dev-util/mdds/mdds-9999.ebuild b/dev-util/mdds/mdds-9999.ebuild
new file mode 100644
index 000000000000..8059254bb67f
--- /dev/null
+++ b/dev-util/mdds/mdds-9999.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGIT_REPO_URI="https://gitlab.com/mdds/mdds.git"
+[[ ${PV} == 9999 ]] && GITECLASS="git-r3"
+
+inherit autotools toolchain-funcs ${GITECLASS}
+
+DESCRIPTION="A collection of multi-dimensional data structure and indexing algorithm"
+HOMEPAGE="https://gitlab.com/mdds/mdds"
+[[ ${PV} == 9999 ]] || SRC_URI="https://kohei.us/files/${PN}/src/${P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="1/${PV%.*}"
+IUSE="doc valgrind"
+
+[[ ${PV} == 9999 ]] || \
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="dev-libs/boost:="
+DEPEND="${RDEPEND}
+ doc? (
+ app-doc/doxygen
+ dev-python/sphinx
+ )
+ valgrind? ( dev-util/valgrind )
+"
+
+PATCHES=( "${FILESDIR}/${PN}-1.2.3-buildsystem.patch" )
+
+src_prepare(){
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable doc docs) \
+ $(use_enable valgrind memory_tests)
+}
+
+src_compile() { :; }
+
+src_test() {
+ tc-export CXX
+ default
+}
diff --git a/dev-util/mdds/metadata.xml b/dev-util/mdds/metadata.xml
new file mode 100644
index 000000000000..c054dfb0bb86
--- /dev/null
+++ b/dev-util/mdds/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>office@gentoo.org</email>
+ <name>Gentoo Office project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="google-code">multidimalgorithm</remote-id>
+ </upstream>
+ <use>
+ <flag name="valgrind">Add support for memory debugging using <pkg>dev-util/valgrind</pkg></flag>
+ </use>
+</pkgmetadata>