Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Dec 2019 16:49:37 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r519321 - in head/print: . py-fontaine py-fontaine/files
Message-ID:  <201912081649.xB8Gnbia054669@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Dec  8 16:49:37 2019
New Revision: 519321
URL: https://svnweb.freebsd.org/changeset/ports/519321

Log:
  Add py-fontaine 1.4.0
  
  pyfontaine analyses fonts for their language and character/glyph-set support.
  
  It has a straightforward pythonic set definition format in the internals
  directory.
  
  Additional definitions are downloaded from the Extensis, font-config and Unicode
  websites during installation, and can be updated without reinstalling.
  
  Adding your own definitions is easy. All files in the internals directory are
  auto-detected, so just add definition files there.
  
  WWW: https://github.com/googlefonts/pyfontaine

Added:
  head/print/py-fontaine/
  head/print/py-fontaine/Makefile   (contents, props changed)
  head/print/py-fontaine/distinfo   (contents, props changed)
  head/print/py-fontaine/files/
  head/print/py-fontaine/files/patch-setup.py   (contents, props changed)
  head/print/py-fontaine/pkg-descr   (contents, props changed)
Modified:
  head/print/Makefile

Modified: head/print/Makefile
==============================================================================
--- head/print/Makefile	Sun Dec  8 16:49:31 2019	(r519320)
+++ head/print/Makefile	Sun Dec  8 16:49:37 2019	(r519321)
@@ -181,6 +181,7 @@
     SUBDIR += pslib
     SUBDIR += pstotext
     SUBDIR += psutils
+    SUBDIR += py-fontaine
     SUBDIR += py-fonttools
     SUBDIR += py-fpdf
     SUBDIR += py-pdf

Added: head/print/py-fontaine/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/print/py-fontaine/Makefile	Sun Dec  8 16:49:37 2019	(r519321)
@@ -0,0 +1,35 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	fontaine
+PORTVERSION=	1.4.0
+CATEGORIES=	print python
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Font analysis tool for determining character/glyph support
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}fonttools>=0:print/py-fonttools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pyicu>=0:devel/py-pyicu@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}tabulate>=0:devel/py-tabulate@${PY_FLAVOR}
+
+USES=		python:3.6+
+USE_PYTHON=	autoplist distutils
+
+NO_ARCH=	yes
+
+GH_ACCOUNT=	googlefonts
+GH_PROJECT=	pyfontaine
+GH_TUPLE=	freedesktop:fontconfig:2.12.6:freedesktop_fontconfig/fontaine/charsets/fontconfig
+USE_GITHUB=	yes
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${WRKSRC}/setup.py
+
+.include <bsd.port.mk>

Added: head/print/py-fontaine/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/print/py-fontaine/distinfo	Sun Dec  8 16:49:37 2019	(r519321)
@@ -0,0 +1,5 @@
+TIMESTAMP = 1575793789
+SHA256 (googlefonts-pyfontaine-1.4.0_GH0.tar.gz) = 92215da45fed003032e5849e3d0917aaae9024e255affe9d28c67aed0223f11e
+SIZE (googlefonts-pyfontaine-1.4.0_GH0.tar.gz) = 5209007
+SHA256 (freedesktop-fontconfig-2.12.6_GH0.tar.gz) = 4f6ce7c5703a2b70904afb54d87c25745feb3a306d0c0d58aa21f5033516f2ee
+SIZE (freedesktop-fontconfig-2.12.6_GH0.tar.gz) = 479859

Added: head/print/py-fontaine/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/print/py-fontaine/files/patch-setup.py	Sun Dec  8 16:49:37 2019	(r519321)
@@ -0,0 +1,11 @@
+--- setup.py.orig	2019-10-18 01:03:28 UTC
++++ setup.py
+@@ -19,7 +19,7 @@ with open("README.rst", 'r', encoding='u
+     readme = readme_file.read()
+ 
+ setup(name='fontaine',
+-      use_scm_version={"write_to": "fontaine/_version.py"},
++      use_scm_version={"fallback_version": "%%PORTVERSION%%", "write_to": "fontaine/_version.py"},
+       description='Font analysis tool for determining character/glyph support',
+       license="GNU GPLv3",
+       long_description=readme,

Added: head/print/py-fontaine/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/print/py-fontaine/pkg-descr	Sun Dec  8 16:49:37 2019	(r519321)
@@ -0,0 +1,12 @@
+pyfontaine analyses fonts for their language and character/glyph-set support.
+
+It has a straightforward pythonic set definition format in the internals
+directory.
+
+Additional definitions are downloaded from the Extensis, font-config and Unicode
+websites during installation, and can be updated without reinstalling.
+
+Adding your own definitions is easy. All files in the internals directory are
+auto-detected, so just add definition files there.
+
+WWW: https://github.com/googlefonts/pyfontaine



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912081649.xB8Gnbia054669>