1 |
commit: 503daf69c241e29611e581304566f0c57a955600 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 6 05:16:33 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 6 05:26:50 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=503daf69 |
7 |
|
8 |
dev-python/apsw: Bump to 3.38.5_p1 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/apsw/Manifest | 1 + |
13 |
dev-python/apsw/apsw-3.38.5_p1.ebuild | 49 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 50 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/apsw/Manifest b/dev-python/apsw/Manifest |
17 |
index 515a5c8add95..bd103e7bd982 100644 |
18 |
--- a/dev-python/apsw/Manifest |
19 |
+++ b/dev-python/apsw/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST apsw-3.38.1-r1.gh.tar.gz 338985 BLAKE2B aa0ef335bd3abc708b41a92959f98b4fd3961168feacb9ca6d382e0279c46d4227a8e09373721ae1361fcc38181376664130b3623b2f36e1596467b99959ecb8 SHA512 4d161641d7bf7f933507e7d7e71d437d9db95f7327e29cf34848d9b741e2711dafbefbf19cb34d78d83b4e69115acad855f924fdf80de1cea4c9d61fe0f2b670 |
22 |
+DIST apsw-3.38.5-r1.gh.tar.gz 338186 BLAKE2B 145e38d4057be498f85a655ad7a437ec19a895769f58505b4b99093be30e67498faf9572494009db8e20e6700fa5e514605af131d045a4e8bb41587b828f5a88 SHA512 58331ca2db993f87316a55075ee9c440d4bd6e985e8ca11079391bd9cc2a907271ffe5c21d66840e336cd9e6568f6134c8b8fa5d28bbc7c77a1dddd48e8b99b7 |
23 |
|
24 |
diff --git a/dev-python/apsw/apsw-3.38.5_p1.ebuild b/dev-python/apsw/apsw-3.38.5_p1.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..737f556a79f7 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/apsw/apsw-3.38.5_p1.ebuild |
29 |
@@ -0,0 +1,49 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{8..11} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+MY_PV=${PV/_p/-r} |
41 |
+MY_P=${PN}-${MY_PV} |
42 |
+ |
43 |
+DESCRIPTION="APSW - Another Python SQLite Wrapper" |
44 |
+HOMEPAGE=" |
45 |
+ https://github.com/rogerbinns/apsw/ |
46 |
+ https://pypi.org/project/apsw/ |
47 |
+" |
48 |
+SRC_URI=" |
49 |
+ https://github.com/rogerbinns/apsw/archive/${MY_PV}.tar.gz |
50 |
+ -> ${MY_P}.gh.tar.gz |
51 |
+" |
52 |
+S=${WORKDIR}/${MY_P} |
53 |
+ |
54 |
+LICENSE="ZLIB" |
55 |
+SLOT="0" |
56 |
+KEYWORDS="~amd64 ~arm ~ppc64 ~x86" |
57 |
+IUSE="doc" |
58 |
+ |
59 |
+DEPEND=" |
60 |
+ >=dev-db/sqlite-${PV%_p*}:3 |
61 |
+" |
62 |
+RDEPEND=" |
63 |
+ ${DEPEND} |
64 |
+" |
65 |
+ |
66 |
+PATCHES=( |
67 |
+ "${FILESDIR}/${PN}-3.6.20.1-fix_tests.patch" |
68 |
+) |
69 |
+ |
70 |
+python_test() { |
71 |
+ esetup.py build_test_extension |
72 |
+ "${EPYTHON}" tests.py -v || die "Tests failed under ${EPYTHON}" |
73 |
+} |
74 |
+ |
75 |
+python_install_all() { |
76 |
+ use doc && local HTML_DOCS=( doc/. ) |
77 |
+ distutils-r1_python_install_all |
78 |
+} |