Date: Tuesday, March 7, 2023 @ 20:27:27
  Author: alerque
Revision: 1416745

Initial add of python-mutatormath, optdepends of python-fonttools

Added:
  python-mutatormath/
  python-mutatormath/repos/
  python-mutatormath/trunk/
  python-mutatormath/trunk/PKGBUILD

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

Added: python-mutatormath/trunk/PKGBUILD
===================================================================
--- python-mutatormath/trunk/PKGBUILD                           (rev 0)
+++ python-mutatormath/trunk/PKGBUILD   2023-03-07 20:27:27 UTC (rev 1416745)
@@ -0,0 +1,37 @@
+# Maintainer: Caleb Maclennan <[email protected]>
+# Contributor: Guillaume Horel <[email protected]>
+# Contributor: William Turner <[email protected]>
+
+pkgname=python-mutatormath
+_pkgname=MutatorMath
+pkgver=3.0.1
+pkgrel=3
+pkgdesc='Piecewise linear interpolation of multiple, arbitrarily placed, 
masters'
+arch=(any)
+url="https://github.com/LettError/$_pkgname";
+license=(BSD)
+depends=(python
+         python-defcon
+         python-fontmath
+         python-fonttools)
+makedepends=(python-{build,installer,wheel}
+             python-setuptools)
+_archive="$_pkgname-$pkgver"
+source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_archive.zip";)
+sha256sums=('8127c1ffad1646f11a953752296c43f5d88cbd5293fff03f093d916b0bc13864')
+
+build() {
+       cd "$_archive"
+       python -m build -wn
+}
+
+check() {
+       cd "$_archive"
+       python -m unittest discover
+}
+
+package() {
+       cd "$_archive"
+       python -m installer -d "$pkgdir" dist/*.whl
+       install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
+}

Reply via email to