From: "Patrick McLean" <chutzpah@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-shutil/
Date: Sat, 23 Nov 2019 04:12:49 +0000 (UTC) [thread overview]
Message-ID: <1574482352.a7aab5104a15a98b3de193b6a6b47b5688b36897.chutzpah@gentoo> (raw)
commit: a7aab5104a15a98b3de193b6a6b47b5688b36897
Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com>
AuthorDate: Sat Nov 23 04:12:32 2019 +0000
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Sat Nov 23 04:12:32 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7aab510
dev-python/pytest-shutil: Bump to 1.7.0, RESTRICT for CI
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
dev-python/pytest-shutil/Manifest | 1 +
.../pytest-shutil/pytest-shutil-1.2.11.ebuild | 1 +
.../pytest-shutil/pytest-shutil-1.2.4.ebuild | 1 +
.../pytest-shutil/pytest-shutil-1.2.8.ebuild | 2 ++
...til-1.2.4.ebuild => pytest-shutil-1.7.0.ebuild} | 25 +++++++++++++++++-----
5 files changed, 25 insertions(+), 5 deletions(-)
diff --git a/dev-python/pytest-shutil/Manifest b/dev-python/pytest-shutil/Manifest
index 6c59168bd66..746c1da1417 100644
--- a/dev-python/pytest-shutil/Manifest
+++ b/dev-python/pytest-shutil/Manifest
@@ -1,3 +1,4 @@
DIST pytest-shutil-1.2.11.tar.gz 18310 BLAKE2B a85f50a8a0e98de6dd71af0b27f76181b1ff80b518877155122998c3f8992c2749ebcc837d630dc19d60d988410eba8dc77b1be7faff7cf27003ebbba9194bcc SHA512 2a998218bb997a6ceb277965e2f150b2d7722ba518f579154f804568f552e2c41ced9a491c1745382dc119d0b92f3ea993ae77a61851809aae59a1e17501bde8
DIST pytest-shutil-1.2.4.tar.gz 16327 BLAKE2B eb5bb96c78be5b91de29f6c30634cb56a69e30b5ebee9b43a0e970691a7094dfefb83ea741650e0732ff60b9d08cc8ad94d80bb95f1222ba8670402c1fb1d5ab SHA512 9ec6baa3cf53bb80103b1dfbf6c26794090c26dd74b29cd19e76b1037c6939538c7b05ea16368a76cce6969216c291e27b00833a990268239bfd2222f69ddfb4
DIST pytest-shutil-1.2.8.tar.gz 17051 BLAKE2B 9006ccd51bce6e5035ed93a330e460666bd0782fe56ef400f66de174914aa89b49d6684d1a3a2d2d69b308c4d8466db83eb0865ad20649106dac735b9d1e6772 SHA512 de73b2c350709e356810f58d2a8a4c7668144701639c45a0690081e707e7147762f650af2e9f826429d0488655dae0e3366611da5e8e3ecd0c6382e215170b2d
+DIST pytest-shutil-1.7.0.tar.gz 23497 BLAKE2B e13641491fb4bd448973b8004ac9ded2f9b7c412ea93af7f9206e5fc38ea7554073374116eeefc529d2ae35e8a25e678fef5a27089af89026077a72d11d6016d SHA512 3746c08b17834621a7142ed9d5915b5c348c13367f5b423b258d3471bcb9c9e983c61c25ca936f879b8b82f80512512b7f3ade5555c24a790c72b502e3f3d144
diff --git a/dev-python/pytest-shutil/pytest-shutil-1.2.11.ebuild b/dev-python/pytest-shutil/pytest-shutil-1.2.11.ebuild
index 9baee13e9a7..10ae8992e31 100644
--- a/dev-python/pytest-shutil/pytest-shutil-1.2.11.ebuild
+++ b/dev-python/pytest-shutil/pytest-shutil-1.2.11.ebuild
@@ -29,6 +29,7 @@ DEPEND="
dev-python/setuptools-git[${PYTHON_USEDEP}]
test? ( ${RDEPEND} )
"
+RESTRICT="!test? ( test )"
python_test() {
# various pickling errors, but code works to run pytest-virtualenv tests
diff --git a/dev-python/pytest-shutil/pytest-shutil-1.2.4.ebuild b/dev-python/pytest-shutil/pytest-shutil-1.2.4.ebuild
index d5bf9bb648c..f7965032f9f 100644
--- a/dev-python/pytest-shutil/pytest-shutil-1.2.4.ebuild
+++ b/dev-python/pytest-shutil/pytest-shutil-1.2.4.ebuild
@@ -28,6 +28,7 @@ RDEPEND="
DEPEND="
${RDEPEND}
"
+RESTRICT="!test? ( test )"
python_test() {
distutils_install_for_testing
diff --git a/dev-python/pytest-shutil/pytest-shutil-1.2.8.ebuild b/dev-python/pytest-shutil/pytest-shutil-1.2.8.ebuild
index d5bf9bb648c..63b0189b886 100644
--- a/dev-python/pytest-shutil/pytest-shutil-1.2.8.ebuild
+++ b/dev-python/pytest-shutil/pytest-shutil-1.2.8.ebuild
@@ -29,6 +29,8 @@ DEPEND="
${RDEPEND}
"
+RESTRICT="!test? ( test )"
+
python_test() {
distutils_install_for_testing
diff --git a/dev-python/pytest-shutil/pytest-shutil-1.2.4.ebuild b/dev-python/pytest-shutil/pytest-shutil-1.7.0.ebuild
similarity index 60%
copy from dev-python/pytest-shutil/pytest-shutil-1.2.4.ebuild
copy to dev-python/pytest-shutil/pytest-shutil-1.7.0.ebuild
index d5bf9bb648c..d7a72037c4a 100644
--- a/dev-python/pytest-shutil/pytest-shutil-1.2.4.ebuild
+++ b/dev-python/pytest-shutil/pytest-shutil-1.7.0.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-PYTHON_COMPAT=( python2_7 python3_5 )
+EAPI=7
+PYTHON_COMPAT=( python{2_7,3_{5,6,7,8}} pypy{,3} )
inherit distutils-r1
@@ -12,24 +12,39 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~hppa ~mips ~s390 ~sparc ~x86"
IUSE="test"
RDEPEND="
dev-python/pytest[${PYTHON_USEDEP}]
- dev-python/setuptools-git[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
dev-python/contextlib2[${PYTHON_USEDEP}]
dev-python/execnet[${PYTHON_USEDEP}]
dev-python/path-py[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/termcolor[${PYTHON_USEDEP}]
"
-DEPEND="
+BDEPEND="
${RDEPEND}
"
+RESTRICT="!test? ( test )"
+
+python_prepare_all() {
+ # keeps trying to install this in tests
+ sed -i 's:path.py::' setup.py || die
+
+ distutils-r1_python_prepare_all
+}
+
python_test() {
+ # at this point let's not fix python2 stuff
+ if ! python_is_python3; then
+ ewarn "Tests broken on python2, not runninge tests for ${EPYTHON}"
+ return 0
+ fi
+
distutils_install_for_testing
esetup.py test || die "Tests failed under ${EPYTHON}"
next reply other threads:[~2019-11-23 4:12 UTC|newest]
Thread overview: 67+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-23 4:12 Patrick McLean [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-06-27 12:01 [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-shutil/ Michał Górny
2023-06-27 6:43 Sam James
2023-03-17 15:23 Michał Górny
2023-02-17 8:52 Sam James
2022-06-13 8:20 Michał Górny
2022-05-12 13:15 Michał Górny
2022-05-12 13:15 Michał Górny
2022-01-26 22:42 James Le Cuirot
2021-07-28 23:38 Marek Szuba
2021-07-05 22:54 Michał Górny
2021-05-23 13:41 Michał Górny
2021-03-28 12:17 Sam James
2020-09-21 16:06 Michał Górny
2020-08-14 23:22 Andreas Sturmlechner
2020-07-12 20:19 Michał Górny
2020-07-11 7:51 Michał Górny
2020-07-11 7:51 Michał Górny
2020-07-09 8:59 Agostino Sarubbo
2020-07-09 7:06 Sergei Trofimovich
2020-07-06 11:57 Michał Górny
2020-06-15 2:35 Aaron Bauman
2020-06-04 14:41 Sergei Trofimovich
2020-06-04 14:06 Michał Górny
2020-06-03 19:46 Agostino Sarubbo
2020-06-03 19:44 Agostino Sarubbo
2020-06-03 15:17 Agostino Sarubbo
2020-06-02 22:21 Mart Raudsepp
2020-06-02 21:20 Sergei Trofimovich
2020-06-01 20:51 Sergei Trofimovich
2020-05-25 20:16 Michał Górny
2020-05-03 20:03 Michał Górny
2020-04-04 10:52 Sergei Trofimovich
2020-03-29 21:21 Sergei Trofimovich
2020-03-16 6:07 Matt Turner
2020-03-16 6:07 Matt Turner
2020-03-14 22:11 Sergei Trofimovich
2020-03-11 19:53 Mart Raudsepp
2020-03-08 8:25 Michał Górny
2020-03-08 8:25 Michał Górny
2020-03-08 8:25 Michał Górny
2019-12-16 14:38 Michał Górny
2019-12-16 14:38 Michał Górny
2018-12-08 17:41 Mikle Kolyada
2018-04-21 23:55 Thomas Deutschmann
2018-04-09 20:22 Stephen Klimaszewski
2018-03-21 19:41 Markus Meier
2018-03-15 1:03 Matt Turner
2018-03-11 23:12 Matt Turner
2018-02-21 17:20 Michał Górny
2018-01-07 22:27 Mikle Kolyada
2017-12-27 20:37 Sergei Trofimovich
2017-12-27 20:06 Sergei Trofimovich
2017-12-26 16:22 Jason Zaman
2017-12-23 21:58 Sergei Trofimovich
2017-12-23 11:17 Markus Meier
2017-12-21 22:34 Sergei Trofimovich
2017-12-19 23:02 Sergei Trofimovich
2017-12-04 2:30 Matt Turner
2017-09-23 13:05 Sergei Trofimovich
2017-09-23 10:39 Sergei Trofimovich
2017-09-22 19:40 Sergei Trofimovich
2017-09-21 5:16 Tim Harder
2017-09-21 5:16 Tim Harder
2017-03-17 4:24 Brian Dolbec
2017-03-17 0:45 Brian Dolbec
2017-01-04 4:49 Brian Dolbec
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=1574482352.a7aab5104a15a98b3de193b6a6b47b5688b36897.chutzpah@gentoo \
--to=chutzpah@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