dev-python/lmdb: Bump to 1.5.1

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-07-02 07:20:53 +02:00
parent 68f251fe7e
commit 1cbc9c5b21
2 changed files with 41 additions and 0 deletions

View File

@@ -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

View File

@@ -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
}