guix-commits
[Top][All Lists]
Advanced

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

09/11: gnu: python-django-pipeline: Update to 4.0.0.


From: guix-commits
Subject: 09/11: gnu: python-django-pipeline: Update to 4.0.0.
Date: Sun, 12 Jan 2025 10:46:55 -0500 (EST)

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

commit 9d01ce41b646a02372348c0bf8bc0253b627da25
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sun Jan 12 16:05:03 2025 +0100

    gnu: python-django-pipeline: Update to 4.0.0.
    
    * gnu/packages/django.scm (python-django-pipeline): Update to 4.0.0.
    [build-system]: Use pyproject-build-system.
    [propagated-inputs]: Add python-jsmin and python-css-html-js-minify.
    [native-inputs]: Add python-coveralls, python-setuptools, python-tox, and
    python-wheel; remove python-jsmin and python-css-html-js-minify.
    
    Change-Id: I97d84351c4dac2976f1fab33608dfd9ea8bfcc91
---
 gnu/packages/django.scm | 26 ++++++++++++++++----------
 1 file changed, 16 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index dcd93a64c7..ee021763f4 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -952,34 +952,40 @@ to asyncio and Pydantic.")
 (define-public python-django-pipeline
   (package
     (name "python-django-pipeline")
-    (version "2.1.0")
+    (version "4.0.0")
     (source
      (origin
        (method url-fetch)
-       (uri (pypi-uri "django-pipeline" version))
+       (uri (pypi-uri "django_pipeline" version))
        (sha256
         (base32
-         "194j8xihx5yr1yfrssdy6nxmx8yc999pz2ai9lg83l7izmbcx9in"))))
-    (build-system python-build-system)
+         "125wkgi3hf1ly34ps7n63k6agb067h17ngxyf9xjykn6kl6ikc8a"))))
+    (build-system pyproject-build-system)
     (arguments
-     '(#:phases
-       (modify-phases %standard-phases
+     (list
+      #:phases
+      '(modify-phases %standard-phases
          (add-after 'unpack 'patch-source
            (lambda _
              (substitute* "tests/tests/test_compiler.py"
                (("\\/usr\\/bin\\/env")
                 (which "env")))))
          (replace 'check
-           (lambda*(#:key tests? #:allow-other-keys)
+           (lambda* (#:key tests? #:allow-other-keys)
              (when tests?
                (setenv "DJANGO_SETTINGS_MODULE" "tests.settings")
                (invoke "django-admin" "test" "tests"
                        "--pythonpath=.")))))))
+    (propagated-inputs
+     (list python-jsmin
+           python-css-html-js-minify))
     (native-inputs
-     (list python-django
+     (list python-coveralls
+           python-django
+           python-setuptools
            python-setuptools-scm
-           python-css-html-js-minify
-           python-jsmin))
+           python-tox
+           python-wheel))
     (home-page
      "https://github.com/jazzband/django-pipeline";)
     (synopsis "Asset packaging library for Django")



reply via email to

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