git: dcf6797663eb - main - graphics/py-svgelements: New port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 11 Jan 2025 08:47:06 UTC
The branch main has been updated by wen:
URL: https://cgit.FreeBSD.org/ports/commit/?id=dcf6797663ebf4433a3085cd19a2974d1a0d8c27
commit dcf6797663ebf4433a3085cd19a2974d1a0d8c27
Author: Wen Heping <wen@FreeBSD.org>
AuthorDate: 2025-01-11 08:46:03 +0000
Commit: Wen Heping <wen@FreeBSD.org>
CommitDate: 2025-01-11 08:46:42 +0000
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(+)
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 <bsd.port.mk>
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.