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

Felix Yan felixonmars at archlinux.org
Mon Jul 27 12:36:40 UTC 2020


    Date: Monday, July 27, 2020 @ 12:36:40
  Author: felixonmars
Revision: 665445

upgpkg: python-geoip2 4.0.0-1

Modified:
  python-geoip2/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-27 12:30:43 UTC (rev 665444)
+++ PKGBUILD	2020-07-27 12:36:40 UTC (rev 665445)
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=python-geoip2
-pkgver=3.0.0
+pkgver=4.0.0
 _testdatacommit=f6ed981c23b0eb33d7c07568e2177236252afda6
 pkgrel=1
 pkgdesc="MaxMind GeoIP2 API"
@@ -8,12 +8,12 @@
 url="https://github.com/maxmind/GeoIP2-python"
 license=('Apache')
 arch=('any')
-depends=('python-maxminddb' 'python-requests')
+depends=('python-aiohttp' 'python-maxminddb' 'python-requests')
 makedepends=('python-setuptools')
-checkdepends=('python-pytest-runner' 'python-requests-mock')
+checkdepends=('python-mocket')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/maxmind/GeoIP2-python/archive/v$pkgver.tar.gz"
         https://github.com/maxmind/MaxMind-DB/archive/$_testdatacommit.tar.gz)
-sha512sums=('685cfaca15abac73ceafa5795d8740a9d1e95f255c516623c80981bb78a5c6ad357829b154c382a4928295f311c6922b621aee1c794cac962da857507bfcfbdb'
+sha512sums=('505692bf942f87ad804319c09075c8d56001c352e193ed8eb28cab8cfa666a475a1a78055582a11b192738c0647ab8c5a2045cec65e90f9439f0e37ad7c2dc8c'
             'f7b9d370c330980d9419c7bea486b258aef3fa8ab49f83b860ef73036fc577c402e2f631090c5d1d23f2a8e34f927030a8fc6dc15edcd8002136673685aecb12')
 
 prepare() {
@@ -29,7 +29,7 @@
 
 check() {
   cd GeoIP2-python-$pkgver
-  python setup.py pytest
+  python setup.py test
 }
 
 package() {


More information about the arch-commits mailing list