blob: cc0bdb02f9a9625ba0961e363520305a8ceccf84 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=py3-pyzabbix
pkgver=0.7.5
pkgrel=1
pkgdesc="Library to interact with the Zabbix API"
url="https://github.com/lukecyca/pyzabbix"
arch="noarch"
license="LGPL-2.1-or-later"
depends="python3 py3-requests"
makedepends="python3-dev py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/lukecyca/pyzabbix/archive/$pkgver.tar.gz"
builddir="$srcdir/${pkgname#py3-}-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="35abf80c24ff61f583aa630bd392fdb88578916e6c0d16f530ac9c280f45ab4e405fb705b12ef26a32ec69abf341095572099056d84230078b429e8396ac0ad3 py3-pyzabbix-0.7.5.tar.gz"
|