[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55474] [PATCH v2 03/17] gnu: Add python-django-modelcluster.
From: |
Nicolas Graves |
Subject: |
[bug#55474] [PATCH v2 03/17] gnu: Add python-django-modelcluster. |
Date: |
Tue, 9 Aug 2022 19:13:18 +0200 |
* gnu/packages/django.scm (python-django-modelcluster): New variable.
---
gnu/packages/django.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index d00f7a073d..dfd799faba 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -798,6 +798,38 @@ (define-public python-django-contrib-comments
entries, photos, book chapters, or anything else.")
(license license:bsd-3)))
+(define-public python-django-modelcluster
+ (package
+ (name "python-django-modelcluster")
+ (version "5.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append
+ "https://github.com/wagtail/django-modelcluster"
+ "/archive/refs/tags/v" version ".tar.gz"))
+ (sha256
+ (base32 "0xlhlnsr8gingbrsgbzhx79z9ds9i9rfii3gp38xnid01xjwlqln"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? inputs #:allow-other-keys)
+ (if tests?
+ (invoke "python" "runtests.py")
+ (format #t "test suite not run~%")))))))
+ (propagated-inputs (list python-django python-pytz))
+ (native-inputs (list python-django-taggit))
+ (home-page "https://github.com/wagtail/django-modelcluster")
+ (synopsis
+ "Django extension to allow working with 'clusters' of models as a single
unit")
+ (description
+ "This package provides a Django extension to allow working with
+'clusters' of models as a single unit, independently of the database")
+ (license license:bsd-3)))
+
(define-public python-django-pipeline
(package
(name "python-django-pipeline")
--
2.37.1
- [bug#55474] [PATCH v2 01/17] gnu: python-django-taggit: Update to 2.1.0., Nicolas Graves, 2022/08/09
- [bug#55474] [PATCH v2 02/17] gnu: python-django-filter: Update to 21.1., Nicolas Graves, 2022/08/09
- [bug#55474] [PATCH v2 08/17] gnu: Add python-django-environ., Nicolas Graves, 2022/08/09
- [bug#55474] [PATCH v2 03/17] gnu: Add python-django-modelcluster.,
Nicolas Graves <=
- [bug#55474] [PATCH v2 04/17] gnu: Add python-django-treebeard., Nicolas Graves, 2022/08/09
- [bug#55474] [PATCH v2 07/17] gnu: Add python-django-request., Nicolas Graves, 2022/08/09
- [bug#55474] [PATCH v2 09/17] gnu: Add python-psycopg2-2.8., Nicolas Graves, 2022/08/09
- [bug#55474] [PATCH v2 05/17] gnu: Add python-jinjalint., Nicolas Graves, 2022/08/09
- [bug#55474] [PATCH v2 06/17] gnu: Add python-willow., Nicolas Graves, 2022/08/09
- [bug#55474] [PATCH v2 10/17] gnu: Add python-beautifulsoup4-4.8., Nicolas Graves, 2022/08/09
- [bug#55474] [PATCH v2 12/17] gnu: Add python-l18n., Nicolas Graves, 2022/08/09
- [bug#55474] [PATCH v2 11/17] gnu: Add python-draftjs-exporter., Nicolas Graves, 2022/08/09
- [bug#55474] [PATCH v2 13/17] gnu: Add python-parsy., Nicolas Graves, 2022/08/09
- [bug#55474] [PATCH v2 14/17] gnu: Add python-anyascii., Nicolas Graves, 2022/08/09