From 564f921e767c21f1683f5d6a39a874779a2c4628 Mon Sep 17 00:00:00 2001 From: ng0 Date: Wed, 20 Sep 2017 12:00:41 +0000 Subject: [PATCH 3/6] gnu: Add python2-pyclipper. * gnu/packages/python.scm (python2-pyclipper): New variable. --- gnu/packages/python.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index dac308e1b..879f6953a 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -7462,6 +7462,32 @@ setuptools_scm, which supports obtaining versions from git archives that belong to tagged versions.") (license license:expat))) +(define-public python2-pyclipper +(package + (name "python2-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 + `(#:python ,python-2 + #:tests? #f)); 8 Tests fail, 37 succeed + (propagated-inputs + `(("python2-setuptools-scm-git-archive" ,python2-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 Clipper library (ver. 6.2.1)") + (license license:expat))) + (define-public python-ly (package (name "python-ly") -- 2.14.2