mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-22 18:55:29 +03:00
32 lines
1,009 B
Text
32 lines
1,009 B
Text
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py3-update-checker
|
|
_pyname=update_checker
|
|
pkgver=0.18.0
|
|
pkgrel=1
|
|
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"
|
|
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 --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="ab77b4904f27fc3a4f382dda08cf86fceedc6fa1c6a1f2b1d6ea42688f95ea1fbef4168d69233aec4a489d9ff7f93af60e8f1bf62854aa4d2f54136c540d26f1 update_checker-0.18.0.tar.gz"
|