Gentoo Archives: gentoo-commits

From: "Brian Evans (grknight)" <grknight@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-db/tokumx: tokumx-1.5.0-r1.ebuild ChangeLog
Date: Fri, 01 Aug 2014 21:00:22
Message-Id: 20140801210016.65C7D2004F@flycatcher.gentoo.org
1 grknight 14/08/01 21:00:15
2
3 Modified: ChangeLog
4 Added: tokumx-1.5.0-r1.ebuild
5 Log:
6 Revision bump to use less bundled libs and fix documentation install. Ack by chainsaw
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.2 dev-db/tokumx/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/tokumx/ChangeLog?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/tokumx/ChangeLog?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/tokumx/ChangeLog?r1=1.1&r2=1.2
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-db/tokumx/ChangeLog,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- ChangeLog 1 Aug 2014 13:08:05 -0000 1.1
24 +++ ChangeLog 1 Aug 2014 21:00:15 -0000 1.2
25 @@ -1,6 +1,13 @@
26 # ChangeLog for dev-db/tokumx
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-db/tokumx/ChangeLog,v 1.1 2014/08/01 13:08:05 chainsaw Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-db/tokumx/ChangeLog,v 1.2 2014/08/01 21:00:15 grknight Exp $
30 +
31 +*tokumx-1.5.0-r1 (01 Aug 2014)
32 +
33 + 01 Aug 2014; <grknight@g.o> +files/tokumx-disable-bundled-libs.patch,
34 + +tokumx-1.5.0-r1.ebuild:
35 + Revision bump to use less bundled libs and fix documentation install. Ack by
36 + chainsaw
37
38 *tokumx-1.5.0 (01 Aug 2014)
39
40 @@ -8,4 +15,3 @@
41 +files/1.5.0-Werror.diff, +metadata.xml:
42 Initial attempt at packaging TokuMX community edition. Improvement requests
43 welcomed in bug reports, particularly with patches.
44 -
45
46
47
48 1.1 dev-db/tokumx/tokumx-1.5.0-r1.ebuild
49
50 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/tokumx/tokumx-1.5.0-r1.ebuild?rev=1.1&view=markup
51 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/tokumx/tokumx-1.5.0-r1.ebuild?rev=1.1&content-type=text/plain
52
53 Index: tokumx-1.5.0-r1.ebuild
54 ===================================================================
55 # Copyright 1999-2014 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 # $Header: /var/cvsroot/gentoo-x86/dev-db/tokumx/tokumx-1.5.0-r1.ebuild,v 1.1 2014/08/01 21:00:15 grknight Exp $
58
59 EAPI=5
60 CMAKE_BUILD_TYPE=Release
61 PYTHON_COMPAT=( python2_7 )
62
63 inherit python-r1 cmake-utils
64
65 MY_P=${PN}-git-tag-${PV}
66
67 DESCRIPTION="An open source, high-performance distribution of MongoDB"
68 HOMEPAGE="http://www.tokutek.com/products/tokumx-for-mongodb/"
69 SRC_URI="mirror://gentoo/${MY_P}.tar.bz2"
70
71 LICENSE="AGPL-3 Apache-2.0"
72 SLOT="0"
73 KEYWORDS="~amd64"
74 IUSE=""
75
76 RDEPEND="
77 dev-libs/jemalloc
78 >=dev-libs/boost-1.50[threads(+)]
79 >=dev-libs/libpcre-8.30[cxx]
80 net-libs/libpcap"
81 DEPEND="${RDEPEND}
82 sys-libs/ncurses
83 sys-libs/readline"
84
85 S="${WORKDIR}/mongo"
86 BUILD_DIR="${WORKDIR}/mongo/build"
87 QA_PRESTRIPPED="/usr/lib64/libHotBackup.so"
88
89 src_prepare() {
90 epatch "${FILESDIR}/${PV}-Werror.diff"
91 epatch "${FILESDIR}/${PN}-disable-bundled-libs.patch"
92 cmake-utils_src_prepare
93 }
94
95 src_configure() {
96 local mycmakeargs=(
97 -D TOKU_DEBUG_PARANOID=OFF
98 -D USE_VALGRIND=OFF
99 -D USE_BDB=OFF
100 -D BUILD_TESTING=OFF
101 -D TOKUMX_DISTNAME=${PV}
102 -D LIBJEMALLOC="jemalloc"
103 -D TOKUMX_STRIP_BINARIES=0
104 -D USE_SYSTEM_PCRE=1
105 -D USE_SYSTEM_BOOST=1
106 )
107 cmake-utils_src_configure
108 }
109
110 src_install() {
111 cmake-utils_src_install
112
113 # Remove unnecessary files
114 rm -r "${D}usr/buildscripts" "${D}usr/scripts" "${D}usr/src" || die
115
116 # Correctly install this python script
117 python_foreach_impl python_doscript scripts/tokumxstat.py
118
119 # Clean up documentation installed to /usr
120 pushd "${D}usr/" || die
121 rm GNU-AGPL-3.0 LICENSE.txt NEWS README README.md README-TOKUDB README-TOKUKV SConstruct THIRD-PARTY-NOTICES || die
122 popd || die
123 dodoc README.md distsrc/NEWS distsrc/README distsrc/THIRD-PARTY-NOTICES
124 newdoc src/third_party/ft-index/README-TOKUDB README-TOKUKV
125 }