[arch-commits] Commit in python-xapp/trunk (PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Tue Nov 10 09:46:23 UTC 2020


    Date: Tuesday, November 10, 2020 @ 09:46:23
  Author: foutrelis
Revision: 749459

python-xapp -> python3-xapp for url and dir name

Modified:
  python-xapp/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-10 09:41:07 UTC (rev 749458)
+++ PKGBUILD	2020-11-10 09:46:23 UTC (rev 749459)
@@ -4,23 +4,24 @@
 pkgname=python-xapp
 pkgver=2.0.0
 pkgrel=1
+_name=python3-xapp
 pkgdesc="Python Xapp Library"
 arch=('any')
-url="https://github.com/linuxmint/${pkgname}"
+url="https://github.com/linuxmint/${_name}"
 license=('LGPL')
 depends=('python' 'python-psutil')
 makedepends=('python-setuptools')
-source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
+source=("${_name}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
 sha512sums=('2541ab0f1f4a1aba216b91b20bbc218d260fcac48c737042860c6f79b396daac94101d490ababba8b7d0600ef655041292fceaca22d886666807a6c6f580346c')
 
 build(){
-  cd "${srcdir}"/${pkgname}-${pkgver}
+  cd "${srcdir}"/${_name}-${pkgver}
 
   python setup.py build
 }
 
 package() {
-  cd "${srcdir}"/${pkgname}-${pkgver}
+  cd "${srcdir}"/${_name}-${pkgver}
 
   python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
 }



More information about the arch-commits mailing list