From: | "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/bsddb3: bsddb3-4.8.2.ebuild ChangeLog |
Date: | Tue, 29 Dec 2009 18:50:17 |
Message-Id: | E1NPh94-0002w6-9O@stork.gentoo.org |
1 | arfrever 09/12/29 18:50:14 |
2 | |
3 | Modified: ChangeLog |
4 | Added: bsddb3-4.8.2.ebuild |
5 | Log: |
6 | Version bump. |
7 | (Portage version: 15154-svn/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.46 dev-python/bsddb3/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/bsddb3/ChangeLog?rev=1.46&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/bsddb3/ChangeLog?rev=1.46&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/bsddb3/ChangeLog?r1=1.45&r2=1.46 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-python/bsddb3/ChangeLog,v |
19 | retrieving revision 1.45 |
20 | retrieving revision 1.46 |
21 | diff -u -r1.45 -r1.46 |
22 | --- ChangeLog 29 Dec 2009 18:44:51 -0000 1.45 |
23 | +++ ChangeLog 29 Dec 2009 18:50:13 -0000 1.46 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for dev-python/bsddb3 |
26 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/bsddb3/ChangeLog,v 1.45 2009/12/29 18:44:51 armin76 Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/bsddb3/ChangeLog,v 1.46 2009/12/29 18:50:13 arfrever Exp $ |
29 | + |
30 | +*bsddb3-4.8.2 (29 Dec 2009) |
31 | + |
32 | + 29 Dec 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
33 | + +bsddb3-4.8.2.ebuild: |
34 | + Version bump. |
35 | |
36 | 29 Dec 2009; Raúl Porcel <armin76@g.o> bsddb3-4.8.1.ebuild: |
37 | sparc stable wrt #296027 |
38 | |
39 | |
40 | |
41 | 1.1 dev-python/bsddb3/bsddb3-4.8.2.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/bsddb3/bsddb3-4.8.2.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/bsddb3/bsddb3-4.8.2.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: bsddb3-4.8.2.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2009 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.8.2.ebuild,v 1.1 2009/12/29 18:50:13 arfrever Exp $ |
51 | |
52 | EAPI="2" |
53 | SUPPORT_PYTHON_ABIS="1" |
54 | |
55 | inherit db-use distutils multilib |
56 | |
57 | DESCRIPTION="Python bindings for Berkeley DB" |
58 | HOMEPAGE="http://www.jcea.es/programacion/pybsddb.htm http://pypi.python.org/pypi/bsddb3" |
59 | SRC_URI="http://pypi.python.org/packages/source/${PN:0:1}/${PN}/${P}.tar.gz" |
60 | |
61 | LICENSE="BSD" |
62 | SLOT="0" |
63 | KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86" |
64 | IUSE="" |
65 | # Documentation missing in >=4.8.2 tarball. |
66 | # IUSE="doc" |
67 | |
68 | RDEPEND=">=sys-libs/db-4.6" |
69 | DEPEND="${RDEPEND}" |
70 | # doc? ( dev-python/sphinx ) |
71 | |
72 | DOCS="TODO.txt" |
73 | |
74 | src_compile() { |
75 | local DB_VER |
76 | if has_version sys-libs/db:4.8; then |
77 | DB_VER="4.8" |
78 | elif has_version sys-libs/db:4.7; then |
79 | DB_VER="4.7" |
80 | else |
81 | DB_VER="4.6" |
82 | fi |
83 | |
84 | sed -i \ |
85 | -e "s/dblib = 'db'/dblib = '$(db_libname ${DB_VER})'/" \ |
86 | setup2.py setup3.py || die "sed failed" |
87 | |
88 | distutils_src_compile \ |
89 | "--berkeley-db=/usr" \ |
90 | "--berkeley-db-incdir=$(db_includedir ${DB_VER})" \ |
91 | "--berkeley-db-libdir=/usr/$(get_libdir)" |
92 | |
93 | # if use doc; then |
94 | # mkdir html |
95 | # sphinx-build docs html || die "Generation of documentation failed" |
96 | # fi |
97 | } |
98 | |
99 | src_test() { |
100 | tests() { |
101 | rm -fr /tmp/z-Berkeley_DB |
102 | python_set_build_dir_symlink |
103 | "$(PYTHON)" test.py |
104 | } |
105 | python_execute_function tests |
106 | } |
107 | |
108 | src_install() { |
109 | distutils_src_install |
110 | |
111 | rm -fr "${D}"usr/lib*/python*/site-packages/${PN}/tests |
112 | |
113 | # use doc && dohtml -r html/* |
114 | } |