me
/
guix
Archived
1
0
Fork 0

gnu: python-pyshp: Simplify package.

* gnu/packages/geo.scm (python-pyshp): Simplify package.
[build-system]: Swap to pyproject-build-system.

Change-Id: I4a7429396e5a1b77cfbde1ce294f9f975153d1ef
master
Sharlatan Hellseher 2024-01-28 22:06:50 +00:00
parent 39c490b1ca
commit ec2fed9f5b
No known key found for this signature in database
GPG Key ID: 76D727BFF62CD2B5
1 changed files with 1 additions and 9 deletions

View File

@ -1324,15 +1324,7 @@ utilities for data translation and processing.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "0jsraqzq82pw19wvx84x7w5cs8agr44a9b5y0jjw540wim4xa73r")))) (base32 "0jsraqzq82pw19wvx84x7w5cs8agr44a9b5y0jjw540wim4xa73r"))))
(build-system python-build-system) (build-system pyproject-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
;; This is the only test file.
(invoke "python" "-m" "pytest" "test_shapefile.py")))))))
(native-inputs (native-inputs
(list python-pytest python-pytest-runner)) (list python-pytest python-pytest-runner))
(home-page "https://github.com/GeospatialPython/pyshp") (home-page "https://github.com/GeospatialPython/pyshp")