aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-django-contact-form
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2015-09-25 22:24:45 +0300
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2015-09-25 22:24:45 +0300
commitd463d1589d67f322eabd49166a2bdb78de0d0a34 (patch)
tree04e5e7ebee302db3217cbdfa45f1c99da3b5d455 /main/py-django-contact-form
parentc3980af68fcee6e6bed003f723d095eb30d1111e (diff)
downloadaports-d463d1589d67f322eabd49166a2bdb78de0d0a34.tar.bz2
aports-d463d1589d67f322eabd49166a2bdb78de0d0a34.tar.xz
main/py-django-contact-form: moved from testing
Diffstat (limited to 'main/py-django-contact-form')
-rw-r--r--main/py-django-contact-form/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/main/py-django-contact-form/APKBUILD b/main/py-django-contact-form/APKBUILD
new file mode 100644
index 0000000000..a5b9394654
--- /dev/null
+++ b/main/py-django-contact-form/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+pkgname=py-django-contact-form
+pkgver=1.0
+pkgrel=0
+pkgdesc="Generic contact-form application for Django"
+url=https://bitbucket.org/ubernostrum/django-contact-form/
+arch=noarch
+license=BSD
+depends=py-django
+makedepends=py-setuptools
+source=https://pypi.python.org/packages/source/d/django-contact-form/django-contact-form-$pkgver.tar.gz
+
+_builddir=$srcdir/django-contact-form-$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
+}
+
+package() {
+ cd "$_builddir"
+ python setup.py install --root "$pkgdir"
+}
+
+md5sums="878856c5de059bfeebe8788fd298ed0e django-contact-form-1.0.tar.gz"
+sha256sums="892d3a3dbdc42073a90c0d7dd6da1fd07d9c5cdc2ad316d4b541f77343cbc1a1 django-contact-form-1.0.tar.gz"
+sha512sums="5f78e8637d8981bad376b8062563dec0430a679e5b3ef31dadf7ebffd0aa811fcb1ac136afa63f713544eb6d9816f8c2a1a77086ac96917c476c975321761847 django-contact-form-1.0.tar.gz"