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

Felix Yan felixonmars at gemini.archlinux.org
Thu Jun 2 18:29:18 UTC 2022


    Date: Thursday, June 2, 2022 @ 18:29:18
  Author: felixonmars
Revision: 1218921

upgpkg: python-maxminddb 2.2.0-4

Modified:
  python-maxminddb/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-02 18:27:00 UTC (rev 1218920)
+++ PKGBUILD	2022-06-02 18:29:18 UTC (rev 1218921)
@@ -3,7 +3,7 @@
 pkgname=python-maxminddb
 pkgver=2.2.0
 _testdatacommit=e3764a229ff98541884a3cd4bd7dc95f4ae5d466
-pkgrel=3
+pkgrel=4
 pkgdesc="Reader for the MaxMind DB format"
 url="https://github.com/maxmind/MaxMind-DB-Reader-python"
 license=('Apache')
@@ -11,9 +11,11 @@
 depends=('python' 'libmaxminddb')
 makedepends=('python-setuptools')
 checkdepends=('python-nose' 'python-mock')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/maxmind/MaxMind-DB-Reader-python/archive/v$pkgver.tar.gz"
+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'
             '618bef60b69492aecd06467428e36d7a10f2aa846e7afd507b6eac1f3a6ceceeb14ed95654b629c9d2638634a5184658236b644edccc99ae2d24e35d9d1f6db9')
 
 prepare() {
@@ -20,6 +22,9 @@
   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() {



More information about the arch-commits mailing list