pkgsrc/graphics/py-pygal/Makefile
2020-11-27 08:02:38 +00:00

29 lines
1,002 B
Makefile

# $NetBSD: Makefile,v 1.12 2020/11/27 08:02:38 adam 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-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
PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-pyquery
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"