[arch-commits] Commit in python-fonttools/repos (2 files)
Caleb Maclennan
alerque at gemini.archlinux.org
Thu Aug 19 00:20:03 UTC 2021
Date: Thursday, August 19, 2021 @ 00:20:03
Author: alerque
Revision: 1003710
archrelease: copy trunk to community-testing-x86_64
Added:
python-fonttools/repos/community-testing-x86_64/
python-fonttools/repos/community-testing-x86_64/PKGBUILD
(from rev 1003709, python-fonttools/trunk/PKGBUILD)
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Copied: python-fonttools/repos/community-testing-x86_64/PKGBUILD (from rev 1003709, python-fonttools/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2021-08-19 00:20:03 UTC (rev 1003710)
@@ -0,0 +1,41 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Firmicus <firmicus āt gmx dōt net>
+# Contributor: flying sheep <flying-sheep at web.de>
+
+pkgname=python-fonttools
+pkgver=4.26.2
+pkgrel=2
+pkgdesc='A library to manipulate font files from Python'
+url='https://github.com/fonttools/fonttools'
+license=('MIT')
+arch=('x86_64')
+depends=('python')
+makedepends=('cython'
+ 'python-setuptools')
+optdepends=('python-brotli: to compress/decompress WOFF 2.0 web fonts'
+ 'python-fs: to read/write UFO source files'
+ 'python-lxml: faster backend for XML files reading/writing'
+ 'python-lz4: for graphite type tables in ttLib/tables'
+ 'python-matplotlib: for visualizing DesignSpaceDocument and resulting VariationModel'
+ 'python-pyqt5: for drawing glyphs with Qt’s QPainterPath'
+ 'python-reportlab: to drawing glyphs as PNG images'
+ 'python-scipy: for finding wrong contour/component order between different masters'
+ 'python-sympy: for symbolic font statistics analysis'
+ 'python-unicodedata2: for displaying the Unicode character names when dumping the cmap table with ttx'
+ 'python-zopfli: faster backend fom WOFF 1.0 web fonts compression')
+source=("https://github.com/fonttools/fonttools/archive/$pkgver/fonttools-$pkgver.zip")
+sha256sums=('343de533d4780d34ac8d7138dc933550064c9d54a4afded01180e57000381040')
+
+build() {
+ cd "fonttools-$pkgver"
+ python setup.py build_ext --inplace
+ python setup.py build
+}
+
+package() {
+ cd "fonttools-$pkgver"
+ local PYTHONHASHSEED=0
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ install -Dm0755 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
+}
More information about the arch-commits
mailing list