mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-django-appconf: Update to 1.1.0.
* gnu/packages/django.scm (python-django-appconf): Update to 1.1.0. [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: I524f49ec28dc9dafa75d8e1d53c28e0c2b998f48
This commit is contained in:
parent
d1a9c8429d
commit
821a42d2fc
1 changed files with 11 additions and 8 deletions
|
@ -1215,20 +1215,23 @@ the order of added relations.")
|
||||||
(define-public python-django-appconf
|
(define-public python-django-appconf
|
||||||
(package
|
(package
|
||||||
(name "python-django-appconf")
|
(name "python-django-appconf")
|
||||||
(version "1.0.4")
|
(version "1.1.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "django-appconf" version))
|
(uri (pypi-uri "django-appconf" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"101k8nkc7xlffpjdi2qbrp9pc4v8hzvmkzi12qp7vms39asxwn5y"))))
|
"1r23cb8g680p4lc8q4gikarcn1y0x5x4whw9w4gg58425wvsvklz"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases (modify-phases %standard-phases
|
(list
|
||||||
(replace 'check
|
#:phases #~(modify-phases %standard-phases
|
||||||
(lambda _
|
(replace 'check
|
||||||
(setenv "DJANGO_SETTINGS_MODULE" "tests.test_settings")
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(invoke "django-admin" "test" "--pythonpath=."))))))
|
(when tests?
|
||||||
|
(setenv "DJANGO_SETTINGS_MODULE" "tests.test_settings")
|
||||||
|
(invoke "django-admin" "test" "--pythonpath=.")))))))
|
||||||
|
(native-inputs (list python-setuptools python-wheel))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-django))
|
(list python-django))
|
||||||
(home-page "https://github.com/django-compressor/django-appconf")
|
(home-page "https://github.com/django-compressor/django-appconf")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue