[arch-commits] Commit in python-tenacity/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Jul 11 05:06:48 UTC 2017
Date: Tuesday, July 11, 2017 @ 05:06:48
Author: felixonmars
Revision: 243856
upgpkg: python-tenacity 4.3.0-1
Modified:
python-tenacity/trunk/PKGBUILD
----------+
PKGBUILD | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-07-11 05:04:45 UTC (rev 243855)
+++ PKGBUILD 2017-07-11 05:06:48 UTC (rev 243856)
@@ -3,7 +3,7 @@
pkgbase=python-tenacity
pkgname=('python-tenacity' 'python2-tenacity')
-pkgver=4.2.0
+pkgver=4.3.0
pkgrel=1
pkgdesc='Retry code until it succeeeds'
arch=('any')
@@ -13,12 +13,12 @@
'python-pbr' 'python2-pbr')
checkdepends=('python-nose' 'python2-nose')
source=("$pkgbase-$pkgver.tar.gz::https://github.com/jd/tenacity/archive/$pkgver.tar.gz")
-sha512sums=('1521cc88d4b468b0cf3fa2d31ec7bdad0128e18fb5cfcb2dea05ec791faddb77b9af3f5b8baf0af576428fa95f367450c5c4caa004e370f42269e7c135fdae04')
+sha512sums=('45f0f790da83fbfbc546e7a87868ecbafed7d3f553dfd2760c040985a827ee5e27f21347dc2394efcd935891b0e7d2da945ccdbd7cb1c2c7e51d3474310ac061')
prepare() {
cp -a tenacity-$pkgver{,-py2}
sed -i '/monotonic/d' tenacity-$pkgver/requirements.txt
- sed -i 's/from monotonic import monotonic/from time import monotonic/' tenacity-$pkgver/tenacity/__init__.py
+ sed -i 's/from monotonic import monotonic/from time import monotonic/' tenacity-$pkgver/tenacity/{__init__,async}.py
export PBR_VERSION=$pkgver
}
More information about the arch-commits
mailing list