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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 81C2A1382C5 for ; Fri, 16 Apr 2021 08:30:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D40C2E07FE; Fri, 16 Apr 2021 08:30:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B754BE07FE for ; Fri, 16 Apr 2021 08:30:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7C9DD335D8F for ; Fri, 16 Apr 2021 08:30:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BC41163F for ; Fri, 16 Apr 2021 08:30:03 +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: <1618561652.092ecb8efe71f2372a4cb91e7a4926938d67d587.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.2.0.ebuild X-VCS-Directories: dev-python/lmdb/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 092ecb8efe71f2372a4cb91e7a4926938d67d587 X-VCS-Branch: master Date: Fri, 16 Apr 2021 08:30:03 +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: fac4c62c-009d-47c7-a43f-c313a93c4a0e X-Archives-Hash: fd1ead54a4506bfb6086a11b030ac30f commit: 092ecb8efe71f2372a4cb91e7a4926938d67d587 Author: Michał Górny gentoo org> AuthorDate: Fri Apr 16 06:30:24 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Apr 16 08:27:32 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=092ecb8e dev-python/lmdb: Bump to 1.2.0 Signed-off-by: Michał Górny gentoo.org> dev-python/lmdb/Manifest | 1 + dev-python/lmdb/lmdb-1.2.0.ebuild | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/dev-python/lmdb/Manifest b/dev-python/lmdb/Manifest index 340e635e577..3de40e454fb 100644 --- a/dev-python/lmdb/Manifest +++ b/dev-python/lmdb/Manifest @@ -1 +1,2 @@ DIST lmdb-1.1.1.tar.gz 880359 BLAKE2B b202154eae151d3748e9e90fcb71a3c8a722923c2583e469ef1a0017a4c3dfdfd62d99db24fb79e7da1fc7c6a4fb695d9db5ed6a67750967788a12fe0ba24761 SHA512 4621c87dd646f8ca37f4cdc40ffa2fe809ca4da21b335856e50e6d0ae07f3828d424cde9cc383e4cdc761cd9311eb504d67678a33de51c1931a006ec86a2fcd0 +DIST lmdb-1.2.0.tar.gz 881437 BLAKE2B bcb045868c100bcb82daed99bdbd73699dcb5a0e982679f1d9f49747f468e2ab2cbc412ba020b9deca7263fece501c25d984397ee2969187c8118da920c691aa SHA512 75c7aeb3e98ffddb9e40b4eb7404afd3c6ade93753488eac2cb5facfab3ec9b660d925b8bd1c40ca5f8180cb6ca33483020bb4c5ddc074b841693ba278883529 diff --git a/dev-python/lmdb/lmdb-1.2.0.ebuild b/dev-python/lmdb/lmdb-1.2.0.ebuild new file mode 100644 index 00000000000..c3f6e685ef8 --- /dev/null +++ b/dev-python/lmdb/lmdb-1.2.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy3 python3_{7..9} ) + +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 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=">=dev-db/lmdb-0.9.28:=" +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 +}