aboutsummaryrefslogtreecommitdiff
path: root/community/py3-defcon/APKBUILD
blob: e91e74b6d5cb1e42efbf1200c50a19be259af50f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=py3-defcon
pkgver=0.7.0
pkgrel=0
pkgdesc="Flexible objects for represnting UFO data"
options="!check" # Requires unpackaged FontPens
url="https://pypi.org/project/defcon/"
arch="noarch"
license="MIT"
depends="python3 py3-fonttools"
makedepends="py3-setuptools"
source="https://pypi.org/packages/source/d/defcon/defcon-$pkgver.zip"
builddir="$srcdir/defcon-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
	rm -rf "$pkgdir"/usr/lib/python3*/site-packages/defcon/test
}

sha512sums="763b84690ee33d08a930b806fb3bb73bfc8ea83f7d02d114cf63375e4daade92e6c3ac933f18035befece34304a7c15c5b2264eb4d6689e9e8b5ed265bcfd648  defcon-0.7.0.zip"