diff mbox series

[bug#55474,v5,15/55] gnu: python-django-picklefield: Update to 3.1.0.

Message ID be644cc7ca3842d3a781f109c9e06fa3ecb28198.1687712245.git.ngraves@ngraves.fr
State New
Headers show
Series [bug#55474,v5,01/55] gnu: python-django-4.0: Update to 4.0.9. | expand

Commit Message

Nicolas Graves June 25, 2023, 4:57 p.m. UTC
* gnu/packages/django.scm (python-django-picklefield): Update to 3.1.0.
[build-system] Use pyproject-build-system.
[arguments](phases): Delete -v2 django@2.2 flag.
[propagated-inputs] Replace python-django@2.2 by python-django.
---
 gnu/packages/django.scm | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)
diff mbox series

Patch

diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index fae6bc041d..2af94a3297 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -760,7 +760,7 @@  (define-public python-dj-database-url
 (define-public python-django-picklefield
   (package
     (name "python-django-picklefield")
-    (version "3.0.1")
+    (version "3.1.0")
     (home-page "https://github.com/gintas/django-picklefield")
     ;; Use a git checkout because the PyPI release lacks tests.
     (source
@@ -771,19 +771,16 @@  (define-public python-django-picklefield
               (commit (string-append "v" version))))
         (file-name (git-file-name name version))
         (sha256
-         (base32
-          "0ni7bc86k0ra4pc8zv451pzlpkhs1nyil1sq9jdb4m2mib87b5fk"))))
-    (build-system python-build-system)
+         (base32 "00d8sm6cnkv5bxbs2a3qrm4g69nlaa1wari7mc697df8q91v6r0n"))))
+    (build-system pyproject-build-system)
     (arguments
      '(#:phases (modify-phases %standard-phases
                   (replace 'check
                     (lambda _
-                      (invoke "python" "-m" "django" "test" "-v2"
+                      (invoke "python" "-m" "django" "test"
                               "--settings=tests.settings"))))))
     (propagated-inputs
-     ;; XXX: Picklefield has not been updated in 10+ years and fails tests
-     ;; with Django 3.2.
-     `(("python-django@2.2" ,python-django-2.2)))
+     (list python-django))
     (synopsis "Pickled object field for Django")
     (description "Pickled object field for Django")
     (license license:expat)))