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 3838D138359 for ; Sat, 10 Oct 2020 19:06:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8F790E0877; Sat, 10 Oct 2020 19:06:44 +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 72EE4E0877 for ; Sat, 10 Oct 2020 19:06:44 +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 38EE1335DB9 for ; Sat, 10 Oct 2020 19:06:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AE7F1EC for ; Sat, 10 Oct 2020 19:06:41 +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: <1602356796.6d51d73f0226fc011caa7946c0cc17cbbb496a5f.sbraz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/plyvel/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/plyvel/Manifest dev-python/plyvel/plyvel-1.3.0.ebuild X-VCS-Directories: dev-python/plyvel/ X-VCS-Committer: sbraz X-VCS-Committer-Name: Louis Sautier X-VCS-Revision: 6d51d73f0226fc011caa7946c0cc17cbbb496a5f X-VCS-Branch: master Date: Sat, 10 Oct 2020 19:06:41 +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: 09bab825-0664-4322-8828-ba2cde38e9a9 X-Archives-Hash: 4f4f5a294356b70d03643d85c49d10d8 commit: 6d51d73f0226fc011caa7946c0cc17cbbb496a5f Author: Louis Sautier gentoo org> AuthorDate: Sat Oct 10 19:00:42 2020 +0000 Commit: Louis Sautier gentoo org> CommitDate: Sat Oct 10 19:06:36 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d51d73f dev-python/plyvel: bump to 1.3.0, simplify the test logic Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Louis Sautier gentoo.org> dev-python/plyvel/Manifest | 1 + dev-python/plyvel/plyvel-1.3.0.ebuild | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/dev-python/plyvel/Manifest b/dev-python/plyvel/Manifest index b3a5bfdc33c..c3d7e52c043 100644 --- a/dev-python/plyvel/Manifest +++ b/dev-python/plyvel/Manifest @@ -1 +1,2 @@ DIST plyvel-1.2.0.tar.gz 145528 BLAKE2B 3a1604b536e462b3eccb7c8294c607828b8f41f3ead65c74fd200d3bb4179765d63f57508cb3bfaee1c4c57ecda7b986afe9416714ae74ed9ad35a9247397c98 SHA512 00b3424e248d1ed17f6443c9862c9f35c94ad76707df5adfe625d7a387620252ff71b3e1f7e903dda1c5cfcd53cb23883c1049e31df541dfe566b8e849c0a96d +DIST plyvel-1.3.0.tar.gz 149379 BLAKE2B 0a4fc8c3073cc8e103ab217f8e7971f04d9e6d1862dea7ce3d2634ba9646bdeebdda740fe6cb2e83aeeab513601bddef374355c4f6c9f320ce6b4b14ff2b2bf6 SHA512 fc1b84f0e98bf3edcdc2d7eda4f18313186538bb419bd297f694330e60512a6ab63e8d2fabaa825023eb5570f175ebbc22b8ae81e29603b1a94c1abb37774e99 diff --git a/dev-python/plyvel/plyvel-1.3.0.ebuild b/dev-python/plyvel/plyvel-1.3.0.ebuild new file mode 100644 index 00000000000..b49ff201856 --- /dev/null +++ b/dev-python/plyvel/plyvel-1.3.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy3 python3_{6..9} ) + +inherit distutils-r1 + +DESCRIPTION="Python interface to LevelDB" +HOMEPAGE="https://github.com/wbolster/plyvel" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=">=dev-libs/leveldb-1.20:=" +DEPEND="${RDEPEND}" + +distutils_enable_sphinx doc +distutils_enable_tests pytest + +python_test() { + # With the default import mode, plyvel is imported from ${S} which causes + # a failure because it doesn't contain the compiled _plyvel extension + pytest --import-mode=append -vv || die "Tests fail with ${EPYTHON}" +}