blob: 93271d49e64264e58e52140ce5c20ae51b7132f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: Viliam Tokarcik <viliam@tokarcik.eu>
pkgname=python-django-oscar
_pypi_pkgname=django-oscar
_pypi_md5=d15b58ec30f822f6aa5792b4b6f4c8ed
pkgver=3.0.2
pkgrel=0
pkgdesc="Oscar is an e-commerce framework for Django designed for building domain-driven sites."
arch=(any)
url="https://pypi.python.org/pypi/django-oscar"
license=('BSD')
makedepends=('python-setuptools')
depends=('python' 'python-django')
source=("https://pypi.python.org/packages/fa/65/e71432baaf154e46d3a8bb850b9cf2cd994aef6f68a4484c93aaf3c28f55/django-oscar-${pkgver}.tar.gz#md5=${_pypi_md5}")
md5sums=("${_pypi_md5}")
build() {
cd "${srcdir}/${_pypi_pkgname}-${pkgver}"
python setup.py build || return 1
}
package() {
cd "${srcdir}/${_pypi_pkgname}-${pkgver}"
python setup.py install --root=${pkgdir} --optimize=1 || return 1
install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
# vim:set ts=2 sw=2 et:
|