[arch-commits] Commit in (5 files)

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


    Date: Thursday, September 5, 2019 @ 22:55:56
  Author: svenstaro
Revision: 508223

Rename hcloud-python to python-hcloud

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

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

Added: python-hcloud/trunk/PKGBUILD
===================================================================
--- python-hcloud/trunk/PKGBUILD	                        (rev 0)
+++ python-hcloud/trunk/PKGBUILD	2019-09-05 22:55:56 UTC (rev 508223)
@@ -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/$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