Date: Thursday, April 6, 2023 @ 01:49:43
  Author: felixonmars
Revision: 1438032

archrelease: copy trunk to community-staging-x86_64

Added:
  python-fonttools/repos/community-staging-x86_64/
  python-fonttools/repos/community-staging-x86_64/PKGBUILD
    (from rev 1438031, python-fonttools/trunk/PKGBUILD)

----------+
 PKGBUILD |   52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)

Copied: python-fonttools/repos/community-staging-x86_64/PKGBUILD (from rev 
1438031, python-fonttools/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2023-04-06 01:49:43 UTC (rev 1438032)
@@ -0,0 +1,52 @@
+# Maintainer: Andrzej Giniewicz <[email protected]>
+# Maintainer: Caleb Maclennan <[email protected]>
+# Contributor: Firmicus <firmicus āt gmx dōt net>
+# Contributor: flying sheep <[email protected]>
+
+pkgname=python-fonttools
+_pyname=${pkgname#python-}
+pkgver=4.39.3
+pkgrel=2
+pkgdesc='A library to manipulate font files from Python'
+url="https://github.com/fonttools/$_pyname";
+license=('MIT')
+arch=('x86_64')
+depends=('python')
+makedepends=('cython'
+             'python-'{build,installer}
+             'python-setuptools'
+             'python-wheel')
+checkdepends=('python-brotli'
+              'python-fs'
+              'python-pytest'
+              'python-ufolib2')
+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-uharfbuzz: to use the Harfbuzz Repacker for packing 
GSUB/GPOS tables'
+            '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=("$url/archive/$pkgver/$_pyname-$pkgver.tar.gz")
+sha256sums=('977f1da078771abe51db0f6485dada952d9e87ad62612152eb0e66d520479cc4')
+
+build() {
+       cd "$_pyname-$pkgver"
+       python -m build -wn
+}
+
+check() {
+       cd "$_pyname-$pkgver"
+       PYTHONPATH=Lib pytest
+}
+
+package() {
+       cd "$_pyname-$pkgver"
+       python -m installer -d "$pkgdir" dist/*.whl
+       install -Dm0755 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
+}

Reply via email to