aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-ufolib2
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-01-04 18:11:24 +0100
committerRasmus Thomsen <oss@cogitri.dev>2020-01-04 22:29:56 +0100
commitae427a18b9079bd5ec332a935a8dfcd68c281156 (patch)
treecc1e7cd6002363ef29c5c98989af9cb0b72035e1 /community/py3-ufolib2
parent715bf0e98aed73d433e14067f7a2a7ae701bd42c (diff)
downloadaports-ae427a18b9079bd5ec332a935a8dfcd68c281156.tar.bz2
aports-ae427a18b9079bd5ec332a935a8dfcd68c281156.tar.xz
community/py3-ufolib2: move from testing
Diffstat (limited to 'community/py3-ufolib2')
-rw-r--r--community/py3-ufolib2/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/py3-ufolib2/APKBUILD b/community/py3-ufolib2/APKBUILD
new file mode 100644
index 0000000000..a579e385e9
--- /dev/null
+++ b/community/py3-ufolib2/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Leo <thinkabit.ukim@gmail.com>
+# Maintainer: Leo <thinkabit.ukim@gmail.com>
+pkgname=py3-ufolib2
+pkgver=0.5.1
+pkgrel=0
+pkgdesc="UFO font library"
+url="https://github.com/fonttools/ufoLib2"
+arch="noarch"
+license="Apache-2.0"
+depends="python3 py3-attrs py3-fonttools"
+makedepends="py3-setuptools"
+checkdepends="py3-pytest py3-pytest-cov"
+source="$pkgname-$pkgver.tar.gz::https://github.com/fonttools/ufoLib2/archive/v$pkgver.tar.gz"
+builddir="$srcdir/ufoLib2-$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="6fbdc657482151626fc03a947de119c9fba777bd65eea237ce507ac90907b7eff7256d7b3d833f1d8cacdfa622ca448c530700027ef6a8668a2433d53709ff91 py3-ufolib2-0.5.1.tar.gz"