git: fbbe50f6a2d0 - main - print/py-ufomerge: Add py-ufomerge 1.8.2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 21 Nov 2024 13:40:52 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fbbe50f6a2d047eb68f7b9b533f90b102ae95e7a

commit fbbe50f6a2d047eb68f7b9b533f90b102ae95e7a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-11-21 13:18:07 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-11-21 13:37:51 +0000

    print/py-ufomerge: Add py-ufomerge 1.8.2
    
    ufomerge is a command line utility and Python library merges together two UFO
    source format fonts into a single file. It can be used to include glyphs from
    one font into another font. It takes care of handling:
    - Glyph outlines and information
    - Kerning
    - lib entries
    - Including any needed components
    - "Subsetting" and merging layout rules
---
 print/Makefile              |  1 +
 print/py-ufomerge/Makefile  | 25 +++++++++++++++++++++++++
 print/py-ufomerge/distinfo  |  3 +++
 print/py-ufomerge/pkg-descr |  8 ++++++++
 4 files changed, 37 insertions(+)

diff --git a/print/Makefile b/print/Makefile
index a6091958c394..1d49d9e30b1f 100644
--- a/print/Makefile
+++ b/print/Makefile
@@ -195,6 +195,7 @@
     SUBDIR += py-rtf
     SUBDIR += py-ttfautohint-py
     SUBDIR += py-ufolib2
+    SUBDIR += py-ufomerge
     SUBDIR += py-uharfbuzz
     SUBDIR += py-vharfbuzz
     SUBDIR += py-weasyprint
diff --git a/print/py-ufomerge/Makefile b/print/py-ufomerge/Makefile
new file mode 100644
index 000000000000..c6668db72440
--- /dev/null
+++ b/print/py-ufomerge/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	ufomerge
+PORTVERSION=	1.8.2
+CATEGORIES=	print python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Merge together two source fonts in UFO format
+WWW=		https://github.com/googlefonts/ufomerge
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=45:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.2:devel/py-setuptools-scm@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}fonttools>=4.53.1:print/py-fonttools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}ufolib2>=0:print/py-ufolib2@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/print/py-ufomerge/distinfo b/print/py-ufomerge/distinfo
new file mode 100644
index 000000000000..7cdbe54d95d3
--- /dev/null
+++ b/print/py-ufomerge/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1731679134
+SHA256 (ufomerge-1.8.2.tar.gz) = 86bebe4fa6c7f3935eb96e55716bc6a155111c191e1cbc0720c4ffcf0cb53a9d
+SIZE (ufomerge-1.8.2.tar.gz) = 22540
diff --git a/print/py-ufomerge/pkg-descr b/print/py-ufomerge/pkg-descr
new file mode 100644
index 000000000000..7a5ff106a023
--- /dev/null
+++ b/print/py-ufomerge/pkg-descr
@@ -0,0 +1,8 @@
+ufomerge is a command line utility and Python library merges together two UFO
+source format fonts into a single file. It can be used to include glyphs from
+one font into another font. It takes care of handling:
+- Glyph outlines and information
+- Kerning
+- lib entries
+- Including any needed components
+- "Subsetting" and merging layout rules