[arch-commits] Commit in python-fakeredis/trunk (PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Mon Dec 6 20:44:08 UTC 2021


    Date: Monday, December 6, 2021 @ 20:44:08
  Author: arojas
Revision: 1065369

Update to 1.7.0

Modified:
  python-fakeredis/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-06 20:17:54 UTC (rev 1065368)
+++ PKGBUILD	2021-12-06 20:44:08 UTC (rev 1065369)
@@ -2,8 +2,8 @@
 
 _pkgname=fakeredis
 pkgname=python-fakeredis
-pkgver=1.3.0
-pkgrel=5
+pkgver=1.7.0
+pkgrel=1
 pkgdesc="Fake implementation of redis API (redis-py) for testing purposes"
 arch=('any')
 url="https://github.com/jamesls/${_pkgname}"
@@ -10,26 +10,26 @@
 license=('BSD' 'MIT')
 depends=('python-redis' 'python-six' 'python-sortedcontainers')
 makedepends=('python-setuptools' 'python-lupa')
-checkdepends=('python-pytest' 'python-hypothesis')
+checkdepends=('python-pytest' 'python-pytest-asyncio' 'python-pytest-mock' 'python-hypothesis' 'python-aioredis')
 optdepends=('python-lupa: for lua scripting support')
 source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
-sha512sums=('4324cb4c0855f353952e43ded4e35045dabeb8500ee732d1b3c4c6d74e0c39470947280c3ef8df91b3a350d0a4773712b3a71d78f8f5b30c7b3c19694ec6df7a')
-b2sums=('b717c99da81af1c0bf6ed94242fad3a4caaea233c35e5f4fd604eb1c3e3d8786143485d0f59ca697c4bef8ae8b5712092ca09dcdc41e4cda6f9aea3891d36ec0')
+sha512sums=('c3fe4608f8dbdd13288ff3cc45b7a43c246f9597bf0e8ea7f4c9da2b5de6c516176f62291b23b76a38af8298ea93c1d5870509662634c173c020f3c6fbdb4dd2')
+b2sums=('7ca30667ca814d89c268e4a1f54192cd9557cd81ff12afb0fc7be7dab4c15a091306fce8a11446081e6be76fa6934821c4abb256b5566a85a585dcf5e8125ee2')
 
 build(){
-    cd "${srcdir}"/${_pkgname}-${pkgver}
+    cd ${_pkgname}-${pkgver}
 
     python setup.py build
 }
 
 check() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
+    cd ${_pkgname}-${pkgver}
 
-    pytest
+    PYTHONPATH="$PWD" pytest
 }
 
 package() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
+    cd ${_pkgname}-${pkgver}
 
     python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
     install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/COPYING



More information about the arch-commits mailing list