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