From 148585c240f848ad08f6541ede7db3fca3411007 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Tue, 13 Jun 2017 00:10:01 +0530 Subject: gnu: Move contents of zip module into compression module. * gnu/packages/zip.scm (zip, unzip, zziplib, perl-zip): Move to... * gnu/packages/compression.scm: ...here. * gnu/packages/zip.scm: Delete file. * gnu/local.mk (GNU_SYSTEM_MODULES): Unregister deleted file. * po/packages/POTFILES.in: Unregister deleted file. * gnu/packages/{audio, avr, bioinformatics, busybox, cdrom, ci, compression, docbook, documentation, fonts, fpga, game-development, games, gl, gnome, gnuzilla, graphics, guile, haskell, image, java, kodi, ldc, libreoffice, markup, maths, mc, monitoring, music, php, pretty-print, python, scheme, smalltalk, statistics, synergy, tex, textutils, video, web-browsers, xml, zip}.scm, guix/build-system/{ant, font}.scm, guix/{download, packages}.scm: Adapt module import. --- gnu/packages/python.scm | 1 - 1 file changed, 1 deletion(-) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 87c4d84a87..775cab6948 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -110,7 +110,6 @@ #:use-module (gnu packages xml) #:use-module (gnu packages xorg) #:use-module (gnu packages xdisorg) - #:use-module (gnu packages zip) #:use-module (gnu packages tcl) #:use-module (gnu packages bdw-gc) #:use-module (guix packages) -- cgit v1.3 From fa3f5f472ccceafa537fc66fc896b941a887efe5 Mon Sep 17 00:00:00 2001 From: Roel Janssen Date: Wed, 21 Jun 2017 10:36:07 +0200 Subject: gnu: Add python-regex. * gnu/packages/python.scm (python-regex, python2-regex): New variables. --- gnu/packages/python.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 775cab6948..251c2b267a 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -40,6 +40,7 @@ ;;; Copyright © 2017 Ben Sturmfels ;;; Copyright © 2017 Mathieu Othacehe ;;; Copyright © 2017 José Miguel Sánchez García +;;; Copyright © 2017 Roel Janssen ;;; ;;; This file is part of GNU Guix. ;;; @@ -15423,3 +15424,24 @@ window memory map manager.") (define-public python2-smmap2 (package-with-python2 python-smmap2)) + +(define-public python-regex + (package + (name "python-regex") + (version "2017.06.07") + (source (origin + (method url-fetch) + (uri (pypi-uri "regex" version)) + (sha256 + (base32 + "06r6b7yigikbj3a72whl85r2b64pj1r0ypmw9yalmkm0wnxq8mz4")))) + (build-system python-build-system) + (home-page "https://bitbucket.org/mrabarnett/mrab-regex") + (synopsis "Alternative regular expression module") + (description "This regular expression implementation is backwards- +compatible with the standard @code{re} module, but offers additional +functionality like full case-folding for case-insensitive matches in Unicode.") + (license license:psfl))) + +(define-public python2-regex + (package-with-python2 python-regex)) -- cgit v1.3 From 0b84a530c8f7384c86484f634462bbbddb84d585 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 18 Jun 2017 19:01:53 +0200 Subject: gnu: python-vobject: Update to 0.9.4.1. * gnu/packages/python.scm (python-vobject): Update to 0.9.4.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 251c2b267a..9f891669d7 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -10201,13 +10201,13 @@ introspection of @code{zope.interface} instances in code.") (define-public python-vobject (package (name "python-vobject") - (version "0.9.2") + (version "0.9.4.1") (source (origin (method url-fetch) (uri (pypi-uri "vobject" version)) (sha256 (base32 - "1qfnwlx8qwkgr6nf5wvl6ff1r3kll53dh3z6nyp173nmlhhhqccb")))) + "0741h2cf743sbk89dpfm1yca26l4s159nzvy6vv8xg72nd7pvsps")))) (build-system python-build-system) (arguments '(;; The test suite relies on some non-portable Windows interfaces. -- cgit v1.3 From 5150d8b4b4b993af1d2d2527c69ee1bcc74a84a3 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Mon, 19 Jun 2017 13:29:46 +0200 Subject: gnu: python-eventlet: Skip failing test phase. * gnu/packages/python.scm (python-eventlet)[arguments]: Disable tests. --- gnu/packages/python.scm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 9f891669d7..67a52bc9db 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1047,6 +1047,9 @@ etc.). The package is structured to make adding new modules easy.") (build-system python-build-system) (propagated-inputs `(("python-greenlet" ,python-greenlet))) + (arguments + ;; TODO: Requires unpackaged 'enum-compat'. + '(#:tests? #f)) (home-page "http://eventlet.net") (synopsis "Concurrent networking library for Python") (description -- cgit v1.3 From 636437ec5086ca6525fac5f236d4b466958d5970 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Mon, 19 Jun 2017 13:34:57 +0200 Subject: gnu: Remove unused python-flake8-2.2.4. * gnu/packages/python.scm (python-flake8-2.2.4): Remove variable. --- gnu/packages/python.scm | 34 ---------------------------------- 1 file changed, 34 deletions(-) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 67a52bc9db..de42d3d56e 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -6521,40 +6521,6 @@ complexity of Python source code.") (define-public python2-flake8 (package-with-python2 python-flake8)) -;; This will only be needed by the python-hacking package and will not be -;; necessary once python-hacking > 0.10.2 is released. -(define-public python-flake8-2.2.4 - (package (inherit python-flake8) - (propagated-inputs - `(("python-pep8" ,python-pep8-1.5.7) - ("python-pyflakes" ,python-pyflakes-0.8.1) - ("python-mccabe" ,python-mccabe-0.2.1))) - (native-inputs - `(("python-mock" ,python-mock) - ("python-nose" ,python-nose))) - (version "2.2.4") - (source - (origin - (method url-fetch) - (uri (pypi-uri "flake8" version)) - (sha256 - (base32 - "1r9wsry4va45h1rck5hxd3vzsg2q3y6lnl6pym1bxvz8ry19jwx8")) - (modules '((guix build utils))) - (snippet - '(begin - ;; Remove pre-compiled .pyc files from source. - (for-each delete-file-recursively - (find-files "." "__pycache__" #:directories? #t)) - (for-each delete-file (find-files "." "\\.pyc$")) - #t)))) - (arguments - ;; XXX Fails with Python 3.5. - '(#:tests? #f)))) - -(define-public python2-flake8-2.2.4 - (package-with-python2 python-flake8-2.2.4)) - (define-public python-flake8-polyfill (package (name "python-flake8-polyfill") -- cgit v1.3 From 9b8016612cfa80103b278ed983420206fad7ecf0 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 20 Jun 2017 12:59:16 +0200 Subject: gnu: python-pycodestyle: Update to 2.3.1. * gnu/packages/python.scm (python-pycodestyle): Update to 2.3.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 de42d3d56e..33fb35ac86 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -4357,14 +4357,14 @@ simple and Pythonic domain language.") (define-public python-pycodestyle (package (name "python-pycodestyle") - (version "2.0.0") + (version "2.3.1") (source (origin (method url-fetch) (uri (pypi-uri "pycodestyle" version)) (sha256 (base32 - "1rz2v8506mdjdyxcnv9ygiw6v0d4dqx8z5sjyjm0w2v32h5l5w1p")))) + "0rk78b66p57ala26mdldl9lafr48blv5s659sah9q50qnfjmc8k8")))) (build-system python-build-system) (home-page "https://pycodestyle.readthedocs.io/") (synopsis "Python style guide checker") -- cgit v1.3 From d92621cf4547d909e6b9f247607327d9744e3b0b Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 22 Jun 2017 08:54:01 +0200 Subject: gnu: python-drmaa: Update source URL. * gnu/packages/python.scm (python-drmaa)[source]: Use pypi-uri. --- gnu/packages/python.scm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 33fb35ac86..a63006a043 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -7,7 +7,7 @@ ;;; Copyright © 2014, 2015 Federico Beffa ;;; Copyright © 2015 Omar Radwan ;;; Copyright © 2015 Pierre-Antoine Rault -;;; Copyright © 2015, 2016 Ricardo Wurmus +;;; Copyright © 2015, 2016, 2017 Ricardo Wurmus ;;; Copyright © 2015, 2016 Christopher Allan Webber ;;; Copyright © 2015 Eric Dvorsak ;;; Copyright © 2015, 2016 David Thompson @@ -4901,9 +4901,7 @@ etc. The core of this module is a decorator factory.") (source (origin (method url-fetch) - (uri (string-append - "https://pypi.python.org/packages/source/d/drmaa/drmaa-" - version ".tar.gz")) + (uri (pypi-uri "drmaa" version)) (sha256 (base32 "0xzqriqyvk5b8hszbavsyxd29wm3sxirm8zvvdm73rs2iq7w4hkx")))) (build-system python-build-system) -- cgit v1.3 From fa56c7733d88d3821c92ea1c48d2681bd99aeba4 Mon Sep 17 00:00:00 2001 From: Kei Kebreau Date: Thu, 22 Jun 2017 15:13:58 -0400 Subject: gnu: Add python-uniseg. * gnu/packages/python.scm (python-uniseg, python2-uniseg): New variables. --- gnu/packages/python.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index a63006a043..3c3b4056d4 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -41,6 +41,7 @@ ;;; Copyright © 2017 Mathieu Othacehe ;;; Copyright © 2017 José Miguel Sánchez García ;;; Copyright © 2017 Roel Janssen +;;; Copyright © 2017 Kei Kebreau ;;; ;;; This file is part of GNU Guix. ;;; @@ -987,6 +988,42 @@ Python 3 support.") (define-public python2-setuptools (package-with-python2 python-setuptools)) +(define-public python-uniseg + (package + (name "python-uniseg") + (version "0.7.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://bitbucket.org/emptypage/uniseg-python/" + "get/rel-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1df4gddnj2a0v8z35wb2ra5vvh1f1qyxs8fgd25c8g64031mna6x")))) + (build-system python-build-system) + (arguments + '(#:tests? #f)) ; The test suite requires network access. + (home-page + "https://bitbucket.org/emptypage/uniseg-python") + (synopsis + "Python library to determine Unicode text segmentations") + (description + "Uniseg is a Python package used to determine Unicode text segmentations. +Supported segmentations include: +@enumerate +@item @dfn{Code point} (any value in the Unicode codespace) +@item @dfn{Grapheme cluster} (user-perceived character made of a single or +multiple Unicode code points, e.g. \"G\" + acute-accent) +@item Word break +@item Sentence break +@item Line break +@end enumerate") + (license license:expat))) + +(define-public python2-uniseg + (package-with-python2 python-uniseg)) + ;;; Pycrypto is abandoned upstream: ;;; ;;; https://github.com/dlitz/pycrypto/issues/173 -- cgit v1.3 From f817b4d9039e9a8d4ac0b4034f79a60f530296de Mon Sep 17 00:00:00 2001 From: Rutger Helling Date: Fri, 23 Jun 2017 05:43:09 +0200 Subject: gnu: Add python2-pyopengl. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python.scm (python2-pyopengl): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/python.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 3c3b4056d4..d9e004ecbe 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -42,6 +42,7 @@ ;;; Copyright © 2017 José Miguel Sánchez García ;;; Copyright © 2017 Roel Janssen ;;; Copyright © 2017 Kei Kebreau +;;; Copyright © 2017 Rutger Helling ;;; ;;; This file is part of GNU Guix. ;;; @@ -15449,3 +15450,25 @@ functionality like full case-folding for case-insensitive matches in Unicode.") (define-public python2-regex (package-with-python2 python-regex)) + +(define-public python2-pyopengl + (package + (name "python2-pyopengl") + (version "3.1.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "PyOpenGL" version)) + (sha256 + (base32 + "1byxjj6a8rwzhxhjqlc588zdad2qwxdd7vlam2653ylll31waiwv")))) + (arguments + `(#:python ,python-2)) + (build-system python-build-system) + (home-page "http://pyopengl.sourceforge.net") + (synopsis "Standard OpenGL bindings for Python") + (description + "PyOpenGL is the most common cross platform Python binding to OpenGL and +related APIs. The binding is created using the standard @code{ctypes} +library.") + (license license:bsd-3))) -- cgit v1.3 From 7efd98be87a91f6d1fba20eb119e13d6390b569d Mon Sep 17 00:00:00 2001 From: Rutger Helling Date: Thu, 22 Jun 2017 22:33:28 +0200 Subject: gnu: Add python-rencode. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python.scm (python-rencode): New variable. Co-authored-by: Ludovic Courtès --- gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index d9e004ecbe..6150a8798f 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -15472,3 +15472,31 @@ functionality like full case-folding for case-insensitive matches in Unicode.") related APIs. The binding is created using the standard @code{ctypes} library.") (license license:bsd-3))) + +(define-public python-rencode + (package + (name "python-rencode") + (version "1.0.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "rencode" version)) + (sha256 + (base32 + "08if5yax1xn5yfp8p3765ccjmfcv9di7i4m5jckgnwvdsgznwkbj")))) + (build-system python-build-system) + (native-inputs `(("pkg-config" ,pkg-config) + ("python-cython", python-cython))) + (home-page "https://github.com/aresch/rencode") + (synopsis "Serialization of heterogeneous data structures") + (description + "The @code{rencode} module is a data structure serialization library, +similar to @code{bencode} from the BitTorrent project. For complex, +heterogeneous data structures with many small elements, r-encoding stake up +significantly less space than b-encodings. This version of rencode is a +complete rewrite in Cython to attempt to increase the performance over the +pure Python module.") + (license license:bsd-3))) + +(define-public python2-rencode + (package-with-python2 python-rencode)) -- cgit v1.3