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 BBFB81382C5 for ; Tue, 9 Jun 2020 16:25:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1438AE0933; Tue, 9 Jun 2020 16:25:36 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 EFE2CE0933 for ; Tue, 9 Jun 2020 16:25:35 +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 1848B34E7B3 for ; Tue, 9 Jun 2020 16:25:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9436221D for ; Tue, 9 Jun 2020 16:25:33 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1591719643.46a084c2da8493b38952839d2c88516a6c83daf6.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/send2trash/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/send2trash/send2trash-1.5.0-r1.ebuild X-VCS-Directories: dev-python/send2trash/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 46a084c2da8493b38952839d2c88516a6c83daf6 X-VCS-Branch: master Date: Tue, 9 Jun 2020 16:25:33 +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: 32455f55-5bcb-43de-b65a-76c4457ae191 X-Archives-Hash: 55c7e5c03520965bb1df41dd2940c42f commit: 46a084c2da8493b38952839d2c88516a6c83daf6 Author: Michał Górny gentoo org> AuthorDate: Tue Jun 9 16:12:20 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Jun 9 16:20:43 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46a084c2 dev-python/send2trash: Port to py3.9 Signed-off-by: Michał Górny gentoo.org> dev-python/send2trash/send2trash-1.5.0-r1.ebuild | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/dev-python/send2trash/send2trash-1.5.0-r1.ebuild b/dev-python/send2trash/send2trash-1.5.0-r1.ebuild index bef2e775bec..6235386f0d3 100644 --- a/dev-python/send2trash/send2trash-1.5.0-r1.ebuild +++ b/dev-python/send2trash/send2trash-1.5.0-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_COMPAT=( python3_{6..9} ) inherit distutils-r1 @@ -15,22 +15,14 @@ HOMEPAGE=" https://pypi.org/project/Send2Trash/ https://github.com/hsoft/send2trash" SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +S="${WORKDIR}"/${MY_P} SLOT="0" LICENSE="BSD" KEYWORDS="amd64 x86" -IUSE="" - -RDEPEND="" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}]" -S="${WORKDIR}"/${MY_P} +distutils_enable_tests setup.py PATCHES=( "${FILESDIR}/${P}-fix-broken-tests-on-py2.patch" ) - -python_test() { - ${EPYTHON} setup.py test -}