guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/06: gnu: Add python-pyclipper.


From: Leo Famulari
Subject: 03/06: gnu: Add python-pyclipper.
Date: Tue, 28 Nov 2017 14:57:26 -0500 (EST)

lfam pushed a commit to branch master
in repository guix.

commit a39211febd46fdc7c55340693abe1e7dd1110dbb
Author: ng0 <address@hidden>
Date:   Tue Nov 28 14:48:08 2017 -0500

    gnu: Add python-pyclipper.
    
    * gnu/packages/python.scm (python-pyclipper, python2-pyclipper): New 
variables.
    
    Signed-off-by: Leo Famulari <address@hidden>
---
 gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index f557503..9bff57a 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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]