summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorÉlie Bouttier2016-10-05 14:13:18 +0200
committerÉlie Bouttier2016-10-05 14:13:37 +0200
commit4d8a8ef1d8836242c2e737e80faa0aa2fec1e5f6 (patch)
treeff60ca8b0df53f37eda1c76f2aca2f7ed0034cc3 /PKGBUILD
parent5815eace0983da9d7931acbb5683677dd32e26cb (diff)
downloadaur-4d8a8ef1d8836242c2e737e80faa0aa2fec1e5f6.tar.gz
0.6.0-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD41
1 files changed, 21 insertions, 20 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c68847b5267..6f3224ac3c8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,9 @@
-# Maintainer: Jakob Gahde <j5lx@fmail.co.uk>
+# Maintainer: Élie Bouttier <elie+aur@bouttier.eu>
+# Contributor: Jakob Gahde <j5lx@fmail.co.uk>
pkgbase=python-rq
pkgname=('python-rq' 'python2-rq')
-pkgver=0.5.6
+pkgver=0.6.0
pkgrel=1
pkgdesc="A simple, lightweight, library for creating background jobs, and processing them"
arch=('any')
@@ -11,31 +12,31 @@ url="https://github.com/nvie/rq/"
makedepends=('python' 'python-setuptools' 'python-click' 'python-redis'
'python2' 'python2-setuptools' 'python2-click' 'python2-redis')
source=("https://github.com/nvie/rq/archive/${pkgver}.tar.gz")
-md5sums=('e04e91ee5d9f751efa9ab9ca6da0ee4d')
+sha256sums=('8c6c8b9328e4b0cb4e6abb11f9b75f44a80b91da07036a0079746302e759ef1c')
package_python-rq() {
- depends=('python' 'python-click' 'python-redis')
+ depends=('python' 'python-click' 'python-redis')
- cd "${srcdir}/rq-${pkgver}"
+ cd "${srcdir}/rq-${pkgver}"
- python setup.py install --root="${pkgdir}" -O1
- mv "${pkgdir}/usr/bin/rq"{,3}
- mv "${pkgdir}/usr/bin/rqinfo"{,3}
- mv "${pkgdir}/usr/bin/rqworker"{,3}
- ln -s "/usr/bin/rq3" "${pkgdir}/usr/bin/rq"
- ln -s "/usr/bin/rqinfo3" "${pkgdir}/usr/bin/rqinfo"
- ln -s "/usr/bin/rqworker3" "${pkgdir}/usr/bin/rqworker"
- install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ python setup.py install --root="${pkgdir}" -O1
+ mv "${pkgdir}/usr/bin/rq"{,3}
+ mv "${pkgdir}/usr/bin/rqinfo"{,3}
+ mv "${pkgdir}/usr/bin/rqworker"{,3}
+ ln -s "/usr/bin/rq3" "${pkgdir}/usr/bin/rq"
+ ln -s "/usr/bin/rqinfo3" "${pkgdir}/usr/bin/rqinfo"
+ ln -s "/usr/bin/rqworker3" "${pkgdir}/usr/bin/rqworker"
+ install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
package_python2-rq() {
- depends=('python2' 'python2-click' 'python2-redis')
+ depends=('python2' 'python2-click' 'python2-redis')
- cd "${srcdir}/rq-${pkgver}"
+ cd "${srcdir}/rq-${pkgver}"
- python2 setup.py install --root="${pkgdir}" -O1
- mv "${pkgdir}/usr/bin/rq"{,2}
- mv "${pkgdir}/usr/bin/rqinfo"{,2}
- mv "${pkgdir}/usr/bin/rqworker"{,2}
- install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ python2 setup.py install --root="${pkgdir}" -O1
+ mv "${pkgdir}/usr/bin/rq"{,2}
+ mv "${pkgdir}/usr/bin/rqinfo"{,2}
+ mv "${pkgdir}/usr/bin/rqworker"{,2}
+ install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}