From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pathlib2/
Date: Sun, 4 Mar 2018 11:19:41 +0000 (UTC) [thread overview]
Message-ID: <1520162369.1f83cc2bc2ef20a1df3012035b97630fa570c6d2.mgorny@gentoo> (raw)
commit: 1f83cc2bc2ef20a1df3012035b97630fa570c6d2
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 4 08:36:58 2018 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Mar 4 11:19:29 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f83cc2b
dev-python/pathlib2: Fix tests not to use broken private API
dev-python/pathlib2/pathlib2-2.3.0.ebuild | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/dev-python/pathlib2/pathlib2-2.3.0.ebuild b/dev-python/pathlib2/pathlib2-2.3.0.ebuild
index 7f4dcb53ace..1a09a8dd7c8 100644
--- a/dev-python/pathlib2/pathlib2-2.3.0.ebuild
+++ b/dev-python/pathlib2/pathlib2-2.3.0.ebuild
@@ -24,6 +24,14 @@ DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? ( $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' -2) )"
+python_prepare_all() {
+ # stop using private Python API
+ # https://github.com/mcmtroffaes/pathlib2/issues/39
+ sed -i -e 's/support\.android_not_root/False/' test*.py || die
+
+ distutils-r1_python_prepare_all
+}
+
python_test() {
"${EPYTHON}" test_pathlib2.py -v || die
"${EPYTHON}" test_pathlib2_with_py2_unicode_literals.py -v || die
next reply other threads:[~2018-03-04 11:19 UTC|newest]
Thread overview: 70+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-04 11:19 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-02-21 12:00 [gentoo-commits] repo/gentoo:master commit in: dev-python/pathlib2/ Michał Górny
2022-10-09 5:27 Arthur Zamarin
2022-10-09 5:27 Arthur Zamarin
2022-10-09 5:22 Arthur Zamarin
2022-10-08 19:28 Sam James
2022-10-08 19:28 Sam James
2022-10-08 19:24 Arthur Zamarin
2022-10-08 16:42 Arthur Zamarin
2022-10-08 16:38 Arthur Zamarin
2022-10-07 8:47 WANG Xuerui
2022-09-28 21:27 Sam James
2022-09-22 7:46 Michał Górny
2022-09-16 7:58 Arthur Zamarin
2022-09-16 7:58 Arthur Zamarin
2022-09-16 7:57 Arthur Zamarin
2022-09-16 7:57 Arthur Zamarin
2022-09-16 7:57 Arthur Zamarin
2022-09-16 7:57 Arthur Zamarin
2022-09-16 7:57 Arthur Zamarin
2022-09-16 7:57 Arthur Zamarin
2022-09-12 4:36 Jakov Smolić
2022-09-05 20:37 James Le Cuirot
2022-09-03 14:54 Jakov Smolić
2022-09-03 12:04 Michał Górny
2021-07-06 7:58 Michał Górny
2020-11-28 13:41 Sam James
2020-09-20 15:38 Michał Górny
2020-06-05 13:57 Michał Górny
2020-05-27 6:10 Michał Górny
2020-03-28 11:36 Michał Górny
2020-03-28 11:36 Michał Górny
2020-03-28 11:36 Michał Górny
2020-03-25 15:42 Agostino Sarubbo
2020-03-25 14:17 Agostino Sarubbo
2019-11-29 19:54 Michał Górny
2019-04-17 3:38 Aaron Bauman
2019-03-31 20:30 Sergei Trofimovich
2019-03-15 10:13 Mikle Kolyada
2019-03-10 21:38 Matt Turner
2019-03-10 21:38 Matt Turner
2019-03-03 22:04 Joshua Kinard
2019-03-03 2:10 Matt Turner
2019-03-02 20:49 Thomas Deutschmann
2019-03-02 18:31 Mikle Kolyada
2019-02-22 20:17 Sergei Trofimovich
2019-02-21 20:28 Markus Meier
2019-02-07 12:31 Tobias Klausmann
2019-01-23 19:29 Sergei Trofimovich
2018-12-22 7:15 Mikle Kolyada
2018-11-19 21:15 Fabian Groffen
2018-10-27 18:46 Sergei Trofimovich
2018-10-17 10:36 Tobias Klausmann
2018-09-14 21:25 Patrice Clement
2018-09-11 19:05 Sergei Trofimovich
2018-09-11 11:42 Virgil Dupras
2018-08-31 21:55 Louis Sautier
2018-08-31 21:55 Louis Sautier
2018-03-30 18:35 Aaron Bauman
2018-03-21 20:24 Markus Meier
2018-03-12 0:51 Matt Turner
2018-03-04 22:40 Sergei Trofimovich
2018-03-04 11:19 Michał Górny
2018-03-04 11:19 Michał Górny
2018-01-05 18:00 Mike Gilbert
2017-07-30 9:34 David Seifert
2017-06-23 5:20 Alexis Ballier
2017-06-06 22:05 Manuel Rüger
2017-04-28 16:40 Manuel Rüger
2016-09-04 14:00 Manuel Rüger
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=1520162369.1f83cc2bc2ef20a1df3012035b97630fa570c6d2.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