summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ5lx2015-12-30 23:41:15 +0100
committerJ5lx2015-12-30 23:41:15 +0100
commit24581f7649f6e7891a67b4c01fd65b7ddc2c5e4a (patch)
tree1446869a8530dd2dce48c009c9e6c6d3c6668e71
downloadaur-24581f7649f6e7891a67b4c01fd65b7ddc2c5e4a.tar.gz
0.9.0-1: Initial package
-rw-r--r--.SRCINFO30
-rw-r--r--PKGBUILD32
2 files changed, 62 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e09f1f6f7e6
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,30 @@
+# Generated by mksrcinfo v8
+# Wed Dec 30 22:41:03 UTC 2015
+pkgbase = django-rq
+ pkgdesc = A simple app that provides django integration for RQ (Redis Queue)
+ pkgver = 0.9.0
+ pkgrel = 1
+ url = https://github.com/ui/django-rq
+ arch = any
+ license = MIT
+ makedepends = python
+ makedepends = python-setuptools
+ makedepends = python-django
+ makedepends = python-rq
+ makedepends = python2
+ makedepends = python2-setuptools
+ makedepends = python2-django
+ makedepends = python2-rq
+ source = https://github.com/ui/django-rq/archive/v0.9.0.tar.gz
+ md5sums = 64a19889ae830de823154df5b5302209
+
+pkgname = python-django-rq
+ depends = python
+ depends = python-django
+ depends = python-rq
+
+pkgname = python2-django-rq
+ depends = python2
+ depends = python2-redis
+ depends = python2-rq
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..022bec112a9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Jakob Gahde <j5lx@fmail.co.uk>
+
+pkgbase=django-rq
+pkgname=('python-django-rq' 'python2-django-rq')
+pkgver=0.9.0
+pkgrel=1
+pkgdesc="A simple app that provides django integration for RQ (Redis Queue)"
+arch=('any')
+license=('MIT')
+url="https://github.com/ui/django-rq"
+makedepends=('python' 'python-setuptools' 'python-django' 'python-rq'
+ 'python2' 'python2-setuptools' 'python2-django' 'python2-rq')
+source=("https://github.com/ui/django-rq/archive/v${pkgver}.tar.gz")
+md5sums=('64a19889ae830de823154df5b5302209')
+
+package_python-django-rq() {
+ depends=('python' 'python-django' 'python-rq')
+
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+
+ python setup.py install --root="${pkgdir}" -O1
+ install -Dm644 "LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+}
+
+package_python2-django-rq() {
+ depends=('python2' 'python2-redis' 'python2-rq')
+
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+
+ python2 setup.py install --root="${pkgdir}" -O1
+ install -Dm644 "LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+}