# Contributor: Andrew Wilcox # Maintainer: Natanael Copa pkgname=py-django _pkgname=Django pkgver=1.10.7 pkgrel=0 pkgdesc="A high-level Python Web framework" url="http://djangoproject.com/" arch="noarch" license="BSD" depends="python2" depends_dev="" makedepends="python2-dev py-setuptools" install="" subpackages="" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver # secfixes: # 1.8.16-r0: # - CVE-2016-9013 # - CVE-2016-9014 # 1.10.7-r0: # - CVE-2017-7233 # - CVE-2017-7234 build() { cd "$builddir" python2 setup.py build || return 1 } package() { cd "$builddir" python2 setup.py install --root "$pkgdir" --skip-build || return 1 } sha512sums="2b16de21a1c966942f0d912bde4f5be7004f250e5ce3c56a5ac462f81f82e911da19fa0aeb9058670d663caecc1016ce4bcd93c1fa058675150caa33cfeb0e3b Django-1.10.7.tar.gz"