1b4d966c36
This version is exclusively for Python 2.7 use. Changes: - Fix crash when lxml is not installed - CairoSVG was vulnerable to XML eXternal Entity (XXE) attacks, this release fixes this vulnerability by not resolving the XML entities anymore.
25 lines
678 B
Makefile
25 lines
678 B
Makefile
# $NetBSD: Makefile,v 1.1 2018/03/26 00:33:40 joerg Exp $
|
|
|
|
DISTNAME= CairoSVG-1.0.22
|
|
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}-cairocffi-[0-9]*:../../graphics/py-cairocffi
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
PYTHON_VERSIONS_ACCEPTED= 27
|
|
PY_PATCHPLIST= yes
|
|
|
|
post-install:
|
|
${MV} ${DESTDIR}${PREFIX}/bin/cairosvg \
|
|
${DESTDIR}${PREFIX}/bin/cairosvg${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
.include "../../lang/python/distutils.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|