dev-util/mdds: 1.2.3 version bump
authorAndreas Sturmlechner <asturm@gentoo.org>
Fri, 26 May 2017 20:06:15 +0000 (22:06 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Fri, 26 May 2017 20:30:38 +0000 (22:30 +0200)
Package-Manager: Portage-2.3.5, Repoman-2.3.1

dev-util/mdds/Manifest
dev-util/mdds/files/mdds-1.2.3-buildsystem.patch [new file with mode: 0644]
dev-util/mdds/mdds-1.2.3.ebuild [new file with mode: 0644]
dev-util/mdds/mdds-9999.ebuild

index 409a9f87dc7e993029c3b4f94f61602cc0555d9a..4fdbfae649d14917721217b59ee5c882c9731e9e 100644 (file)
@@ -1 +1,2 @@
 DIST mdds-1.2.2.tar.bz2 286185 SHA256 141e730b39110434b02cd844c5ad3442103f7c35f7e9a4d6a9f8af813594cc9d SHA512 552cb1b65c03cd18eb679c95821e47c1151e1b3015043de4b3a7bc14d27734772fa4d80fd90ab48998d0bc75385a3d29c4dd7ce826cf84b012685573c623bf01 WHIRLPOOL f0b24a886ad6b275267603b73a95c3b83ce14808f90daa0e680babec966a52de19349ac0991d76b9279818897f783d1768ece74f5f1be1157fa8bff94e5e8a5a
+DIST mdds-1.2.3.tar.bz2 287079 SHA256 402fec18256f95b89517d54d85f00bce1faa6e517cb3d7c98a720fddd063354f SHA512 e5935fd99a53df124532cfc8e46349b2ef9ca79f5f184ca2da941c9a77e66ee40e11478e520bf9cb62e1bcea4b69deab5088265e1b89fda04417130aab227c3d WHIRLPOOL 88e154f3e1141d09736a8a9d5b4adf3612cea95a82773f59053d8e83f7fec3a0c292f5453df92627f31ac7e12b2f702dc281c959e7f219de91f2a1acc15cc7b4
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 (file)
index 0000000..89b45d8
--- /dev/null
@@ -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.2.3.ebuild b/dev-util/mdds/mdds-1.2.3.ebuild
new file mode 100644 (file)
index 0000000..2205550
--- /dev/null
@@ -0,0 +1,48 @@
+# 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="http://kohei.us/files/${PN}/src/${P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="1/${PV%.*}"
+IUSE="doc valgrind"
+
+[[ ${PV} == 9999 ]] || \
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="dev-libs/boost:="
+DEPEND="${RDEPEND}
+       doc? (
+               app-doc/doxygen
+               dev-python/sphinx
+       )
+"
+
+PATCHES=( "${FILESDIR}/${P}-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
+}
index cbc8fcb3af6f86b2b276fcd7892c4cd259434150..e87dc4be509d45cc245d6e2cb6a09d7f51781769 100644 (file)
@@ -1,12 +1,12 @@
-# Copyright 1999-2016 Gentoo Foundation
+# 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 autotools"
+[[ ${PV} == 9999 ]] && GITECLASS="git-r3"
 
-inherit toolchain-funcs ${GITECLASS}
+inherit autotools toolchain-funcs ${GITECLASS}
 
 DESCRIPTION="A collection of multi-dimensional data structure and indexing algorithm"
 HOMEPAGE="https://gitlab.com/mdds/mdds"
@@ -27,11 +27,11 @@ DEPEND="${RDEPEND}
        )
 "
 
-DOCS=() # buildsystem installs docs
+PATCHES=( "${FILESDIR}/${PN}-1.2.3-buildsystem.patch" )
 
 src_prepare(){
        default
-       [[ ${PV} == 9999 ]] && eautoreconf
+       eautoreconf
 }
 
 src_configure() {