From d152d9338f48c631c7153b2533881dfff53630a9 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 25 Nov 2017 05:10:46 +0100 Subject: gnu: python-pyicu: Update to 1.9.8. * gnu/packages/python.scm (python-pyicu): Update to 1.9.8. [arguments]: Delete. [native-inputs]: Add python-pytest and python-six. --- gnu/packages/python.scm | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index d46119718b..a57197658f 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1109,26 +1109,20 @@ Python 3.3+.") (define-public python-pyicu (package (name "python-pyicu") - (version "1.9.5") + (version "1.9.8") (source (origin (method url-fetch) (uri (pypi-uri "PyICU" version)) (sha256 (base32 - "16rmxy9y0qhqqna2v49i7nzwm09as699rbyvh4raw7w602w55c3k")))) + "05nz4p2dpkhwj6y9kik24xbvmfxji39nl0xw0sc0nvp9fgzf6xnd")))) (build-system python-build-system) - (arguments - '(#:phases - (modify-phases %standard-phases - (add-before 'check 'delete-failing-test - (lambda _ - ;; XXX: These tests require locales that are unavailable - ;; in the build environment. - (delete-file "test/test_DateTimeParserGenerator.py") - #t))))) (inputs `(("icu4c" ,icu4c))) + (native-inputs + `(("python-pytest" ,python-pytest) + ("python-six" ,python-six))) (home-page "http://pyicu.osafoundation.org/") (synopsis "Python extension wrapping the ICU C++ API") (description -- cgit v1.3 From 8fab029dbc973b9e8dac6b024e3bccceada7eee4 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 25 Nov 2017 05:06:43 +0100 Subject: gnu: python-pyicu: Update home page. * gnu/packages/python.scm (python-pyicu)[home-page]: Update. --- gnu/packages/python.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index a57197658f..b4ed011bc8 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1123,7 +1123,7 @@ Python 3.3+.") (native-inputs `(("python-pytest" ,python-pytest) ("python-six" ,python-six))) - (home-page "http://pyicu.osafoundation.org/") + (home-page "https://github.com/ovalhub/pyicu") (synopsis "Python extension wrapping the ICU C++ API") (description "PyICU is a python extension wrapping the ICU C++ API.") -- cgit v1.3 From b46ea394a402c77248f8e130d1587fa48c0debba Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 25 Nov 2017 16:25:50 +0100 Subject: gnu: python-prompt-toolkit: Update to 1.0.15. * gnu/packages/python.scm (python-prompt-toolkit): Update to 1.0.15. --- 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 b4ed011bc8..7b2268d133 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -8906,14 +8906,14 @@ collections of data.") (define-public python-prompt-toolkit (package (name "python-prompt-toolkit") - (version "1.0.9") + (version "1.0.15") (source (origin (method url-fetch) (uri (pypi-uri "prompt_toolkit" version ".tar.gz")) (sha256 (base32 - "172r15k9kwdw2lnajvpz1632dd16nqz1kcal1p0lq5ywdarj6rfd")))) + "05v9h5nydljwpj5nm8n804ms0glajwfy1zagrzqrg91wk3qqi1c5")))) (build-system python-build-system) (arguments '(#:tests? #f)) ; The test suite uses some Windows-specific data types. -- cgit v1.3 From 9b3c7520eb8fde918660745ded8dc0574f019442 Mon Sep 17 00:00:00 2001 From: ng0 Date: Tue, 28 Nov 2017 14:42:42 -0500 Subject: gnu: Add python-setuptools-scm-git-archive. * gnu/packages/python.scm (python-setuptools-scm-git-archive, python2-setuptools-scm-git-archive): New variables. Signed-off-by: Leo Famulari --- gnu/packages/python.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 7b2268d133..f5575034da 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -11856,3 +11856,30 @@ services.") (define-public python2-jsonrpclib-pelix (package-with-python2 python-jsonrpclib-pelix)) + +(define-public python-setuptools-scm-git-archive + (package + (name "python-setuptools-scm-git-archive") + (version "1.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "setuptools_scm_git_archive" version)) + (sha256 + (base32 + "1nii1sz5jq75ilf18bjnr11l9rz1lvdmyk66bxl7q90qan85yhjj")))) + (build-system python-build-system) + (native-inputs + `(("python-pytest-3.0" ,python-pytest-3.0))) + (propagated-inputs + `(("python-setuptools-scm" ,python-setuptools-scm))) + (home-page "https://github.com/Changaco/setuptools_scm_git_archive/") + (synopsis "Setuptools_scm plugin for git archives") + (description + "The setuptools_scm_git_archive package is a plugin to +setuptools_scm, which supports obtaining versions from git archives that +belong to tagged versions.") + (license license:expat))) + +(define-public python2-setuptools-scm-git-archive + (package-with-python2 python-setuptools-scm-git-archive)) -- cgit v1.3 From a39211febd46fdc7c55340693abe1e7dd1110dbb Mon Sep 17 00:00:00 2001 From: ng0 Date: Tue, 28 Nov 2017 14:48:08 -0500 Subject: gnu: Add python-pyclipper. * gnu/packages/python.scm (python-pyclipper, python2-pyclipper): New variables. Signed-off-by: Leo Famulari --- 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 f5575034da..9bff57a562 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -11883,3 +11883,31 @@ belong to tagged versions.") (define-public python2-setuptools-scm-git-archive (package-with-python2 python-setuptools-scm-git-archive)) + +(define-public python-pyclipper + (package + (name "python-pyclipper") + (version "1.0.6") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pyclipper" version ".zip")) + (sha256 + (base32 + "1zpmwv3bya3j984y5cf9x9d5108kf6mxldcba68wiq0frv5qrssw")))) + (build-system python-build-system) + (arguments + `(#:tests? #f)); 8 Tests fail, 37 succeed + (propagated-inputs + `(("python-setuptools-scm-git-archive" ,python-setuptools-scm-git-archive))) + (native-inputs + `(("unzip" ,unzip))) + (home-page "https://github.com/greginvm/pyclipper") + (synopsis "Wrapper for Angus Johnson's Clipper library") + (description + "Pyclipper is a Cython wrapper for the C++ translation of the + Angus Johnson's polygon clipping Clipper library (ver. 6.2.1).") + (license license:expat))) + +(define-public python2-pyclipper + (package-with-python2 python-pyclipper)) -- cgit v1.3 From 76040f71f116b4f788d6748a523eaa4ea18d1cf0 Mon Sep 17 00:00:00 2001 From: ng0 Date: Tue, 28 Nov 2017 14:51:45 -0500 Subject: gnu: Add python2-booleanoperations. * gnu/packages/python.scm (python2-booleanoperations): New variable. Signed-off-by: Leo Famulari --- gnu/packages/python.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 9bff57a562..9e89e0d111 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -11911,3 +11911,32 @@ belong to tagged versions.") (define-public python2-pyclipper (package-with-python2 python-pyclipper)) + +(define-public python2-booleanoperations + (package + (name "python2-booleanoperations") + (version "0.7.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "booleanOperations" version ".zip")) + (sha256 + (base32 + "1hw42fazdpvsn77glx96hwsj9l17mvx37sc5707s08y5w6fx16mn")))) + (build-system python-build-system) + (arguments + `(#:python ,python-2)) + (native-inputs + `(("unzip" ,unzip) + ("python2-pytest-3.0" ,python2-pytest-3.0) + ("python2-pytest-runner" ,python2-pytest-runner))) + (propagated-inputs + `(("python-fonttools" ,python2-fonttools) + ("python-pyclipper" ,python2-pyclipper) + ("python-ufolib" ,python2-ufolib))) + (home-page "https://github.com/typemytype/booleanOperations") + (synopsis "Boolean operations on paths") + (description + "BooleanOperations provides a Python library that enables +boolean operations on paths.") + (license license:expat))) -- cgit v1.3 From bf630276a1c853ec7484f5422d0595a11f51a58b Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Sat, 18 Nov 2017 10:25:40 +0530 Subject: gnu: scons: Update to 3.0.1. * gnu/packages/python.scm (scons): Update to 3.0.1. (scons-python2): New variable. --- gnu/packages/python.scm | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'gnu/packages/python.scm') diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 9e89e0d111..01b4e2cd29 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1365,19 +1365,17 @@ existing ones.") (define-public scons (package (name "scons") - (version "2.5.1") + (version "3.0.1") (source (origin (method url-fetch) (uri (string-append "mirror://sourceforge/scons/scons/" version "/scons-" version ".tar.gz")) (sha256 (base32 - "1wji1z9jdkhnmm99apx6fhld9cs52rr56aigniyrcsmlwy52298b")))) + "0wzid419mlwqw9llrg8gsx4nkzhqy16m4m40r0xnh6cwscw5wir4")))) (build-system python-build-system) (arguments - ;; With Python 3.x, fails to build with a syntax error. - `(#:python ,python-2 - #:use-setuptools? #f ; still relies on distutils + `(#:use-setuptools? #f ; still relies on distutils #:tests? #f)) ; no 'python setup.py test' command (home-page "http://scons.org/") (synopsis "Software construction tool written in Python") @@ -1389,6 +1387,11 @@ In short, SCons is an easier, more reliable and faster way to build software.") (license license:x11))) +(define-public scons-python2 + (package + (inherit (package-with-python2 scons)) + (name "scons-python2"))) + (define-public python-extras (package (name "python-extras") -- cgit v1.3