summaryrefslogtreecommitdiffstats
path: root/main/py-django-djblets/APKBUILD
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2014-10-31 11:50:35 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2014-10-31 11:50:35 +0100
commitbd40d543bcea6700c99518d1dda8e9c82e3449bf (patch)
tree68691b8f8eb470855c1655b7792599a815db5b4d /main/py-django-djblets/APKBUILD
parentc3e2c12d30f48a88fbc9b4aa98a0861ebb06d052 (diff)
downloadaports-bd40d543bcea6700c99518d1dda8e9c82e3449bf.tar.bz2
aports-bd40d543bcea6700c99518d1dda8e9c82e3449bf.tar.xz
testing/seafile: move seafile and deps to main
Diffstat (limited to 'main/py-django-djblets/APKBUILD')
-rw-r--r--main/py-django-djblets/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/main/py-django-djblets/APKBUILD b/main/py-django-djblets/APKBUILD
new file mode 100644
index 000000000..b314f2bd6
--- /dev/null
+++ b/main/py-django-djblets/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: <xmingske@gmail.com>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+_pkgname=django-djblets
+pkgname=py-${_pkgname}
+pkgver=0.6.31
+pkgrel=0
+pkgdesc="set of utilty classes and functions for web applications written using Django"
+url="https://github.com/djblets/djblets/"
+arch="noarch"
+license="BSD"
+makedepends="python-dev py-setuptools"
+depends="python py-django-pipeline"
+source="$pkgname-$pkgver.tar.gz::https://github.com/djblets/djblets/archive/release-${pkgver}.tar.gz"
+
+_builddir="${srcdir}/djblets-release-${pkgver}"
+
+prepare() {
+ local pf
+ cd "${_builddir}"
+ for pf in $source; do
+ case $pf in
+ *.patch) msg $pf; patch -p1 -i "$srcdir"/${pf} || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "${_builddir}"
+ python setup.py build || return 1
+}
+
+package() {
+ export PIPELINE_JS_COMPRESSOR='pipeline.compressors.jsmin.JSMinCompressor'
+ cd "${_builddir}"
+ python setup.py install --prefix=/usr --root="$pkgdir" || return 1
+}
+
+md5sums="e9a36f643141666188f8b3cf0a45faf1 py-django-djblets-0.6.31.tar.gz"
+sha256sums="0899bd0fb59c5faf9dc3bb4eb27beec5e6b55f5afead205764b8a09ab5b62a21 py-django-djblets-0.6.31.tar.gz"
+sha512sums="8874070fca77fce8a823ce0155ca0314758c7a6d7dd423a30aea5b23990bcec3675a9e22751f4bf6b6db75c6f0688cfaab85e59a344e13135c0f55a6edc35b6d py-django-djblets-0.6.31.tar.gz"