# Maintainer: Kevin Azzam _pipname=django-storage-swift pkgbase=python-django-storage-swift pkgname=('python-django-storage-swift') pkgver=1.3.0 pkgrel=1 pkgdesc="OpenStack Swift storage backend for Django" arch=('any') url="https://github.com/dennisv/django-storage-swift/" license=('MIT') makedepends=('python-setuptools' 'python-django') source=("https://files.pythonhosted.org/packages/source/d/django-storage-swift/django-storage-swift-${pkgver}.tar.gz") sha256sums=('fab79c16a96da0672f039c5e70373b40eb7a324cfec71a605e1f956422cd0899') build() { cd "${srcdir}/${_pipname}-${pkgver}" python setup.py build } package() { depends=('python-django' 'python-swiftclient' 'python-magic') cd "${srcdir}/${_pipname}-${pkgver}" python setup.py install --root="$pkgdir/" --optimize=1 # install -m644 "LICENSE.txt" "$pkgdir"/usr/share/licenses/$pkgname }