[arch-commits] Commit in python-fonttools/repos/community-x86_64 (PKGBUILD PKGBUILD)

Bruno Pagani archange at gemini.archlinux.org
Sat Jul 24 20:52:49 UTC 2021


    Date: Saturday, July 24, 2021 @ 20:52:48
  Author: archange
Revision: 984922

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   79 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 41 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-24 20:16:58 UTC (rev 984921)
+++ PKGBUILD	2021-07-24 20:52:48 UTC (rev 984922)
@@ -1,38 +0,0 @@
-# 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.25.1
-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-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/archive/${pkgver}/fonttools-${pkgver}.zip")
-sha512sums=('1192ff67948e9579cc22062f3b7c98cbf4e3c6dba1c0924440de0247d6ea5f5aabbeaccb3ce96487453778119562e16847f596093fb304eb7cd530177c39a1f5')
-
-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
-}

Copied: python-fonttools/repos/community-x86_64/PKGBUILD (from rev 984921, python-fonttools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-07-24 20:52:48 UTC (rev 984922)
@@ -0,0 +1,41 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Firmicus <firmicus āt gmx dōt net>
+# Contributor: flying sheep <flying-sheep at web.de>
+
+pkgname=python-fonttools
+pkgver=4.25.1
+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')
+source=("https://github.com/fonttools/fonttools/archive/$pkgver/fonttools-$pkgver.zip")
+sha512sums=('1192ff67948e9579cc22062f3b7c98cbf4e3c6dba1c0924440de0247d6ea5f5aabbeaccb3ce96487453778119562e16847f596093fb304eb7cd530177c39a1f5')
+
+build() {
+	cd "fonttools-$pkgver"
+	export PYTHONHASHSEED=0
+	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
+}



More information about the arch-commits mailing list