summaryrefslogtreecommitdiffstats
path: root/main/py-django/APKBUILD
blob: 46f728f688f3d713d848b42e3f174139ad1f8f5c (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.1
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="7465f6383264ba167a9a031d6b058bff  Django-1.5.1.tar.gz"
sha256sums="885fadcbb8963c0ccda5d9d2cca792970b0289b4e662406b2de2b736ff46123d  Django-1.5.1.tar.gz"
sha512sums="75304cf4a09688af4460dfc1de902cd3455003c76f8673a16a781fc738d2ddfa61ba62768e3be84b017c042696f90e950ec1855df9871be846fcc82df5da2580  Django-1.5.1.tar.gz"