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 D65F7138350 for ; Fri, 10 Jan 2020 06:19:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A5241E0886; Fri, 10 Jan 2020 06:19:11 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 7276EE0872 for ; Fri, 10 Jan 2020 06:19:11 +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 E1A2734DF32 for ; Fri, 10 Jan 2020 06:19:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EF03D97 for ; Fri, 10 Jan 2020 06:19:07 +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: <1578637138.09f4657c6d8bb796d88e10d4000ca88821119e4f.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyperclip/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyperclip/pyperclip-1.7.0.ebuild X-VCS-Directories: dev-python/pyperclip/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 09f4657c6d8bb796d88e10d4000ca88821119e4f X-VCS-Branch: master Date: Fri, 10 Jan 2020 06:19:07 +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: dbeb1d40-33e2-4edb-89a9-be9694c88a41 X-Archives-Hash: b615fe51a9ef55033820c10cd4ef780a commit: 09f4657c6d8bb796d88e10d4000ca88821119e4f Author: Michał Górny gentoo org> AuthorDate: Fri Jan 10 05:51:55 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Jan 10 06:18:58 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09f4657c dev-python/pyperclip: Enable python3.8 Signed-off-by: Michał Górny gentoo.org> dev-python/pyperclip/pyperclip-1.7.0.ebuild | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/dev-python/pyperclip/pyperclip-1.7.0.ebuild b/dev-python/pyperclip/pyperclip-1.7.0.ebuild index fd006c598db..3fbc5b435e8 100644 --- a/dev-python/pyperclip/pyperclip-1.7.0.ebuild +++ b/dev-python/pyperclip/pyperclip-1.7.0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{6,7}) +PYTHON_COMPAT=( python2_7 python3_{6,7,8} ) inherit distutils-r1 virtualx DESCRIPTION="A cross-platform clipboard module for Python." @@ -24,13 +24,11 @@ RDEPEND=" ) " -python_prepare_all() { - # make tests a proper module so setuptools can find the test suite - touch tests/__init__.py || die - - distutils-r1_python_prepare_all +python_test() { + "${EPYTHON}" tests/test_pyperclip.py -vv || + die "Tests fail on ${EPYTHON}" } -python_test() { - virtx esetup.py test +src_test() { + virtx distutils-r1_src_test }