1 |
commit: 9be26d3a7c8cd92286efce09ce0b575e81aa2378 |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 3 01:43:04 2017 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 3 01:56:50 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9be26d3a |
7 |
|
8 |
dev-python/apsw: version bump to 3.20.1_p1 |
9 |
|
10 |
dev-python/apsw/Manifest | 1 + |
11 |
dev-python/apsw/apsw-3.20.1_p1.ebuild | 42 +++++++++++++++++++++++++++++++++++ |
12 |
2 files changed, 43 insertions(+) |
13 |
|
14 |
diff --git a/dev-python/apsw/Manifest b/dev-python/apsw/Manifest |
15 |
index 52623414e72..685809bb909 100644 |
16 |
--- a/dev-python/apsw/Manifest |
17 |
+++ b/dev-python/apsw/Manifest |
18 |
@@ -1,3 +1,4 @@ |
19 |
DIST apsw-3.11.1_p1.zip 679045 SHA256 92685d555bb5bdbf5ec85563cd826f76630c33a589ef2528e8f14f73a8bcc95f SHA512 3976b14ade967b2e39fdd18436e7a9a2f8f4f5b289ee93725878bd8bfa15ccb7548156df8cca981f494a4cdcc7aaed5370fde2b805e6eea022892ece1231bd96 WHIRLPOOL 8ad615ba3b5f15cdd36c15a370b036a4fddf92b69b6b0058d3fdf8d83bd2b39251d11b3cd291319c08ad09baf3f26d1b0cff3d54777e6c7169e335e985a0d1e9 |
20 |
DIST apsw-3.17.0_p1.zip 689144 SHA256 ceed784f28afec5045571892da4740a0e03d6d6d581ed24a818c67f0a189dd1c SHA512 9fc63f3596aaa931b526efed5ffc0654d80477ae2cd27361430d8376641eedf7bba482edcf65e99f0cac4ed42597805c6c95f28ff9843502c779335df5d38b77 WHIRLPOOL c9dafef922dbdaa0655fd1773498d2e4d9e209ea5ca90a3478852f33629369bd99b0670a4f116da491b4db07bb4b8137863b2831922bf15b88bba4e3b8463b6e |
21 |
DIST apsw-3.19.3_p1.zip 678966 SHA256 355b66379e9e44c1f32bc67421e4ad0a348a19bf279a4256a49d0eb83fff404e SHA512 9f9e05c865a19e7b6e6b37e6228027c027ba683be2d5ff7a1767bb3bbeb090bf66879a0eead4fc9e34fc4d84c1edc98137b2839f84ffab9bd36330d05435ab4e WHIRLPOOL 6703b13f42711f95a86a1c4a0e20bfc378823c24ee78c1ad7bb4e956bd9a927abe777a0c8c9b81c7d24130b76ba2019e048465e0cc59575a8e419f1b97847d7a |
22 |
+DIST apsw-3.20.1_p1.zip 680035 SHA256 3ea97084f76049328a5d40eee8c6c86ae303e5be66d2900b521bbc6ebfefaf0a SHA512 12284a99efba13abe417a786939e2ab10d677014feb9393e41cc7b127fb974cb961f371c142904bbe48a96038d49605c885fa43739a14ef8e11fb37ea274ce92 WHIRLPOOL d679e4c016d2041c95c9e331e02864ac4eb9308748ca1122b6faf4acaaad087840702cffbe01d21c4e4345d505750911a6d0611d469c94af995416de4af2dbf8 |
23 |
|
24 |
diff --git a/dev-python/apsw/apsw-3.20.1_p1.ebuild b/dev-python/apsw/apsw-3.20.1_p1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..f2bb6b9990b |
27 |
--- /dev/null |
28 |
+++ b/dev-python/apsw/apsw-3.20.1_p1.ebuild |
29 |
@@ -0,0 +1,42 @@ |
30 |
+# Copyright 1999-2016 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) |
35 |
+ |
36 |
+inherit distutils-r1 flag-o-matic |
37 |
+ |
38 |
+MY_PV=${PV/_p/-r} |
39 |
+MY_P=${PN}-${MY_PV} |
40 |
+ |
41 |
+DESCRIPTION="APSW - Another Python SQLite Wrapper" |
42 |
+HOMEPAGE="https://github.com/rogerbinns/apsw/" |
43 |
+SRC_URI="https://github.com/rogerbinns/apsw/releases/download/${MY_PV}/${MY_P}.zip -> ${P}.zip" |
44 |
+ |
45 |
+LICENSE="ZLIB" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~arm ~ppc64 ~x86" |
48 |
+IUSE="doc" |
49 |
+ |
50 |
+RDEPEND=">=dev-db/sqlite-${PV%_p*}" |
51 |
+DEPEND="${RDEPEND} |
52 |
+ app-arch/unzip" |
53 |
+ |
54 |
+S=${WORKDIR}/${MY_P} |
55 |
+ |
56 |
+PATCHES=( "${FILESDIR}/${PN}-3.6.20.1-fix_tests.patch" ) |
57 |
+ |
58 |
+python_compile() { |
59 |
+ python_is_python3 || append-cflags -fno-strict-aliasing |
60 |
+ distutils-r1_python_compile --enable=load_extension |
61 |
+} |
62 |
+ |
63 |
+python_test() { |
64 |
+ "${PYTHON}" setup.py build_test_extension || die "Building of test loadable extension failed" |
65 |
+ "${PYTHON}" tests.py -v || die "Tests failed under ${EPYTHON}" |
66 |
+} |
67 |
+ |
68 |
+python_install_all() { |
69 |
+ use doc && local HTML_DOCS=( doc/. ) |
70 |
+ distutils-r1_python_install_all |
71 |
+} |