summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ5lx2015-12-30 23:33:06 +0100
committerJ5lx2015-12-30 23:33:06 +0100
commitbb00849a8315691632d8742cf57d8cf54c014ce1 (patch)
tree60567445ebd3625b29a31928cd39e40cc8bf1d00
downloadaur-bb00849a8315691632d8742cf57d8cf54c014ce1.tar.gz
4.3.0-1: Initial package
-rw-r--r--.SRCINFO26
-rw-r--r--PKGBUILD32
2 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..576426628c0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,26 @@
+# Generated by mksrcinfo v8
+# Wed Dec 30 22:32:54 UTC 2015
+pkgbase = django-redis
+ pkgdesc = Full featured redis cache backend for Django
+ pkgver = 4.3.0
+ pkgrel = 1
+ url = https://github.com/niwinz/django-redis
+ arch = any
+ license = BSD
+ makedepends = python
+ makedepends = python-setuptools
+ makedepends = python-redis
+ makedepends = python2
+ makedepends = python2-setuptools
+ makedepends = python2-redis
+ source = https://github.com/niwinz/django-redis/archive/4.3.0.tar.gz
+ md5sums = a017822f920fd7ad25d6450136f518c8
+
+pkgname = python-django-redis
+ depends = python
+ depends = python-redis
+
+pkgname = python2-django-redis
+ depends = python2
+ depends = python2-redis
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..fea31945238
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Jakob Gahde <j5lx@fmail.co.uk>
+
+pkgbase=django-redis
+pkgname=('python-django-redis' 'python2-django-redis')
+pkgver=4.3.0
+pkgrel=1
+pkgdesc="Full featured redis cache backend for Django"
+arch=('any')
+license=('BSD')
+url="https://github.com/niwinz/django-redis"
+makedepends=('python' 'python-setuptools' 'python-redis' 'python2'
+ 'python2-setuptools' 'python2-redis')
+source=("https://github.com/niwinz/django-redis/archive/${pkgver}.tar.gz")
+md5sums=('a017822f920fd7ad25d6450136f518c8')
+
+package_python-django-redis() {
+ depends=('python' 'python-redis')
+
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+
+ python setup.py install --root="${pkgdir}" -O1
+ install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python2-django-redis() {
+ depends=('python2' 'python2-redis')
+
+ cd "${srcdir}/${pkgbase}-${pkgver}"
+
+ python2 setup.py install --root="${pkgdir}" -O1
+ install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}