commit: a3156e0cce3f3c700862f98523f67e3d85742337
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 12 07:01:51 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jul 12 07:08:22 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3156e0c
dev-python/apsw: Bump to 3.50.2.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/apsw/Manifest | 1 +
dev-python/apsw/apsw-3.50.2.0.ebuild | 53 ++++++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/dev-python/apsw/Manifest b/dev-python/apsw/Manifest
index f425be8dfcfd..15fde9857dc7 100644
--- a/dev-python/apsw/Manifest
+++ b/dev-python/apsw/Manifest
@@ -2,3 +2,4 @@ DIST apsw-3.49.1.0.zip 2452578 BLAKE2B
86668de3ffd71581611e1cb2dc8b249d8d104626e
DIST apsw-3.49.2.0.zip 2440796 BLAKE2B
0984ba94a581d9cdc72d0a9f4dd823207cd7b6cef8b783653c1b750f638d61a68e928bb0189756da9cc15e0dc7b3c6ca0557ac885b9f08cbda47d0e404b352ac
SHA512
9367a56c217a4879c771da2bcb8888afc572c8bd47e4b370610fd915320f5e66ba82856180b0bc314814f236e94ef4a715de4c4fd7df67137316441a5e436c07
DIST apsw-3.50.0.0.zip 2530510 BLAKE2B
ae129f716ffa2b560e1983513c9cdace5225fda846be64080035f083d0b6e6fedc2367a7039aeb33b373076449862794932db331f0a7c3488e95e3e3c1af7fcf
SHA512
90c2df39cf6f2347449b809688c4789105f1e74b19292c82bf7271e6ba4f5ef70a71da65f8e8aec8b34ca16ea1e4ff7fbf386500b9d09958a9611e09c788e91c
DIST apsw-3.50.1.0.zip 2531812 BLAKE2B
b187040c31470c975230c09053a09e608b80a2bba0ecf1edbf91ed2c5754d4b52d4a5310275ad3c4900e177124fa2a42f1e895ed607e509289862cfe5fc61e1a
SHA512
d4d8e543950587bb772bc9bc04f0882378f430998ba26e1b0dc2bdee46c4a5e1539100770e4d2d9c800a37958730c0e24178cefbfaf01debb2367d738e1ecbde
+DIST apsw-3.50.2.0.zip 2532293 BLAKE2B
fbaafb0936bfd3925044615f3ff966162557e34b66c8e2fef4cdf1fdd71d0acf295d52ef94b6c3f4253e76cd506674b6f142c051157ac62e3adabfa154535ed8
SHA512
937c58fcaa62ce71ad64535ee613c1d35f5f46d0951c991f473c94e6c23fc979017a31e4a44af922054529dbb2f33dd5048f7b6e694452f17514d802c56b1d6d
diff --git a/dev-python/apsw/apsw-3.50.2.0.ebuild
b/dev-python/apsw/apsw-3.50.2.0.ebuild
new file mode 100644
index 000000000000..bbde61020ea5
--- /dev/null
+++ b/dev-python/apsw/apsw-3.50.2.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..14} )
+
+inherit distutils-r1
+
+DESCRIPTION="APSW - Another Python SQLite Wrapper"
+HOMEPAGE="
+ https://github.com/rogerbinns/apsw/
+ https://pypi.org/project/apsw/
+"
+SRC_URI="
+ https://github.com/rogerbinns/apsw/releases/download/${PV}/${P}.zip
+"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="doc"
+
+DEPEND="
+ >=dev-db/sqlite-${PV%.*}:3
+"
+RDEPEND="
+ ${DEPEND}
+"
+BDEPEND="
+ app-arch/unzip
+"
+
+src_configure() {
+ cat >> setup.apsw <<-EOF || die
+ [build_ext]
+ use_system_sqlite_config=True
+ EOF
+}
+
+python_test() {
+ esetup.py build_test_extension
+ cd "${T}" || die
+ "${EPYTHON}" -m apsw.tests -v || die "Tests failed under ${EPYTHON}"
+}
+
+python_install_all() {
+ doman man/apsw.1
+ use doc && local HTML_DOCS=( doc/. )
+ distutils-r1_python_install_all
+}