diff options
| author | Leo <thinkabit.ukim@gmail.com> | 2020-01-04 00:11:56 +0100 |
|---|---|---|
| committer | Leo <thinkabit.ukim@gmail.com> | 2020-01-04 01:09:03 +0100 |
| commit | 62d29b89236710db0fcbe0ecffe62957e2bc9c57 (patch) | |
| tree | 85e7edd99c4da102f8836b2c142226ec1ddd8f1a /testing | |
| parent | 696b0ed24b3b16b19876cc37cd346099626ef382 (diff) | |
| download | aports-62d29b89236710db0fcbe0ecffe62957e2bc9c57.tar.bz2 aports-62d29b89236710db0fcbe0ecffe62957e2bc9c57.tar.xz | |
testing/py3-ufo2ft: new aport
https://github.com/googlefonts/ufo2ft
bridge from UFOs to FontTools objects
Diffstat (limited to 'testing')
| -rw-r--r-- | testing/py3-ufo2ft/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/py3-ufo2ft/APKBUILD b/testing/py3-ufo2ft/APKBUILD new file mode 100644 index 0000000000..dcf59fddde --- /dev/null +++ b/testing/py3-ufo2ft/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Leo <thinkabit.ukim@gmail.com> +# Maintainer: Leo <thinkabit.ukim@gmail.com> +pkgname=py3-ufo2ft +pkgver=2.11.1 +pkgrel=0 +pkgdesc="bridge from UFOs to FontTools objects" +options="!check" # Requires unpackaged 'pathops' +url="https://github.com/googlefonts/ufo2ft" +arch="noarch" +license="MIT" +depends="python3 py3-fonttools py3-defcon py3-cu2qu py3-compreffor + py3-booleanoperations py3-ufolib2" +makedepends="py3-setuptools" +checkdepends="py3-pytest" +source="$pkgname-$pkgver.tar.gz::https://github.com/googlefonts/ufo2ft/archive/v$pkgver.tar.gz" +builddir="$srcdir/ufo2ft-$pkgver" + +build() { + git init + python3 setup.py build +} + +check() { + PYTHONPATH="$PWD/build/lib" pytest-3 +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="b1c9f3f3532fc1682b56456aa32046cc33902a17c1d9f0d71584377abc501707aad1f431abdeec8f76c419deb5cfcc52a0cf55fe7f1f6935e596c4acd527604e py3-ufo2ft-2.11.1.tar.gz" |
