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 997EE138350 for ; Wed, 22 Jan 2020 22:35:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B0E14E0831; Wed, 22 Jan 2020 22:35:48 +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 7F044E0831 for ; Wed, 22 Jan 2020 22:35:48 +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 043DE34E37A for ; Wed, 22 Jan 2020 22:35:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A5E4335 for ; Wed, 22 Jan 2020 22:35:44 +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: <1579732465.8f101d5664626cd3bcaf43bd53a0fe4d14fbf4c5.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.2.0.ebuild X-VCS-Directories: dev-python/plyvel/ X-VCS-Committer: sbraz X-VCS-Committer-Name: Louis Sautier X-VCS-Revision: 8f101d5664626cd3bcaf43bd53a0fe4d14fbf4c5 X-VCS-Branch: master Date: Wed, 22 Jan 2020 22:35:44 +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: d86c104a-a962-4e96-8e9f-a9bd9c78b97e X-Archives-Hash: 648acaead197aed10317107e26aa7f61 commit: 8f101d5664626cd3bcaf43bd53a0fe4d14fbf4c5 Author: Louis Sautier gentoo org> AuthorDate: Wed Jan 22 22:26:52 2020 +0000 Commit: Louis Sautier gentoo org> CommitDate: Wed Jan 22 22:34:25 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f101d56 dev-python/plyvel: bump to 1.2.0, add Python 3.8 compat Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Louis Sautier gentoo.org> dev-python/plyvel/Manifest | 1 + dev-python/plyvel/plyvel-1.2.0.ebuild | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/dev-python/plyvel/Manifest b/dev-python/plyvel/Manifest index f4e8b4ed2b5..200308edd25 100644 --- a/dev-python/plyvel/Manifest +++ b/dev-python/plyvel/Manifest @@ -1,2 +1,3 @@ DIST plyvel-1.0.5.tar.gz 143728 BLAKE2B 2eac687e6901381b62df5278abe00684c8e5a9ac162596a1a1a0e620536155b5e5c0ba0ab9bb32c1d3a6467d997cfdf530e9275024f8caba3323728f3f3aba67 SHA512 d2a7fe9d49b377135ece03292f366423e9550d3440689a99246d8c5ddc38e474c2b05c709655c6bf74a1d04f742a23dfb8841b51698c2adb062418577b28c4b4 DIST plyvel-1.1.0.tar.gz 143970 BLAKE2B 980c8117f39c704abaf1733bfabb6816aa84e5e449ed37368038a7d6cd4cbbbf832319bf149ec6ae7cca5074984427df08afc50e033451d3d97ddafd210d91e0 SHA512 4d9b20f7e047d75af14d530519b4360194a18aa423a57ac4596441e47528bbc9f8e3ff763dd91da4c115cb1e4a6f34f01bbd47f4be49be110b2f6e3c7b8bdb3a +DIST plyvel-1.2.0.tar.gz 145528 BLAKE2B 3a1604b536e462b3eccb7c8294c607828b8f41f3ead65c74fd200d3bb4179765d63f57508cb3bfaee1c4c57ecda7b986afe9416714ae74ed9ad35a9247397c98 SHA512 00b3424e248d1ed17f6443c9862c9f35c94ad76707df5adfe625d7a387620252ff71b3e1f7e903dda1c5cfcd53cb23883c1049e31df541dfe566b8e849c0a96d diff --git a/dev-python/plyvel/plyvel-1.2.0.ebuild b/dev-python/plyvel/plyvel-1.2.0.ebuild new file mode 100644 index 00000000000..c10e3290826 --- /dev/null +++ b/dev-python/plyvel/plyvel-1.2.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy3 python3_{6,7,8} ) + +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" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=">=dev-libs/leveldb-1.20:=" +DEPEND=" + ${RDEPEND} + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + ) +" +distutils_enable_sphinx doc + +python_test() { + # We need to copy the extension to the package folder + local ext="$(ls "${BUILD_DIR}/lib/${PN}/"*.so | head -n1 || die)" + ln -s "${ext}" "${PN}" || die + pytest -vv || die "tests failed with ${EPYTHON}" + rm "${PN}/$(basename "${ext}")" || die +}