pkgsrc/graphics/py-pygal/Makefile
2017-09-16 19:26:41 +00:00

28 lines
1,017 B
Makefile

# $NetBSD: Makefile,v 1.10 2017/09/16 19:26:58 wiz Exp $
DISTNAME= pygal-2.4.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= graphics python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pygal/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://pygal.org/
COMMENT= Python SVG graph plotting library
LICENSE= gnu-lgpl-v3
DEPENDS+= ${PYPKGPREFIX}-cairosvg-[0-9]*:../../converters/py-cairosvg
DEPENDS+= ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
BUILD_DEPENDS+= ${PYPKGPREFIX}-flask-[0-9]*:../../www/py-flask
BUILD_DEPENDS+= ${PYPKGPREFIX}-pyquery-[0-9]*:../../textproc/py-pyquery
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
# more BUILD_DEPENDS needed
USE_LANGUAGES= # none
post-install:
cd ${DESTDIR}${PREFIX}/bin && ${MV} pygal_gen.py pygal_gen${PYVERSSUFFIX}.py || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"