Gentoo Archives: gentoo-commits

From: "Tony Vroon (chainsaw)" <chainsaw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/mongo-c-driver: ChangeLog mongo-c-driver-0.8.1-r1.ebuild
Date: Thu, 27 Mar 2014 17:05:15
Message-Id: 20140327170508.A8A072004F@flycatcher.gentoo.org
1 chainsaw 14/03/27 17:05:08
2
3 Modified: ChangeLog
4 Added: mongo-c-driver-0.8.1-r1.ebuild
5 Log:
6 Bump up the API version numbers in the header, as recent pmacct release candidates require this to build. Attempt to port to newer python eclass.
7
8 (Portage version: 2.2.9-r1/cvs/Linux x86_64, signed Manifest commit with key 0xB5058F9A)
9
10 Revision Changes Path
11 1.7 dev-libs/mongo-c-driver/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/mongo-c-driver/ChangeLog?rev=1.7&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/mongo-c-driver/ChangeLog?rev=1.7&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/mongo-c-driver/ChangeLog?r1=1.6&r2=1.7
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/mongo-c-driver/ChangeLog,v
20 retrieving revision 1.6
21 retrieving revision 1.7
22 diff -u -r1.6 -r1.7
23 --- ChangeLog 27 Mar 2014 15:05:14 -0000 1.6
24 +++ ChangeLog 27 Mar 2014 17:05:08 -0000 1.7
25 @@ -1,6 +1,13 @@
26 # ChangeLog for dev-libs/mongo-c-driver
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/mongo-c-driver/ChangeLog,v 1.6 2014/03/27 15:05:14 chainsaw Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/mongo-c-driver/ChangeLog,v 1.7 2014/03/27 17:05:08 chainsaw Exp $
30 +
31 +*mongo-c-driver-0.8.1-r1 (27 Mar 2014)
32 +
33 + 27 Mar 2014; Tony Vroon <chainsaw@g.o>
34 + +mongo-c-driver-0.8.1-r1.ebuild, +files/0.8.1-api-version.diff:
35 + Bump up the API version numbers in the header, as recent pmacct release
36 + candidates require this to build. Attempt to port to newer python eclass.
37
38 *mongo-c-driver-0.8.1 (27 Mar 2014)
39
40
41
42
43 1.1 dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: mongo-c-driver-0.8.1-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2014 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild,v 1.1 2014/03/27 17:05:08 chainsaw Exp $
53
54 EAPI="5"
55 PYTHON_COMPAT=( python{2_6,2_7} )
56
57 inherit base multilib python-r1
58
59 DESCRIPTION="C Driver for MongoDB"
60 HOMEPAGE="http://www.mongodb.org/ https://github.com/mongodb/mongo-c-driver"
61 SRC_URI="https://github.com/mongodb/${PN}/tarball/v${PV/_/} -> ${P}.tar.gz"
62
63 LICENSE="Apache-2.0"
64 SLOT="0"
65 KEYWORDS="~amd64 ~hppa ~ppc ~x86"
66 IUSE="doc static-libs"
67
68 # tests fails to build
69 RESTRICT="test"
70
71 RDEPEND=""
72 DEPEND="doc? ( dev-python/sphinx )"
73 PATCHES=( "${FILESDIR}/${PV}-api-version.diff" )
74
75 src_unpack() {
76 unpack ${A}
77 mv *-${PN}-* "${S}"
78 }
79
80 src_compile() {
81 emake
82 use doc && make -C docs/source/sphinx html
83 }
84
85 src_install() {
86 emake install \
87 INSTALL_LIBRARY_PATH="${D}/usr/$(get_libdir)" \
88 INSTALL_INCLUDE_PATH="${D}/usr/include"
89
90 use static-libs || find "${ED}" -name '*.a' -exec rm -f {} +
91
92 use doc && dohtml -r docs/source/sphinx/build/html/*
93 }