# Maintainer: GI_Jack pkgname=python-travispy _pypiname=travispy pkgver=0.3.5 pkgrel=2 pkgdesc="TravisPy is a Python API for Travis CI. It follows the official API and is implemented as similar as possible to Ruby implementation." url="https://github.com/menegazzo/travispy" arch=('any') license=('GPLv3') depends=('python-coverage' 'python-pytest' 'python-pytest-rerunfailures' 'python-requests') makedepends=('python-build' 'python-installer' 'python-wheel') source=(${_pypiname}-${pkgver}.tar.gz::"https://github.com/menegazzo/travispy/archive/v${pkgver}.tar.gz") sha256sums=('85293ac89d2cea0244c2a9cb64e447096993ac53fa41cc3ab8ae18d6a4d575b0') build() { cd "${_pypiname}-${pkgver}" python -m build --wheel --no-isolation } package() { cd "${_pypiname}-${pkgver}" python -m installer --destdir="${pkgdir}" dist/*.whl }