gnu: python-django-logging-json: Update to 1.16.

* gnu/packages/django.scm (python-django-logging-json): Update to 1.16.
[build-system]: Switch to pyproject-build-system.
[arguments]: Improve style.
[native-inputs]: Add python-setuptools.

Change-Id: I37e49c8bdc693a5f127a61e88cd7bfd1af16199d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-09-29 08:16:16 +02:00 committed by Sharlatan Hellseher
parent f53ab0d811
commit dcb6d77a07
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -1869,19 +1869,25 @@ backends in a single library.")
(define-public python-django-logging-json (define-public python-django-logging-json
(package (package
(name "python-django-logging-json") (name "python-django-logging-json")
(version "1.15") (version "1.16")
(source (origin (source
(method url-fetch) (origin
(uri (pypi-uri "django-logging-json" version)) (method git-fetch)
(sha256 (uri (git-reference
(base32 (url "https://github.com/cipriantarta/django-logging")
"06041a8icazzp73kg93c7k1ska12wvkq7fpcad0l0sm1qnxx5yx7")))) (commit version)))
(build-system python-build-system) (file-name (git-file-name name version))
(sha256
(base32 "1big7mv0274wgbr06v2qlq61pzh7h2rcn0la212shnh5b4fvhg56"))))
(build-system pyproject-build-system)
(arguments (arguments
'(#:tests? #f ;no tests (list
#:phases (modify-phases %standard-phases #:tests? #f ;no tests
;; Importing this module requires a Django project. #:phases
(delete 'sanity-check)))) #~(modify-phases %standard-phases
;; Importing this module requires a Django project.
(delete 'sanity-check))))
(native-inputs (list python-setuptools))
(propagated-inputs (propagated-inputs
(list python-certifi python-django python-elasticsearch python-six)) (list python-certifi python-django python-elasticsearch python-six))
(home-page "https://github.com/cipriantarta/django-logging") (home-page "https://github.com/cipriantarta/django-logging")