summaryrefslogblamecommitdiff
path: root/user/py3-pluggy/APKBUILD
blob: a1e6d354b0c39c0865a5297609a7e94512e1137b (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.6.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-tox. Passes on x86_64
license="MIT"
depends="python3"
makedepends="python3-dev"
#checkdepends="py3-tox"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

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

check() {
	cd "$builddir"
	tox -e py36-pytestrelease
}

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

sha512sums="dd58dabe2e65eee64d62c8748c2bbd99457288e99b819eb12312f2acdb0740ac46fd08f83522bc992297b9f14eec14c216c2c9688580f68393bf6fc609e65812  py3-pluggy-0.6.0.tar.gz"