From be287b3e905062a2d843319d4b59a3123a325cb7 Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Wed, 16 Jul 2025 23:06:44 -0300 Subject: [PATCH] gnu: python-django-picklefield: Update to 3.3.0. * gnu/packages/django.scm (python-django-picklefield): Update to 3.3.0. [home-page]: Move below propagated-inputs. [source]: Set repository url for URL instead of home-page. [build-system]: Use pyproject-build-system. [arguments]: Use Gexp. <#:phases>: Respect '#:tests?' in the custom 'check' phase. [native-inputs]: Add python-setuptools, python-wheel. Change-Id: I9b26c6976edcddbe72c07f695f2ea82b444c82ac --- gnu/packages/django.scm | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index 431f7f5e0b0c958c2d5975d845bedd56cc7eb076..2746a335aa007ad8ea666d1bdc15bbf36c210079 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -805,27 +805,29 @@ applications with a @var{SEARCH_URL} variable.") (define-public python-django-picklefield (package (name "python-django-picklefield") - (version "3.2.0") - (home-page "https://github.com/gintas/django-picklefield") - ;; Use a git checkout because the PyPI release lacks tests. + (version "3.3.0") (source (origin - (method git-fetch) + (method git-fetch) ; no tests in PyPI (uri (git-reference - (url home-page) + (url "https://github.com/gintas/django-picklefield") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 - "0ykcw0wb064zv17piwiz6ldy2d2jil93x1ckk5pcfnc7hhk1phsh")))) - (build-system python-build-system) + "19qiyb3i9s72qanxzrgy1a10707138zq8sclhdfn4zpnqykaqzpw")))) + (build-system pyproject-build-system) (arguments - '(#:phases (modify-phases %standard-phases - (replace 'check - (lambda _ - (invoke "python" "-m" "django" "test" "-v2" - "--settings=tests.settings")))))) + (list + #:phases #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "python" "-m" "django" "test" "-v2" + "--settings=tests.settings"))))))) + (native-inputs (list python-setuptools python-wheel)) (propagated-inputs (list python-django)) + (home-page "https://github.com/gintas/django-picklefield") (synopsis "Pickled object field for Django") (description "Pickled object field for Django") (license license:expat)))