summaryrefslogtreecommitdiff
path: root/dev-python/apsw
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/apsw')
-rw-r--r--dev-python/apsw/Manifest2
-rw-r--r--dev-python/apsw/apsw-3.41.0.0.ebuild50
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-python/apsw/Manifest b/dev-python/apsw/Manifest
index d3c09788dd8a..88577f358477 100644
--- a/dev-python/apsw/Manifest
+++ b/dev-python/apsw/Manifest
@@ -1,3 +1,5 @@
DIST apsw-3.40.1.0.gh.tar.gz 423060 BLAKE2B 7ac1a587ab93b4cd6ae20a137f2f1a2e96039209f74c8aa626ea7bf219b1698403fe4c8365662e8b896a56024b45b36a80df5f506d6a813dea920add202479cd SHA512 243d47efc7407c4f3bad92d1bf4044fe4a53d913b86e1821c7d1c3711348bf25b2a339a68d18075f99c0899766085c2f2b93a303f8298c115463224ad46f99f1
+DIST apsw-3.41.0.0.gh.tar.gz 837111 BLAKE2B f3374dae906148d7553c9c67c7e1f91acfc5124d525aa37728f81ce39c33368ae387a555dc2c50d2117a29e35c925a968968cdf22fd18477d00a877efcfef876 SHA512 f5ee663e15f54fc8f3d1fe6435be6470f9399271d2f746b8e624a98b1ae8b5fcaa0152ddae9e99d8ab2876388e42348f8e9ba8773f34e7042a72467d794c108b
EBUILD apsw-3.40.1.0.ebuild 920 BLAKE2B d117533d5f9d4019a402ab1b45907cf181cf2a725b8e6aca716694b8053960dd2318164f891ed50cdd339283e6de606654731c1de274d16000815890504e9bc9 SHA512 9b89e245dd02ca7dcd58f40b8ad76743414866cd11090dbf6aa403c645466feed4e12a5a76de89fabf46967384f61b496271a60cf91f7a274afbc2443d6cd172
+EBUILD apsw-3.41.0.0.ebuild 922 BLAKE2B 5ccd57b3cae9c5eccde49cbd9bc36f9b80e0ea9e0fc0e4dab9db6cb6fd869ee086e2929be3123597b63491b37466bbef668d6cc5deb7a924b4c4c72330bdf5ae SHA512 2b038b78a84f93edc8bc5ce7a4e74195b6149638e20d30d5d3607d5e3411d8e4d5ad399b547ee5155dc5c0a4d1dd71954f125031f237596991eb65295f8a1a01
MISC metadata.xml 700 BLAKE2B 258344a1602daf3e081fdb4c94eda8af6e231def3f02fb80d63691b47d0a503c9caad80893386ce7ef42d6be2985906f3fc5cfedfe5a1044aee04c493f3d0683 SHA512 de73b4eb06d0bcf4c81e544a98ad15231b006d62fe22f6bce7e38740b941b98297fa1a38b00060ff83ae9f3259c5020c7071469f2a3f0d9e4f8f0301cb942081
diff --git a/dev-python/apsw/apsw-3.41.0.0.ebuild b/dev-python/apsw/apsw-3.41.0.0.ebuild
new file mode 100644
index 000000000000..029ab66ba97a
--- /dev/null
+++ b/dev-python/apsw/apsw-3.41.0.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+
+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/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
+IUSE="doc"
+
+DEPEND="
+ >=dev-db/sqlite-${PV%.*}:3
+"
+RDEPEND="
+ ${DEPEND}
+"
+
+src_configure() {
+ cat >> setup.cfg <<-EOF || die
+ [build_ext]
+ enable=load_extension
+ 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() {
+ use doc && local HTML_DOCS=( doc/. )
+ distutils-r1_python_install_all
+}