mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-django-filter: Update to 24.3.
* gnu/packages/django.scm (python-django-filter): Update to 24.3. [build-system]: Use pyproject-build-system. [arguments]: Make tests conditional. [native-inputs]: Remove python-django-crispy-forms and python-mock; add python-flit-core and tzdata-for-tests. Change-Id: I0a7273747d53013c7aef5c1674d957223c399e21
This commit is contained in:
parent
d19bd45ce9
commit
4753d8f61b
1 changed files with 11 additions and 8 deletions
|
@ -531,23 +531,26 @@ your code.")
|
||||||
(define-public python-django-filter
|
(define-public python-django-filter
|
||||||
(package
|
(package
|
||||||
(name "python-django-filter")
|
(name "python-django-filter")
|
||||||
(version "2.3.0")
|
(version "24.3")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "django-filter" version))
|
(uri (pypi-uri "django_filter" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1bz5qzdk9pk4a2lp2yacrdnqmkv24vxnz4k3lykrnpc3b7bkvrhi"))))
|
"1hyr5i5f4n5kk5ax3y39hslhy0wi2nqk6rrgajh1rlmg69kszk6q"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
'(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(invoke "python" "runtests.py"))))))
|
(when tests?
|
||||||
|
(invoke "python" "runtests.py")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-django python-django-rest-framework
|
(list python-django
|
||||||
python-django-crispy-forms python-mock))
|
python-django-rest-framework
|
||||||
|
python-flit-core
|
||||||
|
tzdata-for-tests))
|
||||||
(home-page "https://django-filter.readthedocs.io/en/latest/")
|
(home-page "https://django-filter.readthedocs.io/en/latest/")
|
||||||
(synopsis "Reusable Django application to filter querysets dynamically")
|
(synopsis "Reusable Django application to filter querysets dynamically")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue