diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-02-11 00:12:38 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-02-11 00:12:38 +0000 |
commit | 0ec1e1dd7867c3dedcbea76c9b6e847d6b388c03 (patch) | |
tree | 65f42b72245de9fb9fa9ea30e6221dfff7dda7c5 /dev-python/apsw | |
parent | 3a81cede4783e464b7485722b2eaac0280dbc570 (diff) |
gentoo auto-resync : 11:02:2025 - 00:12:37
Diffstat (limited to 'dev-python/apsw')
-rw-r--r-- | dev-python/apsw/Manifest | 2 | ||||
-rw-r--r-- | dev-python/apsw/apsw-3.49.0.0.ebuild | 52 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/apsw/Manifest b/dev-python/apsw/Manifest index 143cf069a922..c7861f16e673 100644 --- a/dev-python/apsw/Manifest +++ b/dev-python/apsw/Manifest @@ -1,3 +1,5 @@ DIST apsw-3.47.2.0.zip 2428145 BLAKE2B 12ece7d7854a729510b2e18d3285fc49135b3cbb3480567a0c6879c98d48b2d49bc75f4cb46af738c4a565cc6c29f7cd5d35fd2c6ea5fe1814e8048030f966fb SHA512 9884f36811bfff7276642841ebaa198669c48f4d54bb764a985ea5bdd88f9f630f9fd8a13cf0a44b5675e374c2a911fcec579ca4165622e8049bff327ef66c1d +DIST apsw-3.49.0.0.zip 2452542 BLAKE2B e4652671c7b3abdd7973765c141a781b88d328510fe2135b99eb67657485e65208e6d0c4df5fd9b513dfa119ff011562e7ed8d578ee0ebb982803da2bcbd7048 SHA512 c7c6879ce0f5c19f16b3503036c6dc37bd5a0b19ccc3ddde9d9ebd9ede9b3c3bbd275948194c8be892d32a8a472a513bfb6c43f0dfe3262744f2a114705facab EBUILD apsw-3.47.2.0.ebuild 940 BLAKE2B d40a68a33f0c1d699715c520ee2d4617e6b64359fa4b4d72edb1e1bdf56a97b0609f166ceaa2cf4fe228d2bb249c788ed2094fd1a59d0a20cdcfcb5304716f0f SHA512 f7e969935ab04f9e853ed286f46ad17345417941b0ea918848e0a978f039f06810692edb0bd380c4c26ec03c13a9ec9a4a6628a1edee549db240814e75d889f1 +EBUILD apsw-3.49.0.0.ebuild 943 BLAKE2B c34f26c24d926ca2dbf6cc6e514c4e68e7f34ed170f101f44fb91ee7e46cd1d2797927f8bbd4a7ce01de38a64bc6e0a25b67486bd02b5ff8dfc9dca15bc21c02 SHA512 efbd0e8a8e3cf1270897f31bfb6206a945d0a3d30122c14776e9f77cddd1f1c620401cb5dd6f28de81d72bd9aa11779c15e9932bdf48e27c5abdf2b59ae1fee7 MISC metadata.xml 700 BLAKE2B 258344a1602daf3e081fdb4c94eda8af6e231def3f02fb80d63691b47d0a503c9caad80893386ce7ef42d6be2985906f3fc5cfedfe5a1044aee04c493f3d0683 SHA512 de73b4eb06d0bcf4c81e544a98ad15231b006d62fe22f6bce7e38740b941b98297fa1a38b00060ff83ae9f3259c5020c7071469f2a3f0d9e4f8f0301cb942081 diff --git a/dev-python/apsw/apsw-3.49.0.0.ebuild b/dev-python/apsw/apsw-3.49.0.0.ebuild new file mode 100644 index 000000000000..05b698196b43 --- /dev/null +++ b/dev-python/apsw/apsw-3.49.0.0.ebuild @@ -0,0 +1,52 @@ +# 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_{10..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() { + use doc && local HTML_DOCS=( doc/. ) + distutils-r1_python_install_all +} |