[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#65758] [PATCH v6 50/55] gnu: Add python-django-permissionedforms.
From: |
Nicolas Graves |
Subject: |
[bug#65758] [PATCH v6 50/55] gnu: Add python-django-permissionedforms. |
Date: |
Tue, 5 Sep 2023 18:31:26 +0200 |
* gnu/packages/django.scm (python-django-permissionedforms): 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 e0fec3caa9..74a1b7366a 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -878,6 +878,40 @@ (define-public python-dj-database-url
conn_max_age argument to easily enable Django’s connection pool.")
(license license:bsd-2)))
+(define-public python-django-permissionedforms
+ (package
+ (name "python-django-permissionedforms")
+ (version "0.1")
+ ;; tests are not packaged in pypi
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/wagtail/django-permissionedforms")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0dscl238yi4xyd4nz2cxr5kikyalqj5drmk935llal3rd0dcy30d"))))
+ (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))
+ (native-inputs (list python-django-modelcluster))
+ (home-page "https://github.com/wagtail/django-permissionedforms")
+ (synopsis
+ "Create forms that vary according to user permissions in Django")
+ (description
+ "This package provides a Django extension for creating forms that vary
+according to user permissions.")
+ (license license:bsd-3)))
+
(define-public python-django-picklefield
(package
(name "python-django-picklefield")
--
2.41.0
- [bug#65758] [PATCH v6 37/55] gnu: python-django-taggit: Update to 3.1.0., (continued)
- [bug#65758] [PATCH v6 37/55] gnu: python-django-taggit: Update to 3.1.0., Nicolas Graves, 2023/09/05
- [bug#65758] [PATCH v6 41/55] gnu: Add python-parsy., Nicolas Graves, 2023/09/05
- [bug#65758] [PATCH v6 42/55] gnu: Add python-jinjalint., Nicolas Graves, 2023/09/05
- [bug#65758] [PATCH v6 40/55] gnu: Add python-django-treebeard., Nicolas Graves, 2023/09/05
- [bug#65758] [PATCH v6 46/55] gnu: Add python-draftjs-exporter., Nicolas Graves, 2023/09/05
- [bug#65758] [PATCH v6 48/55] gnu: Add python-anyascii., Nicolas Graves, 2023/09/05
- [bug#65758] [PATCH v6 45/55] gnu: Add python-django-environ., Nicolas Graves, 2023/09/05
- [bug#65758] [PATCH v6 53/55] gnu: Add python-wagtail-factories., Nicolas Graves, 2023/09/05
- [bug#65758] [PATCH v6 47/55] gnu: Add python-l18n., Nicolas Graves, 2023/09/05
- [bug#65758] [PATCH v6 49/55] gnu: Add python-telepath., Nicolas Graves, 2023/09/05
- [bug#65758] [PATCH v6 50/55] gnu: Add python-django-permissionedforms.,
Nicolas Graves <=
- [bug#65758] [PATCH v6 55/55] gnu: python-django: Update to 4.1.9., Nicolas Graves, 2023/09/05
- [bug#65758] [PATCH v6 54/55] gnu: Add python-wagtail-localize., Nicolas Graves, 2023/09/05
- [bug#65758] [PATCH v6 52/55] gnu: Add python-wagtail., Nicolas Graves, 2023/09/05
- [bug#65758] [PATCH v7 01/57] gnu: python-django-4.0: Update to 4.0.9., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 02/57] gnu: python-asgiref: Update to 3.6.0., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 05/57] gnu: Add python-django-4.2., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 03/57] gnu: Add python-asgiref-3.4.1., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 06/57] gnu: python-django-extensions: Update to 3.2.0., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 04/57] gnu: python-distributed: Disable failing tests., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 08/57] gnu: python-django-3.1.14: Skip failing tests., Nicolas Graves, 2023/09/06