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

Felix Yan felixonmars at archlinux.org
Wed Jul 31 02:13:40 UTC 2019


    Date: Wednesday, July 31, 2019 @ 02:13:39
  Author: felixonmars
Revision: 495445

archrelease: copy trunk to community-testing-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-07-31 02:05:17 UTC (rev 495444)
+++ PKGBUILD	2019-07-31 02:13:39 UTC (rev 495445)
@@ -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.3.2
-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=('dcece019e36af02c6cad4ee6d781547d5c5ed6388725ac936a19fb4fac888064d064988349a42041c2f25a09b3d63b972cc3a076e709f4e6d9ab34658d6c2b5a')
-
-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 495444, python-redis/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-07-31 02:13:39 UTC (rev 495445)
@@ -0,0 +1,54 @@
+# 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.3.4
+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=('df3c71f233173408d5bc99ae12ca059f6569540f36606eaf197475838630aa8df9113907c940ac4ac3c084eeb76e42b08003dcefb3e00597811c3fb700cc3a42')
+
+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:



More information about the arch-commits mailing list