[arch-commits] Commit in python-redis/repos/community-testing-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Feb 9 14:42:26 UTC 2020
Date: Sunday, February 9, 2020 @ 14:42:26
Author: felixonmars
Revision: 565289
archrelease: copy trunk to community-testing-any
Added:
python-redis/repos/community-testing-any/PKGBUILD
(from rev 565288, python-redis/trunk/PKGBUILD)
Deleted:
python-redis/repos/community-testing-any/PKGBUILD
----------+
PKGBUILD | 108 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 54 insertions(+), 54 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-02-09 14:42:06 UTC (rev 565288)
+++ PKGBUILD 2020-02-09 14:42:26 UTC (rev 565289)
@@ -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.4.0
-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=('8044eecaf272e97ddd3949dcb11177749a4cafd998ea7672c5be46220874cd3de3b95043a32fdea3b32ea33a128f78946867936ff136a65e84d5124645f8ed9f')
-
-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 565288, python-redis/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-02-09 14:42:26 UTC (rev 565289)
@@ -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.4.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=('e5aacb8e448a563c802c808406754375a64d9f88d7efbd1c23ac42e48dc527f1840223887f0d1819409946a9406677893d93ea003f0b828bd0a7cb06e99c64a7')
+
+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