Date: Tuesday, May 16, 2023 @ 21:23:59
  Author: felixonmars
Revision: 1462782

upgpkg: python-maxminddb 2.3.0-1

Modified:
  python-maxminddb/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-05-16 21:21:27 UTC (rev 1462781)
+++ PKGBUILD    2023-05-16 21:23:59 UTC (rev 1462782)
@@ -1,9 +1,9 @@
 # Maintainer: Felix Yan <felixonm...@archlinux.org>
 
 pkgname=python-maxminddb
-pkgver=2.2.0
+pkgver=2.3.0
 _testdatacommit=e3764a229ff98541884a3cd4bd7dc95f4ae5d466
-pkgrel=6
+pkgrel=1
 pkgdesc="Reader for the MaxMind DB format"
 url="https://github.com/maxmind/MaxMind-DB-Reader-python";
 license=('Apache')
@@ -10,12 +10,10 @@
 arch=('x86_64')
 depends=('python' 'libmaxminddb')
 makedepends=('python-setuptools')
-checkdepends=('python-nose')
+checkdepends=('python-pytest')
 
source=("https://github.com/maxmind/MaxMind-DB-Reader-python/archive/v$pkgver/$pkgname-$pkgver.tar.gz";
-        
https://github.com/maxmind/MaxMind-DB-Reader-python/commit/42ed2df7e84bfc14645b075fc149a57213d3298d.patch
         https://github.com/maxmind/MaxMind-DB/archive/$_testdatacommit.tar.gz)
-sha512sums=('f9848ba16c0b92cefe22d086634947cef7d741987387ee249976d18d14b01207ebede3cd76c52edd2fd465d38fcb784afe6953f255b9334311e12fec1c935feb'
-            
'212357570a2e8278bd525f2b77f02485c18cd4d48e56076a3d5200b8102fe98ceb229105e958794af20f41762f52c402d4d065b3291fd665ad5e97306bbd2efd'
+sha512sums=('6b039e41e7d4b782d92f321a39f79c39c9a014528fe60a2b6a598e30c50afd33b08d49f94fb77da6d3174e93d71b521e2b7c5f9071ea2b5f90f350cf7d8f558d'
             
'618bef60b69492aecd06467428e36d7a10f2aa846e7afd507b6eac1f3a6ceceeb14ed95654b629c9d2638634a5184658236b644edccc99ae2d24e35d9d1f6db9')
 
 prepare() {
@@ -22,9 +20,6 @@
   cd MaxMind-DB-Reader-python-$pkgver
   rmdir tests/data
   ln -s "$srcdir"/MaxMind-DB-$_testdatacommit tests/data
-
-  # Fix version info
-  patch -p1 -i ../42ed2df7e84bfc14645b075fc149a57213d3298d.patch
 }
 
 build() {
@@ -34,7 +29,7 @@
 
 check() {
   cd MaxMind-DB-Reader-python-$pkgver
-  python setup.py nosetests
+  PYTHONPATH="build/lib.linux-$CARCH-cpython-311" pytest
 }
 
 package() {

Reply via email to