diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-02-10 18:53:08 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-02-10 18:53:08 +0000 |
| commit | 149dcbf1904e760ac5ba9d01234a5e393e366efa (patch) | |
| tree | b8b21a706bf7fc1345068666a457495ff3aa4103 /dev-python/apsw | |
| parent | 25bfe7b6ba5701e1db2dea0afd57c0249eaa735f (diff) | |
| download | baldeagleos-repo-149dcbf1904e760ac5ba9d01234a5e393e366efa.tar.gz baldeagleos-repo-149dcbf1904e760ac5ba9d01234a5e393e366efa.tar.xz baldeagleos-repo-149dcbf1904e760ac5ba9d01234a5e393e366efa.zip | |
Adding metadata
Diffstat (limited to 'dev-python/apsw')
| -rw-r--r-- | dev-python/apsw/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/apsw/apsw-3.49.0.0.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/apsw/Manifest b/dev-python/apsw/Manifest index 324b8cea1b06..dbc6bab82abf 100644 --- a/dev-python/apsw/Manifest +++ b/dev-python/apsw/Manifest @@ -1 +1,2 @@ DIST apsw-3.47.2.0.zip 2428145 BLAKE2B 12ece7d7854a729510b2e18d3285fc49135b3cbb3480567a0c6879c98d48b2d49bc75f4cb46af738c4a565cc6c29f7cd5d35fd2c6ea5fe1814e8048030f966fb SHA512 9884f36811bfff7276642841ebaa198669c48f4d54bb764a985ea5bdd88f9f630f9fd8a13cf0a44b5675e374c2a911fcec579ca4165622e8049bff327ef66c1d +DIST apsw-3.49.0.0.zip 2452542 BLAKE2B e4652671c7b3abdd7973765c141a781b88d328510fe2135b99eb67657485e65208e6d0c4df5fd9b513dfa119ff011562e7ed8d578ee0ebb982803da2bcbd7048 SHA512 c7c6879ce0f5c19f16b3503036c6dc37bd5a0b19ccc3ddde9d9ebd9ede9b3c3bbd275948194c8be892d32a8a472a513bfb6c43f0dfe3262744f2a114705facab 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..fefa96c4531e --- /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_{9,10,11,12,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 +} |
