Date: Monday, June 25, 2018 @ 13:17:46 Author: mtorromeo Revision: 345851
upgpkg: python-patchwork 1.0.1-1 Modified: python-patchwork/trunk/PKGBUILD Deleted: python-patchwork/trunk/succeeded-fix.patch ---------------------+ PKGBUILD | 13 +++---------- succeeded-fix.patch | 32 -------------------------------- 2 files changed, 3 insertions(+), 42 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-06-25 12:31:02 UTC (rev 345850) +++ PKGBUILD 2018-06-25 13:17:46 UTC (rev 345851) @@ -2,7 +2,7 @@ # Maintainer: Massimiliano Torromeo <[email protected]> pkgname=python-patchwork -pkgver=1.0.0 +pkgver=1.0.1 pkgrel=1 pkgdesc="Common deployment/sysadmin operations, built on Fabric" arch=(any) @@ -10,16 +10,9 @@ license=('BSD') depends=('fabric') makedepends=('python-setuptools') -source=("https://github.com/fabric/patchwork/archive/$pkgver/$pkgname-$pkgver.tar.gz" - "succeeded-fix.patch") -sha256sums=('9abab02a1a49fae4816a8aab7dbc95a46a8a1cd2762b576ca72667f646705ce4' - 'a6be3a868e6a030e50825983e949be38437cab9c88ca782d6e3d828261cf3422') +source=("https://github.com/fabric/patchwork/archive/$pkgver/$pkgname-$pkgver.tar.gz") +sha256sums=('0fda64a68a26a8acab897742773894fb765e1cc0049971675f50d7d5f8ae4fd7') -prepare() { - cd "$srcdir"/patchwork-$pkgver - patch -p1 -i "$srcdir"/succeeded-fix.patch -} - build() { cd "$srcdir"/patchwork-$pkgver python setup.py build Deleted: succeeded-fix.patch =================================================================== --- succeeded-fix.patch 2018-06-25 12:31:02 UTC (rev 345850) +++ succeeded-fix.patch 2018-06-25 13:17:46 UTC (rev 345851) @@ -1,32 +0,0 @@ -From 641dacf8a5e51d81d32cd72c3d312bf1f06bd9bf Mon Sep 17 00:00:00 2001 -From: Lucio Delelis <[email protected]> -Date: Sat, 12 May 2018 00:56:47 -0300 -Subject: [PATCH] Replaced some calls to the removed succeeded attribute - -According to documentation, the correct way is to consult 'ok' now ---- - patchwork/files.py | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/patchwork/files.py b/patchwork/files.py -index 081c0ee..9d0f1af 100644 ---- a/patchwork/files.py -+++ b/patchwork/files.py -@@ -28,7 +28,7 @@ def exists(c, runner, path): - Return True if given path exists on the current remote host. - """ - cmd = 'test -e "$(echo {})"'.format(path) -- return runner(cmd, hide=True, warn=True).succeeded -+ return runner(cmd, hide=True, warn=True).ok - - - @set_runner -@@ -54,7 +54,7 @@ def contains(c, runner, filename, text, exact=False, escape=True): - if exact: - text = "^{}$".format(text) - egrep_cmd = 'egrep "{}" "{}"'.format(text, filename) -- return runner(egrep_cmd, hide=True, warn=True).succeeded -+ return runner(egrep_cmd, hide=True, warn=True).ok - - - @set_runner
