aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-django/APKBUILD
blob: 9cc6df9bea04250d4706438abe7db84f2cc1cb10 (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
# Contributor: Andrew Wilcox <AWilcox@Wilcox-Tech.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py-django
_pkgname=Django
pkgver=1.5.5
pkgrel=0
pkgdesc="A high-level Python Web framework"
url="http://djangoproject.com/"
arch="noarch"
license="BSD"
depends="python"
depends_dev=""
makedepends="python-dev"
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" || return 1
}

md5sums="e33355ee4bb2cbb4ab3954d3dff5eddd  Django-1.5.5.tar.gz"
sha256sums="6ae69c1dfbfc9d0c44ae80e2fbe48e59bbbbb70e8df66ad2b7029bd39947d71d  Django-1.5.5.tar.gz"
sha512sums="b60562743b3f7c6ebca4dca4fcb1896f2631d65ee7ff6d185a101670b43b404e5a1effe5761071905d935dd76b0cd51454591e5154cf620c868dec01dcf6e033  Django-1.5.5.tar.gz"