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: mongo-c-driver-0.8.1.ebuild ChangeLog
Date: Thu, 27 Mar 2014 15:05:20
Message-Id: 20140327150514.CF3FC2004F@flycatcher.gentoo.org
1 chainsaw 14/03/27 15:05:14
2
3 Modified: ChangeLog
4 Added: mongo-c-driver-0.8.1.ebuild
5 Log:
6 Bump to latest available "legacy" version.
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.6 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.6&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/mongo-c-driver/ChangeLog?rev=1.6&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/mongo-c-driver/ChangeLog?r1=1.5&r2=1.6
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/mongo-c-driver/ChangeLog,v
20 retrieving revision 1.5
21 retrieving revision 1.6
22 diff -u -r1.5 -r1.6
23 --- ChangeLog 25 Oct 2013 14:24:43 -0000 1.5
24 +++ ChangeLog 27 Mar 2014 15:05:14 -0000 1.6
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-libs/mongo-c-driver
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/mongo-c-driver/ChangeLog,v 1.5 2013/10/25 14:24:43 jer Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/mongo-c-driver/ChangeLog,v 1.6 2014/03/27 15:05:14 chainsaw Exp $
31 +
32 +*mongo-c-driver-0.8.1 (27 Mar 2014)
33 +
34 + 27 Mar 2014; Tony Vroon <chainsaw@g.o> +mongo-c-driver-0.8.1.ebuild:
35 + Bump to latest available "legacy" version.
36
37 25 Oct 2013; Jeroen Roovers <jer@g.o> mongo-c-driver-0.7.1.ebuild:
38 Marked ~hppa too.
39
40
41
42 1.1 dev-libs/mongo-c-driver/mongo-c-driver-0.8.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: mongo-c-driver-0.8.1.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1.ebuild,v 1.1 2014/03/27 15:05:14 chainsaw Exp $
52
53 EAPI="4"
54 PYTHON_DEPEND="2"
55
56 inherit multilib python
57
58 DESCRIPTION="C Driver for MongoDB"
59 HOMEPAGE="http://www.mongodb.org/ https://github.com/mongodb/mongo-c-driver"
60 SRC_URI="https://github.com/mongodb/${PN}/tarball/v${PV/_/} -> ${P}.tar.gz"
61
62 LICENSE="Apache-2.0"
63 SLOT="0"
64 KEYWORDS="~amd64 ~hppa ~ppc ~x86"
65 IUSE="doc static-libs"
66
67 # tests fails to build
68 RESTRICT="test"
69
70 RDEPEND=""
71 DEPEND="doc? ( dev-python/sphinx )"
72
73 pkg_setup() {
74 python_set_active_version 2
75 }
76
77 src_unpack() {
78 unpack ${A}
79 mv *-${PN}-* "${S}"
80 }
81
82 src_compile() {
83 emake
84 use doc && make -C docs/source/sphinx html
85 }
86
87 src_install() {
88 emake install \
89 INSTALL_LIBRARY_PATH="${D}/usr/$(get_libdir)" \
90 INSTALL_INCLUDE_PATH="${D}/usr/include"
91
92 use static-libs || find "${ED}" -name '*.a' -exec rm -f {} +
93
94 use doc && dohtml -r docs/source/sphinx/build/html/*
95 }