[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#65758] [PATCH v7 09/57] gnu: python-django-simple-math-captcha: Upd
From: |
Nicolas Graves |
Subject: |
[bug#65758] [PATCH v7 09/57] gnu: python-django-simple-math-captcha: Update to 1.0.9-0-61adb4f. |
Date: |
Wed, 6 Sep 2023 11:15:33 +0200 |
* gnu/packages/django.scm (python-django-simple-math-captcha): Update to
1.0.9-0-61adb4f.
[build-system]: Use pyproject-build-system.
[arguments](phases): Delete phase patch-six-imports.
[propagated-inputs]: Delete python-six.
---
gnu/packages/django.scm | 66 +++++++++++++++++++----------------------
1 file changed, 30 insertions(+), 36 deletions(-)
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 84f18fc3d1..e2754b2d57 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -324,44 +324,38 @@ (define-public python-django-localflavor
(license license:bsd-3)))
(define-public python-django-simple-math-captcha
- (package
- (name "python-django-simple-math-captcha")
- (version "1.0.9")
- (home-page "https://github.com/alsoicode/django-simple-math-captcha")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url home-page)
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0fhy9k8haqa1296v0qpg1b5w7y3pyw9qi9z9laj5ijry1gk35qaw"))))
- (build-system python-build-system)
- (arguments
- '(#:phases (modify-phases %standard-phases
- (add-after 'unpack 'patch-six-imports
- (lambda _
- ;; Django no longer bundles six, adjust the imports
- ;; accordingly. The six dependency can likely be
- ;; removed in the next version.
- (substitute* (find-files "." "\\.py$")
- (("from django\\.utils import six")
- "import six"))
- #t))
- (replace 'check
- (lambda _
- (invoke "python" "runtests.py"))))))
- (native-inputs
- (list python-mock))
- (propagated-inputs
- (list python-django python-six))
- (synopsis "Easy-to-use math field/widget captcha for Django forms")
- (description
- "A multi-value-field that presents a human answerable question,
+ (let ((commit "61adb4f43bfc654da61fa7b84ea4f455e31f0bd2")
+ (revision "0"))
+ (package
+ (name "python-django-simple-math-captcha")
+ (version (git-version "1.0.9" revision commit))
+ (home-page "https://github.com/alsoicode/django-simple-math-captcha")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "02fim6xk4islil02xg7j5nqfpmgwzyqni1y17a082fz35d94jd3i"))))
+ (build-system pyproject-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (invoke "python" "runtests.py"))))))
+ (native-inputs
+ (list python-mock))
+ (propagated-inputs
+ (list python-django))
+ (synopsis "Easy-to-use math field/widget captcha for Django forms")
+ (description
+ "A multi-value-field that presents a human answerable question,
with no settings.py configuration necessary, but instead can be configured
with arguments to the field constructor.")
- (license license:asl2.0)))
+ (license license:asl2.0))))
(define-public python-django-classy-tags
(package
--
2.41.0
- [bug#65758] [PATCH v7 03/57] gnu: Add python-asgiref-3.4.1., (continued)
- [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
- [bug#65758] [PATCH v7 07/57] gnu: Add python-django-extensions-3.0., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 17/57] gnu: graphite-web: Update to 1.1.10-0-dca59dc., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 31/57] gnu: python-django-haystack: Update to 3.2.1., Nicolas Graves, 2023/09/06
- [bug#65758] [PATCH v7 11/57] gnu: python-django-filter: Add native-input tzdata-for-tests., Nicolas Graves, 2023/09/06
- [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 <=
- [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, 2023/09/06
- [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