aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2019-06-20 16:37:39 +0300
committerprspkt <prspkt@protonmail.com>2019-06-20 17:13:53 +0300
commit62404f707a5633a350fb16d5e6cb18bcfae9e831 (patch)
treef21c36e5c3cb8a4212a6b118905ba10a2e471fbd
parentac6be940f7c6acba28f8c19cd47331715db53823 (diff)
downloadaports-62404f707a5633a350fb16d5e6cb18bcfae9e831.tar.bz2
aports-62404f707a5633a350fb16d5e6cb18bcfae9e831.tar.xz
testing/py3-fonttools: clarify license, modernize
-rw-r--r--testing/py3-fonttools/APKBUILD13
1 files changed, 5 insertions, 8 deletions
diff --git a/testing/py3-fonttools/APKBUILD b/testing/py3-fonttools/APKBUILD
index 3bc27a398a..10d35c8f31 100644
--- a/testing/py3-fonttools/APKBUILD
+++ b/testing/py3-fonttools/APKBUILD
@@ -7,24 +7,21 @@ pkgrel=2
pkgdesc="Converts OpenType and TrueType fonts to and from XML"
url="https://github.com/fonttools/fonttools"
arch="noarch"
-license="BSD"
+license="MIT AND OFL-1.1"
depends="py3-numpy py3-setuptools"
-install=""
subpackages="py-$_pkgname-doc"
-source="py-fonttools-$pkgver.tar.gz::https://github.com/fonttools/fonttools/archive/$pkgver.tar.gz"
-builddir="$srcdir/fonttools-$pkgver"
+source="$_pkgname-$pkgver.tar.gz::https://github.com/fonttools/fonttools/archive/$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
replaces="py-fonttools" # Backwards compatibility
provides="py-fonttools=$pkgver-r$pkgrel" # Backwards compatibility
build() {
- cd "$builddir"
- python3 setup.py build || return 1
+ python3 setup.py build
}
package() {
- cd "$builddir"
- python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="64ee4043f35cae39b0d4a00a5445dffa5afebda9c5571f204b909f91d640bc07c7a3c464430da3b9d36e1c9dd2fd14ae547db48cc00cc5b0da39099cb4d7cbb9 py-fonttools-3.21.2.tar.gz"