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 B2A91138359 for ; Mon, 5 Oct 2020 10:40:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C2104E092E; Mon, 5 Oct 2020 10:40:19 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 AE06FE092E for ; Mon, 5 Oct 2020 10:40:19 +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 73D21335D48 for ; Mon, 5 Oct 2020 10:40:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CF866343 for ; Mon, 5 Oct 2020 10:40:16 +0000 (UTC) From: "Louis Sautier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Louis Sautier" Message-ID: <1601893902.c34e2834049d45d14c040c2429454b94dc07fef5.sbraz@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.0.0.ebuild dev-python/lmdb/metadata.xml X-VCS-Directories: dev-python/lmdb/ X-VCS-Committer: sbraz X-VCS-Committer-Name: Louis Sautier X-VCS-Revision: c34e2834049d45d14c040c2429454b94dc07fef5 X-VCS-Branch: master Date: Mon, 5 Oct 2020 10:40:16 +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: 9d56c697-a2b0-4711-af2d-784591cc184d X-Archives-Hash: ce5181cb91b01da8b181c28e7fe90994 commit: c34e2834049d45d14c040c2429454b94dc07fef5 Author: Wim Muskee gmail com> AuthorDate: Mon Oct 5 04:06:55 2020 +0000 Commit: Louis Sautier gentoo org> CommitDate: Mon Oct 5 10:31:42 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c34e2834 dev-python/lmdb: bump to 1.0.0, add Py3.{8,9}, doc+tests Also update metadata. Closes: https://bugs.gentoo.org/744334 Signed-off-by: Wim Muskee gmail.com> Closes: https://github.com/gentoo/gentoo/pull/17786 Signed-off-by: Louis Sautier gentoo.org> dev-python/lmdb/Manifest | 1 + dev-python/lmdb/lmdb-1.0.0.ebuild | 32 ++++++++++++++++++++++++++++++++ dev-python/lmdb/metadata.xml | 3 ++- 3 files changed, 35 insertions(+), 1 deletion(-) diff --git a/dev-python/lmdb/Manifest b/dev-python/lmdb/Manifest index 7b53433a7a1..47883370872 100644 --- a/dev-python/lmdb/Manifest +++ b/dev-python/lmdb/Manifest @@ -1 +1,2 @@ DIST lmdb-0.92.tar.gz 155720 BLAKE2B fa991dba144e636d395e264c70de61bf6e1391bed589b8e67075eb604ad3cde7bc1593f596f884e13ef4c744efddac93467eb0e9d7e79d445a71e21e1f5541f7 SHA512 5177abe0c441fb9067ad84de0cafda960113042404507eaf36194efe614fbc9fda37668b9d8a07d4a7f674b0c1a267194ddfb241834a3b1db0d8026f53841cf2 +DIST lmdb-1.0.0.tar.gz 876673 BLAKE2B 33fdf7dd344e42412b756f7c6d42c291f94bb2410366802b22b8045c8ae5ff4f73f41cdc655e750f0ccb9f547f70b190bb9b584d7858edd07c1fb274bff684eb SHA512 3a4dba711ce5a3795a7f916cf04d5c7e9d4b5df30161dcbd02b53bcec73b96450865fb2bd8fe4a9ca2b5060531d03cefd9ea19aa09f139f93c3d03b2516f5632 diff --git a/dev-python/lmdb/lmdb-1.0.0.ebuild b/dev-python/lmdb/lmdb-1.0.0.ebuild new file mode 100644 index 00000000000..c96b90dc4e1 --- /dev/null +++ b/dev-python/lmdb/lmdb-1.0.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# TODO: add PyPy3 when it is supported +# https://github.com/jnwatson/py-lmdb/issues/260 +PYTHON_COMPAT=( python3_{6..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:=" +DEPEND="${RDEPEND}" + +distutils_enable_sphinx docs +distutils_enable_tests pytest + +python_compile() { + LMDB_FORCE_SYSTEM=1 distutils-r1_python_compile +} + +python_test() { + pytest tests -vv || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/lmdb/metadata.xml b/dev-python/lmdb/metadata.xml index 06b93698919..becfa11ea49 100644 --- a/dev-python/lmdb/metadata.xml +++ b/dev-python/lmdb/metadata.xml @@ -7,6 +7,7 @@ lmdb - dw/py-lmdb + jnwatson/py-lmdb + https://lmdb.readthedocs.io/