ports/print/py-fontaine/files/patch-setup.py
Sunpoet Po-Chuan Hsieh 16c6eb52ca 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
2019-12-08 16:49:37 +00:00

11 lines
475 B
Python

--- 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,