aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-django-pipeline/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-pipeline/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-pipeline/APKBUILD')
-rw-r--r--main/py-django-pipeline/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/main/py-django-pipeline/APKBUILD b/main/py-django-pipeline/APKBUILD
new file mode 100644
index 0000000000..e05dc1b227
--- /dev/null
+++ b/main/py-django-pipeline/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: <xmingske@gmail.com>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+_pkgname=django-pipeline
+pkgname=py-${_pkgname}
+pkgver=1.3.25
+pkgrel=0
+pkgdesc="an asset packaging library for Django"
+url="https://github.com/cyberdelia/django-pipeline"
+arch="noarch"
+license="BSD"
+#makedepends="python-dev py-setuptools py-django"
+makedepends="python-dev py-setuptools"
+depends="python"
+source="$pkgname-$pkgver.tar.gz::https://github.com/cyberdelia/django-pipeline/archive/${pkgver}.tar.gz"
+
+_builddir="${srcdir}/${_pkgname}-${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() {
+ cd "${_builddir}"
+ python setup.py install --prefix=/usr --root="$pkgdir" || return 1
+}
+
+md5sums="f2dea4e68d65ac5c399fe584366506d6 py-django-pipeline-1.3.25.tar.gz"
+sha256sums="92c4ba5543d3ad980cd3a65a121ced62a6ad6449a773269a693f54e0ca5c565f py-django-pipeline-1.3.25.tar.gz"
+sha512sums="2c66b8b60076a8d19049947a9465d96fd80098c6e560f6cb6ffa26fd17d267830d87913041f9876da1276b0224ef3e8b0183c56367741e11c0f010a236b87169 py-django-pipeline-1.3.25.tar.gz"