diff options
author | Gris Ge | 2020-04-26 04:44:33 +0000 |
---|---|---|
committer | Gris Ge | 2020-04-26 04:44:33 +0000 |
commit | 22ff1fd46fa4e33ec801ac0b11f146dbd7524828 (patch) | |
tree | 9178d2d2fbc8b1ec61645f40d3101298280481ff | |
parent | 917029da8f1bf8a78a9f86f91af082a2183f8d6a (diff) | |
download | aur-22ff1fd46fa4e33ec801ac0b11f146dbd7524828.tar.gz |
Upgrade to 0.17.2
Signed-off-by: Gris Ge <cnfourt@gmail.com>
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 8 insertions, 32 deletions
@@ -1,6 +1,6 @@ pkgbase = pywbem pkgdesc = Python WBEM Client and Provider Interface - pkgver = 0.14.4 + pkgver = 0.17.2 pkgrel = 1 url = https://github.com/pywbem/pywbem arch = any @@ -9,23 +9,12 @@ pkgbase = pywbem makedepends = python-pip makedepends = python-yaml makedepends = python-ply - makedepends = python2 - makedepends = python2-pip - makedepends = python2-yaml - makedepends = python2-ply - depends = python2-m2crypto depends = python-six depends = python-ply - depends = python2-six - depends = python2-ply depends = python-pyaml - depends = python2-pyaml - depends = python2-pbr depends = python-pbr - source = https://github.com/pywbem/pywbem/archive/0.14.4/pywbem-0.14.4.tar.gz - sha256sums = b9553a8abc29e422142063c2164f6b58a926cdac37780df59c10327cea200b21 + source = https://github.com/pywbem/pywbem/archive/0.17.2/pywbem-0.17.2.tar.gz + sha256sums = 63ec0bf03a109d3bfa962a05da26830a884144510376ac6f826c5f226a17a3af pkgname = python-pywbem -pkgname = python2-pywbem - @@ -1,18 +1,15 @@ pkgbase=pywbem -pkgname=('python-pywbem' - 'python2-pywbem') -pkgver=0.14.4 +pkgname=('python-pywbem') +pkgver=0.17.2 pkgrel=1 pkgdesc="Python WBEM Client and Provider Interface" arch=('any') url='https://github.com/pywbem/pywbem' license=('LGPLv2.1+') -makedepends=('python3' 'python-pip' 'python-yaml' 'python-ply' - 'python2' 'python2-pip' 'python2-yaml' 'python2-ply') +makedepends=('python3' 'python-pip' 'python-yaml' 'python-ply') source=("https://github.com/$pkgbase/$pkgbase/archive/${pkgver}/${pkgbase}-${pkgver}.tar.gz") -sha256sums=('b9553a8abc29e422142063c2164f6b58a926cdac37780df59c10327cea200b21') -depends=("python2-m2crypto" "python-six" "python-ply" "python2-six" - "python2-ply" "python-pyaml" "python2-pyaml" "python2-pbr" "python-pbr") +sha256sums=('63ec0bf03a109d3bfa962a05da26830a884144510376ac6f826c5f226a17a3af') +depends=("python-six" "python-ply" "python-pyaml" "python-pbr") build() { : @@ -27,13 +24,3 @@ package_python-pywbem() { python3 setup.py install --root=$pkgdir || return 1 rm -fv $pkgdir/usr/bin/*.bat } - -package_python2-pywbem() { - _PY2_SITELIB=$(python2 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())") - cd $srcdir/$pkgbase-${pkgver} - export PYTHONPATH="$pkgdir/$_PY2_SITELIB" - export PBR_VERSION="${pkgver}" - python2 setup.py build || return 1 - python2 setup.py install --root=$pkgdir || return 1 - rm -rf $pkgdir/usr/bin -} |