[arch-commits] Commit in python-lmdb/repos/community-x86_64 (PKGBUILD PKGBUILD)
Daniel Bermond
dbermond at archlinux.org
Sat May 22 13:36:58 UTC 2021
Date: Saturday, May 22, 2021 @ 13:36:58
Author: dbermond
Revision: 941504
archrelease: copy trunk to community-x86_64
Added:
python-lmdb/repos/community-x86_64/PKGBUILD
(from rev 941495, python-lmdb/trunk/PKGBUILD)
Deleted:
python-lmdb/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 73 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 36 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-22 13:36:57 UTC (rev 941503)
+++ PKGBUILD 2021-05-22 13:36:58 UTC (rev 941504)
@@ -1,37 +0,0 @@
-# Maintainer: Daniel Bermond <dbermond at archlinux.org>
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkg=py-lmdb
-pkgname=python-lmdb
-pkgver=1.1.1
-pkgrel=1
-pkgdesc="Universal Python binding for the LMDB Lightning Database"
-arch=(x86_64)
-url="https://github.com/jnwatson/py-lmdb/"
-license=('custom: OpenLDAP')
-depends=(python python-cffi lmdb)
-makedepends=(python-setuptools)
-checkdepends=(python-pytest)
-source=(${url}/archive/${_pkg}_${pkgver}.tar.gz)
-sha256sums=('ebe57cf3f8080beb72616f724a7b1b94e359fc8c237929330faa6bd790870c01')
-
-build() {
- cd ${_pkg}-${_pkg}_${pkgver}
- LMDB_FORCE_SYSTEM=1 python setup.py build
-}
-
-check() {
- cd ${_pkg}-${_pkg}_${pkgver}
- local _pyver
- _pyver="$(python -c 'import sys; print("%s.%s" %sys.version_info[0:2])')"
- export LMDB_FORCE_SYSTEM=1
- export PYTHONPATH="$(pwd)/build/lib.linux-${CARCH}-${_pyver}"
- # https://github.com/jnwatson/py-lmdb/issues/278
- pytest --deselect tests/cursor_test.py::CursorTest2::testIterWithDeletes
-}
-
-package() {
- cd ${_pkg}-${_pkg}_${pkgver}
- LMDB_FORCE_SYSTEM=1 python setup.py install --root="$pkgdir" --skip-build --optimize=1
- install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
-}
Copied: python-lmdb/repos/community-x86_64/PKGBUILD (from rev 941495, python-lmdb/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-22 13:36:58 UTC (rev 941504)
@@ -0,0 +1,36 @@
+# Maintainer: Daniel Bermond <dbermond at archlinux.org>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=py-lmdb
+pkgname=python-lmdb
+pkgver=1.2.1
+pkgrel=1
+pkgdesc="Universal Python binding for the LMDB Lightning Database"
+arch=(x86_64)
+url="https://github.com/jnwatson/py-lmdb/"
+license=('custom: OpenLDAP')
+depends=(python python-cffi lmdb)
+makedepends=(python-setuptools)
+checkdepends=(python-pytest)
+source=(${url}/archive/${_pkg}_${pkgver}.tar.gz)
+sha256sums=('9456cb1430a2eff85c08e6d0abc5afb3da09d9d52ddea04eedc61d9e74721c13')
+
+build() {
+ cd ${_pkg}-${_pkg}_${pkgver}
+ LMDB_FORCE_SYSTEM=1 python setup.py build
+}
+
+check() {
+ cd ${_pkg}-${_pkg}_${pkgver}
+ local _pyver
+ _pyver="$(python -c 'import sys; print("%s.%s" %sys.version_info[0:2])')"
+ export LMDB_FORCE_SYSTEM=1
+ export PYTHONPATH="$(pwd)/build/lib.linux-${CARCH}-${_pyver}"
+ pytest
+}
+
+package() {
+ cd ${_pkg}-${_pkg}_${pkgver}
+ LMDB_FORCE_SYSTEM=1 python setup.py install --root="$pkgdir" --skip-build --optimize=1
+ install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
+}
More information about the arch-commits
mailing list