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: 1609629481.ddfbf0d142b20161ffb0e78cee78f6301730ae5d.mgorny@gentoo
1 commit: ddfbf0d142b20161ffb0e78cee78f6301730ae5d
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 2 23:09:25 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 2 23:18:01 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddfbf0d1
7
8 dev-python/wcmatch: Bump to 7.2
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/wcmatch/Manifest | 1 +
13 dev-python/wcmatch/wcmatch-7.2.ebuild | 56 +++++++++++++++++++++++++++++++++++
14 2 files changed, 57 insertions(+)
15
16 diff --git a/dev-python/wcmatch/Manifest b/dev-python/wcmatch/Manifest
17 index eb561b1f951..c373472b893 100644
18 --- a/dev-python/wcmatch/Manifest
19 +++ b/dev-python/wcmatch/Manifest
20 @@ -1 +1,2 @@
21 DIST wcmatch-7.1.tar.gz 105744 BLAKE2B 0add1c68025c92ac57d6ea64d82bddb20bace60de5d319fb16e16802f208d788d876695bfcd186b80630039f544565c631d36e1c7327dee5d8c799eff8c80ce2 SHA512 79d62d85f13d245e38d0fe92a275e24058b86af8aaf9a926bfd950dad4ec47e40e763c18b08d3eb4ddd925832ae9910f13407094070442b41dbe2fe4ad11fb39
22 +DIST wcmatch-7.2.tar.gz 105087 BLAKE2B a28bd9d02468f3ca83d606ee7f7d5c9b6b8883cf6e0c04b711765aefafce189f7f524a490c6831a739b579be66af5f4b1c7b6373da22e170211e611677c5788f SHA512 6fdc0a3cb6d66b323c509a5ee34c1e8df9a46a93fd1fc0921dfdbc17ac604934fdad3df5e8f253aa6a880bea2e81bb26ec097b9503c920433c5827ea91b327d8
23
24 diff --git a/dev-python/wcmatch/wcmatch-7.2.ebuild b/dev-python/wcmatch/wcmatch-7.2.ebuild
25 new file mode 100644
26 index 00000000000..4ab18a52134
27 --- /dev/null
28 +++ b/dev-python/wcmatch/wcmatch-7.2.ebuild
29 @@ -0,0 +1,56 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +PYTHON_COMPAT=( python3_{7..9} )
36 +
37 +DOCS_BUILDER="mkdocs"
38 +DOCS_DEPEND="
39 + ~dev-python/mkdocs_pymdownx_material_extras-1.0.7
40 + dev-python/mkdocs-material
41 + dev-python/mkdocs-git-revision-date-localized-plugin
42 + dev-python/mkdocs-minify-plugin
43 + dev-python/pyspelling
44 +"
45 +
46 +inherit distutils-r1 docs
47 +
48 +DESCRIPTION="Wildcard/glob file name matcher"
49 +HOMEPAGE="
50 + https://github.com/facelessuser/wcmatch/
51 + https://pypi.org/project/wcmatch/"
52 +SRC_URI="https://github.com/facelessuser/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
53 +
54 +LICENSE="MIT"
55 +SLOT="0"
56 +KEYWORDS="~amd64 ~x86"
57 +
58 +RDEPEND="
59 + >=dev-python/backrefs-4.1[${PYTHON_USEDEP}]
60 + >=dev-python/bracex-2.0[${PYTHON_USEDEP}]
61 +"
62 +
63 +BDEPEND="test? (
64 + dev-python/mock[${PYTHON_USEDEP}]
65 + dev-vcs/git
66 +)"
67 +
68 +distutils_enable_tests pytest
69 +
70 +python_prepare_all() {
71 + # no such file or dir ~homedir
72 + sed -i -e 's:test_tilde_user:_&:' \
73 + tests/test_glob.py || die
74 +
75 + # mkdocs-git-revision-date-localized-plugin needs git repo
76 + if use doc; then
77 + git init || die
78 + git config --global user.email "you@×××××××.com" || die
79 + git config --global user.name "Your Name" || die
80 + git add . || die
81 + git commit -m 'init' || die
82 + fi
83 +
84 + distutils-r1_python_prepare_all
85 +}