[arch-commits] Commit in python-django-q (3 files)
Maxime Gauduin
alucryd at archlinux.org
Mon May 8 11:16:09 UTC 2017
Date: Monday, May 8, 2017 @ 11:16:09
Author: alucryd
Revision: 227341
archrelease: copy trunk to community-any
Added:
python-django-q/repos/
python-django-q/repos/community-any/
python-django-q/repos/community-any/PKGBUILD
(from rev 227340, python-django-q/trunk/PKGBUILD)
----------+
PKGBUILD | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
Copied: python-django-q/repos/community-any/PKGBUILD (from rev 227340, python-django-q/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD (rev 0)
+++ repos/community-any/PKGBUILD 2017-05-08 11:16:09 UTC (rev 227341)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgbase=python-django-q
+pkgname=('python-django-q' 'python2-django-q')
+pkgver=0.8.0
+pkgrel=1
+pkgdesc='A multiprocessing distributed task queue for Django'
+arch=('any')
+url='https://github.com/Koed00/django-q'
+license=('MIT')
+makedepends=('python2-django' 'python2-setuptools' 'python2-six'
+ 'python-django' 'python-setuptools' 'python-six')
+source=("django-q-${pkgver}.tar.gz::https://github.com/Koed00/django-q/archive/v${pkgver}.tar.gz")
+sha256sums=('d1d1c1b058ca52000371a766f57386bda09f679438c872cd0120a44951db8e4a')
+
+prepare() {
+ cp -r {,python-}django-q-${pkgver}
+ mv {,python2-}django-q-${pkgver}
+}
+
+build() {
+ for py in python{,2}; do
+ pushd ${py}-django-q-${pkgver}
+ ${py} setup.py build
+ popd
+ done
+}
+
+package_python-django-q() {
+ depends=('python-arrow' 'python-blessed' 'python-django'
+ 'python-django-picklefield' 'python-future' 'python-six')
+
+ cd python-django-q-${pkgver}
+
+ python setup.py install --root="${pkgdir}" --optimize='1' --skip-build
+ install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-django-q
+}
+
+package_python2-django-q() {
+ depends=('python2-arrow' 'python2-blessed' 'python2-django'
+ 'python2-django-picklefield' 'python2-future' 'python2-six')
+
+ cd python-django-q-${pkgver}
+
+ python2 setup.py install --root="${pkgdir}" --optimize='1' --skip-build
+ install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python2-django-q
+}
+
+# vim: ts=2 sw=2 et:
+
More information about the arch-commits
mailing list