summaryrefslogblamecommitdiff
path: root/user/py3-attrs/APKBUILD
blob: bd923750fbe3d9b8f3711ed129672e02512ca64b (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=19.3.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="f050ff707cb95f0639b239435b65dacc164a540b5a456d27be5f47615ee7a860ae38096cd16769b0d07fe8e5e952ccaa5af0eb0aafb5166421f9eb3edf248425  py3-attrs-19.3.0.tar.gz"