summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-07-26 06:38:35 +0200
committerMichał Górny <mgorny@gentoo.org>2025-07-26 06:54:42 +0200
commit2e29930aac7884b51d1de2dc48e38a919aef25e6 (patch)
tree7e80e0ef039690a7f8bd53beee5bfe6a25b4c5f5 /dev-python
parent39b3cdcbe7269605ab8b09a25c66b285aaf0b2da (diff)
downloadgentoo-2e29930aac7884b51d1de2dc48e38a919aef25e6.tar.gz
gentoo-2e29930aac7884b51d1de2dc48e38a919aef25e6.tar.bz2
gentoo-2e29930aac7884b51d1de2dc48e38a919aef25e6.zip
dev-python/lmdb: Bump to 1.7.3
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/lmdb/Manifest1
-rw-r--r--dev-python/lmdb/lmdb-1.7.3.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/lmdb/Manifest b/dev-python/lmdb/Manifest
index a1d44fd34137..d5ec2dc4075c 100644
--- a/dev-python/lmdb/Manifest
+++ b/dev-python/lmdb/Manifest
@@ -1 +1,2 @@
DIST lmdb-1.7.2.tar.gz 883413 BLAKE2B 16c1760ac639a1ba751f3fd033afec93d6fa2961d07ce816eb3e28451a687b273e3bf0ed933df378690964c64987200bdf077e726c3cb11f3970367aae5e4d26 SHA512 ed184397f3c1d28067c0a80e091c732530051757d9f61be26863e6ad114ef01a5327c2a9fe66a6e8edb97728e300efe59ccb18a60249927e7e0da4e20b0907d2
+DIST lmdb-1.7.3.tar.gz 883449 BLAKE2B 0876dbe6abbb072122505ba6e3e54344896d39be393aadf7aaf14bf3590c029d94a3666dc7cc19d1ae4e34e616945e57190c77906d73449b2db18d772696f436 SHA512 4019e8ff45949a39474fcb173838642ed48e86a235b16fba87c7dfc7af5c48740b69dd8b436a867a12610aa5efbc54131ee06aea162604f43bede41bab3e34b4
diff --git a/dev-python/lmdb/lmdb-1.7.3.ebuild b/dev-python/lmdb/lmdb-1.7.3.ebuild
new file mode 100644
index 000000000000..e6ab9c0e171d
--- /dev/null
+++ b/dev-python/lmdb/lmdb-1.7.3.ebuild
@@ -0,0 +1,46 @@
+# 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_11 python3_{11..14} )
+
+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}
+"
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+export LMDB_FORCE_SYSTEM=1
+
+python_test() {
+ rm -rf lmdb || die
+ epytest tests
+}
+
+src_install() {
+ distutils-r1_src_install
+
+ # remove temporary files
+ find "${D}" -name '*.o' -delete || die
+ find "${D}" -depth -type d -empty -delete || die
+}