diff options
| author | Leo <thinkabit.ukim@gmail.com> | 2019-09-05 04:37:20 -0300 |
|---|---|---|
| committer | Leo <thinkabit.ukim@gmail.com> | 2019-09-05 04:37:20 -0300 |
| commit | 7217e881a6bcecb584dac9f844dc75fdf3448802 (patch) | |
| tree | 694cd7385acf3330fce81240fe947c9713821201 /testing/py3-fonttools | |
| parent | 795b172c6b7bdee6383835937fc9805479bbf196 (diff) | |
| download | aports-7217e881a6bcecb584dac9f844dc75fdf3448802.tar.bz2 aports-7217e881a6bcecb584dac9f844dc75fdf3448802.tar.xz | |
testing/py3-fonttools: upgrade to 4.0.0
Diffstat (limited to 'testing/py3-fonttools')
| -rw-r--r-- | testing/py3-fonttools/APKBUILD | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/testing/py3-fonttools/APKBUILD b/testing/py3-fonttools/APKBUILD index 8c658673fe..2a4c046167 100644 --- a/testing/py3-fonttools/APKBUILD +++ b/testing/py3-fonttools/APKBUILD @@ -2,15 +2,16 @@ # Maintainer: pkgname=py3-fonttools _pkgname=fonttools -pkgver=3.44.0 +pkgver=4.0.0 pkgrel=0 pkgdesc="Converts OpenType and TrueType fonts to and from XML" +options="!check" # Require unpackaged 'brotli' url="https://github.com/fonttools/fonttools" arch="noarch" license="MIT AND OFL-1.1" -depends="py3-numpy py3-setuptools" +depends="py3-setuptools py3-lxml py3-fs" checkdepends="py3-pytest" -subpackages="py-$_pkgname-doc" +subpackages="$pkgname-doc" source="$_pkgname-$pkgver.tar.gz::https://github.com/fonttools/fonttools/archive/$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" @@ -28,12 +29,17 @@ build() { } check() { - cd "$builddir"/build - py.test-3 + PYTHONPATH="$PWD/build/lib" py.test-3 } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } -sha512sums="ce390ccf69a4222ab8042f72c4e2495e39cb6907fafaea36f505407c7c6cca891d43374d648ae9f1a3119bfaeb1768b34f7c0340fad4fd158722cf2bfff425f7 fonttools-3.44.0.tar.gz" +doc() { + replaces="py-$_pkgname-doc" # Backwards compatibility + provides="py-$_pkgname-doc=$pkgver-r$pkgrel" # Backwards compatibility + default_doc +} + +sha512sums="6799ea2d4bca71358a2ab6443d45c17fdb674aaa74092ef2beb0006a28525ca896dab420624995c54cf878306c3e547acf153eecde8c58e3cde6f8e657bf451e fonttools-4.0.0.tar.gz" |
