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



                                         
             



                                                       

                                                                       
             
                                        
                         


                                                                                                                    


                                    



                              
                                                                   


           


                                                               

                                                                                                                                                                      
# Contributor: Max Rees <maxcrees@me.com>
# Maintainer: Max Rees <maxcrees@me.com>
pkgname=py3-pluggy
_pkgname=pluggy
pkgver=0.12.0
pkgrel=0
pkgdesc="Plugin management and hook calling for Python"
url="https://pypi.python.org/pypi/pluggy"
arch="noarch"
options="!check"  # Cyclic dependency with py3-pytest. Passes on x86_64
# Certified net clean
license="MIT"
depends="python3 py3-importlib_metadata"
makedepends="python3-dev"
#checkdepends="py3-pytest"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz
	scm.patch"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	PYTHONPATH="$builddir/build/lib:$PYTHONPATH" pytest testing
}

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

sha512sums="a3a64caefc797334b73b0614e467613b99909037a62dcbfbb0cf917788ee8d12af4f43d7c371634ac6eb6f32a5aa08e51aa8179e70b5998d4d055cd7f535129f  py3-pluggy-0.12.0.tar.gz
7a5c4d3fe2d57b079c2589c2ca1b75d96ff2561cf5bfb7991b81828dd6de04f6b126633f248bb71a5f165174184792b5857f9c7678e694dd68e0ba2b1ffef627  scm.patch"