diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-07-02 07:20:53 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-07-02 08:58:47 +0200 |
commit | 1cbc9c5b218c8fa84a302998287eb6c83d25ffaa (patch) | |
tree | 1e93ea95775e9da40a3092c0fc19c8fb3b203284 /dev-python/lmdb | |
parent | dev-python/psycopg: Bump to 3.2.1 (diff) | |
download | gentoo-1cbc9c5b218c8fa84a302998287eb6c83d25ffaa.tar.gz gentoo-1cbc9c5b218c8fa84a302998287eb6c83d25ffaa.tar.bz2 gentoo-1cbc9c5b218c8fa84a302998287eb6c83d25ffaa.zip |
dev-python/lmdb: Bump to 1.5.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/lmdb')
-rw-r--r-- | dev-python/lmdb/Manifest | 1 | ||||
-rw-r--r-- | dev-python/lmdb/lmdb-1.5.1.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/lmdb/Manifest b/dev-python/lmdb/Manifest index cd6420e0bfa4..7b1c30b5d495 100644 --- a/dev-python/lmdb/Manifest +++ b/dev-python/lmdb/Manifest @@ -1 +1,2 @@ DIST lmdb-1.4.1.tar.gz 881549 BLAKE2B a821473c2c026a3c5f0b2686414c4dd102ae82cba7db12fbaadd5dde5b03f22e9eae630ca87424cc55d3964b40437cfbd833ab7fb237544771cf48429810af96 SHA512 96b39a45c6e7c0fcc0b6f913337d07adb5c8883d0b6a95102b0227b6b92ac3fcdcaf09c132e44f2d3779b5066692b407bb1afd19ae8d87feda56047652a07354 +DIST lmdb-1.5.1.tar.gz 881246 BLAKE2B 49fbb09a3205aa1d3ea82427a03493aa579e201e831a5d61774d130b2600673892fc1b37fc30e5a6614f98e4f9f3672d5351e2a77ba24abd3999c5d5f18a58e9 SHA512 3f5f7e91813fc2a621ea6ec40e4d85c42d996a8424d5181ce5dab4e414ef17e949c6297c41ccd03b8bb749d1038ed8b143ee5d4e93f38ffcde993beeeacd3aea diff --git a/dev-python/lmdb/lmdb-1.5.1.ebuild b/dev-python/lmdb/lmdb-1.5.1.ebuild new file mode 100644 index 000000000000..d3e48d2fe1c2 --- /dev/null +++ b/dev-python/lmdb/lmdb-1.5.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python bindings for the Lightning Database" +HOMEPAGE=" + https://github.com/jnwatson/py-lmdb/ + https://pypi.org/project/lmdb/ +" + +LICENSE="OPENLDAP" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +# cffi is used only on pypy, so no dep +DEPEND=" + >=dev-db/lmdb-0.9.28:= +" +RDEPEND=" + ${DEPEND} +" + +distutils_enable_tests pytest + +src_compile() { + local -x LMDB_FORCE_SYSTEM=1 + distutils-r1_src_compile +} + +python_test() { + rm -rf lmdb || die + epytest tests +} |