aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-04-30 13:20:36 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2015-04-30 13:20:40 +0200
commit3290f0a3deb91d0331b42ca02af6dfa2a8aa157a (patch)
treea29fb05a1a6482f533a9881a689660f433c3b89d /testing
parent734c22ddd358430854bfd5e3d7092ee7ebc88b75 (diff)
downloadaports-3290f0a3deb91d0331b42ca02af6dfa2a8aa157a.tar.bz2
aports-3290f0a3deb91d0331b42ca02af6dfa2a8aa157a.tar.xz
py-django-suit: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/py-django-suit/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-django-suit/APKBUILD b/testing/py-django-suit/APKBUILD
new file mode 100644
index 0000000000..98b97f35c1
--- /dev/null
+++ b/testing/py-django-suit/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=py-django-suit
+_realname=${pkgname#*-}
+pkgver=0.3a1
+pkgrel=0
+pkgdesc="Modern theme for Django admin interface"
+url="http://djangosuit.com/"
+arch="noarch"
+license="CC"
+depends="python"
+depends_dev=""
+makedepends="$depends_dev python-dev py-setuptools"
+install=""
+subpackages=""
+source="https://pypi.python.org/packages/source/d/django-suit/django-suit-$pkgver.tar.gz"
+
+_builddir="$srcdir"/django-suit-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ python setup.py build || return 1
+}
+
+package() {
+ cd "$_builddir"
+ python setup.py install --prefix=/usr --root="$pkgdir" || return 1
+}
+
+md5sums="1aa2129ae4dfce8f7aa5f6dedc13021e django-suit-0.3a1.tar.gz"
+sha256sums="1e59398aea4fddc669505f5b8581bb0071c68d9074d032a6bc407c491833134d django-suit-0.3a1.tar.gz"
+sha512sums="2839a51b4e508ecfd0f3b7800a3f8a7b11e641b3f1a13536a322e4ba6ceb4c12a0abae767c1efd8fe85aedfcd1eae069f71e15d3b022479e9ea0bb2344acc272 django-suit-0.3a1.tar.gz"