mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-01 23:01:35 +01:00
42 lines
1.2 KiB
Plaintext
42 lines
1.2 KiB
Plaintext
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py-update-checker
|
|
_pkgname=update_checker
|
|
pkgver=0.10
|
|
pkgrel=0
|
|
pkgdesc="A python module that will check for package updates"
|
|
url="https://github.com/bboe/update_checker"
|
|
arch="noarch"
|
|
license="BSD"
|
|
depends="python"
|
|
depends_dev=""
|
|
makedepends="python-dev py-setuptools"
|
|
install=""
|
|
subpackages=""
|
|
source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
|
|
|
_builddir="$srcdir"/$_pkgname-$pkgver
|
|
prepare() {
|
|
local i
|
|
cd "$_builddir"
|
|
for i in $source; do
|
|
case $i in
|
|
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
|
esac
|
|
done
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
python setup.py build || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
|
|
}
|
|
|
|
md5sums="d890a78d7a9a50464ed243de265fb390 update_checker-0.10.tar.gz"
|
|
sha256sums="bc1a764c9f064f36ccb6b488c11196c6abdd4b95264458906e66539f51c9e71b update_checker-0.10.tar.gz"
|
|
sha512sums="b9cdff39fc244f56663de8882f3794811d8357b87b8b3b81445ca6aa51eadd1bda433fab3f52d218a72494403c4ab8dfe8eedf9e6b8c4ea5218f86f0a6e0a712 update_checker-0.10.tar.gz"
|