diff options
author | Ludovic Courtès <[email protected]> | 2017-03-09 16:35:41 +0100 |
---|---|---|
committer | Ludovic Courtès <[email protected]> | 2017-03-09 16:35:41 +0100 |
commit | e90e0fad1b3ba79d81f02424e143ee6f4f736e8b (patch) | |
tree | 2c26190fd9114199b0ef79303e18a61100cab4af /gnu/packages/django.scm | |
parent | 8ea0700d231a8819fc7e8332e9685f0ce15c174e (diff) | |
parent | 9ec2a4d3fec44f08a55df9f5f3d1a04b83e7fcf6 (diff) |
Merge branch 'master' into core-updates
Diffstat (limited to 'gnu/packages/django.scm')
-rw-r--r-- | gnu/packages/django.scm | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index 9a3c66c45e..185fbf8e62 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -106,6 +106,10 @@ to the @dfn{don't repeat yourself} (DRY) principle.") (base32 "0906hms6y6znjhpd0g4wmzv9vcla4brkdpsm4zha9zdj8g5vq2hd")))) (build-system python-build-system) + (arguments + ;; FIXME: Upstream uses a 'runtests.py' script that is not + ;; present in the pypi tarball. + '(#:tests? #f)) (propagated-inputs `(("python-django" ,python-django))) (home-page "https://github.com/alsoicode/django-simple-math-captcha") @@ -131,7 +135,8 @@ with arguments to the field constructor.") "1mmc7zsz3dlhs6sx4sppkj1vgshabi362r1a8b8wpj1qfximpqcb")))) (build-system python-build-system) (arguments - `(#:phases + `(#:tests? #f ; FIXME: How to run tests? + #:phases (modify-phases %standard-phases (add-after 'unpack 'patch-setuppy (lambda _ @@ -163,6 +168,12 @@ useful tools for testing Django applications and projects.") (base32 "0f78hmk8c903zwfzlsiw7ivgag81ymmb5hi73rzxbhnlg2v0l3fx")))) (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (zero? (system* "python" "runtests.py"))))))) (native-inputs `(("python-django" ,python-django) ("python-mock" ,python-mock))) |