[arch-commits] Commit in python-hiredis/repos (2 files)

Evangelos Foutras foutrelis at gemini.archlinux.org
Tue Nov 30 20:20:11 UTC 2021


    Date: Tuesday, November 30, 2021 @ 20:20:11
  Author: foutrelis
Revision: 1058031

archrelease: copy trunk to community-staging-x86_64

Added:
  python-hiredis/repos/community-staging-x86_64/
  python-hiredis/repos/community-staging-x86_64/PKGBUILD
    (from rev 1058029, python-hiredis/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: python-hiredis/repos/community-staging-x86_64/PKGBUILD (from rev 1058029, python-hiredis/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-11-30 20:20:11 UTC (rev 1058031)
@@ -0,0 +1,29 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+
+pkgname=python-hiredis
+pkgver=2.0.0
+pkgrel=2
+
+pkgdesc='Non-blocking redis client for python'
+url='https://pypi.org/project/hiredis/'
+arch=('x86_64')
+license=('Apache')
+
+depends=('python')
+makedepends=('python-setuptools')
+
+source=("https://pypi.org/packages/source/h/hiredis/hiredis-$pkgver.tar.gz")
+
+sha256sums=('81d6d8e39695f2c37954d1011c0480ef7cf444d4e3ae24bc5e89ee5de360139a')
+
+build() {
+	cd "$srcdir"/hiredis-$pkgver
+	python setup.py build
+}
+
+package() {
+	cd hiredis-$pkgver
+	python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+
+# vim: set ts=4 sw=4 tw=0 ft=PKGBUILD :



More information about the arch-commits mailing list