commit:     36f840eb9463d0b5ec157d23842a65b456ac4c11
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 21 06:06:34 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jun 21 06:25:05 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36f840eb

dev-python/apsw: Bump to 3.50.1.0

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

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

diff --git a/dev-python/apsw/Manifest b/dev-python/apsw/Manifest
index ea81a6c05b10..ba4678acbd5d 100644
--- a/dev-python/apsw/Manifest
+++ b/dev-python/apsw/Manifest
@@ -1,2 +1,3 @@
 DIST apsw-3.49.1.0.zip 2452578 BLAKE2B 
86668de3ffd71581611e1cb2dc8b249d8d104626e167eab3c98cb20747bbed17dc15517808e3c361f13adf89e8af515cffc55d7b3e1c4c75bdaeab37aff8ae16
 SHA512 
faae9cceb462428345fd2815a970dfc80574848f87bade7cceb09aed17127d020fd16402b3d36afe0fbc6bf707a408feea0ce038486c2a68a2ab1077a9b68d0a
 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.50.1.0.ebuild 
b/dev-python/apsw/apsw-3.50.1.0.ebuild
new file mode 100644
index 000000000000..bbde61020ea5
--- /dev/null
+++ b/dev-python/apsw/apsw-3.50.1.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
+}

Reply via email to