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

Felix Yan felixonmars at archlinux.org
Wed Apr 29 18:11:19 UTC 2020


    Date: Wednesday, April 29, 2020 @ 18:11:18
  Author: felixonmars
Revision: 622313

upgpkg: python-sh 1.13.1-1

Modified:
  python-sh/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-29 18:10:58 UTC (rev 622312)
+++ PKGBUILD	2020-04-29 18:11:18 UTC (rev 622313)
@@ -3,8 +3,8 @@
 # Contributor: Alexander Rødseth <rodseth at gmail.com>
 
 pkgname=python-sh
-pkgver=1.12.14
-pkgrel=5
+pkgver=1.13.1
+pkgrel=1
 pkgdesc='Subprocess interface that allows you to call any program as if it were a function'
 arch=('any')
 url='https://pypi.python.org/pypi/sh'
@@ -13,15 +13,20 @@
 makedepends=('python-setuptools')
 checkdepends=('python-coverage' 'lsof')
 source=("https://pypi.io/packages/source/s/sh/sh-$pkgver.tar.gz")
-sha512sums=('5f2daa2666cf8efe90ba550c8ea5875f2a8812d787597c9d9b933f58feccd192e1ec0ab5695b756bdbfbf9748d106c2045be20838e680b31dac3f778970b5786')
+sha512sums=('2d5a275abe3b7f1f1d26a97dd03bcbd6e2e05d1c75f26d5a629fead230d2fb2acd368b5473255526ba53c8fea4031112f272d917e820e294e49be9bbeb5d2116')
 
+prepare() {
+  cd sh-$pkgver
+  sed -i 's|/bin/sleep|/usr/bin/sleep|' test.py
+}
+
 build() {
-  cd "$srcdir"/sh-$pkgver
+  cd sh-$pkgver
   python setup.py build
 }
 
 check() {
-  cd "$srcdir"/sh-$pkgver
+  cd sh-$pkgver
   python sh.py travis
 }
 



More information about the arch-commits mailing list