Date: Sunday, November 24, 2019 @ 03:14:32 Author: eschwartz Revision: 532431
upgpkg: python-xapp 1.8.0-1: upstream release also drop python2, since no part of the cinnamon ecosystem uses it and anything that wants it will be getting written in python3... Modified: python-xapp/trunk/PKGBUILD ----------+ PKGBUILD | 28 +++++++++------------------- 1 file changed, 9 insertions(+), 19 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-11-24 03:04:27 UTC (rev 532430) +++ PKGBUILD 2019-11-24 03:14:32 UTC (rev 532431) @@ -1,35 +1,25 @@ # Maintainer: Eli Schwartz <eschwa...@archlinux.org> # Contributor: Balló György <ballogyor+arch at gmail dot com> -pkgbase=python-xapp -pkgname=(python-xapp python2-xapp) -pkgver=1.6.0 -pkgrel=2 +pkgname=python-xapp +pkgver=1.8.0 +pkgrel=1 pkgdesc="Python Xapp Library" arch=('any') -url="https://github.com/linuxmint/${pkgbase}" +url="https://github.com/linuxmint/${pkgname}" license=('LGPL') -makedepends=('python' 'python2') -source=("${pkgbase}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") -sha512sums=('4418f3fc38ff8bf6993de1b7b9358bce16bef61832814147ae89f2bfc530244308bf270df98c10e451e97f017f766cb9106e143c608fbd8a7350ef5423cefc98') +depends=('python' 'python-psutil') +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") +sha512sums=('99e42bb73e400d3d8b6e41534724c6b9868f4f6251c1ed8725cfd1144d82c0fb62f07f7ce4da25b1b4375f8645ec8519065f69cc475e39ce81095ca41878f61d') build(){ - cd "${srcdir}"/${pkgbase}-${pkgver} + cd "${srcdir}"/${pkgname}-${pkgver} python setup.py build - python2 setup.py build } package_python-xapp() { - depends=('python' 'python-psutil') + cd "${srcdir}"/${pkgname}-${pkgver} - cd "${srcdir}"/${pkgbase}-${pkgver} python setup.py install --root="${pkgdir}" --optimize=1 --skip-build } - -package_python2-xapp() { - depends=('python2' 'python2-psutil') - - cd "${srcdir}"/${pkgbase}-${pkgver} - python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build -}