From d79ab35b7ac170babebe8bc151fe5d037c16285c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 22 Sep 2022 17:28:08 +0100 Subject: gentoo auto-resync : 22:09:2022 - 17:28:08 --- dev-python/wcmatch/Manifest | 2 ++ dev-python/wcmatch/wcmatch-8.4.1.ebuild | 61 +++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 dev-python/wcmatch/wcmatch-8.4.1.ebuild (limited to 'dev-python/wcmatch') diff --git a/dev-python/wcmatch/Manifest b/dev-python/wcmatch/Manifest index b6ff1b6ba769..5f9194abf505 100644 --- a/dev-python/wcmatch/Manifest +++ b/dev-python/wcmatch/Manifest @@ -1,3 +1,5 @@ +DIST wcmatch-8.4.1.gh.tar.gz 117065 BLAKE2B 6528170503507aa9742a0e0878f7cfe2586408471acde82ffbf1011fbf48cbed6a45d580436cb6a63a54a81d1c237544a48112eb4c06f923752eb09521d7f8a5 SHA512 6bc8d59b678a40e28eee7816f3b447fe3396f52e982df8e0b5e26472b4ffd1342f58edc41850386954783e6d07f1d66d9372cc1495f048b9a542b572b1d8e20f DIST wcmatch-8.4.gh.tar.gz 116596 BLAKE2B cdfbc243fa62f4854490510a563163f99dac09eed16248fa7a72d0a2a7b96484fab4edf3ba497e96a46dca1f734b9c1b098da4d71784775f51b48fcfa5b8a24c SHA512 92478a769be129f9997ef75a384b9978d0647bbd7f2212aa058f1438e698a0a77d069871daf20889455f6e9bb73266d4e312f29f61c704a708fa48fa565d7614 +EBUILD wcmatch-8.4.1.ebuild 1268 BLAKE2B f78cee2d2c69428c57b8bd02744afafe8206d7354709cd69c6173d06a770eb6da2f4ab36aa14ac1a1cfb5a031b97ea4e61c7bc829bd01dc69b71103153eb9f72 SHA512 da86339f4dcb3005b6b61192bab3404613628fb21ad0c70790a7fbc2473b50ecbcc8197dc5e0f1ff40d68d5795b06656f72cd45b9e8ff032cdabaaa774799909 EBUILD wcmatch-8.4.ebuild 1261 BLAKE2B afcba42a49cdc7b66ecf8fffc620561981092249c1e53fc06b6f5b2d9f01bc1c551650ab7812ee05a7f65a15d78ea4d1a9ad3a906a21431a650d1033eae40361 SHA512 281bb1ee385e55c3338f0e04bca689c56c6e6fcc8f019d44249d4440c803a323a682c6ad3ec7f1f3a7093a8b9a7d71f1c5cf520f72244d441e7b58298566583b MISC metadata.xml 3087 BLAKE2B c15652b6011b559ecaddfa76231050204a857839e3520dd77a626580d753225389f4484e22aadcd58e0e61558836655ae29adc01349484774b27142bd633a9b8 SHA512 68361ca29cbebb9a9fc9a456d485b64796b0fffc09201ff1c09e7ed913526923dca179c7e21b0420e50a55e53ab3bd01e6ecea204b38995c81cff36c49059f16 diff --git a/dev-python/wcmatch/wcmatch-8.4.1.ebuild b/dev-python/wcmatch/wcmatch-8.4.1.ebuild new file mode 100644 index 000000000000..42be0b6abeee --- /dev/null +++ b/dev-python/wcmatch/wcmatch-8.4.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +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 ~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 +} -- cgit v1.2.3