2014-08-07 04:36:59 +02:00
|
|
|
# $NetBSD: Makefile,v 1.4 2014/08/07 02:36:59 rodent Exp $
|
2014-04-19 19:57:31 +02:00
|
|
|
#
|
|
|
|
|
2014-08-07 04:36:59 +02:00
|
|
|
DISTNAME= celery-3.1.13
|
2014-04-19 19:57:31 +02:00
|
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
|
|
CATEGORIES= net python
|
|
|
|
MASTER_SITES= https://pypi.python.org/packages/source/c/celery/
|
|
|
|
|
|
|
|
MAINTAINER= rodent@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.celeryproject.org/
|
|
|
|
COMMENT= Asynchronous task/job queue based on distributed message passing
|
2014-04-20 20:24:26 +02:00
|
|
|
LICENSE= modified-bsd AND cc-by-nc-sa-v3.0-license
|
2014-04-19 19:57:31 +02:00
|
|
|
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-anyjson-[0-9]*:../../textproc/py-anyjson
|
2014-08-07 04:36:59 +02:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-billiard>=3.3.0.18:../../parallel/py-billiard
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-kombu>=3.0.21:../../net/py-kombu
|
2014-04-19 19:57:31 +02:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
|
|
|
|
|
|
|
|
USE_LANGUAGES= c
|
|
|
|
|
|
|
|
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${MV} ${DESTDIR}${PREFIX}/bin/celery \
|
|
|
|
${DESTDIR}${PREFIX}/bin/celery${PYVERSSUFFIX}
|
|
|
|
${MV} ${DESTDIR}${PREFIX}/bin/celerybeat \
|
|
|
|
${DESTDIR}${PREFIX}/bin/celerybeat${PYVERSSUFFIX}
|
|
|
|
${MV} ${DESTDIR}${PREFIX}/bin/celeryd \
|
|
|
|
${DESTDIR}${PREFIX}/bin/celeryd${PYVERSSUFFIX}
|
|
|
|
${MV} ${DESTDIR}${PREFIX}/bin/celeryd-multi \
|
|
|
|
${DESTDIR}${PREFIX}/bin/celeryd-multi${PYVERSSUFFIX}
|
|
|
|
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|