Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/wcmatch/
Date: Sat, 02 Jan 2021 23:18:23
Message-Id: 1609629484.c116a47bcc808291ecffbd18a3efeda823af69ae.mgorny@gentoo
1 commit: c116a47bcc808291ecffbd18a3efeda823af69ae
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 2 23:10:00 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 2 23:18:04 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c116a47b
7
8 dev-python/wcmatch: Add python@ as backup
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/wcmatch/metadata.xml | 3 +++
13 dev-python/wcmatch/wcmatch-7.2.ebuild | 7 ++++++-
14 2 files changed, 9 insertions(+), 1 deletion(-)
15
16 diff --git a/dev-python/wcmatch/metadata.xml b/dev-python/wcmatch/metadata.xml
17 index a6af55c3882..5e9ad1b8133 100644
18 --- a/dev-python/wcmatch/metadata.xml
19 +++ b/dev-python/wcmatch/metadata.xml
20 @@ -14,6 +14,9 @@
21 <email>proxy-maint@g.o</email>
22 <name>Proxy Maintainers</name>
23 </maintainer>
24 + <maintainer type="project">
25 + <email>python@g.o</email>
26 + </maintainer>
27 <upstream>
28 <remote-id type="github">facelessuser/wcmatch</remote-id>
29 <remote-id type="pypi">wcmatch</remote-id>
30
31 diff --git a/dev-python/wcmatch/wcmatch-7.2.ebuild b/dev-python/wcmatch/wcmatch-7.2.ebuild
32 index 4ab18a52134..fdc416d5245 100644
33 --- a/dev-python/wcmatch/wcmatch-7.2.ebuild
34 +++ b/dev-python/wcmatch/wcmatch-7.2.ebuild
35 @@ -39,10 +39,15 @@ BDEPEND="test? (
36 distutils_enable_tests pytest
37
38 python_prepare_all() {
39 - # no such file or dir ~homedir
40 + # this test makes a really wrong assumption that basename of $HOME
41 + # will be a username
42 sed -i -e 's:test_tilde_user:_&:' \
43 tests/test_glob.py || die
44
45 + # tests require some files in homedir
46 + > "${HOME}"/test1.txt || die
47 + > "${HOME}"/test2.txt || die
48 +
49 # mkdocs-git-revision-date-localized-plugin needs git repo
50 if use doc; then
51 git init || die