From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 737E2158004 for ; Tue, 2 Jul 2024 06:59:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8C69A2BC049; Tue, 2 Jul 2024 06:59:00 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6C03B2BC048 for ; Tue, 2 Jul 2024 06:59:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 54A21343074 for ; Tue, 2 Jul 2024 06:58:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E232F1DC0 for ; Tue, 2 Jul 2024 06:58:56 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1719903527.1cbc9c5b218c8fa84a302998287eb6c83d25ffaa.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/lmdb/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/lmdb/Manifest dev-python/lmdb/lmdb-1.5.1.ebuild X-VCS-Directories: dev-python/lmdb/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 1cbc9c5b218c8fa84a302998287eb6c83d25ffaa X-VCS-Branch: master Date: Tue, 2 Jul 2024 06:58:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 59cd69f5-f146-438e-b7a8-2b525017ecf3 X-Archives-Hash: d1a4b20c54c9f96b98ea55b5a2afb41c commit: 1cbc9c5b218c8fa84a302998287eb6c83d25ffaa Author: Michał Górny gentoo org> AuthorDate: Tue Jul 2 05:20:53 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Jul 2 06:58:47 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cbc9c5b dev-python/lmdb: Bump to 1.5.1 Signed-off-by: Michał Górny gentoo.org> dev-python/lmdb/Manifest | 1 + dev-python/lmdb/lmdb-1.5.1.ebuild | 40 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) 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 +}