commit:     b4087a359861642f61e813631168a1e373571c8e
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 12 06:54:17 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jul 12 07:08:21 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4087a35

dev-python/apsw: Bump to 3.49.2.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/apsw/Manifest             |  1 +
 dev-python/apsw/apsw-3.49.2.0.ebuild | 53 ++++++++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/apsw/Manifest b/dev-python/apsw/Manifest
index ba4678acbd5d..f425be8dfcfd 100644
--- a/dev-python/apsw/Manifest
+++ b/dev-python/apsw/Manifest
@@ -1,3 +1,4 @@
 DIST apsw-3.49.1.0.zip 2452578 BLAKE2B 
86668de3ffd71581611e1cb2dc8b249d8d104626e167eab3c98cb20747bbed17dc15517808e3c361f13adf89e8af515cffc55d7b3e1c4c75bdaeab37aff8ae16
 SHA512 
faae9cceb462428345fd2815a970dfc80574848f87bade7cceb09aed17127d020fd16402b3d36afe0fbc6bf707a408feea0ce038486c2a68a2ab1077a9b68d0a
+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

diff --git a/dev-python/apsw/apsw-3.49.2.0.ebuild 
b/dev-python/apsw/apsw-3.49.2.0.ebuild
new file mode 100644
index 000000000000..3c9ba41cd4e8
--- /dev/null
+++ b/dev-python/apsw/apsw-3.49.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..13} )
+
+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
+}

Reply via email to