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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1ED3015AD02 for ; Sun, 16 Apr 2023 18:31:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 468F1E09FA; Sun, 16 Apr 2023 18:31:12 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 2F0EAE09FA for ; Sun, 16 Apr 2023 18:31:12 +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 47B3E335D4F for ; Sun, 16 Apr 2023 18:31:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A0803A32 for ; Sun, 16 Apr 2023 18:31:09 +0000 (UTC) From: "Julien Roy" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Julien Roy" Message-ID: <1681669818.d01a8f84d4572d0e054e8a73df721ae011172bef.julien@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/BTrees/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/BTrees/BTrees-5.0-r1.ebuild X-VCS-Directories: dev-python/BTrees/ X-VCS-Committer: julien X-VCS-Committer-Name: Julien Roy X-VCS-Revision: d01a8f84d4572d0e054e8a73df721ae011172bef X-VCS-Branch: dev Date: Sun, 16 Apr 2023 18:31:09 +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: fa2e28ca-8f01-4241-9682-39eea676f0c6 X-Archives-Hash: 828936ee626c3cb34c9ed10fac9b8dbd commit: d01a8f84d4572d0e054e8a73df721ae011172bef Author: Julien Roy jroy ca> AuthorDate: Sun Apr 16 18:30:18 2023 +0000 Commit: Julien Roy jroy ca> CommitDate: Sun Apr 16 18:30:18 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d01a8f84 dev-python/BTrees: add 5.0-r1 Fix dependencies for tests & doc Closes: https://bugs.gentoo.org/904306 Signed-off-by: Julien Roy jroy.ca> dev-python/BTrees/BTrees-5.0-r1.ebuild | 42 ++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/dev-python/BTrees/BTrees-5.0-r1.ebuild b/dev-python/BTrees/BTrees-5.0-r1.ebuild new file mode 100644 index 000000000..a2cd50467 --- /dev/null +++ b/dev-python/BTrees/BTrees-5.0-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) + +PYPI_NO_NORMALIZE=1 +inherit distutils-r1 pypi + +DESCRIPTION="scalable persistent components" +HOMEPAGE="https://github.com/zopefoundation/BTrees" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/persistent[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" +BDEPEND=" + doc? ( + dev-python/repoze-sphinx-autointerface[${PYTHON_USEDEP}] + dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}] + ) + test? ( + dev-python/persistent[${PYTHON_USEDEP}] + dev-python/transaction[${PYTHON_USEDEP}] + dev-python/zope-testrunner[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs +distutils_enable_tests pytest + +python_test() { + zope-testrunner -pvc -j "$(nproc)" --usecompiled \ + --path "${BUILD_DIR}/install$(python_get_sitedir)/" || die +}