pkgsrc/converters/py-cairosvg/Makefile
adam 5d094ca923 py-cairosvg: update to 2.1.1
Version 2.1.1

Use cssselect2 and tinycss2 instead of cssselect and tinycss
Don’t require lxml anymore
Rely on defusedxml to detect unsafe SVG files
Use http://www.w3.org/2000/svg as default namespace
2017-10-19 06:38:47 +00:00

29 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.11 2017/10/19 06:38:47 adam Exp $
DISTNAME= CairoSVG-2.1.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
CATEGORIES= converters graphics python
MASTER_SITES= ${MASTER_SITE_PYPI:=C/CairoSVG/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.cairosvg.org/
COMMENT= Simple SVG Converter for Cairo
LICENSE= gnu-lgpl-v3
DEPENDS+= ${PYPKGPREFIX}-Pillow-[0-9]*:../../graphics/py-Pillow
DEPENDS+= ${PYPKGPREFIX}-cairocffi-[0-9]*:../../graphics/py-cairocffi
DEPENDS+= ${PYPKGPREFIX}-cssselect2-[0-9]*:../../textproc/py-cssselect2
DEPENDS+= ${PYPKGPREFIX}-defusedxml-[0-9]*:../../textproc/py-defusedxml
DEPENDS+= ${PYPKGPREFIX}-tinycss2-[0-9]*:../../textproc/py-tinycss2
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-isort-[0-9]*:../../devel/py-test-isort
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
USE_LANGUAGES= # none
post-install:
cd ${DESTDIR}${PREFIX}/bin && ${MV} cairosvg cairosvg${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"