diff options
Diffstat (limited to 'main/py-django')
-rw-r--r-- | main/py-django/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/main/py-django/APKBUILD b/main/py-django/APKBUILD new file mode 100644 index 0000000000..46f728f688 --- /dev/null +++ b/main/py-django/APKBUILD @@ -0,0 +1,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" |