diff options
author | Bruno Cichon <ebrasca@librepanther.com> | 2018-10-01 01:51:29 +0200 |
---|---|---|
committer | Bruno Cichon <ebrasca@librepanther.com> | 2018-10-01 01:51:29 +0200 |
commit | 9bdcd4c3d22da95e94780454614436082e0eea7d (patch) | |
tree | c8755fe8c20be0043d67099bfb357c904c513cff /pcr-testing/django-gravatar | |
parent | 56f955aca6231693fe797de4793f77ed58ab116e (diff) | |
parent | 60149d4be1633dd72cba35fcfc29bcf9f117e6fd (diff) | |
download | abslibre-9bdcd4c3d22da95e94780454614436082e0eea7d.tar.gz abslibre-9bdcd4c3d22da95e94780454614436082e0eea7d.tar.bz2 abslibre-9bdcd4c3d22da95e94780454614436082e0eea7d.zip |
Merge branch 'master' of git://git.parabola.nu/abslibre/abslibre
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 +} |