aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-cattrs/APKBUILD
blob: eb9b23b287b1eea529bd4d7cee893dc50521808c (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
26
27
28
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=py3-cattrs
pkgver=1.0.0
pkgrel=0
pkgdesc="Complex custom class converters for attrs"
url="https://github.com/Tinche/cattrs"
arch="noarch"
license="MIT"
depends="python3 py3-attrs"
makedepends="py3-setuptools"
options="!check" # loads of missing deps
source="https://files.pythonhosted.org/packages/source/c/cattrs/cattrs-$pkgver.tar.gz"
builddir="$srcdir/cattrs-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="b803f4d44680be4c7fd55b5794e0d828e0c4dd7317dca213eb08299a446a2124ad5c4767e0fdbb3e19aadf9706151306d5692d3addc6ee233a8fef0d4cccc5ae  cattrs-1.0.0.tar.gz"