1 |
commit: 2cea8c9338957ea07089af0a6803244efcba03ff |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 28 06:11:34 2015 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 28 06:12:44 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cea8c93 |
7 |
|
8 |
dev-python/apsw: version bump |
9 |
|
10 |
dev-python/apsw/Manifest | 1 + |
11 |
dev-python/apsw/apsw-3.8.11.1_p1.ebuild | 55 +++++++++++++++++++++++++++++++++ |
12 |
2 files changed, 56 insertions(+) |
13 |
|
14 |
diff --git a/dev-python/apsw/Manifest b/dev-python/apsw/Manifest |
15 |
index 9728762..35499dd 100644 |
16 |
--- a/dev-python/apsw/Manifest |
17 |
+++ b/dev-python/apsw/Manifest |
18 |
@@ -1,2 +1,3 @@ |
19 |
DIST apsw-3.8.10.1_p1.tar.gz 307142 SHA256 af20221e1a65f593b47d83f1f8a136afc6d2199a22bc014251a44e31e7b0ca17 SHA512 1f997c6c88ca65995c8b5d894135d5900a4d2f56f877f74f0e99eab4ede0d06be5730ce282a5d99358318ca076eec75f2afe271574b6c02aaabf4bef181d0bda WHIRLPOOL 3e9b609a19ee39edda9af8140982c74d53d3e2b4c0bd05ea53974cb7a3c2f12f13ab4acf1d51ac5b50ee738f5380dc83b819e0ed11bf28107f903f0a52eb5949 |
20 |
+DIST apsw-3.8.11.1_p1.tar.gz 307797 SHA256 f4dc653aca10dfae8578c8bf1125600f77d0d8dcc85b4185754388aa87ae0997 SHA512 4ca857d32f423475b17e81130d4919627d581b80dd6f3f120d95906ddad657d6f52eb69fb211612e15f5eaee0211c0ad992391c93068a463e72670d49f69c61e WHIRLPOOL 15a58a83e1e5f3ee4afc470a0d58e29f5ee5cf416897b1c83ad021fb9c47f0533a5e01417aa59fb74e7b33ad9e5f1a74b40c0cbffcee4cf01617006dbad3dc2a |
21 |
DIST apsw-3.8.7.1_p1.tar.gz 303446 SHA256 7aee29cc170332aa1a16fb80753152e809208bbc91823f64178e4afc32526fec SHA512 104aad3a8cec07647b71c77814cc069587daf84450b41f992d0b3c752c476105351b28912768a29f7952bfd75e9b2d3fcd8e6ae758b3bab8b986bf8e1300c256 WHIRLPOOL cc95728b07e384ee88002afce4b68abcfb259a62188cc77bad1154a83bf3e1979fec8761fe8a3c9e5ae35d5027cdf42c1b4a4b7749ad76d7935e032e253c8167 |
22 |
|
23 |
diff --git a/dev-python/apsw/apsw-3.8.11.1_p1.ebuild b/dev-python/apsw/apsw-3.8.11.1_p1.ebuild |
24 |
new file mode 100644 |
25 |
index 0000000..a61ba23 |
26 |
--- /dev/null |
27 |
+++ b/dev-python/apsw/apsw-3.8.11.1_p1.ebuild |
28 |
@@ -0,0 +1,55 @@ |
29 |
+# Copyright 1999-2015 Gentoo Foundation |
30 |
+# Distributed under the terms of the GNU General Public License v2 |
31 |
+# $Id$ |
32 |
+ |
33 |
+EAPI=5 |
34 |
+PYTHON_COMPAT=( python{2_7,3_3,3_4} ) |
35 |
+ |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+MY_PV=${PV/_p/-r} |
39 |
+MY_P=${PN}-${MY_PV} |
40 |
+ |
41 |
+DESCRIPTION="APSW - Another Python SQLite Wrapper" |
42 |
+HOMEPAGE="https://code.google.com/p/apsw/" |
43 |
+HOMEPAGE="https://github.com/rogerbinns/apsw/" |
44 |
+SRC_URI="https://github.com/rogerbinns/apsw/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="ZLIB" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~arm ~ppc64 ~x86" |
49 |
+IUSE="doc" |
50 |
+ |
51 |
+RDEPEND=">=dev-db/sqlite-${PV%_p*}" |
52 |
+DEPEND="${RDEPEND} |
53 |
+ app-arch/unzip" |
54 |
+ |
55 |
+S=${WORKDIR}/${MY_P} |
56 |
+ |
57 |
+PATCHES=( "${FILESDIR}"/${PN}-3.6.20.1-fix_tests.patch ) |
58 |
+ |
59 |
+python_compile() { |
60 |
+ if ! python_is_python3; then |
61 |
+ local CFLAGS="${CFLAGS} -fno-strict-aliasing" |
62 |
+ export CFLAGS |
63 |
+ fi |
64 |
+ distutils-r1_python_compile --enable=load_extension |
65 |
+} |
66 |
+ |
67 |
+src_test() { |
68 |
+ # tests use overlapping database files |
69 |
+ local DISTUTILS_NO_PARALLEL_BUILD=1 |
70 |
+ distutils-r1_src_test |
71 |
+} |
72 |
+ |
73 |
+python_test() { |
74 |
+ "${PYTHON}" setup.py build_test_extension || die "Building of test loadable extension failed" |
75 |
+ "${PYTHON}" tests.py -v || die |
76 |
+} |
77 |
+ |
78 |
+python_install_all() { |
79 |
+ distutils-r1_python_install_all |
80 |
+ if use doc ; then |
81 |
+ dohtml -r doc/* |
82 |
+ fi |
83 |
+} |