aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-django/APKBUILD
blob: ad028e60a3d2ca477855861ad3a317ab40cb6551 (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
# Contributor: Andrew Wilcox <AWilcox@Wilcox-Tech.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py-django
_pkgname=Django
pkgver=1.8.15
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

build() {
	cd "$builddir"
	python2 setup.py build || return 1
}

package() {
	cd "$builddir"
	python2 setup.py install --root "$pkgdir" --skip-build || return 1
}

md5sums="d24c3c5fc6d784296693659b05efa70f  Django-1.8.15.tar.gz"
sha256sums="863e543ac985d5cfbce09213fa30bc7c802cbdf60d6db8b5f9dab41e1341eacd  Django-1.8.15.tar.gz"
sha512sums="1c27c9a6459e8dd239d9364701f1f127972e43d77a6015eb51a141c1868d3e52578b7b3390b83754d23084ad67417812da3918dd48bec231145149b000d31ff7  Django-1.8.15.tar.gz"