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

Felix Yan felixonmars at archlinux.org
Wed Jul 31 03:34:24 UTC 2019


    Date: Wednesday, July 31, 2019 @ 03:34:23
  Author: felixonmars
Revision: 495448

archrelease: copy trunk to community-testing-any

Added:
  python-redis/repos/community-testing-any/PKGBUILD
    (from rev 495447, 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:16:08 UTC (rev 495447)
+++ PKGBUILD	2019-07-31 03:34:23 UTC (rev 495448)
@@ -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.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:

Copied: python-redis/repos/community-testing-any/PKGBUILD (from rev 495447, python-redis/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-07-31 03:34:23 UTC (rev 495448)
@@ -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