[arch-commits] Commit in python-geopy/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Mon Feb 3 08:43:30 UTC 2020


    Date: Monday, February 3, 2020 @ 08:43:29
  Author: dvzrv
Revision: 561916

upgpkg: python-geopy 1.21.0-1: Upgrading to 1.21.0, which now includes tests in the pypi sdist tarball \o/.

Modified:
  python-geopy/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-03 08:30:00 UTC (rev 561915)
+++ PKGBUILD	2020-02-03 08:43:29 UTC (rev 561916)
@@ -2,8 +2,8 @@
 
 _name=geopy
 pkgname=python-geopy
-pkgver=1.20.0
-pkgrel=2
+pkgver=1.21.0
+pkgrel=1
 pkgdesc="Geocoding library for Python"
 arch=('any')
 url="https://github.com/geopy/geopy"
@@ -11,16 +11,14 @@
 depends=('python-geographiclib')
 makedepends=('git' 'python-setuptools')
 checkdepends=('python-coverage' 'python-mock' 'python-pytest' 'python-pytz' 'python-six')
-# sdist on pypi doesn't include tests:
-# https://github.com/geopy/geopy/issues/385
-# source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"{,.asc})
-source=("${pkgname}-${pkgver}::git+https://github.com/${_name}/${_name}#tag=${pkgver}?signed")
-sha512sums=('SKIP')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"{,.asc})
+sha512sums=('8060d565d1e86cc3ebea6c5a1f923565f4384faedad478a11dd61ac6c00210a642c2b496802b908bd1bcc12da14f62e0bfc6ce403062205f2d7f39061555f7d5'
+            'SKIP')
 validpgpkeys=('BE3D633AB6792715ECF34D742D3B9C1712FF84F7') # Kostya Esmukov <kostya at esmukov.ru>
 
-# prepare() {
-#   mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
-# }
+prepare() {
+  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
+}
 
 build() {
   cd "$pkgname-$pkgver"



More information about the arch-commits mailing list