aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-django/APKBUILD
blob: e6c63ddeb464138b32b3d036c3c5a31b8751a3c9 (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:
pkgname=py-django
_pkgname=Django
pkgver=1.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="fac09e1e0f11bb83bb187d652a9be967  Django-1.5.tar.gz"
sha256sums="078bf8f8ab025ed79e41ed5cee145a64dffea638eb5c2928c8cd106720824416  Django-1.5.tar.gz"
sha512sums="be2150b9c654bd4995af9acee70b49cefc18bd70f57dd1761e270202726374f2e4b0b6722bc39e03da110702ad2281bc098dc1ac89fa4c61849d882bf8f18786  Django-1.5.tar.gz"