blob: 80777895e0d55040da598bd9449088a52d66e399 (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Contributor: Andrew Wilcox <AWilcox@Wilcox-Tech.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py-django
_pkgname=Django
pkgver=1.11.18
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
# 1.11.11-r0:
# - CVE-2017-12794
# - CVE-2018-6188
# - CVE-2018-7536
# - CVE-2018-7537
# 1.11.15-r0:
# - CVE-2018-14574
# 1.11.18-r0:
# - CVE-2019-3498
build() {
cd "$builddir"
python2 setup.py build || return 1
}
package() {
cd "$builddir"
python2 setup.py install --root "$pkgdir" --skip-build || return 1
}
sha512sums="35c885e835c5e85257774c65c11bf851e710c745df3366487159f21f90e092236dd8d2cee86e8165945e57fc710989b0ea2747682fa4ce37d5e93d4f664b76c1 Django-1.11.18.tar.gz"
|