guix-commits
[Top][All Lists]
Advanced

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

11/16: gnu: python-pyclipper: Update to 1.3.0.post3.


From: guix-commits
Subject: 11/16: gnu: python-pyclipper: Update to 1.3.0.post3.
Date: Mon, 15 Aug 2022 18:50:49 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit 715a5efc4993450a36950f739144c210b56659bd
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Mon Aug 15 23:30:59 2022 +0200

    gnu: python-pyclipper: Update to 1.3.0.post3.
    
    * gnu/packages/python-xyz.scm (python-pyclipper): Update to 1.3.0.post3.
    [source](uri): Use tarball instead of zipball.
    [source](snippet): Adjust for renamed file.
    [arguments]: Likewise.
    [propagated-inputs]: Remove.
    [native-inputs]: Remove PYTHON-UNITTEST2 and UNZIP.  Add 
PYTHON-SETUPTOOLS-SCM.
---
 gnu/packages/python-xyz.scm | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d183196e10..71c9614242 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -20922,31 +20922,29 @@ Rust Python extensions implemented with @code{PyO3} 
or @code{rust-cpython}.")
 (define-public python-pyclipper
   (package
     (name "python-pyclipper")
-    (version "1.1.0.post3")
+    (version "1.3.0.post3")
     (source
      (origin
        (method url-fetch)
-       (uri (pypi-uri "pyclipper" version ".zip"))
+       (uri (pypi-uri "pyclipper" version))
        (sha256
-        (base32 "164yksvqwqvwzh8f8lq92asg87hd8rvcy2xb5vm4y4ccvd5xgb7i"))
+        (base32 "0vqzbmq2di1jaj6230m5i1ld0mg6wdb1c6r6i5zli54varavr7v3"))
       (modules '((guix build utils)))
       (snippet
        '(begin
           ;; This file is generated by Cython.
-          (delete-file "pyclipper/pyclipper.cpp") #t))))
+          (delete-file "src/pyclipper/_pyclipper.cpp") #t))))
     (build-system python-build-system)
     (arguments
      `(#:phases
        (modify-phases %standard-phases
          (add-before 'build 'cythonize-sources
            (lambda _
-             (with-directory-excursion "pyclipper"
-               (invoke "cython" "--cplus" "pyclipper.pyx")))))))
-    (propagated-inputs
-     (list python-setuptools-scm-git-archive))
+             (with-directory-excursion "src/pyclipper"
+               (invoke "cython" "--cplus" "_pyclipper.pyx")))))))
     (native-inputs
-     (list python-cython python-pytest python-pytest-runner
-           python-unittest2 unzip))
+     (list python-cython python-setuptools-scm
+           python-pytest python-pytest-runner))
     (home-page "https://github.com/greginvm/pyclipper";)
     (synopsis "Wrapper for Angus Johnson's Clipper library")
     (description



reply via email to

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