Gentoo Archives: gentoo-commits

From: "Tiziano Mueller (dev-zero)" <dev-zero@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/bsddb3: ChangeLog bsddb3-4.7.0.ebuild
Date: Wed, 25 Jun 2008 14:10:29
Message-Id: E1KBVhT-0006Lk-Pe@stork.gentoo.org
1 dev-zero 08/06/25 14:10:19
2
3 Modified: ChangeLog
4 Added: bsddb3-4.7.0.ebuild
5 Log:
6 Version bump (fixes bug #227699, introduces new dependency)
7 (Portage version: 2.2_rc1/cvs/Linux 2.6.24-gentoo-r8 x86_64)
8
9 Revision Changes Path
10 1.23 dev-python/bsddb3/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/bsddb3/ChangeLog?rev=1.23&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/bsddb3/ChangeLog?rev=1.23&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/bsddb3/ChangeLog?r1=1.22&r2=1.23
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/bsddb3/ChangeLog,v
19 retrieving revision 1.22
20 retrieving revision 1.23
21 diff -u -r1.22 -r1.23
22 --- ChangeLog 6 Mar 2007 10:49:17 -0000 1.22
23 +++ ChangeLog 25 Jun 2008 14:10:19 -0000 1.23
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-python/bsddb3
26 -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/bsddb3/ChangeLog,v 1.22 2007/03/06 10:49:17 blubb Exp $
28 +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/bsddb3/ChangeLog,v 1.23 2008/06/25 14:10:19 dev-zero Exp $
30 +
31 +*bsddb3-4.7.0 (25 Jun 2008)
32 +
33 + 25 Jun 2008; Tiziano Müller <dev-zero@g.o> +bsddb3-4.7.0.ebuild:
34 + Version bump (fixes bug #227699, introduces new dependency)
35
36 06 Mar 2007; Simon Stelling <blubb@g.o> bsddb3-4.5.0.ebuild:
37 stable on amd64; bug 169212
38
39
40
41 1.1 dev-python/bsddb3/bsddb3-4.7.0.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/bsddb3/bsddb3-4.7.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/bsddb3/bsddb3-4.7.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: bsddb3-4.7.0.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/bsddb3/bsddb3-4.7.0.ebuild,v 1.1 2008/06/25 14:10:19 dev-zero Exp $
51
52 EAPI="1"
53
54 NEED_PYTHON=2.5
55
56 inherit distutils db-use multilib
57
58 DESCRIPTION="Python bindings for BerkeleyDB"
59 HOMEPAGE="http://www.jcea.es/programacion/pybsddb.htm"
60 SRC_URI="http://pypi.python.org/packages/source/${PN:0:1}/${PN}/${P}.tar.gz"
61 LICENSE="BSD"
62 SLOT="0"
63 KEYWORDS="~amd64 ~ppc ~x86"
64 IUSE="doc"
65
66 RDEPEND="sys-libs/db:4.3"
67 DEPEND="${RDEPEND}
68 dev-python/setuptools
69 doc? ( dev-python/sphinx )"
70
71 src_compile() {
72 DB_VER="4.6"
73
74 sed -i \
75 -e "s/dblib = 'db'/dblib = '$(db_libname ${DB_VER})'/" \
76 setup.py
77
78 distutils_src_compile \
79 "--berkeley-db=/usr" \
80 "--berkeley-db-incdir=$(db_includedir ${DB_VER})" \
81 "--berkeley-db-libdir=/usr/$(get_libdir)"
82
83 if use doc ; then
84 mkdir html
85 sphinx-build docs html || die "building docs failed"
86 fi
87 }
88
89 src_install() {
90 DOCS="TODO.txt"
91 distutils_src_install
92
93 distutils_python_version
94 rm -rf "${D}/usr/$(get_libdir)/python${PYVER}/site-packages/${PN}/tests"
95
96 use doc && dohtml -r html/*
97 }
98
99 src_test() {
100 distutils_python_version
101 "${python}" test.py || die "tests failed"
102 }
103
104
105
106 --
107 gentoo-commits@l.g.o mailing list