diff options
Diffstat (limited to 'dev-python/apsw')
| -rw-r--r-- | dev-python/apsw/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/apsw/apsw-3.54.1.0.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/apsw/Manifest b/dev-python/apsw/Manifest index 8264d4fe4812..d688d7eb4c30 100644 --- a/dev-python/apsw/Manifest +++ b/dev-python/apsw/Manifest @@ -1,2 +1,3 @@ DIST apsw-3.53.3.1.zip 2870366 BLAKE2B 2ac8f16f41348939b99477a85b3d6e6200561f8fdeb0557679dd65020df0cf0e0e0b35b3fbad50e3688bf6d825230b1033f77dc615c2ee560787c941c84f90f4 SHA512 5341ec535a0cb45573fc1a7a0243eb4e9d877f2b0987d68849163939d5babd925b17fc5f7c21741e3bc512b707c7ff4156de34c49a4eb16be914bd87cdf1c6a0 DIST apsw-3.53.4.0.zip 2875721 BLAKE2B 4f56c68ae9e298cd08ddc4bb3f9d38a693bcc376dc27db746361edb3d62e3c0fdeef4a68b54efbd3ded28f57b222b4b61e3d18253ca8484b8628dc8cb01a2cae SHA512 f06c5f5507bf48cd19969522e80546a4d59cfb05aa5f3ced3f1851f78fab20a93fef35b9a193ba3dd1771e4d84796162332c61677c0fc84c5a6a244106a99f20 +DIST apsw-3.54.1.0.zip 2903269 BLAKE2B 0852899000145bee339e4a1dcbd20e50f2b2e9ee5a5be948d5fd68f0dad4f0ad6312989255d3edebdba98519cbb0949d4fd23860666e2f38d4eb759be060a568 SHA512 f70e2d8e997e647d6ca97fca4ebe440ab99bc9e74105197e1b8784580c17a43369f5ab01428942c090d4c916dd38123837964ad70c8316b94a2b13f7eecfce34 diff --git a/dev-python/apsw/apsw-3.54.1.0.ebuild b/dev-python/apsw/apsw-3.54.1.0.ebuild new file mode 100644 index 000000000000..b599d40c008d --- /dev/null +++ b/dev-python/apsw/apsw-3.54.1.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2026 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_{13..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 +} |
