[arch-commits] Commit in python-redis/repos/community-any (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Wed May 13 09:35:57 UTC 2020
Date: Wednesday, May 13, 2020 @ 09:35:56
Author: jelle
Revision: 627570
archrelease: copy trunk to community-any
Added:
python-redis/repos/community-any/PKGBUILD
(from rev 627569, python-redis/trunk/PKGBUILD)
Deleted:
python-redis/repos/community-any/PKGBUILD
----------+
PKGBUILD | 88 +++++++++++++++++++++++--------------------------------------
1 file changed, 34 insertions(+), 54 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-05-13 09:35:50 UTC (rev 627569)
+++ PKGBUILD 2020-05-13 09:35:56 UTC (rev 627570)
@@ -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.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:
Copied: python-redis/repos/community-any/PKGBUILD (from rev 627569, python-redis/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-05-13 09:35:56 UTC (rev 627570)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Karol 'Kenji Takahashi' Woźniak <kenji.sx>
+# Contributor: Pierre Gueth <pierre.gueth at gmail.com>
+
+pkgname=python-redis
+pkgver=3.5.1
+pkgrel=2
+pkgdesc='The Python interface to the Redis key-value store'
+arch=('any')
+url="https://github.com/andymccurdy/redis-py"
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-mock' 'pifpaf' 'redis')
+source=("https://pypi.io/packages/source/r/redis/redis-$pkgver.tar.gz")
+sha512sums=('713089fe9687558b651ac9aa0161f3ebfccb71ee12cd6aed784b07bf8f7b52cab1d1d436c4ea7c91b9d688e48da96251feed8e3add140ae714a6ff9e1d23bc85')
+
+build() {
+ cd "$srcdir"/redis-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd "$srcdir"/redis-$pkgver
+ pifpaf run redis py.test || warning "https://github.com/andymccurdy/redis-py/issues/1073"
+}
+
+package() {
+ cd redis-$pkgver
+ python 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