Subject: [PATCH 18/34] gnu: python-libsvm: Fix regex in FIND-FILES invocation.

From: Sarah Morgensen <[email-masked]>
Date: Sun, 1 Aug 2021 14:21:00 -0700

See <https://issues.guix.gnu.org/37150> for more information.

* gnu/packages/machine-learning.scm (python-libsvm)[arguments]: Fix
regex.
---
 gnu/packages/machine-learning.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 177d1aaa4f..8337ae9a27 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -17,6 +17,7 @@
 ;;; Copyright © 2020 Edouard Klein <[email-masked]>
 ;;; Copyright © 2020, 2021 Vinicius Monego <[email-masked]>
 ;;; Copyright © 2020 Maxim Cournoyer <[email-masked]>
+;;; Copyright © 2021 Sarah Morgensen <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -184,7 +185,7 @@ classification.")
               (mkdir-p site)
               (for-each (lambda (file)
                           (copy-file file (string-append site (basename file))))
-                        (find-files "python" "\\.py"))
+                        (find-files "python" "\\.py$"))
               (copy-file "libsvm.so.2"
                          (string-append site "libsvm.so.2")))
             #t)))))
-- 
2.31.1