diff options
author | AtomicFS | 2022-10-18 09:21:35 +0200 |
---|---|---|
committer | AtomicFS | 2022-10-18 09:21:35 +0200 |
commit | 7cd0e36cb29cc943159a56908c84b0bf09c99907 (patch) | |
tree | 3587dbd6133c6d2e22e88d8271d647ace10d515e /PKGBUILD | |
parent | 0c6bf2c37627c72047b071932f5768229a0d0c66 (diff) | |
download | aur-7cd0e36cb29cc943159a56908c84b0bf09c99907.tar.gz |
update to version 0.2.0
- remove python2
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 35 |
1 files changed, 10 insertions, 25 deletions
@@ -1,32 +1,17 @@ -# Maintainer: brent s. <bts[at]square-r00t[dot]net> -validpgpkeys=('748231EBCBD808A14F5E85D28C004C2F93481F6B') -# Bug reports can be filed at https://bugs.square-r00t.net/index.php?project=3 -# News updates for packages can be followed at https://devblog.square-r00t.net -pkgname=('python-blkinfo' 'python2-blkinfo') -pkgver=0.1.2 -pkgrel=2 +# Maintainer: atomicfs +pkgname=python-blkinfo +pkgver=0.2.0 +pkgrel=1 pkgdesc="A python library to list information about all available or the specified block devices" arch=('any') url="https://github.com/grinrag/blkinfo" license=('GPL3') -depends=('python' 'python2' 'util-linux') +depends=('python' 'util-linux') _pkgname=blkinfo -install= -changelog= -noextract=() -source=("https://files.pythonhosted.org/packages/source/b/${_pkgname}/${_pkgname}-${pkgver}.tar.gz" - "${_pkgname}-${pkgver}.tar.gz.sig") -sha512sums=('1fc84964e5b253dd2c179769499af996a622bd3f8a3ef5acce894c2f538597521f7f8f522dc2b1e69909bfc632f786714efe81eb9d7727442dc14ea67375b528' - 'SKIP') +source=("${pkgname}::git+https://github.com/genalt/${_pkgname}#tag=${pkgver}") +sha256sums=('SKIP') -package_python2-blkinfo() { - depends=('python2' 'util-linux') - cd "${srcdir}/${_pkgname}-${pkgver}" - python2 setup.py install --root="${pkgdir}" --optimize=1 -} - -package_python-blkinfo() { - depends=('python' 'util-linux') - cd "${srcdir}/${_pkgname}-${pkgver}" - python3 setup.py install --root="${pkgdir}" --optimize=1 +package() { + cd "${srcdir}/${pkgname}" + python setup.py install --root="${pkgdir}" --optimize=1 } |