summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevaev Maxim2019-04-28 09:12:06 +0300
committerDevaev Maxim2019-04-28 09:12:06 +0300
commitf1b69a0f101c93a173ccbdea51ff6a87141d9df3 (patch)
treebdfe9371ecd9bc1ac90918db33d9043a81ac0d94
parent3faac6d22a1cfda06c49f16fcae5702a6782a0b3 (diff)
downloadaur-f1b69a0f101c93a173ccbdea51ff6a87141d9df3.tar.gz
Update to 1.3.0-3
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD7
2 files changed, 6 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f997ddc6a235..f5da07c010fd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,14 @@
pkgbase = python-pyghmi
pkgdesc = A Pure python IPMI library
pkgver = 1.3.0
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/openstack/pyghmi
arch = any
license = Apache 2.0
makedepends = python-distribute
makedepends = python-pbr
depends = python-cryptography
- source = https://github.com/openstack/pyghmi/archive/1.3.0.tar.gz
+ source = python-pyghmi::git+https://github.com/openstack/pyghmi#commit=1.3.0
md5sums = SKIP
pkgname = python-pyghmi
diff --git a/PKGBUILD b/PKGBUILD
index 0a6d936339ac..70836b9e5211 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,18 +3,19 @@
pkgname=python-pyghmi
pkgver=1.3.0
-pkgrel=2
+pkgrel=3
pkgdesc="A Pure python IPMI library"
url="https://github.com/openstack/pyghmi"
license=("Apache 2.0")
arch=(any)
depends=(python-cryptography)
makedepends=(python-distribute python-pbr)
-source=("$url/archive/$pkgver.tar.gz")
+source=(${pkgname}::"git+https://github.com/openstack/pyghmi#commit=${pkgver}")
md5sums=(SKIP)
package() {
- cd "$srcdir/pyghmi-$pkgver"
+ cd "$srcdir/$pkgname"
+ ./makesetup
python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
}