Skip to content

Instantly share code, notes, and snippets.

@sseemayer
Last active December 30, 2015 18:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sseemayer/7869897 to your computer and use it in GitHub Desktop.
Save sseemayer/7869897 to your computer and use it in GitHub Desktop.
python2-celery 3.1.6 PKGBUILD
# Maintainer: Tevin Zhang <mail2tevin {at} gmail {dot} com>
pkgname=python2-celery
pkgver=3.1.6
pkgrel=0
pkgdesc="Distributed Task Queue"
arch=("any")
url="http://celeryproject.org/"
license=("BSD")
depends=("python2" "python2-kombu>=3.0.7" "python2-dateutil" "python2-billiard>=3.3.0.10" "python2-amqp>=1.3.3")
makedepends=("python2-distribute")
source=("http://pypi.python.org/packages/source/c/celery/celery-${pkgver}.tar.gz")
md5sums=('00eebe44a44fe060c7cd184d15ae0bd9')
build() {
cd celery-$pkgver
python2 setup.py build
}
package() {
cd celery-$pkgver
python2 setup.py install --root="${pkgdir}" --optimize=1
install -D "extra/generic-init.d/celerybeat" "${pkgdir}/etc/rc.d/celerybeat"
install -D "extra/generic-init.d/celeryd" "${pkgdir}/etc/rc.d/celeryd"
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment