Archived
1
0
Fork 0

gnu: python-django-statici18n: Update to 1.9.0.

* gnu/packages/django.scm (python-django-statici18n): Update to 1.9.0.
[source]: Switch to GIT-FETCH.
[arguments]: New field.
[native-inputs]: Add PYTHON-PYTEST and PYTHON-PYTEST-DJANGO.
This commit is contained in:
Marius Bakke 2020-09-01 14:42:16 +02:00
parent 7e244ac663
commit dfbe9d2327
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -1042,18 +1042,33 @@ name is purely coincidental.")
(define-public python-django-statici18n (define-public python-django-statici18n
(package (package
(name "python-django-statici18n") (name "python-django-statici18n")
(version "1.3.0") (version "1.9.0")
(home-page "https://github.com/zyegfryed/django-statici18n")
(source (origin (source (origin
(method url-fetch) (method git-fetch)
(uri (pypi-uri "django-statici18n" version)) (uri (git-reference
(url home-page)
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0alcf4g1nv69njhq5k3qw4mfl2k6dc18bik5nk0g1mnp3m8zyz7k")))) "1p3myp2im6c87yc05alh91jyahqws5lcw3zzdsj4dh8lx9s9cgpf"))))
(build-system python-build-system) (build-system python-build-system)
(arguments
'(#:phases (modify-phases %standard-phases
(replace 'check
(lambda _
(setenv "PYTHONPATH"
(string-append "./tests/test_project:./build/lib:"
(getenv "PYTHONPATH")))
(setenv "DJANGO_SETTINGS_MODULE" "project.settings")
(invoke "pytest" "-vv"))))))
(native-inputs
`(("python-pytest" ,python-pytest)
("python-pytest-django" ,python-pytest-django)))
(propagated-inputs (propagated-inputs
`(("python-django" ,python-django) `(("python-django" ,python-django)
("django-appconf" ,python-django-appconf))) ("django-appconf" ,python-django-appconf)))
(home-page "https://github.com/zyegfryed/django-statici18n")
(synopsis "Generate JavaScript catalog to static files") (synopsis "Generate JavaScript catalog to static files")
(description (description
"A Django app that provides helper for generating JavaScript catalog to "A Django app that provides helper for generating JavaScript catalog to