Files
ports/main/python3-geographiclib/spkgbuild
2023-08-04 14:40:44 +00:00

19 lines
545 B
Plaintext

# description: Python implementation of the geodesic routines in GeographicLib
# homepage: https://geographiclib.sourceforge.io/1.50/python/"
# depends: python3-build python3-installer python3-setuptools python3-wheel
name=python3-geographiclib
nm=geographiclib
version=2.0
release=1
source="https://files.pythonhosted.org/packages/source/g/$nm/$nm-$version.tar.gz"
build() {
cd $nm-$version
python3 -m build --wheel --no-isolation
python3 -m installer --destdir=$PKG dist/*.whl
install -vDm 644 README.md -t $PKG/usr/share/doc/$name/
}