diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-06-23 05:08:02 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-06-23 05:25:41 +0200 |
| commit | 08ead4230922a2ebca329d8c1aece0971e751812 (patch) | |
| tree | 8981091b045d6e8994626acb1dc577a47f06cc23 /dev-python | |
| parent | 913faf3914d5ad6d7a9fbf4889b45af40d1b2ee1 (diff) | |
| download | gentoo-08ead4230922a2ebca329d8c1aece0971e751812.tar.gz gentoo-08ead4230922a2ebca329d8c1aece0971e751812.tar.bz2 gentoo-08ead4230922a2ebca329d8c1aece0971e751812.zip | |
dev-python/wcmatch: Bump to 10.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/wcmatch/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/wcmatch/wcmatch-10.1.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-python/wcmatch/Manifest b/dev-python/wcmatch/Manifest index 7b0b4f4d2ca8..6fdf58c53cb2 100644 --- a/dev-python/wcmatch/Manifest +++ b/dev-python/wcmatch/Manifest @@ -1 +1,2 @@ DIST wcmatch-10.0.gh.tar.gz 118184 BLAKE2B ffc98749b111f472244a35654c8d57144e0f242f33b04e672a3b7d810c5c6c1b2c36172c09437e159c30812916fe15c7690fc3c2a1de14035f04ed801e898dc2 SHA512 db8fcfc7b0bef0256530a86f25491309b0d67f51ec9f60d9e6d2e3f49ae5e94ce432981aa2fb6b1f2086758a4eaa4a53daf9b2f765bd75480230f6064f181e75 +DIST wcmatch-10.1.gh.tar.gz 120743 BLAKE2B 4cb96a5305f55527e98ec695b1dc66ac89b2609768e7abe1719d4127f14f60ca79f7c9fd8db5bf18e04c411b7db7733525303336d14cc2056851aa9538e46573 SHA512 5f0588752142d4a0bf0230bb19342db653fbd740413a841ac4edb5b5bf3b63733a901949396017ead9788d100a57ca292a69b61463707a47977020b4cdcd768b diff --git a/dev-python/wcmatch/wcmatch-10.1.ebuild b/dev-python/wcmatch/wcmatch-10.1.ebuild new file mode 100644 index 000000000000..f8b9731702dd --- /dev/null +++ b/dev-python/wcmatch/wcmatch-10.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..13} ) +DISTUTILS_USE_PEP517=hatchling + +DOCS_BUILDER="mkdocs" +DOCS_DEPEND=" + >=dev-python/mkdocs-pymdownx-material-extras-2.0 + dev-python/mkdocs-material + dev-python/mkdocs-git-revision-date-localized-plugin + dev-python/mkdocs-minify-plugin + dev-python/pyspelling +" + +inherit distutils-r1 docs + +DESCRIPTION="Wildcard/glob file name matcher" +HOMEPAGE=" + https://github.com/facelessuser/wcmatch/ + https://pypi.org/project/wcmatch/ +" +SRC_URI=" + https://github.com/facelessuser/wcmatch/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/bracex-2.1.1[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-vcs/git + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # 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 + git config --global user.email "larry@gentoo.org" || die + git config --global user.name "Larry the Cow" || die + git add . || die + git commit -m 'init' || die + fi + + distutils-r1_python_prepare_all +} |
