aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-06-09 23:09:43 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-06-09 23:16:00 +0000
commit1aac40e105487d455e133f3b1a7d69899e5ab390 (patch)
treed0fce776a74ff5337f346a5a8ae5202ab482876f
parentaa311234cd43e46a3a6db6775775b02678efde94 (diff)
downloadports-1aac40e105487d455e133f3b1a7d69899e5ab390.tar.gz
ports-1aac40e105487d455e133f3b1a7d69899e5ab390.zip
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
-rw-r--r--x11-fonts/Makefile1
-rw-r--r--x11-fonts/py-axisregistry/Makefile23
-rw-r--r--x11-fonts/py-axisregistry/distinfo3
-rw-r--r--x11-fonts/py-axisregistry/files/patch-setup.py11
-rw-r--r--x11-fonts/py-axisregistry/pkg-descr7
5 files changed, 45 insertions, 0 deletions
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