[arch-commits] Commit in python-geographiclib/repos/community-any (PKGBUILD PKGBUILD)

David Runge dvzrv at archlinux.org
Wed Jun 30 08:47:39 UTC 2021


    Date: Wednesday, June 30, 2021 @ 08:47:38
  Author: dvzrv
Revision: 967937

archrelease: copy trunk to community-any

Added:
  python-geographiclib/repos/community-any/PKGBUILD
    (from rev 967936, python-geographiclib/trunk/PKGBUILD)
Deleted:
  python-geographiclib/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   84 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 40 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-30 08:47:29 UTC (rev 967936)
+++ PKGBUILD	2021-06-30 08:47:38 UTC (rev 967937)
@@ -1,44 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=geographiclib
-pkgname=python-geographiclib
-pkgver=1.50
-pkgrel=3
-pkgdesc="Python implementation of the geodesic routines in GeographicLib"
-arch=('any')
-url="https://geographiclib.sourceforge.io/1.50/python/"
-license=('MIT')
-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')
-
-prepare() {
-  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  python setup.py build
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  export PYTHONPATH="build:${PYTHONPATH}"
-  pytest -v
-}
-
-package() {
-  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}"
-}

Copied: python-geographiclib/repos/community-any/PKGBUILD (from rev 967936, python-geographiclib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-06-30 08:47:38 UTC (rev 967937)
@@ -0,0 +1,40 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=geographiclib
+pkgname=python-geographiclib
+pkgver=1.52
+pkgrel=1
+pkgdesc="Python implementation of the geodesic routines in GeographicLib"
+arch=('any')
+url="https://geographiclib.sourceforge.io/1.50/python/"
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+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"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  export PYTHONPATH="build:${PYTHONPATH}"
+  pytest -v
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --root="${pkgdir}"
+  install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}




More information about the arch-commits mailing list