aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-django/APKBUILD
blob: a86e0c6a58456b2896b1465b21176ab7edd55890 (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.10
pkgrel=0
pkgdesc="A high-level Python Web framework"
url="http://djangoproject.com/"
arch="noarch"
license="BSD"
depends="python"
depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

builddir="$srcdir"/$_pkgname-$pkgver

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

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

md5sums="8be1858dfee4878768ce686165e29c89  Django-1.8.10.tar.gz"
sha256sums="d2e5b11eb694984957378419f809b7205598326373d509d0262f9f84b17d1a23  Django-1.8.10.tar.gz"
sha512sums="ed219fd79731737d2b04245c7fd5ab98b9fa169d91ee52cbcfc7d092e21be34ea7ddc9977ada4050402b184646cc3f7aa41cc208b90733f639d173026f432467  Django-1.8.10.tar.gz"