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, 28 Nov 2022 06:05:41
Message-Id: 1669615530.541689a3c10fc594df0b2a867bd6e9bb99fd240d.mgorny@gentoo
1 commit: 541689a3c10fc594df0b2a867bd6e9bb99fd240d
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 28 05:23:05 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 28 06:05:30 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=541689a3
7
8 dev-python/apsw: Bump to 3.40.0.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.40.0.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 91bc2a68be1d..c8d1c4ae7c18 100644
18 --- a/dev-python/apsw/Manifest
19 +++ b/dev-python/apsw/Manifest
20 @@ -1 +1,2 @@
21 DIST apsw-3.39.4.0.gh.tar.gz 371139 BLAKE2B 223736e45b581f96cfcf4cd42f3aa278c0c3cc6b49188ac1979cc30835635f0f935eac8231d7ba0e1ae50f169095e672fe33c7938e6dbf94a7b82fc44d126002 SHA512 c09b367fa5825300c4a4fb82916077208ebd5741f9be4814d33032349eacdd6c7d528430e6d85615c56aaea30995c2575bfbe02876dc8e95e2c337a811df07e7
22 +DIST apsw-3.40.0.0.gh.tar.gz 402492 BLAKE2B 9539bbffd9cbcdee58e798261f9fb09a3f691d442cc80de664ce3d48b6f36608624e8f0b718edf87171bd8e68999ee16ea3829698e9d3277afa5b33931f464cc SHA512 61ae7d0a6f394176af462c5e80eae1f8fdc9395fcb64d4956c755d552ab0dcac83349633e7867f2fa661a6b707c80b4ae65fd68cd91b0f0d2535aedf65b4a517
23
24 diff --git a/dev-python/apsw/apsw-3.40.0.0.ebuild b/dev-python/apsw/apsw-3.40.0.0.ebuild
25 new file mode 100644
26 index 000000000000..f10a20ff8b30
27 --- /dev/null
28 +++ b/dev-python/apsw/apsw-3.40.0.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 +src_configure() {
63 + cat >> setup.cfg <<-EOF || die
64 + [build_ext]
65 + enable=load_extension
66 + use_system_sqlite_config=True
67 + EOF
68 +}
69 +
70 +python_test() {
71 + esetup.py build_test_extension
72 + cd "${T}" || die
73 + "${EPYTHON}" -m apsw.tests -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 +}