Daniel Bermond pushed to branch main at Arch Linux / Packaging / Packages / 
python-lmdb


Commits:
19ef59d9 by Daniel Bermond at 2024-11-17T12:13:00-03:00
Update to version 1.5.1. Add fix for python 3.13.

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = python-lmdb
        pkgdesc = Universal Python binding for the LMDB Lightning Database
-       pkgver = 1.4.1
-       pkgrel = 3
+       pkgver = 1.5.1
+       pkgrel = 1
        url = https://github.com/jnwatson/py-lmdb/
        arch = x86_64
        license = OLDAP-2.8
@@ -13,7 +13,9 @@ pkgbase = python-lmdb
        depends = python
        depends = python-cffi
        depends = lmdb
-       source = 
https://github.com/jnwatson/py-lmdb//archive/py-lmdb_1.4.1.tar.gz
-       sha256sums = 
c574035dd85ef7f5b1d6d9c9f639fcaff51fcf85a397c5b6d721e161e6077f51
+       source = 
https://github.com/jnwatson/py-lmdb//archive/py-lmdb_1.5.1.tar.gz
+       source = 
010-python-lmdb-python3.13-fix.patch::https://github.com/jnwatson/py-lmdb/pull/368/commits/206a3754466397baeb418e70be9d35b12cc4079f.patch
+       sha256sums = 
fa0a84d166418fdb87fc8bd235d85aa7bcb690e995ff32ea411aa50eaf52607e
+       sha256sums = 
5f97c3327e23cd01041373214f95d42304943f681bf88733ee933194a874aca9
 
 pkgname = python-lmdb


=====================================
PKGBUILD
=====================================
@@ -3,8 +3,8 @@
 
 _pkg=py-lmdb
 pkgname=python-lmdb
-pkgver=1.4.1
-pkgrel=3
+pkgver=1.5.1
+pkgrel=1
 pkgdesc="Universal Python binding for the LMDB Lightning Database"
 arch=(x86_64)
 url="https://github.com/jnwatson/py-lmdb/";
@@ -12,8 +12,14 @@ license=('OLDAP-2.8')
 depends=(python python-cffi lmdb)
 makedepends=(python-build python-installer python-setuptools python-wheel)
 checkdepends=(python-pytest)
-source=(${url}/archive/${_pkg}_${pkgver}.tar.gz)
-sha256sums=('c574035dd85ef7f5b1d6d9c9f639fcaff51fcf85a397c5b6d721e161e6077f51')
+source=(${url}/archive/${_pkg}_${pkgver}.tar.gz
+        
010-python-lmdb-python3.13-fix.patch::https://github.com/jnwatson/py-lmdb/pull/368/commits/206a3754466397baeb418e70be9d35b12cc4079f.patch)
+sha256sums=('fa0a84d166418fdb87fc8bd235d85aa7bcb690e995ff32ea411aa50eaf52607e'
+            '5f97c3327e23cd01041373214f95d42304943f681bf88733ee933194a874aca9')
+
+prepare() {
+    patch -d ${_pkg}-${_pkg}_${pkgver} -Np1 -i 
"${srcdir}/010-python-lmdb-python3.13-fix.patch"
+}
 
 build() {
   cd ${_pkg}-${_pkg}_${pkgver}



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-lmdb/-/commit/19ef59d91408353bed79a74a570593068f9eb58e

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-lmdb/-/commit/19ef59d91408353bed79a74a570593068f9eb58e
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to