me
/
guix
Archived
1
0
Fork 0

gnu: python-haversine: Simplify package.

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

Change-Id: Icf2e43a25b9bda37df1ee57416884939aca7a9c5
master
Sharlatan Hellseher 2024-01-28 22:09:14 +00:00
parent ec2fed9f5b
commit 89513b8ed3
No known key found for this signature in database
GPG Key ID: 76D727BFF62CD2B5
1 changed files with 1 additions and 8 deletions

View File

@ -3135,15 +3135,8 @@ using third-party geocoders and other data sources.")
(sha256
(base32
"0inxyj5n4jzgg5xiadqx9sk83gdx5ff989l9s04smdzbd3b8c0c8"))))
(build-system python-build-system)
(build-system pyproject-build-system)
(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")
(synopsis "Calculate the distance between 2 points on Earth")
(description "This package provides functions to calculate the