From dcf6797663ebf4433a3085cd19a2974d1a0d8c27 Mon Sep 17 00:00:00 2001 From: Wen Heping Date: Sat, 11 Jan 2025 08:46:03 +0000 Subject: [PATCH] graphics/py-svgelements: New port Svgelements does high fidelity SVG parsing and geometric rendering. The goal is to successfully and correctly process SVG for use with any scripts that may need or want to use SVG files as geometric data. --- graphics/Makefile | 1 + graphics/py-svgelements/Makefile | 22 ++++++++++++++++++++++ graphics/py-svgelements/distinfo | 3 +++ graphics/py-svgelements/pkg-descr | 3 +++ 4 files changed, 29 insertions(+) create mode 100644 graphics/py-svgelements/Makefile create mode 100644 graphics/py-svgelements/distinfo create mode 100644 graphics/py-svgelements/pkg-descr diff --git a/graphics/Makefile b/graphics/Makefile index 5afffe672f1c..3391c487222f 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -1020,6 +1020,7 @@ SUBDIR += py-spectra SUBDIR += py-sqlalchemy-imageattach SUBDIR += py-svg.path + SUBDIR += py-svgelements SUBDIR += py-svgwrite SUBDIR += py-termtosvg SUBDIR += py-tifffile diff --git a/graphics/py-svgelements/Makefile b/graphics/py-svgelements/Makefile new file mode 100644 index 000000000000..03599c8c67ed --- /dev/null +++ b/graphics/py-svgelements/Makefile @@ -0,0 +1,22 @@ +PORTNAME= svgelements +PORTVERSION= 1.9.6 +CATEGORIES= graphics python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= wen@FreeBSD.org +COMMENT= Svg Elements Parsing +WWW= https://github.com/meerk40t/svgelements + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include diff --git a/graphics/py-svgelements/distinfo b/graphics/py-svgelements/distinfo new file mode 100644 index 000000000000..9497050682af --- /dev/null +++ b/graphics/py-svgelements/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1736583681 +SHA256 (svgelements-1.9.6.tar.gz) = 7c02ad6404cd3d1771fd50e40fbfc0550b0893933466f86a6eb815f3ba3f37f7 +SIZE (svgelements-1.9.6.tar.gz) = 162145 diff --git a/graphics/py-svgelements/pkg-descr b/graphics/py-svgelements/pkg-descr new file mode 100644 index 000000000000..53b7a121daed --- /dev/null +++ b/graphics/py-svgelements/pkg-descr @@ -0,0 +1,3 @@ +Svgelements does high fidelity SVG parsing and geometric rendering. +The goal is to successfully and correctly process SVG for use with +any scripts that may need or want to use SVG files as geometric data.