diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-09-28 19:37:33 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-30 14:35:14 +0100 |
| commit | 496caa61df4c13735de636be18a8945d93ffdec6 (patch) | |
| tree | 8d6b99fe8d5caa2db98175638069d8d645254059 /gnu | |
| parent | 4c6c159bece6dde42be71d76952592b47edff307 (diff) | |
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>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/django.scm | 29 |
1 files changed, 18 insertions, 11 deletions
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index 7d5f6a1da5..095fbd9da3 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -957,20 +957,27 @@ for Django sites.") (define-public python-django-contrib-comments (package (name "python-django-contrib-comments") - (version "1.9.2") - (source (origin - (method url-fetch) - (uri (pypi-uri "django-contrib-comments" version)) - (sha256 - (base32 - "0ccdiv784a5vnpfal36km4dyg12340rwhpr0riyy0k89wfnjn8yi")))) - (build-system python-build-system) - (propagated-inputs - (list python-django python-six)) + (version "2.2.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/django/django-contrib-comments") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "17mymw64bm5f19iq6dlpcbbycamy2a0wrnfzrbnw8diysc3fsnpr")))) + (build-system pyproject-build-system) + (arguments + (list + #: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") (synopsis "Comments framework") (description - "Django used to include a comments framework; since Django 1.6 it's been + "Django used to include a comments framework; since Django 1.6 it's been separated to a separate project. This is that project. This framework can be used to attach comments to any model, so you can use it for comments on blog entries, photos, book chapters, or anything else.") |
