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

Antonio Rojas arojas at gemini.archlinux.org
Wed Nov 10 21:07:09 UTC 2021


    Date: Wednesday, November 10, 2021 @ 21:07:08
  Author: arojas
Revision: 1040379

Rebuild

Modified:
  python-pylev/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-10 21:06:46 UTC (rev 1040378)
+++ PKGBUILD	2021-11-10 21:07:08 UTC (rev 1040379)
@@ -3,7 +3,7 @@
 _pkgname=pylev
 pkgname=python-pylev
 pkgver=1.4.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A pure Python Levenshtein implementation that's not freaking GPL'd"
 arch=('any')
 url="https://github.com/toastdriven/${_pkgname}"
@@ -15,19 +15,19 @@
 b2sums=('d49e153d308165dcdc06bad94013afa4ccc6d2a6ecff943a2718a8f9ab71bbacb9c0cf8b604dbf0c77322a8d0cbeba5ffaed13531a31210507f144f716f8e740')
 
 build(){
-    cd "${srcdir}"/${_pkgname}-${pkgver}
+    cd ${_pkgname}-${pkgver}
 
     python setup.py build
 }
 
 check() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
+    cd ${_pkgname}-${pkgver}
 
     python -m unittest tests
 }
 
 package() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
+    cd ${_pkgname}-${pkgver}
 
     python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
     install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE



More information about the arch-commits mailing list