aboutsummaryrefslogblamecommitdiffstats
path: root/main/py3-attrs/APKBUILD
blob: bbd71049f11a12ab3a692f6246d5ceab3543c118 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                                     
                 

             



                                            

                            


                                                                                             

                                


                                                              
         



                              
                                                             


           
                                                               
 
            
                                                                                                                                                        

                                                                                                                                          
# Contributor: Jean-Louis Fuchs <jean-louis.fuchs@adfinis-sygroup.ch>
# Maintainer: Jean-Louis Fuchs <jean-louis.fuchs@adfinis-sygroup.ch>
pkgname=py3-attrs
pkgver=21.4.0
pkgrel=0
pkgdesc="Python classes without boilerplate"
url="http://www.attrs.org"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
source="py-attrs-$pkgver.tar.gz::https://github.com/python-attrs/attrs/archive/$pkgver.tar.gz
	check.py
	"
builddir="$srcdir/attrs-$pkgver"

replaces="py-attrs" # Backwards compatibility
provides="py-attrs=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

check() {
	PYTHONPATH="$builddir/src" python3 "$srcdir"/check.py
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="
aa45891f9beb00a2e03ae9326e0daa5789eb32164a1ee3a3fea618e2db30778d66bcce7f664134a99e1e45f7ee5040aa13ebc0d3d405acf57c580de6b35cfd76  py-attrs-21.4.0.tar.gz
36bcb4ec145f29e79fc019dc39672f13dc94e1c07225968af51f19e17b2aede0b23dafdff265f1e77a251e53af9802bcf1db5068900ee0a03e1bfc1051c01ef9  check.py
"