[arch-commits] Commit in python-fonttools/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 4 05:06:02 UTC 2019
Date: Monday, November 4, 2019 @ 05:05:58
Author: felixonmars
Revision: 523170
archrelease: copy trunk to community-staging-any
Added:
python-fonttools/repos/community-staging-any/
python-fonttools/repos/community-staging-any/PKGBUILD
(from rev 523169, python-fonttools/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: python-fonttools/repos/community-staging-any/PKGBUILD (from rev 523169, python-fonttools/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-11-04 05:05:58 UTC (rev 523170)
@@ -0,0 +1,35 @@
+# 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.0.2
+pkgrel=2
+pkgdesc="A library to manipulate font files from Python"
+url="https://github.com/fonttools/fonttools"
+license=("MIT")
+arch=('any')
+depends=("python")
+makedepends=("python-setuptools")
+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-sympy: for symbolic font statistics analysis"
+ "python-pyqt5: for drawing glyphs with Qt's QPainterPath"
+ "python-reportlab: to drawing glyphs as PNG images")
+source=("https://github.com/fonttools/fonttools/releases/download/${pkgver}/fonttools-${pkgver}.zip")
+sha256sums=('bb9bf6b5b4ded33e0d9f823e5ae2e1fa643af4d614915660abe3853a9a6931cd')
+
+build() {
+ cd "$srcdir"/fonttools-${pkgver}
+ 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