# Maintainer: Kevin Azzam # Contributor: David McInnis pkgname='python-django-storages' _module='django-storages' pkgver='1.6.5' pkgrel=2 pkgdesc="Support for many storage backends (S3, Libcloud, etc) in Django." url="https://github.com/jschneier/django-storages" makedepends=('python-setuptools') license=('BSD') arch=('any') source=("https://files.pythonhosted.org/packages/source/d/django-storages/django-storages-${pkgver}.tar.gz") sha256sums=('bc8e4c1f483608c5dd1212072fd41042f3ef2d2a2896ec4fb12dbc62c82996a0') build() { cd "${srcdir}/${_module}-${pkgver}" python setup.py build } package() { depends=('python-django') optdepends=('python-boto3') cd "${srcdir}/${_module}-${pkgver}" python setup.py install --root="${pkgdir}/" --optimize=1 install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -Dm 644 CHANGELOG.rst -t "${pkgdir}/usr/share/doc/${pkgname}/CHANGES" }