Date: Thursday, March 10, 2022 @ 12:03:39 Author: alerque Revision: 1145939
archrelease: copy trunk to community-x86_64 Added: python-fonttools/repos/community-x86_64/PKGBUILD (from rev 1145938, python-fonttools/trunk/PKGBUILD) Deleted: python-fonttools/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 101 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 51 insertions(+), 50 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-03-10 12:03:26 UTC (rev 1145938) +++ PKGBUILD 2022-03-10 12:03:39 UTC (rev 1145939) @@ -1,50 +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 -_pyname=${pkgname#python-} -pkgver=4.29.1 -pkgrel=1 -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-setuptools') -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-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=('db2ec36d9d202af630be1e0cf05108afd8eda5aa66b82957e3ed75065d3e2cdd') - -build() { - cd "$_pyname-$pkgver" - python setup.py build_ext --inplace - python setup.py build -} - -check() { - cd "$_pyname-$pkgver" - PYTHONPATH=Lib pytest -} - -package() { - cd "$_pyname-$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 1145938, python-fonttools/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-03-10 12:03:39 UTC (rev 1145939) @@ -0,0 +1,51 @@ +# 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 +_pyname=${pkgname#python-} +pkgver=4.30.0 +pkgrel=1 +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-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=('8ef987d58a5ba77d8f39842a418183ec3d6685b652418dc63c867a1fa31fb042') + +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 +}