From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyperclip/
Date: Sun, 31 May 2020 15:42:36 +0000 (UTC) [thread overview]
Message-ID: <1590939750.031559e03353f9a49a8640a75312915c54c5f6ca.mgorny@gentoo> (raw)
commit: 031559e03353f9a49a8640a75312915c54c5f6ca
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun May 31 15:27:13 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> 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 <mgorny <AT> 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
next reply other threads:[~2020-05-31 15:43 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-31 15:42 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-14 10:57 [gentoo-commits] repo/gentoo:master commit in: dev-python/pyperclip/ Michał Górny
2024-12-14 10:30 Arthur Zamarin
2024-06-11 13:40 Michał Górny
2023-05-31 19:23 Arthur Zamarin
2023-05-31 19:23 Arthur Zamarin
2022-06-22 7:42 Michał Górny
2022-06-22 5:49 Agostino Sarubbo
2022-05-21 13:49 Michał Górny
2022-05-21 13:49 Michał Górny
2022-05-21 13:49 Michał Górny
2022-04-26 3:07 Sam James
2022-03-30 11:25 Jakov Smolić
2021-06-05 17:59 Michał Górny
2021-05-24 1:34 Joshua Kinard
2021-04-27 11:37 Michał Górny
2021-03-25 14:23 Sam James
2021-02-21 8:25 Michał Górny
2020-08-01 23:20 Andreas Sturmlechner
2020-06-09 12:42 Michał Górny
2020-06-09 12:42 Michał Górny
2020-05-31 6:57 Matt Turner
2020-05-17 9:37 Sergei Trofimovich
2020-04-21 19:45 Sergei Trofimovich
2020-04-08 20:53 Sergei Trofimovich
2020-03-26 14:51 Michał Górny
2020-03-26 14:51 Michał Górny
2020-03-26 14:51 Michał Górny
2020-01-27 11:50 Mikle Kolyada
2020-01-26 20:24 Matthew Thode
2020-01-26 20:24 Matthew Thode
2020-01-13 8:50 Agostino Sarubbo
2020-01-10 19:14 Agostino Sarubbo
2020-01-10 6:19 Michał Górny
2020-01-10 6:19 Michał Górny
2020-01-10 6:19 Michał Górny
2019-07-04 14:55 Tim Harder
2019-01-28 0:25 Matthew Thode
2018-08-30 17:50 Matt Thode
2018-07-31 8:00 Patrice Clement
2018-05-06 0:29 Matt Thode
2017-08-28 18:35 Matt Thode
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1590939750.031559e03353f9a49a8640a75312915c54c5f6ca.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox