diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-05-17 00:01:35 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-05-17 00:01:35 +0100 |
commit | 6c9dc10e04cd513437e046ccca0e51a3d6d4dc7c (patch) | |
tree | b7183e321a607f857cc5c62cfbd5bae7cbfb3982 /dev-python/wcmatch | |
parent | 66113e7871aede225d661473925cea4cce9e6d23 (diff) |
gentoo auto-resync : 17:05:2024 - 00:01:35
Diffstat (limited to 'dev-python/wcmatch')
-rw-r--r-- | dev-python/wcmatch/Manifest | 2 | ||||
-rw-r--r-- | dev-python/wcmatch/wcmatch-8.5.2.ebuild | 61 |
2 files changed, 63 insertions, 0 deletions
diff --git a/dev-python/wcmatch/Manifest b/dev-python/wcmatch/Manifest index d46dce4313ba..947e04518da3 100644 --- a/dev-python/wcmatch/Manifest +++ b/dev-python/wcmatch/Manifest @@ -1,3 +1,5 @@ DIST wcmatch-8.5.1.gh.tar.gz 117483 BLAKE2B db4d77651ab4fc6692c746d94dda68dc0fcdfe72a6e3b512b4f60a1bd5bf7015e21349d022c6ec17ea2bbc55ae87cf6c9a3690d9b6774f02a167b4b0ad65b691 SHA512 10ab7d76ad7c71efb2639e2d439593a45339f485f1f628770ae845c291c34d0e3fc8a9b75b6ce6d3c131c1f0a521f3aafcadc7d24ffad5284e9db06dc5838974 +DIST wcmatch-8.5.2.gh.tar.gz 117532 BLAKE2B f01ce989d1580da6575535a3c025aa50defe779ca723359dab379dda1c4c98d812343773d0130c56f8ebf74dae4472caa188b4b7b323f2df09686ebba297fa9a SHA512 1a79940bc54996f587dda6aacefee212adb4d527be68cc7b762e7e16c0796ebd833bdeb5abe6f48fa3d6d82f720ade054633ce28ee506b17c4d89cccffaa8e70 EBUILD wcmatch-8.5.1.ebuild 1290 BLAKE2B 156dc8260a8f5ae2b64d0bd46b42fbc02a3888d6274d18eeb76d3cbd1aa2e26f2e4833a123576076610b29c865f8e96b2de834adb9fd1448417af068c64508d0 SHA512 2fd3895e1de3b24132988663ea6a5f2051f741e2976fb2f123f81586cc6b696d78886fb4eba7bd47bf133d7673dc7e906d9a090aa94c29d55dd1d77121d528f2 +EBUILD wcmatch-8.5.2.ebuild 1293 BLAKE2B 8042a7a4741af68146b22080fb0f4a6aa4b06705d64861163df918c304df63c49fd4be63f75d65d0dadd18c91d119664c59d25085ff383b6120e57cd798ce4a6 SHA512 9d5b286814409285e611b93aafe2f4e47527a9a882cde2cb9759b1b5ffc2b23950af436fb78d9bc08ed2a1fcf623ab746e5098a93e2f074147fc86c20e9d04a6 MISC metadata.xml 2701 BLAKE2B f09d6810f516ce43944ef492b90cd8adf15beae1eba1a0deb65a9def3582e674c18a75827166661333e9bd1732e757743b03a3379d6d4bc7bf5e2195434ac5bc SHA512 d8c4a11a7602b559976fb777ce862070b6e273e64e6a22842b22c9917bacfe1aed5dc199c7c01ec4f16e57d30c7fc2bc2d2d3e91379059ea305930aef8fb3189 diff --git a/dev-python/wcmatch/wcmatch-8.5.2.ebuild b/dev-python/wcmatch/wcmatch-8.5.2.ebuild new file mode 100644 index 000000000000..67f86264c16d --- /dev/null +++ b/dev-python/wcmatch/wcmatch-8.5.2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +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 +} |