git: 720fdb09dd46 - main - graphics/py-svg.py: Add New Port
Jochen Neumeister <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.cvs.ports |
|---|---|
| Message-ID | <[email protected]> |
The branch main has been updated by joneum: URL: https://cgit.FreeBSD.org/ports/commit/?id=720fdb09dd460531ba9f4829f2947d3063c6156d commit 720fdb09dd460531ba9f4829f2947d3063c6156d Author: Jochen Neumeister <[email protected]> AuthorDate: 2026-08-13 19:05:36 +0000 Commit: Jochen Neumeister <[email protected]> CommitDate: 2026-08-13 20:29:51 +0000 graphics/py-svg.py: Add New Port Type-safe SVG drawing library for Python. Required as a runtime dependency of the upcoming databases/mysql-shell port. PR: 291004 Sponsored by: Netzkommune GmbH --- graphics/Makefile | 1 + graphics/py-svg.py/Makefile | 21 +++++++++++++++++++++ graphics/py-svg.py/distinfo | 3 +++ graphics/py-svg.py/pkg-descr | 4 ++++ 4 files changed, 29 insertions(+) diff --git a/graphics/Makefile b/graphics/Makefile index de75d209c1aa..944cf9e37d42 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -1066,6 +1066,7 @@ SUBDIR += py-spectra SUBDIR += py-sqlalchemy-imageattach SUBDIR += py-svg.path + SUBDIR += py-svg.py SUBDIR += py-svgelements SUBDIR += py-svgwrite SUBDIR += py-term-image diff --git a/graphics/py-svg.py/Makefile b/graphics/py-svg.py/Makefile new file mode 100644 index 000000000000..fb4116165745 --- /dev/null +++ b/graphics/py-svg.py/Makefile @@ -0,0 +1,21 @@ +PORTNAME= svg_py +DISTVERSION= 1.10.0 +CATEGORIES= graphics python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= [email protected] +COMMENT= Type-safe SVG drawing library for Python +WWW= https://github.com/orsinium-labs/svg.py + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=2:devel/py-flit-core@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist pep517 + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/graphics/py-svg.py/distinfo b/graphics/py-svg.py/distinfo new file mode 100644 index 000000000000..dd66391eab46 --- /dev/null +++ b/graphics/py-svg.py/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1786645689 +SHA256 (svg_py-1.10.0.tar.gz) = 2e1391411a205220a0e72ca303f3c2d11dbd564cb1dbc445406c5e11421bcc4b +SIZE (svg_py-1.10.0.tar.gz) = 43808 diff --git a/graphics/py-svg.py/pkg-descr b/graphics/py-svg.py/pkg-descr new file mode 100644 index 000000000000..744e969df210 --- /dev/null +++ b/graphics/py-svg.py/pkg-descr @@ -0,0 +1,4 @@ +svg.py is a type-safe library to generate SVG files with Python. +All SVG elements and attributes are provided as Python classes with +type annotations, which allows static analysis and editor +auto-completion when building SVG documents programmatically.