summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorKevin Deldycke <kevin@deldycke.com>2026-04-22 08:29:12 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-06-28 21:12:43 +0100
commita026a01bb53ff92dad365610d04854ca55cbf47c (patch)
tree1ff0241d0da1b786c10d1d3f5d10f8c8371285a6 /gnu
parentac5d490988176050911be1a0e27f142dd5e9871b (diff)
gnu: Add python-wcmatch.
* gnu/packages/python-xyz.scm (python-wcmatch): New variable. Relates-to: guix/guix!8047 Reviewed-by: bdunahu <bdunahu@operationnull.com> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-xyz.scm37
1 files changed, 37 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 15e1d6b1ff5..e888a3c4899 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -41565,6 +41565,43 @@ portable.")
41565operating systems and an elegant approach to concurrency using threading.") 41565operating systems and an elegant approach to concurrency using threading.")
41566 (license license:expat))) 41566 (license license:expat)))
41567 41567
41568(define-public python-wcmatch
41569 (package
41570 (name "python-wcmatch")
41571 (version "10.1")
41572 (source
41573 (origin
41574 (method git-fetch)
41575 (uri (git-reference
41576 (url "https://github.com/facelessuser/wcmatch")
41577 (commit version)))
41578 (file-name (git-file-name name version))
41579 (sha256
41580 (base32 "1pz6wyz2hlckl88y6z7v32sm5mfp2mqgar4z5f1kz7mixsdpmh41"))))
41581 (build-system pyproject-build-system)
41582 (arguments
41583 (list #:test-flags
41584 ;; ``test_glob_match_real_outside_curdir`` walks paths outside
41585 ;; the build directory which the sandbox does not permit.
41586 #~(list "-k" "not test_glob_match_real_outside_curdir")
41587 #:phases
41588 #~(modify-phases %standard-phases
41589 (add-before 'check 'set-home
41590 (lambda _
41591 (setenv "HOME" (getcwd)))))))
41592 (native-inputs
41593 (list python-hatchling
41594 python-pytest))
41595 (propagated-inputs
41596 (list python-bracex))
41597 (home-page "https://facelessuser.github.io/wcmatch/")
41598 (synopsis "Wildcard and glob file name matcher")
41599 (description
41600 "Wcmatch provides an enhanced @code{fnmatch}, @code{glob}, and
41601@code{pathlib} library. It adds features such as brace expansion,extended
41602glob patterns, and recursive globbing with configurable behavior.")
41603 (license license:expat)))
41604
41568(define-public python-wcwidth 41605(define-public python-wcwidth
41569 (package 41606 (package
41570 (name "python-wcwidth") 41607 (name "python-wcwidth")