[arch-commits] Commit in python-lmdb/repos/community-x86_64 (PKGBUILD PKGBUILD)

Bruno Pagani archange at archlinux.org
Tue Mar 16 02:50:12 UTC 2021


    Date: Tuesday, March 16, 2021 @ 02:50:12
  Author: archange
Revision: 891712

archrelease: copy trunk to community-x86_64

Added:
  python-lmdb/repos/community-x86_64/PKGBUILD
    (from rev 891711, python-lmdb/trunk/PKGBUILD)
Deleted:
  python-lmdb/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   73 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 37 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-16 02:49:45 UTC (rev 891711)
+++ PKGBUILD	2021-03-16 02:50:12 UTC (rev 891712)
@@ -1,36 +0,0 @@
-# Maintainer: Daniel Bermond <dbermond at archlinux.org>
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkg=py-lmdb
-pkgname=python-lmdb
-pkgver=1.0.0
-pkgrel=3
-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=('e01bc4d62679b6e8c8962f1110f910cdfbdb2d750b145f02fae8b8a9d787f2f9')
-
-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}
-}

Copied: python-lmdb/repos/community-x86_64/PKGBUILD (from rev 891711, python-lmdb/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-03-16 02:50:12 UTC (rev 891712)
@@ -0,0 +1,37 @@
+# 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}
+}



More information about the arch-commits mailing list