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

Frederik Schwan freswa at archlinux.org
Fri Aug 28 13:01:40 UTC 2020


    Date: Friday, August 28, 2020 @ 13:01:40
  Author: freswa
Revision: 690821

fix unquoted variables

Modified:
  python-webencodings/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-28 13:00:49 UTC (rev 690820)
+++ PKGBUILD	2020-08-28 13:01:40 UTC (rev 690821)
@@ -10,29 +10,29 @@
 license=('BSD')
 makedepends=('python2' 'python' 'python-setuptools' 'python2-setuptools')
 checkdepends=('python-nose' 'python2-nose')
-source=(https://github.com/gsnedders/python-webencodings/archive/v$pkgver.tar.gz)
+source=(https://github.com/gsnedders/python-webencodings/archive/v${pkgver}.tar.gz)
 md5sums=('7eb67377743cd55eaa356496c439471e')
 
 package_python-webencodings() {
 pkgdesc="This is a Python implementation of the WHATWG Encoding standard."
 depends=('python')
-    cd ${srcdir}/${pkgbase}-${pkgver}
+    cd ${pkgbase}-${pkgver}
 
-    python3 setup.py install --root=${pkgdir}
-    install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+    python3 setup.py install --root="${pkgdir}"
+    install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
 }
 
 package_python2-webencodings() {
 pkgdesc="This is a Python implementation of the WHATWG Encoding standard."
 depends=('python2')
-    cd ${srcdir}/${pkgbase}-${pkgver}
+    cd ${pkgbase}-${pkgver}
 
-    python2 setup.py install --root=${pkgdir}
-    install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+    python2 setup.py install --root="${pkgdir}"
+    install -D -m644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
 }
 
 check() {
-    cd ${srcdir}/${pkgbase}-${pkgver}/webencodings
+    cd ${pkgbase}-${pkgver}/webencodings
 
     nosetests tests.py
 



More information about the arch-commits mailing list