From 2ddbfa8c06fb3fdd1c4367d735c12ec1efd81fd2 Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Sat, 29 Oct 2016 21:58:45 -0400 Subject: gnu: python-pyquery: Add inputs for test suite. * gnu/packages/python.scm (python-pyquery, python2-pyquery)[native-inputs]: Add python-webob and python-webtest. --- gnu/packages/python.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 7cfbd997d8..1247e5ef70 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -8309,6 +8309,9 @@ layouts.") (base32 "0j9fsisip21qv4xljsg5dmni1pgpvwrjyyhhql0glydc4bs5rjgv")))) (build-system python-build-system) + (native-inputs + `(("python-webob" ,python-webob) + ("python-webtest" ,python-webtest))) (propagated-inputs `(("python-lxml" ,python-lxml) ("python-cssselect" ,python-cssselect))) @@ -8325,7 +8328,8 @@ fast xml and html manipulation.") (strip-python2-variant python-pyquery)))) (package (inherit pyquery) - (native-inputs `(("python2-setuptools" ,python2-setuptools)))))) + (native-inputs `(("python2-setuptools" ,python2-setuptools) + ,@(package-native-inputs pyquery)))))) (define-public python-webtest (package -- cgit v1.2.3 From 59f129855888b18bd0ff39d2427841d9c6714b57 Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Sat, 29 Oct 2016 22:09:39 -0400 Subject: gnu: python-nltk: Disable the test suite. The tests were silently skipped with Python 3.4. With Python 3.5, this caused the build of python-nltk to fail. * gnu/packages/python.scm (python-nltk, python2-nltk)[arguments]: Disable the tests. --- gnu/packages/python.scm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 1247e5ef70..4e0292e1a7 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -10456,6 +10456,10 @@ binary or text.") (base32 "0skxbhnymwlspjkzga0f7x1hg3y50fwpfghs8g8k7fh6f4nknlym")))) (build-system python-build-system) + (arguments + '(;; The tests require some extra resources to be downloaded. + ;; TODO Try packaging these resources. + #:tests? #f)) (home-page "http://nltk.org/") (synopsis "Natural Language Toolkit") (description "It provides interfaces to over 50 corpora and lexical -- cgit v1.2.3