git: 1aac40e10548 - main - x11-fonts/py-axisregistry: Add py-axisregistry 0.2.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 09 Jun 2022 23:19:29 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=1aac40e105487d455e133f3b1a7d69899e5ab390 commit 1aac40e105487d455e133f3b1a7d69899e5ab390 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-06-09 23:09:43 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-06-09 23:16:00 +0000 x11-fonts/py-axisregistry: Add py-axisregistry 0.2.0 This package contains a collection of metadata source files that collectively form the Google Fonts Axis Registry. The live Axis Registry is at fonts.google.com/variablefonts, and axis definitions are only final when they appear on that page. WWW: https://github.com/googlefonts/axisregistry --- x11-fonts/Makefile | 1 + x11-fonts/py-axisregistry/Makefile | 23 +++++++++++++++++++++++ x11-fonts/py-axisregistry/distinfo | 3 +++ x11-fonts/py-axisregistry/files/patch-setup.py | 11 +++++++++++ x11-fonts/py-axisregistry/pkg-descr | 7 +++++++ 5 files changed, 45 insertions(+) diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile index b9e14c5cbe19..2aaa803093bc 100644 --- a/x11-fonts/Makefile +++ b/x11-fonts/Makefile @@ -215,6 +215,7 @@ SUBDIR += psftools SUBDIR += py-QtAwesome SUBDIR += py-afdko + SUBDIR += py-axisregistry SUBDIR += py-babelfont SUBDIR += py-bdflib SUBDIR += py-booleanOperations diff --git a/x11-fonts/py-axisregistry/Makefile b/x11-fonts/py-axisregistry/Makefile new file mode 100644 index 000000000000..facecaa51660 --- /dev/null +++ b/x11-fonts/py-axisregistry/Makefile @@ -0,0 +1,23 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> + +PORTNAME= axisregistry +PORTVERSION= 0.2.0 +CATEGORIES= x11-fonts python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Python API to access data from the Google Fonts variable fonts axis registry + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=4:devel/py-setuptools_scm@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}protobuf>=0,1:devel/py-protobuf@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/x11-fonts/py-axisregistry/distinfo b/x11-fonts/py-axisregistry/distinfo new file mode 100644 index 000000000000..3484f427b530 --- /dev/null +++ b/x11-fonts/py-axisregistry/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1654774050 +SHA256 (axisregistry-0.2.0.tar.gz) = 561e4b81cc4703afaf4d3cb99771728f1b4b567af2766d008c2b6dbe077efb0d +SIZE (axisregistry-0.2.0.tar.gz) = 15996 diff --git a/x11-fonts/py-axisregistry/files/patch-setup.py b/x11-fonts/py-axisregistry/files/patch-setup.py new file mode 100644 index 000000000000..46e2607e0221 --- /dev/null +++ b/x11-fonts/py-axisregistry/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2022-03-04 09:40:48 UTC ++++ setup.py +@@ -45,7 +45,7 @@ setup( + 'Programming Language :: Python :: 3' + ], + python_requires=">=3.7", +- setup_requires=['setuptools_scm>=4,<6.1'], ++ setup_requires=['setuptools_scm>=4'], + install_requires=[ + 'protobuf' + ] diff --git a/x11-fonts/py-axisregistry/pkg-descr b/x11-fonts/py-axisregistry/pkg-descr new file mode 100644 index 000000000000..8d1199555cef --- /dev/null +++ b/x11-fonts/py-axisregistry/pkg-descr @@ -0,0 +1,7 @@ +This package contains a collection of metadata source files that collectively +form the Google Fonts Axis Registry. + +The live Axis Registry is at fonts.google.com/variablefonts, and axis +definitions are only final when they appear on that page. + +WWW: https://github.com/googlefonts/axisregistry