Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/apsw/
Date: Mon, 01 Aug 2022 11:07:15
Message-Id: 1659352015.32f3ab1549e80e664b25af4301c8aa2905356802.mgorny@gentoo
1 commit: 32f3ab1549e80e664b25af4301c8aa2905356802
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 1 10:09:29 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 1 11:06:55 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32f3ab15
7
8 dev-python/apsw: Bump to 3.39.2.0
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.39.2.0.ebuild | 50 ++++++++++++++++++++++++++++++++++++
14 2 files changed, 51 insertions(+)
15
16 diff --git a/dev-python/apsw/Manifest b/dev-python/apsw/Manifest
17 index d281b36cd1fa..bd40c32c6402 100644
18 --- a/dev-python/apsw/Manifest
19 +++ b/dev-python/apsw/Manifest
20 @@ -1 +1,2 @@
21 DIST apsw-3.38.5-r1.gh.tar.gz 338186 BLAKE2B 145e38d4057be498f85a655ad7a437ec19a895769f58505b4b99093be30e67498faf9572494009db8e20e6700fa5e514605af131d045a4e8bb41587b828f5a88 SHA512 58331ca2db993f87316a55075ee9c440d4bd6e985e8ca11079391bd9cc2a907271ffe5c21d66840e336cd9e6568f6134c8b8fa5d28bbc7c77a1dddd48e8b99b7
22 +DIST apsw-3.39.2.0.gh.tar.gz 345634 BLAKE2B 433455fdb0dbc6192bbb3ef47cc1d54faa310715b81312b999a84f90de61e5362e4af8d3a705816100381ae920283d84a50fb2e51308227eecf9de5b7166c4ac SHA512 4d3eb68d47cf8114e7823969277d0f42c4091632d4aeab61f66e91e99601b6a5286875515e860e27a2f736c943dad1657f5c47cbdd23a3d1479d3019bfd1c05b
23
24 diff --git a/dev-python/apsw/apsw-3.39.2.0.ebuild b/dev-python/apsw/apsw-3.39.2.0.ebuild
25 new file mode 100644
26 index 000000000000..68db175bfcfb
27 --- /dev/null
28 +++ b/dev-python/apsw/apsw-3.39.2.0.ebuild
29 @@ -0,0 +1,50 @@
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 +DESCRIPTION="APSW - Another Python SQLite Wrapper"
41 +HOMEPAGE="
42 + https://github.com/rogerbinns/apsw/
43 + https://pypi.org/project/apsw/
44 +"
45 +SRC_URI="
46 + https://github.com/rogerbinns/apsw/archive/${PV}.tar.gz
47 + -> ${P}.gh.tar.gz
48 +"
49 +
50 +LICENSE="ZLIB"
51 +SLOT="0"
52 +KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
53 +IUSE="doc"
54 +
55 +DEPEND="
56 + >=dev-db/sqlite-${PV%.*}:3
57 +"
58 +RDEPEND="
59 + ${DEPEND}
60 +"
61 +
62 +PATCHES=(
63 + "${FILESDIR}/${PN}-3.6.20.1-fix_tests.patch"
64 +)
65 +
66 +python_compile() {
67 + # Needed for e.g. bug #851741
68 + distutils-r1_python_compile --enable=load_extension
69 +}
70 +
71 +python_test() {
72 + esetup.py build_test_extension
73 + "${EPYTHON}" tests.py -v || die "Tests failed under ${EPYTHON}"
74 +}
75 +
76 +python_install_all() {
77 + use doc && local HTML_DOCS=( doc/. )
78 + distutils-r1_python_install_all
79 +}