[arch-commits] Commit in python-redis/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Feb 19 20:27:51 UTC 2019
Date: Tuesday, February 19, 2019 @ 20:27:50
Author: felixonmars
Revision: 434618
archrelease: copy trunk to community-any
Added:
python-redis/repos/community-any/PKGBUILD
(from rev 434617, python-redis/trunk/PKGBUILD)
Deleted:
python-redis/repos/community-any/PKGBUILD
----------+
PKGBUILD | 108 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 54 insertions(+), 54 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-02-19 20:27:32 UTC (rev 434617)
+++ PKGBUILD 2019-02-19 20:27:50 UTC (rev 434618)
@@ -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.1.0
-pkgrel=1
-pkgdesc='The Python interface to the Redis key-value store'
-arch=('any')
-url="http://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=('d915dafb853a41e4cb26811d8c08a828ec55f69b75206c62e96a6c7156ca171391e2a7915d523f337de8fee532bf66890d14a645ebaf490f21f13b7798bea1b5')
-
-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 434617, python-redis/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-02-19 20:27:50 UTC (rev 434618)
@@ -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.2.0
+pkgrel=1
+pkgdesc='The Python interface to the Redis key-value store'
+arch=('any')
+url="http://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=('9620a85ab642e1b0096429873ee38a7b3adc84d3ba1dc5abd549b05ee70b081590e3c4a82e090cc2c366c8eafd122c2b075cb69eccfcc1d5f5a0bea070893b32')
+
+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