Date: Sunday, March 20, 2022 @ 15:38:02 Author: archange Revision: 1163872
upgpkg: python-lmdb 1.3.0-1 Modified: python-lmdb/trunk/PKGBUILD ----------+ PKGBUILD | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-03-20 15:36:50 UTC (rev 1163871) +++ PKGBUILD 2022-03-20 15:38:02 UTC (rev 1163872) @@ -3,8 +3,8 @@ _pkg=py-lmdb pkgname=python-lmdb -pkgver=1.2.1 -pkgrel=3 +pkgver=1.3.0 +pkgrel=1 pkgdesc="Universal Python binding for the LMDB Lightning Database" arch=(x86_64) url="https://github.com/jnwatson/py-lmdb/" @@ -13,7 +13,7 @@ makedepends=(python-setuptools) checkdepends=(python-pytest) source=(${url}/archive/${_pkg}_${pkgver}.tar.gz) -sha256sums=('9456cb1430a2eff85c08e6d0abc5afb3da09d9d52ddea04eedc61d9e74721c13') +sha256sums=('d7eb6c3045f86ed426bfc5237530ea4acefbcbfaa833a19f1731662ab1f49cdc') build() { cd ${_pkg}-${_pkg}_${pkgver} @@ -24,9 +24,7 @@ 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 + LMDB_FORCE_SYSTEM=1 PYTHONPATH="${PWD}"/build/lib.linux-${CARCH}-${_pyver} pytest -vv --color=yes } package() {