From 28958b646fb38a679e45d3c9d8257e46deebe190 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 14 Mar 2017 11:14:58 +0100 Subject: gnu: python-parsedatetime: Update to 2.3. Version 2.1 was apparently time-sensitive and started failing like this: ====================================================================== FAIL: testFloat (tests.TestDelta.test) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/guix-build-python2-parsedatetime-2.1.drv-0/parsedatetime-2.1/tests/TestDelta.py", line 64, in testFloat self.cal.parse('1.4 months ago', self.source), months=-1.4) File "/tmp/guix-build-python2-parsedatetime-2.1.drv-0/parsedatetime-2.1/tests/TestDelta.py", line 37, in assertDelta self.assertTrue(diff < 0.05, '%s is not less than 0.05' % diff) AssertionError: 0.0666666666667 is not less than 0.05 ---------------------------------------------------------------------- * gnu/packages/python.scm (python-parsedatetime): Update to 2.3. [native-inputs]: Add PYTHON-PYTEST and PYTHON-PYTEST-RUNNER. [propagated-inputs]: New field. --- gnu/packages/python.scm | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 333cfd54e99..00796d166ec 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013 Nikita Karetnikov -;;; Copyright © 2013, 2014, 2015, 2016 Ludovic Courtès +;;; Copyright © 2013, 2014, 2015, 2016, 2017 Ludovic Courtès ;;; Copyright © 2013, 2014, 2015, 2016 Andreas Enge ;;; Copyright © 2014, 2015 Mark H Weaver ;;; Copyright © 2014, 2017 Eric Bavier @@ -1141,18 +1141,22 @@ datetime module, available in Python 2.3+.") (define-public python-parsedatetime (package (name "python-parsedatetime") - (version "2.1") + (version "2.3") (source (origin (method url-fetch) (uri (pypi-uri "parsedatetime" version)) (sha256 (base32 - "0bdgyw6y3v7bcxlx0p50s8drxsh5bb5cy2afccqr3j90amvpii8p")))) + "1vkrmd398s11h1zn3zaqqsiqhj9lwy1ikcg6irx2lrgjzjg3rjll")))) (build-system python-build-system) (native-inputs `(("python-nose" ,python-nose) - ("python-pyicu" ,python-pyicu))) + ("python-pyicu" ,python-pyicu) + ("python-pytest" ,python-pytest) + ("python-pytest-runner" ,python-pytest-runner))) + (propagated-inputs + `(("python-future" ,python-future))) (home-page "http://github.com/bear/parsedatetime/") (synopsis "Parse human-readable date/time text") -- cgit v1.3 From 27bf00e691750c9bd916f6f0560bfaa36ce5a185 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 14 Mar 2017 21:55:58 +0200 Subject: gnu: python-waf: Update to 1.9.8. * gnu/packages/python.scm (python-waf, python2-waf): Update to 1.9.8. [home-page]: Use https. --- gnu/packages/python.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 00796d166ec..f6042d97f24 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -6176,14 +6176,14 @@ so it might be a tiny bit slower.") (define-public python-waf (package (name "python-waf") - (version "1.9.5") + (version "1.9.8") (source (origin (method url-fetch) (uri (string-append "https://waf.io/" "waf-" version ".tar.bz2")) (sha256 (base32 - "1sl3ipi2czds57rlzjnpdzqa0skx8asfvmh3qmibpvdwf15rpppg")))) + "0wl4cnmp06lfxqjxaan58bqxn27smhydz0sg5prrfbl3bsw4gv6q")))) (build-system python-build-system) (arguments '(#:phases @@ -6197,7 +6197,7 @@ so it might be a tiny bit slower.") (replace 'install (lambda _ (copy-file "waf" %output)))))) - (home-page "http://waf.io/") + (home-page "https://waf.io/") (synopsis "Python-based build system") (description "Waf is a Python-based framework for configuring, compiling and installing -- cgit v1.3