Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/apsw: apsw-3.7.6.2.1.ebuild ChangeLog
Date: Tue, 26 Apr 2011 17:11:56
Message-Id: 20110426171145.DABCC20054@flycatcher.gentoo.org
1 arfrever 11/04/26 17:11:45
2
3 Modified: ChangeLog
4 Added: apsw-3.7.6.2.1.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha30_p2/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.37 dev-python/apsw/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/apsw/ChangeLog?rev=1.37&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/apsw/ChangeLog?rev=1.37&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/apsw/ChangeLog?r1=1.36&r2=1.37
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/apsw/ChangeLog,v
20 retrieving revision 1.36
21 retrieving revision 1.37
22 diff -u -r1.36 -r1.37
23 --- ChangeLog 10 Apr 2011 20:50:37 -0000 1.36
24 +++ ChangeLog 26 Apr 2011 17:11:45 -0000 1.37
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-python/apsw
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/apsw/ChangeLog,v 1.36 2011/04/10 20:50:37 maekke Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/apsw/ChangeLog,v 1.37 2011/04/26 17:11:45 arfrever Exp $
30 +
31 +*apsw-3.7.6.2.1 (26 Apr 2011)
32 +
33 + 26 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
34 + +apsw-3.7.6.2.1.ebuild:
35 + Version bump.
36
37 10 Apr 2011; Markus Meier <maekke@g.o> apsw-3.7.5.1.ebuild:
38 x86 stable, bug #348090
39
40
41
42 1.1 dev-python/apsw/apsw-3.7.6.2.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/apsw/apsw-3.7.6.2.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/apsw/apsw-3.7.6.2.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: apsw-3.7.6.2.1.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-python/apsw/apsw-3.7.6.2.1.ebuild,v 1.1 2011/04/26 17:11:45 arfrever Exp $
52
53 EAPI="3"
54 SUPPORT_PYTHON_ABIS="1"
55 RESTRICT_PYTHON_ABIS="*-jython"
56
57 inherit distutils eutils versionator
58
59 MY_PV="$(replace_version_separator 4 -r)"
60
61 DESCRIPTION="APSW - Another Python SQLite Wrapper"
62 HOMEPAGE="http://code.google.com/p/apsw/"
63 SRC_URI="http://apsw.googlecode.com/files/${PN}-${MY_PV}.zip"
64
65 LICENSE="as-is"
66 SLOT="0"
67 KEYWORDS="~amd64 ~ppc64 ~x86"
68 IUSE=""
69
70 RDEPEND=">=dev-db/sqlite-$(get_version_component_range 1-3)[extensions]"
71 DEPEND="${RDEPEND}
72 app-arch/unzip"
73
74 S="${WORKDIR}/${PN}-${MY_PV}"
75
76 PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
77
78 src_prepare() {
79 distutils_src_prepare
80 epatch "${FILESDIR}/${PN}-3.6.20.1-fix_tests.patch"
81 }
82
83 src_compile() {
84 distutils_src_compile --enable=load_extension
85 }
86
87 src_test() {
88 echo "$(PYTHON -f)" setup.py build_test_extension
89 "$(PYTHON -f)" setup.py build_test_extension || die "Building of test loadable extension failed"
90
91 testing() {
92 PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" tests.py -v
93 }
94 python_execute_function testing
95 }
96
97 src_install() {
98 distutils_src_install
99 dodoc doc/_sources/* || die "dodoc failed"
100 dohtml -r doc/* || die "dohtml failed"
101 }