diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2019-12-13 06:40:11 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2019-12-13 06:40:11 +0000 |
commit | 64a2ed3ab1ea942f70e2b6523496738194b60adf (patch) | |
tree | 8beaaccb99a6efa454d94004cc3e34fc4f6568f6 /graphics/py-cairosvg | |
parent | 292665c29220abf0cb2314b950e00f105bde3653 (diff) | |
download | ports-64a2ed3ab1ea942f70e2b6523496738194b60adf.tar.gz ports-64a2ed3ab1ea942f70e2b6523496738194b60adf.zip |
Add py-cairosvg 2.4.2
CairoSVG is a SVG converter based on Cairo. It can export SVG files to PDF,
PostScript and PNG files.
WWW: https://cairosvg.org/
WWW: https://github.com/Kozea/CairoSVG
Notes
Notes:
svn path=/head/; revision=519971
Diffstat (limited to 'graphics/py-cairosvg')
-rw-r--r-- | graphics/py-cairosvg/Makefile | 32 | ||||
-rw-r--r-- | graphics/py-cairosvg/distinfo | 3 | ||||
-rw-r--r-- | graphics/py-cairosvg/pkg-descr | 5 |
3 files changed, 40 insertions, 0 deletions
diff --git a/graphics/py-cairosvg/Makefile b/graphics/py-cairosvg/Makefile new file mode 100644 index 000000000000..2c37c5b11a55 --- /dev/null +++ b/graphics/py-cairosvg/Makefile @@ -0,0 +1,32 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= cairosvg +PORTVERSION= 2.4.2 +CATEGORIES= graphics python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= CairoSVG-${PORTVERSION} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Simple SVG Converter based on Cairo + +LICENSE= LGPL3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>=0:devel/py-pytest-runner@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cairocffi>=0:graphics/py-cairocffi@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}cssselect2>=0:textproc/py-cssselect2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}defusedxml>=0:devel/py-defusedxml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tinycss2>=0:textproc/py-tinycss2@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-isort>=0:devel/py-pytest-isort@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-flake8>=0:devel/py-pytest-flake8@${PY_FLAVOR} + +USES= python:3.5+ +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/graphics/py-cairosvg/distinfo b/graphics/py-cairosvg/distinfo new file mode 100644 index 000000000000..b9706a007a3c --- /dev/null +++ b/graphics/py-cairosvg/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1576164454 +SHA256 (CairoSVG-2.4.2.tar.gz) = 4e668f96653326780036ebb0a9ff2bb59a8443d7bcfc51a14aab77b57a8e67ad +SIZE (CairoSVG-2.4.2.tar.gz) = 38715 diff --git a/graphics/py-cairosvg/pkg-descr b/graphics/py-cairosvg/pkg-descr new file mode 100644 index 000000000000..2a2a9a273f2b --- /dev/null +++ b/graphics/py-cairosvg/pkg-descr @@ -0,0 +1,5 @@ +CairoSVG is a SVG converter based on Cairo. It can export SVG files to PDF, +PostScript and PNG files. + +WWW: https://cairosvg.org/ +WWW: https://github.com/Kozea/CairoSVG |