[arch-commits] Commit in python-xapp/trunk (PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Thu Nov 26 17:24:11 UTC 2020
Date: Thursday, November 26, 2020 @ 17:24:11
Author: eschwartz
Revision: 763677
python-xapp: prefer my naming scheme when fixing FTBFS due to upstream tarball rename
Modified:
python-xapp/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-26 17:23:22 UTC (rev 763676)
+++ PKGBUILD 2020-11-26 17:24:11 UTC (rev 763677)
@@ -1,27 +1,27 @@
# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
# Contributor: Balló György <ballogyor+arch at gmail dot com>
+_pkgname=python3-xapp
pkgname=python-xapp
pkgver=2.0.0
pkgrel=3
-_name=python3-xapp
pkgdesc="Python Xapp Library"
arch=('any')
-url="https://github.com/linuxmint/${_name}"
+url="https://github.com/linuxmint/${_pkgname}"
license=('LGPL')
depends=('python' 'python-psutil')
makedepends=('python-setuptools')
-source=("${_name}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
+source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
sha512sums=('2541ab0f1f4a1aba216b91b20bbc218d260fcac48c737042860c6f79b396daac94101d490ababba8b7d0600ef655041292fceaca22d886666807a6c6f580346c')
build(){
- cd "${srcdir}"/${_name}-${pkgver}
+ cd "${srcdir}"/${_pkgname}-${pkgver}
python setup.py build
}
package() {
- cd "${srcdir}"/${_name}-${pkgver}
+ cd "${srcdir}"/${_pkgname}-${pkgver}
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}
More information about the arch-commits
mailing list