# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py3-update-checker _pyname=update_checker pkgver=0.18.0 pkgrel=4 pkgdesc="A python module that will check for package updates" options="!check" # 4 tests fail url="https://github.com/bboe/update_checker" arch="noarch" license="BSD-2-Clause" depends="python3 py3-requests" makedepends="py3-setuptools" subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/u/$_pyname/$_pyname-$pkgver.tar.gz" builddir="$srcdir/$_pyname-$pkgver" replaces="py-update-checker" # Backwards compatibility provides="py-update-checker=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums="ab77b4904f27fc3a4f382dda08cf86fceedc6fa1c6a1f2b1d6ea42688f95ea1fbef4168d69233aec4a489d9ff7f93af60e8f1bf62854aa4d2f54136c540d26f1 update_checker-0.18.0.tar.gz"