# Maintainer: Razer pkgname=python-pylint-django _pypi_pkgname=pylint-django pkgver=0.11 pkgrel=0 pkgdesc="A Pylint plugin to help Pylint understand the Django web framework" arch=('any') url="https://github.com/landscapeio/pylint-django" license=('GPL2') depends=('python') makedepends=('python-setuptools' 'python-pylint-plugin-utils') source=("https://pypi.io/packages/source/p/${_pypi_pkgname}/${_pypi_pkgname}-${pkgver}.tar.gz") #md5sums=('a758a710030f78fdb2f13ac33b6a741f') sha256sums=('8818c2034df5fad2dc4bd029a91f088a6a3d8eaad5070c19b32ba3fef04b25dc') build() { cd "${_pypi_pkgname}-${pkgver}" python setup.py build } package() { cd "${_pypi_pkgname}-${pkgver}" python setup.py install --prefix="/usr" --root="${pkgdir}" --optimize=1 install -Dm755 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}"/LICENSE } # vim:set ts=2 sw=2 et: