guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/11: gnu: python-rjsmin: Update to 1.2.3.


From: guix-commits
Subject: 04/11: gnu: python-rjsmin: Update to 1.2.3.
Date: Tue, 14 Jan 2025 09:04:51 -0500 (EST)

rekado pushed a commit to branch python-team
in repository guix.

commit f2da832631272d1716b31160b5154b88671430fc
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Jan 14 14:19:23 2025 +0100

    gnu: python-rjsmin: Update to 1.2.3.
    
    * gnu/packages/python-xyz.scm (python-rjsmin): Update to 1.2.3.
    [source]: Simplify snippet.
    [build-system]: Use pyproject-build-system.
    [arguments]: Remove.
    [native-inputs]: Add python-setuptools and python-wheel.
    [description]: Reformat.
    
    Change-Id: I439123d6de89a95d5d4b96e0c376a6ba2f61221b
---
 gnu/packages/python-xyz.scm | 30 +++++++++---------------------
 1 file changed, 9 insertions(+), 21 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 53f64edb6f..f4e259c274 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -24753,38 +24753,26 @@ the network.")
 (define-public python-rjsmin
   (package
     (name "python-rjsmin")
-    (version "1.1.0")
+    (version "1.2.3")
     (source
       (origin
         (method url-fetch)
         (uri (pypi-uri "rjsmin" version))
         (sha256
          (base32
-          "0cmc72rlkvzz8fl89bc83czkx0pcvhzj7yn7m29r8pgnf5fcfpdi"))
+          "1ihcff58vz4xrv1180v46wy5m80z61y7ab8ajyy4zh54jcjbb20k"))
         (modules '((guix build utils)))
         (snippet
-         '(begin
-            (for-each delete-file (find-files "bench" "\\.js$"))
-            #t))))
-    (build-system python-build-system)
-    (arguments
-     '(#:tests? #f  ; Not all test files included.
-       #:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
-             (add-installed-pythonpath inputs outputs)
-             (if tests?
-               (invoke "py.test" "-vv" "tests")
-               #t))))))
+         '(for-each delete-file (find-files "bench" "\\.js$")))))
+    (build-system pyproject-build-system)
     (native-inputs
-     (list python-pytest))
+     (list python-pytest python-setuptools python-wheel))
     (home-page "http://opensource.perlig.de/rjsmin/";)
     (synopsis "Javascript Minifier")
-    (description "@code{rJSmin} is a javascript minifier written in Python.  
The
-     minifier is based on the semantics of jsmin.c by Douglas Crockford.  The 
module
-     is a re-implementation aiming for speed, so it can be used at runtime 
(rather
-                                                                            
than during a preprocessing step).")
+    (description "@code{rJSmin} is a javascript minifier written in Python.
+The minifier is based on the semantics of jsmin.c by Douglas Crockford.  The
+module is a re-implementation aiming for speed, so it can be used at
+runtime (rather than during a preprocessing step).")
     (license license:asl2.0)))
 
 (define-public python-xopen



reply via email to

[Prev in Thread] Current Thread [Next in Thread]