summaryrefslogtreecommitdiff
path: root/user/py3-attrs/APKBUILD
blob: 5d3e04b204937aff28b681a111ab5c3dbc4f1c10 (plain) (blame)
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
29
30
# Contributor: Jean-Louis Fuchs <ganwell@fangorn.ch>
# Maintainer: Max Rees <maxcrees@me.com>
pkgname=py3-attrs
pkgver=19.2.0
pkgrel=0
pkgdesc="Python classes without boilerplate"
url="https://www.attrs.org"
arch="noarch"
options="!check"  # Circular dependency with py3-pytest. Passes on x86_64
# Certified net clean
license="MIT"
depends="python3"
makedepends="python3-dev"
#checkdepends="py3-pytest py3-hypothesis py3-six py3-zope-interface"
source="$pkgname-$pkgver.tar.gz::https://github.com/python-attrs/attrs/archive/$pkgver.tar.gz"
builddir="$srcdir/attrs-$pkgver"

build() {
	python3 setup.py build
}

check() {
	pytest
}

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

sha512sums="f7ad98edaf685e7ab85c26a93ab310d82e48927a64694a6fa947d110f6623103335a42e335ed9fd1d2bc61504e60ef8e8d0733603c980bf2c6c157f3429e8875  py3-attrs-19.2.0.tar.gz"