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.
This commit is contained in:
Marius Bakke 2022-08-15 23:30:59 +02:00
parent 90ec03cae3
commit 715a5efc49
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -20922,31 +20922,29 @@ (define-public python-setuptools-rust
(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