Date: Tuesday, September 14, 2021 @ 21:58:14 Author: alerque Revision: 1014955
archrelease: copy trunk to community-x86_64 Added: python-fonttools/repos/community-x86_64/PKGBUILD (from rev 1014954, python-fonttools/trunk/PKGBUILD) Deleted: python-fonttools/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 89 +++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 49 insertions(+), 40 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-09-14 21:57:36 UTC (rev 1014954) +++ PKGBUILD 2021-09-14 21:58:14 UTC (rev 1014955) @@ -1,40 +0,0 @@ -# Maintainer: Andrzej Giniewicz <ggi...@gmail.com> -# Maintainer: Caleb Maclennan <ca...@alerque.com> -# Contributor: Firmicus <firmicus āt gmx dōt net> -# Contributor: flying sheep <flying-sh...@web.de> - -pkgname=python-fonttools -pkgver=4.27.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' - '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=('e7c1b2dea4ffb2cb54cc9037d6252fd0362370d9675891b950cfae753d05e327') - -build() { - cd "fonttools-$pkgver" - python setup.py build_ext --inplace - python setup.py build -} - -package() { - cd "fonttools-$pkgver" - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -Dm0755 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE -} Copied: python-fonttools/repos/community-x86_64/PKGBUILD (from rev 1014954, python-fonttools/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-09-14 21:58:14 UTC (rev 1014955) @@ -0,0 +1,49 @@ +# Maintainer: Andrzej Giniewicz <ggi...@gmail.com> +# Maintainer: Caleb Maclennan <ca...@alerque.com> +# Contributor: Firmicus <firmicus āt gmx dōt net> +# Contributor: flying sheep <flying-sh...@web.de> + +pkgname=python-fonttools +pkgver=4.27.0 +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') +checkdepends=('python-brotli' + 'python-fs' + 'python-pytest' + 'python-ufolib2') +source=("https://github.com/fonttools/fonttools/archive/$pkgver/fonttools-$pkgver.zip") +sha256sums=('e7c1b2dea4ffb2cb54cc9037d6252fd0362370d9675891b950cfae753d05e327') + +build() { + cd "fonttools-$pkgver" + python setup.py build_ext --inplace + python setup.py build +} + +check() { + cd "fonttools-$pkgver" + PYTHONPATH=Lib pytest +} + +package() { + cd "fonttools-$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 --skip-build + install -Dm0755 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE +}