gnu: python-django-contrib-comments: Update to 2.2.0.

* gnu/packages/django.scm (python-django-contrib-comments): Update to 2.2.0.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]: Set <#:test-backend>, <#:test-flags>.
[native-inputs]: Add python-setuptools, tzdata-for-tests.
[propagated-inputs]: Remove python-six.

Change-Id: I4bb4b09790efbd029f6f91702faa9316f268355b
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-09-28 19:37:33 +02:00 committed by Sharlatan Hellseher
parent 4c6c159bec
commit 496caa61df
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -957,16 +957,23 @@ for Django sites.")
(define-public python-django-contrib-comments (define-public python-django-contrib-comments
(package (package
(name "python-django-contrib-comments") (name "python-django-contrib-comments")
(version "1.9.2") (version "2.2.0")
(source (origin (source
(method url-fetch) (origin
(uri (pypi-uri "django-contrib-comments" version)) (method git-fetch)
(uri (git-reference
(url "https://github.com/django/django-contrib-comments")
(commit version)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "17mymw64bm5f19iq6dlpcbbycamy2a0wrnfzrbnw8diysc3fsnpr"))))
"0ccdiv784a5vnpfal36km4dyg12340rwhpr0riyy0k89wfnjn8yi")))) (build-system pyproject-build-system)
(build-system python-build-system) (arguments
(propagated-inputs (list
(list python-django python-six)) #:test-backend #~'custom
#:test-flags #~(list "tests/runtests.py")))
(native-inputs (list python-setuptools tzdata-for-tests))
(propagated-inputs (list python-django))
(home-page "https://github.com/django/django-contrib-comments") (home-page "https://github.com/django/django-contrib-comments")
(synopsis "Comments framework") (synopsis "Comments framework")
(description (description