From 97c26793d94fe95c51de21fd98bc5cab2f1425a7 Mon Sep 17 00:00:00 2001 From: Rutger Helling Date: Tue, 12 Dec 2017 10:35:44 +0100 Subject: gnu: Add python2-pyopengl-accelerate. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python.scm (python2-pyopengl-accelerate): New variable. Co-authored-by: Ludovic Courtès --- gnu/packages/python.scm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 01b4e2cd29..e36056d454 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -11523,6 +11523,22 @@ related APIs. The binding is created using the standard @code{ctypes} library.") (license license:bsd-3))) +(define-public python2-pyopengl-accelerate + (package + (inherit python2-pyopengl) + (name "python2-pyopengl-accelerate") + (version "3.1.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "PyOpenGL-accelerate" version)) + (sha256 + (base32 + "0464c1ifzk0k92lyndikmvzjgnx1y25r7bkkc8pnxm4kp1q4czwj")))) + (synopsis "Acceleration code for PyOpenGL") + (description + "This is the Cython-coded accelerator module for PyOpenGL."))) + (define-public python-rencode (package (name "python-rencode") -- cgit v1.3 From d65854bdda4ad5464fcd8fe6289eedc13ea82ba1 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 15 Dec 2017 11:17:09 +0100 Subject: gnu: python2-pyicu: Disable failing test. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python.scm (python2-pyicu)[arguments]: Add ‘delete-failing-test’ phase. --- gnu/packages/python.scm | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index e36056d454..c6dd67fb29 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1130,7 +1130,20 @@ Python 3.3+.") (license license:x11))) (define-public python2-pyicu - (package-with-python2 python-pyicu)) + (let ((base (package-with-python2 + (strip-python2-variant python-pyicu)))) + (package + (inherit base) + (arguments + `(,@(package-arguments base) + #:phases + (modify-phases %standard-phases + (add-before 'check 'delete-failing-test + (λ _ + ;; XXX: This fails due to Unicode issues unique to Python 2, + ;; it seems: . + (delete-file "test/test_Script.py") + #t)))))))) (define-public python2-dogtail ;; Python 2 only, as it leads to "TabError: inconsistent use of tabs and -- cgit v1.3 From 574b1d0262c0e9af8aa7bbfe4998a498f2ba23da Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 15 Dec 2017 16:44:00 +0100 Subject: gnu: python-pyicu: Set python2-variant. This follows up on commit d65854bdda4ad5464fcd8fe6289eedc13ea82ba1, which did not fix test failures for dependents using package-with-python2. * gnu/packages/python.scm (python-pyicu)[properties]: Set python2-variant. --- gnu/packages/python.scm | 1 + 1 file changed, 1 insertion(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index c6dd67fb29..082856bfbf 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1127,6 +1127,7 @@ Python 3.3+.") (synopsis "Python extension wrapping the ICU C++ API") (description "PyICU is a python extension wrapping the ICU C++ API.") + (properties `((python2-variant . ,(delay python2-pyicu)))) (license license:x11))) (define-public python2-pyicu -- cgit v1.3 From bef02e9e1c405cd28c42cf7fec3385bfb3e2bb21 Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Sat, 16 Dec 2017 16:58:31 -0500 Subject: gnu: python-dulwich: Update to 0.18.6 [fixes CVE-2017-16228]. * gnu/packages/python.scm (python-dulwich, python2-dulwich): Update to 0.18.6. --- gnu/packages/python.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 082856bfbf..4baef43914 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -9897,7 +9897,7 @@ Features: (define-public python-dulwich (package (name "python-dulwich") - (version "0.16.3") + (version "0.18.6") (source (origin (method url-fetch) @@ -9905,7 +9905,8 @@ Features: "dulwich-" version ".tar.gz") (pypi-uri "dulwich" version))) (sha256 - (base32 "0fl47vzfgc3w3rmhn8naii905cjqcp0vc68iyvymxp7567hh6als")))) + (base32 + "1aa1xfrxkc3j9s4xi0llhf5gndyi9ryprcxsqfa5fcb8ph34981q")))) (build-system python-build-system) (arguments `(#:phases -- cgit v1.3