[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55474] [PATCH v5 10/55] gnu: python-django-simple-math-captcha: Upd
From: |
Nicolas Graves |
Subject: |
[bug#55474] [PATCH v5 10/55] gnu: python-django-simple-math-captcha: Update to 1.0.9-0-61adb4f. |
Date: |
Sun, 25 Jun 2023 18:57:11 +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.40.1
- [bug#55474] [PATCH v5 01/55] gnu: python-django-4.0: Update to 4.0.9., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 03/55] gnu: Add python-asgiref-3.4.1., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 02/55] gnu: python-asgiref: Update to 3.6.0., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 04/55] gnu: python-distributed: Disable failing tests., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 05/55] gnu: Add python-django-4.2., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 06/55] gnu: python-pint: Disable failing tests., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 08/55] gnu: Add python-django-extensions-3.0., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 07/55] gnu: python-django-extensions: Update to 3.2.0., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 10/55] gnu: python-django-simple-math-captcha: Update to 1.0.9-0-61adb4f.,
Nicolas Graves <=
- [bug#55474] [PATCH v5 15/55] gnu: python-django-picklefield: Update to 3.1.0., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 14/55] gnu: python-django-debug-toolbar: Add native-input tzdata-for-tests., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 12/55] gnu: python-django-filter: Add native-input tzdata-for-tests., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 13/55] gnu: python-django-allauth: Update to 0.47.0., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 17/55] gnu: datasette: Disabling failing tests., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 18/55] gnu: graphite-web: Update to 1.1.10-0-dca59dc., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 09/55] gnu: python-django-3.1.14: Skip failing tests., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 11/55] gnu: python-easy-thumbnails: Update to 2.8.5., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 19/55] gnu: python-django-contact-form: Add native-input tzdata-for-tests., Nicolas Graves, 2023/06/25
- [bug#55474] [PATCH v5 16/55] gnu: Remove python-django-2.2., Nicolas Graves, 2023/06/25