[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55474] [PATCH v5 40/55] gnu: Add python-django-modelcluster.
From: |
Nicolas Graves |
Subject: |
[bug#55474] [PATCH v5 40/55] gnu: Add python-django-modelcluster. |
Date: |
Sun, 25 Jun 2023 18:57:41 +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 7c4a09680f..7458f64ee4 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -898,6 +898,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.40.1
- [bug#55474] [PATCH v5 27/55] gnu: python-rcssmin: Update to 1.1.1., (continued)
- [bug#55474] [PATCH v5 27/55] gnu: python-rcssmin: Update to 1.1.1., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 30/55] gnu: Remove python-pysolr., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 33/55] gnu: python-hyperkitty: Update to 1.3.7., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 31/55] gnu: python-django-compressor: Update to 4.3.1., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 32/55] gnu: python-django-haystack: Update to 3.2.1., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 34/55] gnu: Add python-django-requests-debug-toolbar., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 35/55] gnu: postorius: Update to 1.3.7., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 37/55] gnu: python-django: Update default version to 4.0., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 38/55] gnu: python-django-taggit: Update to 3.1.0., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 39/55] gnu: python-django-filter: Update to 22.1., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 40/55] gnu: Add python-django-modelcluster.,
Nicolas Graves <=
- [bug#55474] [PATCH v5 43/55] gnu: Add python-jinjalint., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 36/55] gnu: python-django-rest-framework: Update to 3.14.0., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 41/55] gnu: Add python-django-treebeard., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 44/55] gnu: Add python-willow., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 45/55] gnu: Add python-django-request., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 46/55] gnu: Add python-django-environ., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 42/55] gnu: Add python-parsy., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 49/55] gnu: Add python-anyascii., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 48/55] gnu: Add python-l18n., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 47/55] gnu: Add python-draftjs-exporter., Nicolas Graves, 2023/06/25