mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
gnu: python-haversine: Simplify package.
* gnu/packages/geo.scm (python-haversine): Simplify package. [build-system]: Swap to pyproject-build-system. Change-Id: Icf2e43a25b9bda37df1ee57416884939aca7a9c5
This commit is contained in:
parent
ec2fed9f5b
commit
89513b8ed3
1 changed files with 1 additions and 8 deletions
|
@ -3135,15 +3135,8 @@ (define-public python-haversine
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0inxyj5n4jzgg5xiadqx9sk83gdx5ff989l9s04smdzbd3b8c0c8"))))
|
"0inxyj5n4jzgg5xiadqx9sk83gdx5ff989l9s04smdzbd3b8c0c8"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(native-inputs (list python-pytest python-numpy))
|
(native-inputs (list python-pytest python-numpy))
|
||||||
(arguments
|
|
||||||
(list #:phases
|
|
||||||
#~(modify-phases %standard-phases
|
|
||||||
(replace 'check
|
|
||||||
(lambda* (#:key tests? inputs #:allow-other-keys)
|
|
||||||
(when tests?
|
|
||||||
(invoke "pytest")))))))
|
|
||||||
(home-page "https://github.com/mapado/haversine")
|
(home-page "https://github.com/mapado/haversine")
|
||||||
(synopsis "Calculate the distance between 2 points on Earth")
|
(synopsis "Calculate the distance between 2 points on Earth")
|
||||||
(description "This package provides functions to calculate the
|
(description "This package provides functions to calculate the
|
||||||
|
|
Loading…
Reference in a new issue