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

Antonio Rojas arojas at gemini.archlinux.org
Wed Nov 10 20:52:00 UTC 2021


    Date: Wednesday, November 10, 2021 @ 20:52:00
  Author: arojas
Revision: 1040332

Rebuild

Modified:
  python-clikit/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-10 20:51:53 UTC (rev 1040331)
+++ PKGBUILD	2021-11-10 20:52:00 UTC (rev 1040332)
@@ -3,7 +3,7 @@
 _pkgname=clikit
 pkgname=python-clikit
 pkgver=0.6.2
-pkgrel=1
+pkgrel=2
 pkgdesc="clikit allows you to create beautiful and testable command-line interfaces"
 arch=('any')
 url="https://github.com/sdispater/${_pkgname}"
@@ -16,7 +16,7 @@
 b2sums=('b72f245128c698375f97139cf245bdc8c017e3e2d142f6e3183a42620b23a024531e5b14f05163c6defa9ee54c52c19a64932c62484f2ec8da5c75ea1b7d3d27')
 
 prepare() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
+    cd ${_pkgname}-${pkgver}
 
     # poetry-generated setup.py are fatally broken, see:
     # https://github.com/sdispater/poetry/issues/866
@@ -24,19 +24,19 @@
 }
 
 build(){
-    cd "${srcdir}"/${_pkgname}-${pkgver}
+    cd ${_pkgname}-${pkgver}
 
     python setup.py build
 }
 
 check() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
+    cd ${_pkgname}-${pkgver}
 
     PYTHONPATH=$PWD/src python -m pytest
 }
 
 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