aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-django
diff options
context:
space:
mode:
authorAndrew Wilcox <AWilcox@Wilcox-Tech.com>2011-02-09 10:11:38 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2011-02-09 04:21:06 -0600
commit9928d87ec39dd70d9395bee945ae7484c2d8dcdb (patch)
tree1840d4e560e3a1879a7adb1be658ef1a84fd0dd5 /testing/py-django
parente9bea9556e13e941b7ce19973f18f6909f0c3d1a (diff)
downloadaports-9928d87ec39dd70d9395bee945ae7484c2d8dcdb.tar.bz2
aports-9928d87ec39dd70d9395bee945ae7484c2d8dcdb.tar.xz
Add py-django
Diffstat (limited to 'testing/py-django')
-rw-r--r--testing/py-django/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/py-django/APKBUILD b/testing/py-django/APKBUILD
new file mode 100644
index 0000000000..847badf2c8
--- /dev/null
+++ b/testing/py-django/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Andrew Wilcox <AWilcox@Wilcox-Tech.com>
+# Maintainer:
+pkgname=py-django
+_pkgname=Django
+pkgver=1.2.5
+pkgrel=0
+pkgdesc="A high-level Python Web framework that encourages rapid development and clean, pragmatic design."
+url="http://djangoproject.com/"
+arch="noarch"
+license="bsd"
+depends=python
+depends_dev=python-dev
+makedepends="$depends_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
+}
+
+package() {
+ cd "$_builddir"
+ python setup.py install --root "$pkgdir"
+}
+
+md5sums="e031ea3d00996035e49e4bfa86e07c40 Django-1.2.5.tar.gz"