Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/mdds/files/, dev-util/mdds/
Date: Thu, 15 Nov 2018 23:13:02
Message-Id: 1542323535.3785c594bec3e9e3ae518ad1f13cf7bca16c1f69.asturm@gentoo
1 commit: 3785c594bec3e9e3ae518ad1f13cf7bca16c1f69
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 15 22:49:43 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 15 23:12:15 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3785c594
7
8 dev-util/mdds: EAPI-7 bump
9
10 Rebase buildsystem patch.
11
12 Package-Manager: Portage-2.3.51, Repoman-2.3.12
13 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
14
15 dev-util/mdds/files/mdds-1.4.3-buildsystem.patch | 36 ++++++++++++++++++++++++
16 dev-util/mdds/mdds-9999.ebuild | 25 ++++++++--------
17 2 files changed, 49 insertions(+), 12 deletions(-)
18
19 diff --git a/dev-util/mdds/files/mdds-1.4.3-buildsystem.patch b/dev-util/mdds/files/mdds-1.4.3-buildsystem.patch
20 new file mode 100644
21 index 00000000000..ef3616d6f2f
22 --- /dev/null
23 +++ b/dev-util/mdds/files/mdds-1.4.3-buildsystem.patch
24 @@ -0,0 +1,36 @@
25 +We want to install (not all of) those files manually.
26 +
27 +--- a/Makefile.am 2018-08-29 13:23:49.434860594 +0200
28 ++++ b/Makefile.am 2018-08-29 13:25:52.125789186 +0200
29 +@@ -4,7 +4,6 @@
30 +
31 + AM_CPPFLAGS = -I$(top_srcdir)/include $(CXXFLAGS_UNITTESTS)
32 +
33 +-dist_doc_DATA = AUTHORS README.md
34 + nodist_pkgconf_DATA = misc/mdds-@API_VERSION@.pc
35 +
36 + DISTCLEANFILES = \
37 +@@ -15,8 +14,6 @@
38 +
39 + EXTRA_DIST = \
40 + autogen.sh \
41 +- CHANGELOG \
42 +- LICENSE \
43 + doc/conf.py \
44 + doc/doxygen.conf \
45 + doc/flat_segment_tree.rst \
46 +@@ -164,14 +161,6 @@
47 + rtree_test_bulkload_mem.mem
48 + endif
49 +
50 +-install-data-local:
51 +- $(MKDIR_P) $(DESTDIR)$(docdir)
52 +- $(INSTALL_DATA) $(top_srcdir)/LICENSE $(DESTDIR)$(docdir)/COPYING
53 +- $(INSTALL_DATA) $(top_srcdir)/CHANGELOG $(DESTDIR)$(docdir)/NEWS
54 +-
55 +-uninstall-local:
56 +- rm -f $(DESTDIR)$(docdir)/COPYING $(DESTDIR)$(docdir)/NEWS
57 +-
58 + if BUILD_DOCS
59 + html-local:
60 + (cd doc && $(DOXYGEN) doxygen.conf)
61
62 diff --git a/dev-util/mdds/mdds-9999.ebuild b/dev-util/mdds/mdds-9999.ebuild
63 index 65b5df3e9c0..facdbc17f0d 100644
64 --- a/dev-util/mdds/mdds-9999.ebuild
65 +++ b/dev-util/mdds/mdds-9999.ebuild
66 @@ -1,26 +1,27 @@
67 -# Copyright 1999-2018 Gentoo Foundation
68 +# Copyright 1999-2018 Gentoo Authors
69 # Distributed under the terms of the GNU General Public License v2
70
71 -EAPI=6
72 +EAPI=7
73
74 -EGIT_REPO_URI="https://gitlab.com/mdds/mdds.git"
75 -[[ ${PV} == 9999 ]] && GITECLASS="git-r3"
76 -
77 -inherit autotools toolchain-funcs ${GITECLASS}
78 +if [[ ${PV} == 9999 ]]; then
79 + EGIT_REPO_URI="https://gitlab.com/mdds/mdds.git"
80 + inherit git-r3
81 +else
82 + SRC_URI="https://kohei.us/files/${PN}/src/${P}.tar.bz2"
83 + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
84 +fi
85 +inherit autotools toolchain-funcs
86
87 DESCRIPTION="A collection of multi-dimensional data structure and indexing algorithm"
88 HOMEPAGE="https://gitlab.com/mdds/mdds"
89 -[[ ${PV} == 9999 ]] || SRC_URI="https://kohei.us/files/${PN}/src/${P}.tar.bz2"
90
91 LICENSE="MIT"
92 SLOT="1/${PV%.*}"
93 IUSE="doc valgrind"
94
95 -[[ ${PV} == 9999 ]] || \
96 -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
97 -
98 RDEPEND="dev-libs/boost:="
99 -DEPEND="${RDEPEND}
100 +DEPEND="${RDEPEND}"
101 +BDEPEND="
102 doc? (
103 app-doc/doxygen
104 dev-python/sphinx
105 @@ -28,7 +29,7 @@ DEPEND="${RDEPEND}
106 valgrind? ( dev-util/valgrind )
107 "
108
109 -PATCHES=( "${FILESDIR}/${PN}-1.4.1-buildsystem.patch" )
110 +PATCHES=( "${FILESDIR}/${PN}-1.4.3-buildsystem.patch" )
111
112 src_prepare(){
113 default