diff options
| author | Crucible <crucible@localhost> | 2026-10-10 20:48:09 -0500 |
|---|---|---|
| committer | Crucible <crucible@localhost> | 2026-10-10 20:48:09 -0500 |
| commit | f118d22765d50ec3494331d5b5c45810304ea943 (patch) | |
| tree | 74a62409a22a6d022c492e5b57c531d27704d51f /dev-python/wcmatch/wcmatch-11.1.ebuild | |
| parent | 8d50579e39879dc6ba06d9fa6829f2e9a2c77420 (diff) | |
| download | srcux-f118d22765d50ec3494331d5b5c45810304ea943.tar.gz srcux-f118d22765d50ec3494331d5b5c45810304ea943.tar.xz srcux-f118d22765d50ec3494331d5b5c45810304ea943.zip | |
Publish srcux candidate 0000000623-20261010-204610
Diffstat (limited to 'dev-python/wcmatch/wcmatch-11.1.ebuild')
| -rw-r--r-- | dev-python/wcmatch/wcmatch-11.1.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/wcmatch/wcmatch-11.1.ebuild b/dev-python/wcmatch/wcmatch-11.1.ebuild new file mode 100644 index 000000000000..920e5350faaf --- /dev/null +++ b/dev-python/wcmatch/wcmatch-11.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{13..14} ) +DISTUTILS_USE_PEP517=hatchling + +inherit distutils-r1 + +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-3.0[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-vcs/git + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_prepare_all() { + # tests require some files in homedir + > "${HOME}"/test1.txt || die + > "${HOME}"/test2.txt || die + + distutils-r1_python_prepare_all +} + +python_test() { + # https://github.com/python/cpython/issues/155823 + local -x PYTHON_JIT=0 + epytest +} |
