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 D1557158088 for ; Thu, 30 Dec 2021 21:56:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7F523E077C; Thu, 30 Dec 2021 21:56:09 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9792BE0391 for ; Thu, 30 Dec 2021 21:56:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 918C5342BBF for ; Thu, 30 Dec 2021 21:56:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1B585246 for ; Thu, 30 Dec 2021 21:56:01 +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: <1640901337.9ca566ff89b7b4fb7a1c1edb019dbc02c3afdfd1.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.3.0.ebuild X-VCS-Directories: dev-python/lmdb/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 9ca566ff89b7b4fb7a1c1edb019dbc02c3afdfd1 X-VCS-Branch: master Date: Thu, 30 Dec 2021 21:56:01 +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: 623c7b6a-a8fc-4141-8749-8171d15c45c7 X-Archives-Hash: dca4dbe54b287cd0ddea3c95183bc9c0 commit: 9ca566ff89b7b4fb7a1c1edb019dbc02c3afdfd1 Author: Michał Górny gentoo org> AuthorDate: Thu Dec 30 21:31:18 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Dec 30 21:55:37 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ca566ff dev-python/lmdb: Bump to 1.3.0 Signed-off-by: Michał Górny gentoo.org> dev-python/lmdb/Manifest | 1 + dev-python/lmdb/lmdb-1.3.0.ebuild | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/dev-python/lmdb/Manifest b/dev-python/lmdb/Manifest index 4768a63a03ea..305a7f06d227 100644 --- a/dev-python/lmdb/Manifest +++ b/dev-python/lmdb/Manifest @@ -1,2 +1,3 @@ DIST lmdb-1.2.0.tar.gz 881437 BLAKE2B bcb045868c100bcb82daed99bdbd73699dcb5a0e982679f1d9f49747f468e2ab2cbc412ba020b9deca7263fece501c25d984397ee2969187c8118da920c691aa SHA512 75c7aeb3e98ffddb9e40b4eb7404afd3c6ade93753488eac2cb5facfab3ec9b660d925b8bd1c40ca5f8180cb6ca33483020bb4c5ddc074b841693ba278883529 DIST lmdb-1.2.1.tar.gz 881515 BLAKE2B 76d56e046b5a481411c9a180989da0d1c4b7371058e38abe6d8a6b76f7e2bc62678459241d319850cf739b7b067f3e89d309e5f9a538a187c52c1044fe8b768d SHA512 fa763e24c8f278e0b9c379f39329b7b80051e10d5d8edfdd631486490cfbe5c7bc641d885ffb9f298c0c07f7e6901cc826023c472f98b430a4ec9c0bc71139d5 +DIST lmdb-1.3.0.tar.gz 881422 BLAKE2B ad864956d44ec55e36a856125dd21b8e51af37a274f8b546edc68cd2025b19b97cb60f49f51558345b32922f7c968f442e15cdda84e9416280069adc7371a033 SHA512 31a821641e398087a9b8e76341d693c3be48089ffa5b5624043b276d5acb4d7fa25cbbd156dff39a82bf678402eb64d8ca922252a594ecc098946a67cc4d4cf1 diff --git a/dev-python/lmdb/lmdb-1.3.0.ebuild b/dev-python/lmdb/lmdb-1.3.0.ebuild new file mode 100644 index 000000000000..a09992f929d6 --- /dev/null +++ b/dev-python/lmdb/lmdb-1.3.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( pypy3 python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Python bindings for the Lightning Database" +HOMEPAGE="https://github.com/jnwatson/py-lmdb/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="OPENLDAP" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-db/lmdb-0.9.28:= + $(python_gen_cond_dep ' + dev-python/cffi[${PYTHON_USEDEP}] + ' 'python*')" +DEPEND="${RDEPEND}" + +distutils_enable_sphinx docs +distutils_enable_tests pytest + +python_compile() { + LMDB_FORCE_SYSTEM=1 distutils-r1_python_compile +} + +python_test() { + epytest tests +} + +python_install() { + # This is required when the CFFI extension is used (for PyPy3) + LMDB_FORCE_SYSTEM=1 distutils-r1_python_install +}