# Contributor (AUR): Andrey Mivrenik # Contributor (AUR): Ryan Coyner # Contributor (AUR): James Pearson # Maintainer : Aurélien Desbrières # parabola changes and rationale: # - added replaces for previous pkgname 'django-tagging' (2018-02-01) pkgname=python2-django-tagging _pkgname=django-tagging pkgver=0.4.1 pkgrel=1 pkgdesc="A generic tagging application for Django projects" arch=('any') url='https://pypi.python.org/pypi/django-tagging' license=('MIT') depends=('python2-django') makedepends=('python2-setuptools') replaces=('django-tagging') source=("https://pypi.python.org/packages/source/d/django-tagging/django-tagging-${pkgver}.tar.gz") sha256sums=('35802daf35f90aa022d59f7d7d485c719c29c4efbde1bf966d44017e1e64602b') build() { cd "${srcdir}/${_pkgname}-${pkgver}" python2 setup.py build } package() { cd "${srcdir}/${_pkgname}-${pkgver}" python2 setup.py install --root=${pkgdir} --optimize=1 install -D -m644 LICENSE.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE } # vim:set ts=2 sw=2 et: