summaryrefslogblamecommitdiff
path: root/user/py3-attrs/APKBUILD
blob: ec2bb62c3b1f3503cb9acb1fa9e2747e9fd0bc42 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                    
                                                                         
                     


                         

                                                                                              








                                
              







                                                                                                                                                                      
# Contributor: Jean-Louis Fuchs <ganwell@fangorn.ch>
# Maintainer: Max Rees <maxcrees@me.com>
pkgname=py3-attrs
pkgver=18.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"
source="$pkgname-$pkgver.tar.gz::https://github.com/python-attrs/attrs/archive/$pkgver.tar.gz"
builddir="$srcdir/attrs-$pkgver"

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
	cd "$builddir"
	pytest
}

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

sha512sums="01bcd8d492f0b7e64ae42e311b0e443d2b365d98021d8c15f8003da084f48cd20456c12defd734d3386979bb69ac2bebafa1d14692c6dad69b084929992b2c2d  py3-attrs-18.2.0.tar.gz"