mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
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
This commit is contained in:
parent
1f75530f6c
commit
16c6eb52ca
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=519321
@ -181,6 +181,7 @@
|
||||
SUBDIR += pslib
|
||||
SUBDIR += pstotext
|
||||
SUBDIR += psutils
|
||||
SUBDIR += py-fontaine
|
||||
SUBDIR += py-fonttools
|
||||
SUBDIR += py-fpdf
|
||||
SUBDIR += py-pdf
|
||||
|
35
print/py-fontaine/Makefile
Normal file
35
print/py-fontaine/Makefile
Normal file
@ -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>
|
5
print/py-fontaine/distinfo
Normal file
5
print/py-fontaine/distinfo
Normal file
@ -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
|
11
print/py-fontaine/files/patch-setup.py
Normal file
11
print/py-fontaine/files/patch-setup.py
Normal file
@ -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,
|
12
print/py-fontaine/pkg-descr
Normal file
12
print/py-fontaine/pkg-descr
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user