summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-01-03 00:10:00 +0100
committerMichał Górny <mgorny@gentoo.org>2021-01-03 00:18:04 +0100
commitc116a47bcc808291ecffbd18a3efeda823af69ae (patch)
tree3db375d81c8e16eac442bc454f5b7d14a77cb817
parentdev-python/wcmatch: Bump to 7.2 (diff)
downloadgentoo-c116a47b.tar.gz
gentoo-c116a47b.tar.bz2
gentoo-c116a47b.zip
dev-python/wcmatch: Add python@ as backup
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-python/wcmatch/metadata.xml3
-rw-r--r--dev-python/wcmatch/wcmatch-7.2.ebuild7
2 files changed, 9 insertions, 1 deletions
diff --git a/dev-python/wcmatch/metadata.xml b/dev-python/wcmatch/metadata.xml
index a6af55c38820..5e9ad1b81332 100644
--- a/dev-python/wcmatch/metadata.xml
+++ b/dev-python/wcmatch/metadata.xml
@@ -14,6 +14,9 @@
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ </maintainer>
<upstream>
<remote-id type="github">facelessuser/wcmatch</remote-id>
<remote-id type="pypi">wcmatch</remote-id>
diff --git a/dev-python/wcmatch/wcmatch-7.2.ebuild b/dev-python/wcmatch/wcmatch-7.2.ebuild
index 4ab18a52134a..fdc416d52454 100644
--- a/dev-python/wcmatch/wcmatch-7.2.ebuild
+++ b/dev-python/wcmatch/wcmatch-7.2.ebuild
@@ -39,10 +39,15 @@ BDEPEND="test? (
distutils_enable_tests pytest
python_prepare_all() {
- # no such file or dir ~homedir
+ # this test makes a really wrong assumption that basename of $HOME
+ # will be a username
sed -i -e 's:test_tilde_user:_&:' \
tests/test_glob.py || die
+ # tests require some files in homedir
+ > "${HOME}"/test1.txt || die
+ > "${HOME}"/test2.txt || die
+
# mkdocs-git-revision-date-localized-plugin needs git repo
if use doc; then
git init || die