summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Hanna2015-09-12 02:33:45 +0200
committerSimon Hanna2015-09-12 02:33:45 +0200
commitedf32a5a5c978caec72dfee8dbd33e44cef350a8 (patch)
tree16c4ace047e2170afa2935527ea42c5cedd82bbc
downloadaur-edf32a5a5c978caec72dfee8dbd33e44cef350a8.tar.gz
Initial commit
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD31
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..062e40b07a2
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = python-django-gravatar
+ pkgdesc = Includes helper methods for interacting with gravatars outside of template code
+ pkgver = 1.3.0
+ pkgrel = 1
+ url = https://github.com/twaddington/django-gravatar
+ arch = any
+ license = MIT
+ options = !emptydirs
+ source = https://github.com/twaddington/django-gravatar/archive/1.3.0.tar.gz
+ sha256sums = b557e25748585647df3774727f2183117691bde1236f3054117e35f66c66f88c
+
+pkgname = python-django-gravatar
+ depends = python-django
+
+pkgname = python2-django-gravatar
+ depends = python2-django
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..83f32931735
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Simon Hanna <simon dot hanna AT serve-me DOT info>
+
+pkgname=('python-django-gravatar' 'python2-django-gravatar')
+_pkgbase='django-gravatar'
+pkgver=1.3.0
+pkgrel=1
+pkgdesc="Includes helper methods for interacting with gravatars outside of template code"
+arch=(any)
+url="https://github.com/twaddington/django-gravatar"
+license=('MIT')
+options=(!emptydirs)
+install=
+source=("https://github.com/twaddington/django-gravatar/archive/${pkgver}.tar.gz")
+sha256sums=('b557e25748585647df3774727f2183117691bde1236f3054117e35f66c66f88c')
+
+
+package_python-django-gravatar() {
+ depends=('python-django')
+ cd "$srcdir/$_pkgbase-$pkgver"
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+package_python2-django-gravatar() {
+ depends=('python2-django')
+ cd "$srcdir/$_pkgbase-$pkgver"
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et: