1 |
idella4 14/07/27 00:37:27 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: bsddb3-6.1.0.ebuild |
5 |
Log: |
6 |
bump; drop py2.6, upgrade test phase |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D) |
9 |
|
10 |
Revision Changes Path |
11 |
1.106 dev-python/bsddb3/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bsddb3/ChangeLog?rev=1.106&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bsddb3/ChangeLog?rev=1.106&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bsddb3/ChangeLog?r1=1.105&r2=1.106 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/bsddb3/ChangeLog,v |
20 |
retrieving revision 1.105 |
21 |
retrieving revision 1.106 |
22 |
diff -u -r1.105 -r1.106 |
23 |
--- ChangeLog 16 Jul 2014 10:08:51 -0000 1.105 |
24 |
+++ ChangeLog 27 Jul 2014 00:37:27 -0000 1.106 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-python/bsddb3 |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/bsddb3/ChangeLog,v 1.105 2014/07/16 10:08:51 pacho Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/bsddb3/ChangeLog,v 1.106 2014/07/27 00:37:27 idella4 Exp $ |
30 |
+ |
31 |
+*bsddb3-6.1.0 (27 Jul 2014) |
32 |
+ |
33 |
+ 27 Jul 2014; Ian Delaney <idella4@g.o> +bsddb3-6.1.0.ebuild: |
34 |
+ bump; drop py2.6, upgrade test phase |
35 |
|
36 |
16 Jul 2014; Pacho Ramos <pacho@g.o> bsddb3-6.0.1.ebuild: |
37 |
amd64/x86 stable, bug #516176 |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-python/bsddb3/bsddb3-6.1.0.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bsddb3/bsddb3-6.1.0.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bsddb3/bsddb3-6.1.0.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: bsddb3-6.1.0.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2014 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/bsddb3/bsddb3-6.1.0.ebuild,v 1.1 2014/07/27 00:37:27 idella4 Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} ) |
54 |
|
55 |
inherit db-use distutils-r1 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="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
60 |
|
61 |
LICENSE="BSD" |
62 |
SLOT="0" |
63 |
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" |
64 |
IUSE="doc" |
65 |
|
66 |
RDEPEND=">=sys-libs/db-4.8.30 |
67 |
<sys-libs/db-6.1" |
68 |
DEPEND="${RDEPEND} |
69 |
dev-python/setuptools[${PYTHON_USEDEP}]" |
70 |
|
71 |
DISTUTILS_IN_SOURCE_BUILD=1 |
72 |
|
73 |
src_prepare() { |
74 |
# This list should be kept in sync with setup.py. |
75 |
for DB_VER in 6.0 5.3 5.2 5.1 5.0 4.8; do |
76 |
has_version "sys-libs/db:${DB_VER}" && break |
77 |
done |
78 |
|
79 |
# Force version. |
80 |
sed -e "s/db_ver = None/db_ver = (${DB_VER%.*}, ${DB_VER#*.})/" \ |
81 |
-e "s/dblib = 'db'/dblib = '$(db_libname ${DB_VER})'/" \ |
82 |
-i setup2.py setup3.py || die |
83 |
|
84 |
# Adjust test.py to look in build/lib. |
85 |
sed -e "s/'lib.%s' % PLAT_SPEC/'lib'/" \ |
86 |
-i test2.py test3.py || die |
87 |
|
88 |
distutils-r1_src_prepare |
89 |
} |
90 |
|
91 |
src_configure() { |
92 |
# These are needed for both build and install. |
93 |
export BERKELEYDB_DIR="${EPREFIX}/usr" |
94 |
export BERKELEYDB_INCDIR="${EPREFIX}$(db_includedir)" |
95 |
export BERKELEYDB_LIBDIR="${EPREFIX}/usr/$(get_libdir)" |
96 |
} |
97 |
|
98 |
python_compile() { |
99 |
if ! python_is_python3; then |
100 |
local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" |
101 |
fi |
102 |
distutils-r1_python_compile |
103 |
} |
104 |
|
105 |
python_test() { |
106 |
if python_is_python3; then |
107 |
PYTHONPATH=Lib3 "${PYTHON}" test3.py -v || die "Testing failed with ${EPYTHON}" |
108 |
else |
109 |
PYTHONPATH=Lib "${PYTHON}" test.py -v || die "Testing failed with ${EPYTHON}" |
110 |
fi |
111 |
} |
112 |
|
113 |
python_install_all() { |
114 |
use doc && local HTML_DOCS=( docs/html/. ) |
115 |
distutils-r1_python_install_all |
116 |
} |