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 0E9D7158086 for ; Sat, 8 Jan 2022 02:31:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5A27FE0636; Sat, 8 Jan 2022 02:31:57 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 F15DAE0636 for ; Sat, 8 Jan 2022 02:31:53 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E9B3C342E00 for ; Sat, 8 Jan 2022 02:31:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 322A0285 for ; Sat, 8 Jan 2022 02:31:51 +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: <1641609062.94b9710213ff4cc9565cedd6a13547c73eefdc57.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.4.0.ebuild X-VCS-Directories: dev-python/plyvel/ X-VCS-Committer: sbraz X-VCS-Committer-Name: Louis Sautier X-VCS-Revision: 94b9710213ff4cc9565cedd6a13547c73eefdc57 X-VCS-Branch: master Date: Sat, 8 Jan 2022 02:31:51 +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: 176bd909-09df-4a6b-bf66-a45dc5c4194d X-Archives-Hash: d3c84ab6194dffeaef2447804b7a5517 commit: 94b9710213ff4cc9565cedd6a13547c73eefdc57 Author: Louis Sautier gentoo org> AuthorDate: Sat Jan 8 02:31:02 2022 +0000 Commit: Louis Sautier gentoo org> CommitDate: Sat Jan 8 02:31:02 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94b97102 dev-python/plyvel: add 1.4.0 Signed-off-by: Louis Sautier gentoo.org> dev-python/plyvel/Manifest | 1 + dev-python/plyvel/plyvel-1.4.0.ebuild | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/dev-python/plyvel/Manifest b/dev-python/plyvel/Manifest index f55ba96c031b..71805c72135f 100644 --- a/dev-python/plyvel/Manifest +++ b/dev-python/plyvel/Manifest @@ -1 +1,2 @@ DIST plyvel-1.3.0.tar.gz 149379 BLAKE2B 0a4fc8c3073cc8e103ab217f8e7971f04d9e6d1862dea7ce3d2634ba9646bdeebdda740fe6cb2e83aeeab513601bddef374355c4f6c9f320ce6b4b14ff2b2bf6 SHA512 fc1b84f0e98bf3edcdc2d7eda4f18313186538bb419bd297f694330e60512a6ab63e8d2fabaa825023eb5570f175ebbc22b8ae81e29603b1a94c1abb37774e99 +DIST plyvel-1.4.0.tar.gz 151155 BLAKE2B 1bba3fef97518d5ec291f0ebc0ebd54511678ef16e2925a1027706c917e89bbdeb20b63bcf8d1e22f8c3ef41a88695d8d64065ac9ffb9bebdc652be0f4de4eed SHA512 6532007bb103f2b0121c41ae0a23fa67dfd2c27b1472b43265f6fb5928e4f28514744887f190fb087c8640cba2e62923a1ffe14f59a70b123dc9ad7798e329d5 diff --git a/dev-python/plyvel/plyvel-1.4.0.ebuild b/dev-python/plyvel/plyvel-1.4.0.ebuild new file mode 100644 index 000000000000..d519b1159a59 --- /dev/null +++ b/dev-python/plyvel/plyvel-1.4.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Disable PyPy3 for now because it is not stable enough: +# https://github.com/wbolster/plyvel/issues/140 +PYTHON_COMPAT=( python3_{8..10} ) + +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.21:=" +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}" +}