[arch-commits] Commit in python-aioredis/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Thu Aug 5 06:02:05 UTC 2021


    Date: Thursday, August 5, 2021 @ 06:02:05
  Author: felixonmars
Revision: 993792

archrelease: copy trunk to community-any

Added:
  python-aioredis/repos/community-any/PKGBUILD
    (from rev 993791, python-aioredis/trunk/PKGBUILD)
Deleted:
  python-aioredis/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   62 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 31 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-05 06:01:55 UTC (rev 993791)
+++ PKGBUILD	2021-08-05 06:02:05 UTC (rev 993792)
@@ -1,31 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-aioredis
-pkgver=1.3.1
-pkgrel=1
-pkgdesc="asyncio (PEP 3156) Redis client library"
-url="https://github.com/aio-libs/aioredis"
-license=('MIT')
-arch=('any')
-depends=('python-async-timeout' 'python-hiredis')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest-cov' 'redis')
-source=("https://github.com/aio-libs/aioredis/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('beeb4b087bb01b0efaa0ccc3601ea15674bb790a97a3a3f84b0848d13a6d2cb87af9baf4e44090cb4fc8cf0a5196912f2b632361d8628b911cbc5704f8eba63a')
-
-build() {
-  cd aioredis-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd aioredis-$pkgver
-  python -m pytest || echo "Tests failed"
-}
-
-package() {
-  cd aioredis-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}

Copied: python-aioredis/repos/community-any/PKGBUILD (from rev 993791, python-aioredis/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-08-05 06:02:05 UTC (rev 993792)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-aioredis
+pkgver=2.0.0
+pkgrel=1
+pkgdesc="asyncio (PEP 3156) Redis client library"
+url="https://github.com/aio-libs/aioredis-py"
+license=('MIT')
+arch=('any')
+depends=('python-async-timeout' 'python-hiredis' 'python-typing-extensions')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-asyncio' 'pifpaf' 'redis')
+source=("https://github.com/aio-libs/aioredis-py/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('e65f0eb568c2a87bbd35169ab83ad898819597b32467c80e924da13aab355278733506e73b2eed2230a3f080ab0bf681a77ba89bbb3d78952949dabf762a3b65')
+
+build() {
+  cd aioredis-py-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd aioredis-py-$pkgver
+  pifpaf run redis pytest
+}
+
+package() {
+  cd aioredis-py-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list