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 0C2D71382C5 for ; Sun, 31 May 2020 15:43:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D4B94E0984; Sun, 31 May 2020 15:42:39 +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 C01B1E0984 for ; Sun, 31 May 2020 15:42:39 +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 E199234F09C for ; Sun, 31 May 2020 15:42:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 90EA0283 for ; Sun, 31 May 2020 15:42:36 +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: <1590939750.031559e03353f9a49a8640a75312915c54c5f6ca.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.5.27.ebuild 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: 031559e03353f9a49a8640a75312915c54c5f6ca X-VCS-Branch: master Date: Sun, 31 May 2020 15:42:36 +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: 81d0c90a-e086-4664-bdd1-da5fd0e6ba80 X-Archives-Hash: 75f2d6301c327db97e73d8baa5970cc8 commit: 031559e03353f9a49a8640a75312915c54c5f6ca Author: Michał Górny gentoo org> AuthorDate: Sun May 31 15:27:13 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun May 31 15:42:30 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=031559e0 dev-python/pyperclip: Port to py39 Signed-off-by: Michał Górny gentoo.org> dev-python/pyperclip/pyperclip-1.5.27.ebuild | 23 ++++++++++++++++++----- dev-python/pyperclip/pyperclip-1.7.0.ebuild | 3 +-- 2 files changed, 19 insertions(+), 7 deletions(-) diff --git a/dev-python/pyperclip/pyperclip-1.5.27.ebuild b/dev-python/pyperclip/pyperclip-1.5.27.ebuild index 15e303b5c97..f1298bc162c 100644 --- a/dev-python/pyperclip/pyperclip-1.5.27.ebuild +++ b/dev-python/pyperclip/pyperclip-1.5.27.ebuild @@ -3,8 +3,8 @@ EAPI=6 -PYTHON_COMPAT=( python2_7 python3_6 python3_7) -inherit distutils-r1 +PYTHON_COMPAT=( python2_7 python3_{6..8} ) +inherit distutils-r1 virtualx DESCRIPTION="A cross-platform clipboard module for Python." HOMEPAGE="https://github.com/asweigart/pyperclip" @@ -13,7 +13,20 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" LICENSE="BSD" SLOT="0" KEYWORDS="amd64 arm64 ~ppc64 x86" -IUSE="" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -RDEPEND="" +RDEPEND=" + || ( + x11-misc/xclip + x11-misc/xsel + dev-python/PyQt5[${PYTHON_USEDEP}] + ) +" + +python_test() { + "${EPYTHON}" tests/test_copy_paste.py -vv || + die "Tests fail on ${EPYTHON}" +} + +src_test() { + virtx distutils-r1_src_test +} diff --git a/dev-python/pyperclip/pyperclip-1.7.0.ebuild b/dev-python/pyperclip/pyperclip-1.7.0.ebuild index 56aca177ce2..8ae4348d65c 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=( python3_{6,7,8} ) +PYTHON_COMPAT=( python3_{6..9} ) inherit distutils-r1 virtualx DESCRIPTION="A cross-platform clipboard module for Python." @@ -14,7 +14,6 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~ppc64 sparc x86" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" RDEPEND=" || ( x11-misc/xclip