Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/wcmatch/
Date: Thu, 22 Sep 2022 10:55:51
Message-Id: 1663844136.2fc3749ed4c45b09277e5df4d98e2933f56b0977.andrewammerlaan@gentoo
1 commit: 2fc3749ed4c45b09277e5df4d98e2933f56b0977
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 22 10:32:48 2022 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 22 10:55:36 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fc3749e
7
8 dev-python/wcmatch: add 8.4.1
9
10 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
11
12 dev-python/wcmatch/Manifest | 1 +
13 dev-python/wcmatch/wcmatch-8.4.1.ebuild | 61 +++++++++++++++++++++++++++++++++
14 2 files changed, 62 insertions(+)
15
16 diff --git a/dev-python/wcmatch/Manifest b/dev-python/wcmatch/Manifest
17 index 106502d62cf3..56830604ca0d 100644
18 --- a/dev-python/wcmatch/Manifest
19 +++ b/dev-python/wcmatch/Manifest
20 @@ -1 +1,2 @@
21 +DIST wcmatch-8.4.1.gh.tar.gz 117065 BLAKE2B 6528170503507aa9742a0e0878f7cfe2586408471acde82ffbf1011fbf48cbed6a45d580436cb6a63a54a81d1c237544a48112eb4c06f923752eb09521d7f8a5 SHA512 6bc8d59b678a40e28eee7816f3b447fe3396f52e982df8e0b5e26472b4ffd1342f58edc41850386954783e6d07f1d66d9372cc1495f048b9a542b572b1d8e20f
22 DIST wcmatch-8.4.gh.tar.gz 116596 BLAKE2B cdfbc243fa62f4854490510a563163f99dac09eed16248fa7a72d0a2a7b96484fab4edf3ba497e96a46dca1f734b9c1b098da4d71784775f51b48fcfa5b8a24c SHA512 92478a769be129f9997ef75a384b9978d0647bbd7f2212aa058f1438e698a0a77d069871daf20889455f6e9bb73266d4e312f29f61c704a708fa48fa565d7614
23
24 diff --git a/dev-python/wcmatch/wcmatch-8.4.1.ebuild b/dev-python/wcmatch/wcmatch-8.4.1.ebuild
25 new file mode 100644
26 index 000000000000..42be0b6abeee
27 --- /dev/null
28 +++ b/dev-python/wcmatch/wcmatch-8.4.1.ebuild
29 @@ -0,0 +1,61 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +PYTHON_COMPAT=( python3_{8..11} )
36 +DISTUTILS_USE_PEP517=hatchling
37 +
38 +DOCS_BUILDER="mkdocs"
39 +DOCS_DEPEND="
40 + >=dev-python/mkdocs_pymdownx_material_extras-2.0
41 + dev-python/mkdocs-material
42 + dev-python/mkdocs-git-revision-date-localized-plugin
43 + dev-python/mkdocs-minify-plugin
44 + dev-python/pyspelling
45 +"
46 +
47 +inherit distutils-r1 docs
48 +
49 +DESCRIPTION="Wildcard/glob file name matcher"
50 +HOMEPAGE="
51 + https://github.com/facelessuser/wcmatch/
52 + https://pypi.org/project/wcmatch/
53 +"
54 +SRC_URI="
55 + https://github.com/facelessuser/wcmatch/archive/${PV}.tar.gz
56 + -> ${P}.gh.tar.gz
57 +"
58 +
59 +LICENSE="MIT"
60 +SLOT="0"
61 +KEYWORDS="~amd64 ~riscv ~x86"
62 +
63 +RDEPEND="
64 + >=dev-python/bracex-2.1.1[${PYTHON_USEDEP}]
65 +"
66 +
67 +BDEPEND="
68 + test? (
69 + dev-vcs/git
70 + )
71 +"
72 +
73 +distutils_enable_tests pytest
74 +
75 +python_prepare_all() {
76 + # tests require some files in homedir
77 + > "${HOME}"/test1.txt || die
78 + > "${HOME}"/test2.txt || die
79 +
80 + # mkdocs-git-revision-date-localized-plugin needs git repo
81 + if use doc; then
82 + git init || die
83 + git config --global user.email "larry@g.o" || die
84 + git config --global user.name "Larry the Cow" || die
85 + git add . || die
86 + git commit -m 'init' || die
87 + fi
88 +
89 + distutils-r1_python_prepare_all
90 +}