svn commit: r524058 - in head/print: . py-fontbakery py-fontbakery/files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat Jan 25 18:18:02 UTC 2020
Author: sunpoet
Date: Sat Jan 25 18:18:00 2020
New Revision: 524058
URL: https://svnweb.freebsd.org/changeset/ports/524058
Log:
Add py-fontbakery 0.7.17
Font Bakery is a command-line tool for checking the quality of font projects.
WWW: https://github.com/googlefonts/fontbakery
Added:
head/print/py-fontbakery/
head/print/py-fontbakery/Makefile (contents, props changed)
head/print/py-fontbakery/distinfo (contents, props changed)
head/print/py-fontbakery/files/
head/print/py-fontbakery/files/patch-setup.py (contents, props changed)
head/print/py-fontbakery/pkg-descr (contents, props changed)
Modified:
head/print/Makefile
Modified: head/print/Makefile
==============================================================================
--- head/print/Makefile Sat Jan 25 18:17:55 2020 (r524057)
+++ head/print/Makefile Sat Jan 25 18:18:00 2020 (r524058)
@@ -178,6 +178,7 @@
SUBDIR += psutils
SUBDIR += py-font-v
SUBDIR += py-fontaine
+ SUBDIR += py-fontbakery
SUBDIR += py-fonttools
SUBDIR += py-fonttools3
SUBDIR += py-fpdf
Added: head/print/py-fontbakery/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/print/py-fontbakery/Makefile Sat Jan 25 18:18:00 2020 (r524058)
@@ -0,0 +1,39 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= fontbakery
+PORTVERSION= 0.7.17
+DISTVERSIONPREFIX= v
+CATEGORIES= print python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet at FreeBSD.org
+COMMENT= Well designed Font QA tool
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=0:www/py-beautifulsoup@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}defcon>=0:x11-fonts/py-defcon@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}font-v>=0:print/py-font-v@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}fonttools>=3.34:print/py-fonttools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}opentype-sanitizer>=7.1.9:x11-fonts/py-opentype-sanitizer@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}protobuf>=3.7.0:devel/py-protobuf@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}ttfautohint-py>=0:print/py-ttfautohint-py@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}ufolint>=0:x11-fonts/py-ufolint@${PY_FLAVOR}
+
+USES= python:3.6+
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+GH_ACCOUNT= googlefonts
+USE_GITHUB= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${WRKSRC}/setup.py
+
+.include <bsd.port.mk>
Added: head/print/py-fontbakery/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/print/py-fontbakery/distinfo Sat Jan 25 18:18:00 2020 (r524058)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1579945421
+SHA256 (googlefonts-fontbakery-v0.7.17_GH0.tar.gz) = e70c0b589227efcbcca3df242bfb8284a5f8b4dc889f483bcfdcd252252560b6
+SIZE (googlefonts-fontbakery-v0.7.17_GH0.tar.gz) = 15705230
Added: head/print/py-fontbakery/files/patch-setup.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/print/py-fontbakery/files/patch-setup.py Sat Jan 25 18:18:00 2020 (r524058)
@@ -0,0 +1,20 @@
+--- setup.py.orig 2019-12-21 04:47:47 UTC
++++ setup.py
+@@ -23,7 +23,7 @@ except IOError:
+
+ setup(
+ name="fontbakery",
+- use_scm_version={"write_to": "Lib/fontbakery/_version.py"},
++ use_scm_version={"fallback_version": "%%PORTVERSION%%", "write_to": "Lib/fontbakery/_version.py"},
+ url='https://github.com/googlefonts/fontbakery/',
+ description='Well designed Font QA tool, written in Python 3',
+ long_description=readme,
+@@ -72,7 +72,7 @@ setup(
+ 'ufolint',
+
+ ],
+- extras_requires={
++ extras_require={
+ 'docs': [
+ 'sphinx >= 1.4',
+ 'sphinx_rtd_theme',
Added: head/print/py-fontbakery/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/print/py-fontbakery/pkg-descr Sat Jan 25 18:18:00 2020 (r524058)
@@ -0,0 +1,3 @@
+Font Bakery is a command-line tool for checking the quality of font projects.
+
+WWW: https://github.com/googlefonts/fontbakery
More information about the svn-ports-head
mailing list