[arch-commits] Commit in python-zabbix-api/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Nov 12 18:55:51 UTC 2020
Date: Thursday, November 12, 2020 @ 18:55:51
Author: foutrelis
Revision: 753266
archrelease: copy trunk to community-staging-any
Added:
python-zabbix-api/repos/community-staging-any/
python-zabbix-api/repos/community-staging-any/PKGBUILD
(from rev 753264, python-zabbix-api/trunk/PKGBUILD)
----------+
PKGBUILD | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
Copied: python-zabbix-api/repos/community-staging-any/PKGBUILD (from rev 753264, python-zabbix-api/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-12 18:55:51 UTC (rev 753266)
@@ -0,0 +1,24 @@
+# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
+
+_name=zabbix-api
+pkgname=python-zabbix-api
+pkgver=0.5.4
+pkgrel=2
+pkgdesc="Python Zabbix API"
+arch=(any)
+url="https://pypi.org/project/zabbix-api"
+license=('LGPL')
+depends=('python')
+makedepends=('python-setuptools')
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz)
+sha512sums=('d643f5f3760bb55df8d5b0416581f6fa2e82b7bcaba75d6be1386354a23a1d3dcc6cca10b97ba24ceca10ecd0c7a4a2646963549417f09beb441a90ef20e8e4c')
+
+build() {
+ cd "$_name-$pkgver"
+ python setup.py build
+}
+
+package() {
+ cd "$_name-$pkgver"
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}
More information about the arch-commits
mailing list