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