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 56CCB158CB7 for ; Wed, 18 Aug 2021 07:48:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8CC2DE0101; Wed, 18 Aug 2021 07:48:35 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 73E0CE0101 for ; Wed, 18 Aug 2021 07:48:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 44C6833D7C2 for ; Wed, 18 Aug 2021 07:48:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7A8F75A0 for ; Wed, 18 Aug 2021 07:48:32 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1629272849.d98adae77d4d28f1b5d69097ea7c573e99128893.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/setuptools_trial/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/setuptools_trial/setuptools_trial-0.6.0-r1.ebuild X-VCS-Directories: dev-python/setuptools_trial/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: d98adae77d4d28f1b5d69097ea7c573e99128893 X-VCS-Branch: master Date: Wed, 18 Aug 2021 07:48:32 +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: 23b96614-0d83-4a60-a1ad-156777f9254b X-Archives-Hash: 2f5b13460707f6304878ec1606e98181 commit: d98adae77d4d28f1b5d69097ea7c573e99128893 Author: Arthur Zamarin gentoo org> AuthorDate: Wed Aug 18 07:47:29 2021 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Wed Aug 18 07:47:29 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d98adae7 dev-python/setuptools_trial: enable py3.10, fix docs install Closes: https://bugs.gentoo.org/802849 Signed-off-by: Arthur Zamarin gentoo.org> .../setuptools_trial/setuptools_trial-0.6.0-r1.ebuild | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/dev-python/setuptools_trial/setuptools_trial-0.6.0-r1.ebuild b/dev-python/setuptools_trial/setuptools_trial-0.6.0-r1.ebuild index 331289048c4..849cb00d85f 100644 --- a/dev-python/setuptools_trial/setuptools_trial-0.6.0-r1.ebuild +++ b/dev-python/setuptools_trial/setuptools_trial-0.6.0-r1.ebuild @@ -1,11 +1,9 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 -PYTHON_COMPAT=( python3_{7,8,9} ) - -DISTUTILS_USE_SETUPTOOLS=bdepend +EAPI=8 +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 DESCRIPTION="Setuptools plugin that makes unit tests execute with trial instead of pyunit" @@ -22,7 +20,13 @@ RDEPEND=" >=dev-python/twisted-16.0.0[${PYTHON_USEDEP}] " -BDEPEND="${RDEPEND}" +BDEPEND="test? ( ${RDEPEND} )" + +src_prepare() { + # don't install docs into wrong location + sed -e '/data_files=/d' -i setup.py || die + distutils-r1_src_prepare +} python_test() { distutils_install_for_testing