commit: 12ccb6e6872daf341e8b08ad7c120c0a491f1d2c
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 11 09:22:55 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Aug 11 09:22:55 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12ccb6e6
dev-python/apsw: Bump to 3.50.4.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/apsw/Manifest | 1 +
dev-python/apsw/apsw-3.50.4.0.ebuild | 53 ++++++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/dev-python/apsw/Manifest b/dev-python/apsw/Manifest
index 2260ff0cd7be..06e3ba3306e9 100644
--- a/dev-python/apsw/Manifest
+++ b/dev-python/apsw/Manifest
@@ -1,2 +1,3 @@
DIST apsw-3.50.2.0.zip 2532293 BLAKE2B
fbaafb0936bfd3925044615f3ff966162557e34b66c8e2fef4cdf1fdd71d0acf295d52ef94b6c3f4253e76cd506674b6f142c051157ac62e3adabfa154535ed8
SHA512
937c58fcaa62ce71ad64535ee613c1d35f5f46d0951c991f473c94e6c23fc979017a31e4a44af922054529dbb2f33dd5048f7b6e694452f17514d802c56b1d6d
DIST apsw-3.50.3.0.zip 2551434 BLAKE2B
0f84b5f2ebffb67550fad53b0b84069d55df3b86a160ee7039d62627d13c3eb2f3584490e8f6a0e406a7bab88ea1d1ac0c2d2232d62b1c092d589addd6140be6
SHA512
0451eb3f3f6b9eb8da2497ab7bd9a3c26fd50a396f3e0bdaf1b303eb028f265c948be140c202ca568768358527c440c56c37194252520c22ea8f3ccac2886a18
+DIST apsw-3.50.4.0.zip 2551631 BLAKE2B
49603c0511f23db389d9708f661e7a6163585817d8ec64d11d73494fe831b526b772ff7b0baf83f1c18f8bf5b364ce7428fcba7d39d2c5cefd75e75e6dd8fad4
SHA512
71db63b0a7f550c9a5d3f112d47c24953472cc6555f0b57198428997d5cf5acf73629f2da8d5d53a2473067ba19d4b655cce467a5e2267e5bd6e8cf0d9883579
diff --git a/dev-python/apsw/apsw-3.50.4.0.ebuild
b/dev-python/apsw/apsw-3.50.4.0.ebuild
new file mode 100644
index 000000000000..bbde61020ea5
--- /dev/null
+++ b/dev-python/apsw/apsw-3.50.4.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
+}