[arch-commits] Commit in python-geographiclib/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Wed Jun 30 08:47:30 UTC 2021
Date: Wednesday, June 30, 2021 @ 08:47:29
Author: dvzrv
Revision: 967936
upgpkg: python-geographiclib 1.52-1: Upgrade to 1.52.
Use license file from tarball, as it is now included.
Modified:
python-geographiclib/trunk/PKGBUILD
----------+
PKGBUILD | 16 ++++++----------
1 file changed, 6 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-06-30 08:17:56 UTC (rev 967935)
+++ PKGBUILD 2021-06-30 08:47:29 UTC (rev 967936)
@@ -2,8 +2,8 @@
_name=geographiclib
pkgname=python-geographiclib
-pkgver=1.50
-pkgrel=3
+pkgver=1.52
+pkgrel=1
pkgdesc="Python implementation of the geodesic routines in GeographicLib"
arch=('any')
url="https://geographiclib.sourceforge.io/1.50/python/"
@@ -11,12 +11,9 @@
depends=('python')
makedepends=('python-setuptools')
checkdepends=('python-pytest')
-# author contacted via mail about missing LICENSE file in pypi sdist
-# (will hopefully be included in upcoming version)
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"
- "https://geographiclib.sourceforge.io/html/LICENSE.txt")
-sha512sums=('134553b0b2fec49004b0ae1cc54a0f8cb923f5c396e4d2b6b1e35c40aa9627e633abed7e994270dd6a0f22f89f0387fd7badd8c121bb1ad7ce4455f65a6ec864'
- 'b21d3a82056d8dbb55565cce737d4021092c17c2d924e0462147101e8a2a9e2f357dc77cb6091820fb0ab2f2135130dc3946a512c46e6914f6eaa88b4754b2a8')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('c6c41a6c571f2028c24c0905155d0ea443e0c250963a89ae62237664d02df8b22977c2b6b230553ecbad01b61075a2f4874a6dcd86a041fd871eea3e9801d533')
+b2sums=('b5251e3d3b0e1053ab063213d0616d9268e22ebff248d30cb3eb2f421315808b0a31c34a21008cb219db9364ef37fdf67adf63770e43e9ff287462284a3ec919')
prepare() {
mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
@@ -37,8 +34,7 @@
cd "$pkgname-$pkgver"
python setup.py install --skip-build \
--optimize=1 \
- --prefix=/usr \
--root="${pkgdir}"
install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
- install -vDm 644 ../LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
More information about the arch-commits
mailing list