[arch-commits] Commit in python-fakeredis/repos/community-staging-any (2 files)

Antonio Rojas arojas at gemini.archlinux.org
Mon Dec 6 20:46:34 UTC 2021


    Date: Monday, December 6, 2021 @ 20:46:34
  Author: arojas
Revision: 1065374

archrelease: copy trunk to community-staging-any

Added:
  python-fakeredis/repos/community-staging-any/PKGBUILD
    (from rev 1065373, python-fakeredis/trunk/PKGBUILD)
Deleted:
  python-fakeredis/repos/community-staging-any/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-06 20:46:22 UTC (rev 1065373)
+++ PKGBUILD	2021-12-06 20:46:34 UTC (rev 1065374)
@@ -1,36 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-
-_pkgname=fakeredis
-pkgname=python-fakeredis
-pkgver=1.3.0
-pkgrel=5
-pkgdesc="Fake implementation of redis API (redis-py) for testing purposes"
-arch=('any')
-url="https://github.com/jamesls/${_pkgname}"
-license=('BSD' 'MIT')
-depends=('python-redis' 'python-six' 'python-sortedcontainers')
-makedepends=('python-setuptools' 'python-lupa')
-checkdepends=('python-pytest' 'python-hypothesis')
-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')
-
-build(){
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    python setup.py build
-}
-
-check() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    pytest
-}
-
-package() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-    install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/COPYING
-}

Copied: python-fakeredis/repos/community-staging-any/PKGBUILD (from rev 1065373, python-fakeredis/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-06 20:46:34 UTC (rev 1065374)
@@ -0,0 +1,36 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=fakeredis
+pkgname=python-fakeredis
+pkgver=1.7.0
+pkgrel=2
+pkgdesc="Fake implementation of redis API (redis-py) for testing purposes"
+arch=('any')
+url="https://github.com/jamesls/${_pkgname}"
+license=('BSD' 'MIT')
+depends=('python-redis' 'python-six' 'python-sortedcontainers')
+makedepends=('python-setuptools' 'python-lupa')
+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=('c3fe4608f8dbdd13288ff3cc45b7a43c246f9597bf0e8ea7f4c9da2b5de6c516176f62291b23b76a38af8298ea93c1d5870509662634c173c020f3c6fbdb4dd2')
+b2sums=('7ca30667ca814d89c268e4a1f54192cd9557cd81ff12afb0fc7be7dab4c15a091306fce8a11446081e6be76fa6934821c4abb256b5566a85a585dcf5e8125ee2')
+
+build(){
+    cd ${_pkgname}-${pkgver}
+
+    python setup.py build
+}
+
+check() {
+    cd ${_pkgname}-${pkgver}
+
+    PYTHONPATH="$PWD" pytest
+}
+
+package() {
+    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