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

David Runge dvzrv at archlinux.org
Sun Nov 15 17:06:29 UTC 2020


    Date: Sunday, November 15, 2020 @ 17:06:28
  Author: dvzrv
Revision: 754602

Prepare for python 3.9.0.

Disable flaky tests requiring internet access.

Modified:
  python-geopy/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-15 16:54:31 UTC (rev 754601)
+++ PKGBUILD	2020-11-15 17:06:28 UTC (rev 754602)
@@ -31,15 +31,15 @@
 check() {
   cd "$pkgname-$pkgver"
   export PYTHONPATH="build:${PYTHONPATH}"
-  pytest -v
+  # geocoders tests require internet access and are flaky
+  pytest -v --ignore='test/geocoders'
 }
 
 package() {
   cd "$pkgname-$pkgver"
   python setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}"
+                          --optimize=1 \
+                          --root="${pkgdir}"
   install -vDm 644 {AUTHORS,README.rst} -t "${pkgdir}/usr/share/doc/${pkgname}"
   install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
 }



More information about the arch-commits mailing list