summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorÉlie Bouttier2018-03-15 14:57:37 +0100
committerÉlie Bouttier2018-03-15 15:00:04 +0100
commit3058afdd28ca42e43e5bb391511422f9bf60fde2 (patch)
tree80bc793e5734251dfe467018e111c8551445c339 /PKGBUILD
parent30de4155d9fe48824be9f44fc03485d85034938c (diff)
downloadaur-3058afdd28ca42e43e5bb391511422f9bf60fde2.tar.gz
0.10.0-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD33
1 files changed, 9 insertions, 24 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e92a81a950a..aad64075382 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,22 +1,19 @@
# Maintainer: Élie Bouttier <elie+aur@bouttier.eu>
# Contributor: Jakob Gahde <j5lx@fmail.co.uk>
-pkgbase=python-rq
-pkgname=('python-rq' 'python2-rq')
-pkgver=0.7.1
+pkgname='python-rq'
+pkgver=0.10.0
pkgrel=1
-pkgdesc="A simple, lightweight, library for creating background jobs, and processing them"
+pkgdesc="Simple job queues for Python"
arch=('any')
license=('BSD')
-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")
-sha256sums=('96640fd589efc18a264b18c5ea85fd1d22f26b22ab2d7744c59a60ff53c1e679')
-
-package_python-rq() {
- depends=('python' 'python-click' 'python-redis')
+url="https://github.com/rq/rq/"
+makedepends=('python' 'python-setuptools' 'python-click' 'python-redis')
+depends=('python' 'python-click' 'python-redis')
+source=("${url}archive/v${pkgver}.tar.gz")
+sha256sums=('71fb6a14354013106655efd3eccd028fcea81f1dab0aaf14ecb26ec15ebd4bfc')
+package() {
cd "${srcdir}/rq-${pkgver}"
python setup.py install --root="${pkgdir}" -O1
@@ -28,15 +25,3 @@ package_python-rq() {
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')
-
- 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"
-}