diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2018-09-12 08:25:54 +0000 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2018-09-30 04:27:49 -0400 |
commit | 60149d4be1633dd72cba35fcfc29bcf9f117e6fd (patch) | |
tree | 3b6c121600f41edbe42ccc971d130cf69197c7e7 /pcr-testing/django-gravatar | |
parent | 4e8a56f5ba2fb21332825f6f00cc84725a9268b2 (diff) | |
download | abslibre-60149d4be1633dd72cba35fcfc29bcf9f117e6fd.tar.gz abslibre-60149d4be1633dd72cba35fcfc29bcf9f117e6fd.tar.bz2 abslibre-60149d4be1633dd72cba35fcfc29bcf9f117e6fd.zip |
add 'mailman3'
Diffstat (limited to 'pcr-testing/django-gravatar')
-rw-r--r-- | pcr-testing/django-gravatar/PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/pcr-testing/django-gravatar/PKGBUILD b/pcr-testing/django-gravatar/PKGBUILD new file mode 100644 index 000000000..37d0a59e3 --- /dev/null +++ b/pcr-testing/django-gravatar/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: bill-auger <bill-auger@programmer.net> +# Maintainer (AUR): Simon Hanna <simon dot hanna AT serve-me DOT info> + +pkgbase='django-gravatar' +pkgname=('python-django-gravatar' 'python2-django-gravatar') +pkgver=1.4.2 +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) + +makedepends=('python-setuptools' 'python2-setuptools') + +source=(https://github.com/twaddington/${pkgbase}/archive/${pkgver}.tar.gz) +sha256sums=('ee2a1e62ca894352a349c104997bc1d7452461ca4fc6d24e97cc5937315740e1') + + +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 +} |