[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#65758] [PATCH v7 39/57] gnu: Add python-django-modelcluster.
From: |
Nicolas Graves |
Subject: |
[bug#65758] [PATCH v7 39/57] gnu: Add python-django-modelcluster. |
Date: |
Wed, 6 Sep 2023 11:16:03 +0200 |
* gnu/packages/django.scm (python-django-modelcluster): New variable.
---
gnu/packages/django.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 93cf44d38c..b7f7391df1 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -900,6 +900,40 @@ (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 "6.0")
+ ;; tests are not packaged in pypi
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/wagtail/django-modelcluster")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "19xskhh2wvl696jmji54b1p70kjbcxzwmw3v5ic54ifn8cx6za57"))))
+ (build-system pyproject-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 tzdata-for-tests))
+ (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.41.0
- [bug#65758] [PATCH v7 20/57] gnu: python-dango-rq: Add native-input tzdata-for-tests., (continued)
- [bug#65758] [PATCH v7 20/57] gnu: python-dango-rq: Add native-input tzdata-for-tests., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 22/57] gnu: python-django-tagging: Add patch for django@4 support., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 09/57] gnu: python-django-simple-math-captcha: Update to 1.0.9-0-61adb4f., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 24/57] gnu: python-defusedxml: Update to 0.7.0., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 23/57] gnu: python-django-sortedm2m: Update to 3.1.1-0-ddf321f., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 34/57] gnu: postorius: Update to 1.3.7., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 25/57] gnu: python-filetype: Update to 1.0.10., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 38/57] gnu: python-django-filter: Update to 22.1., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 42/57] gnu: Add python-jinjalint., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 37/57] gnu: python-django-taggit: Update to 3.1.0., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 39/57] gnu: Add python-django-modelcluster.,
Nicolas Graves <=
- [bug#65758] [PATCH v7 43/57] gnu: Add python-willow., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 44/57] gnu: Add python-django-request., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 49/57] gnu: Add python-telepath., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 46/57] gnu: Add python-draftjs-exporter., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 51/57] gnu: python-openpyxl: Update to 3.1.2., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 48/57] gnu: Add python-anyascii., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 52/57] gnu: Add python-wagtail., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 14/57] gnu: python-django-picklefield: Update to 3.1.0., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 12/57] gnu: python-django-allauth: Update to 0.47.0., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 19/57] gnu: python-django-contrib-comments: Update to 2.2.0., Nicolas Graves, 2023/09/06