pkgsrc/devel/py-buildbot/Makefile
2019-05-03 10:54:38 +00:00

46 lines
2 KiB
Makefile

# $NetBSD: Makefile,v 1.21 2019/05/03 10:54:38 adam Exp $
DISTNAME= buildbot-1.5.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel net python
MASTER_SITES= ${MASTER_SITE_PYPI:=b/buildbot/}
MAINTAINER= joerg@NetBSD.org
HOMEPAGE= https://buildbot.net/
COMMENT= Continuous integration system
LICENSE= gnu-gpl-v2
DEPENDS+= ${PYPKGPREFIX}-JWT-[0-9]*:../../textproc/py-JWT
DEPENDS+= ${PYPKGPREFIX}-autobahn>=0.16.0:../../www/py-autobahn
DEPENDS+= ${PYPKGPREFIX}-dateutil>=1.5:../../time/py-dateutil
DEPENDS+= ${PYPKGPREFIX}-future-[0-9]*:../../devel/py-future
DEPENDS+= ${PYPKGPREFIX}-jinja2>=2.1:../../textproc/py-jinja2
DEPENDS+= ${PYPKGPREFIX}-sqlalchemy>=0.8.0:../../databases/py-sqlalchemy
DEPENDS+= ${PYPKGPREFIX}-sqlalchemy-migrate>=0.9:../../databases/py-sqlalchemy-migrate
DEPENDS+= ${PYPKGPREFIX}-twisted>=17.9.0:../../net/py-twisted
DEPENDS+= ${PYPKGPREFIX}-txaio>=2.2.2:../../devel/py-txaio
DEPENDS+= ${PYPKGPREFIX}-ZopeInterface>=4.1.1:../../devel/py-ZopeInterface
TEST_DEPENDS+= ${PYPKGPREFIX}-jade-[0-9]*:../../textproc/py-jade
TEST_DEPENDS+= ${PYPKGPREFIX}-lz4-[0-9]*:../../archivers/py-lz4
TEST_DEPENDS+= ${PYPKGPREFIX}-mock>=2.0.0:../../devel/py-mock
TEST_DEPENDS+= ${PYPKGPREFIX}-moto-[0-9]*:../../net/py-moto
TEST_DEPENDS+= ${PYPKGPREFIX}-pathlib2-[0-9]*:../../devel/py-pathlib2
TEST_DEPENDS+= ${PYPKGPREFIX}-setuptools_trial-[0-9]*:../../devel/py-setuptools_trial
TEST_DEPENDS+= ${PYPKGPREFIX}-treq-[0-9]*:../../devel/py-treq
TEST_DEPENDS+= ${PYPKGPREFIX}-txgithub-[0-9]*:../../devel/py-txgithub
TEST_DEPENDS+= ${PYPKGPREFIX}-txrequests-[0-9]*:../../devel/py-txrequests
.include "../../lang/python/pyversion.mk"
.if ${_PYTHON_VERSION} == 27
TEST_DEPENDS+= ${PYPKGPREFIX}-scandir-[0-9]*:../../devel/py-scandir
.endif
USE_LANGUAGES= # none
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} buildbot buildbot-${PYVERSSUFFIX} && \
${MV} buildbot_windows_service buildbot_windows_service-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"