dev-python/lmdb: Bump to 1.6.2

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-01-08 10:05:31 +01:00
parent 772e8a701f
commit 7b5c863dc6
2 changed files with 41 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST lmdb-1.5.1.tar.gz 881246 BLAKE2B 49fbb09a3205aa1d3ea82427a03493aa579e201e831a5d61774d130b2600673892fc1b37fc30e5a6614f98e4f9f3672d5351e2a77ba24abd3999c5d5f18a58e9 SHA512 3f5f7e91813fc2a621ea6ec40e4d85c42d996a8424d5181ce5dab4e414ef17e949c6297c41ccd03b8bb749d1038ed8b143ee5d4e93f38ffcde993beeeacd3aea
DIST lmdb-1.6.2.tar.gz 881434 BLAKE2B 3128bf5a27b89935602d49fb8c8ae951835ae8657c21bc91821253d03ca35642323b6601ad9483599078185516d21bc3299b0281921c6c867f04cee1eb5e0c98 SHA512 60ef1954c44e0f5ce34cb5570402f402dcddbb0bffcd7d2004da489dbc1329705f8e1b2655449335d246dfb88ea58e325351d4b3ab21b62a4e167a6b93911a78

View File

@@ -0,0 +1,40 @@
# 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=( pypy3 python3_{10..13} )
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
}