[arch-commits] Commit in python-hcloud/repos (community-any community-any/PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Thu Sep 5 22:58:27 UTC 2019


    Date: Thursday, September 5, 2019 @ 22:58:26
  Author: svenstaro
Revision: 508225

archrelease: copy trunk to community-any

Added:
  python-hcloud/repos/community-any/
  python-hcloud/repos/community-any/PKGBUILD
    (from rev 508224, python-hcloud/trunk/PKGBUILD)

----------+
 PKGBUILD |   27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

Copied: python-hcloud/repos/community-any/PKGBUILD (from rev 508224, python-hcloud/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2019-09-05 22:58:26 UTC (rev 508225)
@@ -0,0 +1,27 @@
+# Maintainer: Sven-Hendrik Haase
+pkgname=python-hcloud
+pkgver=1.2.1
+pkgrel=2
+pkgdesc="Official Hetzner Cloud python library"
+arch=('any')
+url="https://github.com/hetznercloud/hcloud-python"
+license=('MIT')
+replaces=('hcloud-python')
+provides=('hcloud-python')
+depends=('python-requests' 'python-dateutil' 'python-future')
+source=("$pkgname"-$pkgver.tar.gz::https://github.com/hetznercloud/hcloud-python/archive/v${pkgver}.tar.gz)
+sha512sums=('cb70d190350457fc3c6e474bc6c943070102762595dac2f386041956f64255f390a928a2f2411be861645cd65b015ab9e0c931b36aeed0076b06d9f67ac72d1c')
+
+build() {
+  cd "$srcdir/hcloud-python-$pkgver"
+
+  python setup.py build
+}
+
+package() {
+  cd "$srcdir/hcloud-python-$pkgver"
+
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+
+# vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list