[arch-commits] Commit in (4 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Sun Mar 24 14:17:05 UTC 2019


    Date: Sunday, March 24, 2019 @ 14:17:04
  Author: svenstaro
Revision: 443329

Add hcloud-python

Added:
  hcloud-python/
  hcloud-python/repos/
  hcloud-python/trunk/
  hcloud-python/trunk/PKGBUILD

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

Added: hcloud-python/trunk/PKGBUILD
===================================================================
--- hcloud-python/trunk/PKGBUILD	                        (rev 0)
+++ hcloud-python/trunk/PKGBUILD	2019-03-24 14:17:04 UTC (rev 443329)
@@ -0,0 +1,25 @@
+# Maintainer: Sven-Hendrik Haase
+pkgname=hcloud-python
+pkgver=1.2.1
+pkgrel=1
+pkgdesc="Official Hetzner Cloud python library"
+arch=('any')
+url="https://github.com/hetznercloud/hcloud-python"
+license=('MIT')
+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/$pkgname-$pkgver"
+
+  python setup.py build
+}
+
+package() {
+  cd "$srcdir/$pkgname-$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