From 5f37f0b66e301210698ab0c0af24453c826ba18a Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Fri, 28 Oct 2016 13:09:56 -0400 Subject: gnu: python-beautifulsoup4: Run the test suite. * gnu/packages/python.scm (python-beautifulsoup4)[arguments]: Add field run python-2 -> python-3 conversion script and test suite. (python2-beautifulsoup4)[arguments]: Specify use of python-2. --- gnu/packages/python.scm | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index f33a2fa11f..1ede56f10a 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -4823,6 +4823,16 @@ libxml2 and libxslt.") (base32 "1rf94360s8pmn37vxqjl0g74krq2p6nj3wbn6pj94ik6ny44q24f")))) (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; The Python 2 source is the definitive source of beautifulsoup4. We + ;; must use this conversion script when building with Python 3. The + ;; conversion script also runs the tests. + ;; For more information, see the file 'convert-py3k' in the source + ;; distribution. + (replace 'check + (lambda _ (zero? (system* "./convert-py3k"))))))) (home-page "http://www.crummy.com/software/BeautifulSoup/bs4/") (synopsis @@ -4840,7 +4850,8 @@ converts incoming documents to Unicode and outgoing documents to UTF-8.") (package (inherit (package-with-python2 (strip-python2-variant python-beautifulsoup4))) - (native-inputs `(("python2-setuptools" ,python2-setuptools))))) + (native-inputs `(("python2-setuptools" ,python2-setuptools))) + (arguments `(#:python ,python-2)))) (define-public python2-cssutils (package -- cgit v1.2.3 From 67fd4a12cb5aa71f8e5943e88ffc3c18900d6963 Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Fri, 28 Oct 2016 13:11:40 -0400 Subject: gnu: python-beautifulsoup4: Update to 4.5.1. * gnu/packages/python.scm (python-beautifulsoup4, python2-beautifulsoup4): Update to 4.5.1. --- gnu/packages/python.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 1ede56f10a..8e04909333 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -4814,14 +4814,14 @@ libxml2 and libxslt.") (define-public python-beautifulsoup4 (package (name "python-beautifulsoup4") - (version "4.5.0") + (version "4.5.1") (source (origin (method url-fetch) (uri (pypi-uri "beautifulsoup4" version)) (sha256 (base32 - "1rf94360s8pmn37vxqjl0g74krq2p6nj3wbn6pj94ik6ny44q24f")))) + "1qgmhw65ncsgccjhslgkkszif47q6gvxwqv4mim17agxd81p951w")))) (build-system python-build-system) (arguments `(#:phases -- cgit v1.2.3 From e359b31a60b29209a202a4012069f551bae8870f Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Fri, 28 Oct 2016 13:26:57 -0400 Subject: gnu: python-wsgiproxy2: Disable the test suite. * gnu/packages/python.scm (python-wsgiproxy2, python2-wsgiproxy2)[arguments]: Disable the tests. --- gnu/packages/python.scm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 8e04909333..f7485ad014 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -8129,6 +8129,11 @@ server with very acceptable performance.") (base32 "13kf9bdxrc95y9vriaz0viry3ah11nz4rlrykcfvb8nlqpx3dcm4")))) (build-system python-build-system) + (arguments + '(;; Wsgiproxy2's test suite requires Restkit, which does not yet fully + ;; support Python 3: + ;; https://github.com/benoitc/restkit/issues/140 + #:tests? #f)) (native-inputs `(("unzip" ,unzip) ("python-nose" ,python-nose) -- cgit v1.2.3