[arch-commits] Commit in python-fonttools/repos (2 files)
Andrzej Giniewicz
aginiewicz at archlinux.org
Sat Apr 4 13:05:15 UTC 2020
Date: Saturday, April 4, 2020 @ 13:05:15
Author: aginiewicz
Revision: 611577
archrelease: copy trunk to community-x86_64
Added:
python-fonttools/repos/community-x86_64/
python-fonttools/repos/community-x86_64/PKGBUILD
(from rev 611576, python-fonttools/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: python-fonttools/repos/community-x86_64/PKGBUILD (from rev 611576, python-fonttools/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2020-04-04 13:05:15 UTC (rev 611577)
@@ -0,0 +1,38 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+# Contributor: Firmicus <firmicus āt gmx dōt net>
+# Contributor: flying sheep <flying-sheep at web.de>
+
+pkgname=python-fonttools
+pkgver=4.7.0
+pkgrel=1
+pkgdesc="A library to manipulate font files from Python"
+url="https://github.com/fonttools/fonttools"
+license=("MIT")
+arch=('x86_64')
+depends=("python")
+makedepends=("cython")
+optdepends=("python-lxml: faster backend for XML files reading/writing"
+ "python-fs: to read/write UFO source files, "
+ "python-brotli: to compress/decompress WOFF 2.0 web fonts"
+ "python-zopfli: faster backend fom WOFF 1.0 web fonts compression"
+ "python-scipy: for finding wrong contour/component order between different masters"
+ "python-matplotlib: for visualizing DesignSpaceDocument and resulting VariationModel"
+ "python-unicodedata2: for displaying the Unicode character names when dumping the cmap table with ttx"
+ "python-sympy: for symbolic font statistics analysis"
+ "python-pyqt5: for drawing glyphs with Qt's QPainterPath"
+ "python-reportlab: to drawing glyphs as PNG images"
+ "python-lz4: for graphite type tables in ttLib/tables")
+source=("https://github.com/fonttools/fonttools/releases/download/${pkgver}/fonttools-${pkgver}.zip")
+sha256sums=('ce977f10f070752301e2d49ed822cfc860c881046d81c376fade1e6529b2046c')
+
+build() {
+ cd "$srcdir"/fonttools-${pkgver}
+ python setup.py build_ext --inplace
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir"/fonttools-${pkgver}
+ python setup.py install --skip-build --root="$pkgdir" --optimize=1
+ install -D -m755 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list