commit: 7b5c863dc6ca79bf4a54706216ca2dd930e4811a
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 8 09:05:31 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jan 8 09:12:35 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b5c863d
dev-python/lmdb: Bump to 1.6.2
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/lmdb/Manifest | 1 +
dev-python/lmdb/lmdb-1.6.2.ebuild | 40 +++++++++++++++++++++++++++++++++++++++
2 files changed, 41 insertions(+)
diff --git a/dev-python/lmdb/Manifest b/dev-python/lmdb/Manifest
index 5855f60da74d..72f599784e84 100644
--- a/dev-python/lmdb/Manifest
+++ b/dev-python/lmdb/Manifest
@@ -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
diff --git a/dev-python/lmdb/lmdb-1.6.2.ebuild
b/dev-python/lmdb/lmdb-1.6.2.ebuild
new file mode 100644
index 000000000000..f3d9086ff394
--- /dev/null
+++ b/dev-python/lmdb/lmdb-1.6.2.ebuild
@@ -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
+}