Daniel Bermond pushed to branch main at Arch Linux / Packaging / Packages /
python-lmdb
Commits:
fb3ed0b4 by Daniel Bermond at 2026-06-05T12:36:39-03:00
upgpkg: 2.2.1-1
- - - - -
3 changed files:
- .SRCINFO
-
010-python-lmdb-replace-pkg_resources-due-to-deprecation-in-setuptools-82.patch
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
pkgbase = python-lmdb
pkgdesc = Universal Python binding for the LMDB Lightning Database
- pkgver = 2.2.0
+ pkgver = 2.2.1
pkgrel = 1
url = https://github.com/jnwatson/py-lmdb/
arch = x86_64
@@ -14,9 +14,9 @@ pkgbase = python-lmdb
depends = glibc
depends = python
depends = python-cffi
- source =
https://github.com/jnwatson/py-lmdb/archive/py-lmdb_2.2.0/python-lmdb-2.2.0.tar.gz
+ source =
https://github.com/jnwatson/py-lmdb/archive/py-lmdb_2.2.1/python-lmdb-2.2.1.tar.gz
source =
010-python-lmdb-replace-pkg_resources-due-to-deprecation-in-setuptools-82.patch
- sha256sums =
050f04fc9671e1e3a9871e06e5e5b09eb9624d6cad53f2f4c637bca5293d986b
- sha256sums =
f1e175793c7a020361a98acba9bc190ccf3dae8c9800c0d207e63a2419aa8e70
+ sha256sums =
c627c36f5ae289362834eda345bbf9bf343e609c6e0941093feaf919cda68b59
+ sha256sums =
93fb3d5d09ec8de3edb3641881dc69831c6570bf25346bc65304041e73c26098
pkgname = python-lmdb
=====================================
010-python-lmdb-replace-pkg_resources-due-to-deprecation-in-setuptools-82.patch
=====================================
@@ -1,10 +1,8 @@
--- a/examples/keystore/webapi.py
+++ b/examples/keystore/webapi.py
-@@ -1,12 +1,17 @@
+@@ -1,11 +1,15 @@
- from __future__ import absolute_import
-import pkg_resources
-+
+try:
+ from importlib.resources import files
+except ImportError:
=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
_srcname=py-lmdb
pkgname=python-lmdb
-pkgver=2.2.0
+pkgver=2.2.1
pkgrel=1
pkgdesc='Universal Python binding for the LMDB Lightning Database'
arch=('x86_64')
@@ -25,8 +25,8 @@ checkdepends=(
'python-pytest')
source=("https://github.com/jnwatson/py-lmdb/archive/${_srcname}_${pkgver}/${pkgname}-${pkgver}.tar.gz"
'010-python-lmdb-replace-pkg_resources-due-to-deprecation-in-setuptools-82.patch')
-sha256sums=('050f04fc9671e1e3a9871e06e5e5b09eb9624d6cad53f2f4c637bca5293d986b'
- 'f1e175793c7a020361a98acba9bc190ccf3dae8c9800c0d207e63a2419aa8e70')
+sha256sums=('c627c36f5ae289362834eda345bbf9bf343e609c6e0941093feaf919cda68b59'
+ '93fb3d5d09ec8de3edb3641881dc69831c6570bf25346bc65304041e73c26098')
prepare() {
patch -d "${_srcname}-${_srcname}_${pkgver}" -Np1 -i
"${srcdir}/010-python-lmdb-replace-pkg_resources-due-to-deprecation-in-setuptools-82.patch"
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-lmdb/-/commit/fb3ed0b49af25ff81ffd422a0e24c5e0b578c713
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-lmdb/-/commit/fb3ed0b49af25ff81ffd422a0e24c5e0b578c713
You're receiving this email because of your account on gitlab.archlinux.org.
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications
| Help: https://gitlab.archlinux.org/help