[arch-commits] Commit in python-redis/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Oct 14 16:40:36 UTC 2019
Date: Monday, October 14, 2019 @ 16:40:36
Author: felixonmars
Revision: 515741
archrelease: copy trunk to community-any
Added:
python-redis/repos/community-any/PKGBUILD
(from rev 515740, python-redis/trunk/PKGBUILD)
Deleted:
python-redis/repos/community-any/PKGBUILD
----------+
PKGBUILD | 108 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 54 insertions(+), 54 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-14 16:40:21 UTC (rev 515740)
+++ PKGBUILD 2019-10-14 16:40:36 UTC (rev 515741)
@@ -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.8
-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=('7bdaa0815be3a0304bdca5d791b3f26a34cc8fb696581ff3144b486c5c40c476218cc6cf12868e08364b96eaa71f2dffb86de9c945ac3ffe5f6c9fe914a2ecd8')
-
-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-any/PKGBUILD (from rev 515740, python-redis/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-14 16:40:36 UTC (rev 515741)
@@ -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.11
+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=('a32327fcebc6242367c0eda6c6dcd1a15d5d575527af2e9de0d76e05bc4afc7402566d9254e467663b81907a310731af3041236b6b135f3b8ff1429a502c1000')
+
+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