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

Jelle van der Waa jelle at archlinux.org
Wed May 13 09:42:34 UTC 2020


    Date: Wednesday, May 13, 2020 @ 09:42:34
  Author: jelle
Revision: 627580

archrelease: copy trunk to community-testing-any

Added:
  python-redis/repos/community-testing-any/PKGBUILD
    (from rev 627579, python-redis/trunk/PKGBUILD)
Deleted:
  python-redis/repos/community-testing-any/PKGBUILD

----------+
 PKGBUILD |   88 +++++++++++++++++++++++--------------------------------------
 1 file changed, 34 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-13 09:42:21 UTC (rev 627579)
+++ PKGBUILD	2020-05-13 09:42:34 UTC (rev 627580)
@@ -1,54 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Karol 'Kenji Takahashi' Woźniak <kenji.sx>
-# Contributor: Pierre Gueth <pierre.gueth at gmail.com>
-
-pkgbase=python-redis
-pkgname=('python-redis' 'python2-redis')
-pkgver=3.5.1
-pkgrel=1
-pkgdesc='The Python interface to the Redis key-value store'
-arch=('any')
-url="https://github.com/andymccurdy/redis-py"
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest' 'python2-pytest' 'python-mock' 'python2-mock' 'pifpaf' 'redis')
-source=("https://pypi.io/packages/source/r/redis/redis-$pkgver.tar.gz")
-sha512sums=('713089fe9687558b651ac9aa0161f3ebfccb71ee12cd6aed784b07bf8f7b52cab1d1d436c4ea7c91b9d688e48da96251feed8e3add140ae714a6ff9e1d23bc85')
-
-prepare() {
-  cp -a redis-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/redis-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/redis-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/redis-$pkgver
-  pifpaf run redis py.test || warning "https://github.com/andymccurdy/redis-py/issues/1073"
-
-  cd "$srcdir"/redis-$pkgver-py2
-  pifpaf run redis py.test2 || warning "https://github.com/andymccurdy/redis-py/issues/1073"
-}
-
-package_python-redis() {
-  depends=('python')
-
-  cd redis-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-redis() {
-  depends=('python2')
-
-  cd redis-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-redis/repos/community-testing-any/PKGBUILD (from rev 627579, python-redis/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-13 09:42:34 UTC (rev 627580)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Karol 'Kenji Takahashi' Woźniak <kenji.sx>
+# Contributor: Pierre Gueth <pierre.gueth at gmail.com>
+
+pkgname=python-redis
+pkgver=3.5.1
+pkgrel=2
+pkgdesc='The Python interface to the Redis key-value store'
+arch=('any')
+url="https://github.com/andymccurdy/redis-py"
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-mock' 'pifpaf' 'redis')
+source=("https://pypi.io/packages/source/r/redis/redis-$pkgver.tar.gz")
+sha512sums=('713089fe9687558b651ac9aa0161f3ebfccb71ee12cd6aed784b07bf8f7b52cab1d1d436c4ea7c91b9d688e48da96251feed8e3add140ae714a6ff9e1d23bc85')
+
+build() {
+  cd "$srcdir"/redis-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/redis-$pkgver
+  pifpaf run redis py.test || warning "https://github.com/andymccurdy/redis-py/issues/1073"
+}
+
+package() {
+  cd redis-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list