[arch-commits] Commit in zshdb/trunk (2 files)

Lukas Fleischer lfleischer at archlinux.org
Thu Jun 7 15:31:13 UTC 2018


    Date: Thursday, June 7, 2018 @ 15:31:00
  Author: lfleischer
Revision: 341860

upgpkg: zshdb 0.92-1

Upstream update.

Added:
  zshdb/trunk/94b389a3301ec5b644b0b396e32d29fd27aa0a91.patch
Modified:
  zshdb/trunk/PKGBUILD

------------------------------------------------+
 94b389a3301ec5b644b0b396e32d29fd27aa0a91.patch |   26 +++++++++++++++++++++++
 PKGBUILD                                       |   15 +++++++++----
 2 files changed, 37 insertions(+), 4 deletions(-)

Added: 94b389a3301ec5b644b0b396e32d29fd27aa0a91.patch
===================================================================
--- 94b389a3301ec5b644b0b396e32d29fd27aa0a91.patch	                        (rev 0)
+++ 94b389a3301ec5b644b0b396e32d29fd27aa0a91.patch	2018-06-07 15:31:00 UTC (rev 341860)
@@ -0,0 +1,26 @@
+From 94b389a3301ec5b644b0b396e32d29fd27aa0a91 Mon Sep 17 00:00:00 2001
+From: "Iain R. Learmonth" <irl at fsfe.org>
+Date: Wed, 30 Aug 2017 23:12:24 +0100
+Subject: [PATCH] Fix test for funcfiletrace on later zshdb in ok4zshdb.sh
+ (Closes: #9)
+
+funcfiletrace is no longer listed in the output of declare -p.
+---
+ test/zsh/ok4zshdb.sh | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/test/zsh/ok4zshdb.sh b/test/zsh/ok4zshdb.sh
+index 97c777d..bf87f6f 100755
+--- a/test/zsh/ok4zshdb.sh
++++ b/test/zsh/ok4zshdb.sh
+@@ -4,8 +4,8 @@ PS4='%(%x:%I): [%?]
+ '
+ 
+ second_fn() {
+-  decls=$(declare -p)
+-  if [[ $decls != *funcfiletrace* ]] ; then
++  zmodload zsh/parameter
++  if ! (( ${+funcfiletrace} )) ; then
+     print "Looks like you don't have funcfiletrace."
+     print "We need a zsh new enough which has that."
+     exit 10

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-06-07 15:30:35 UTC (rev 341859)
+++ PKGBUILD	2018-06-07 15:31:00 UTC (rev 341860)
@@ -2,8 +2,8 @@
 # Contributor: noonov <noonov at gmail.com>
 
 pkgname=zshdb
-pkgver=0.08
-pkgrel=4
+pkgver=0.92
+pkgrel=1
 pkgdesc='A debugger for zsh scripts.'
 arch=('any')
 url='http://bashdb.sourceforge.net/'
@@ -10,9 +10,16 @@
 license=('GPL')
 depends=('zsh')
 optdepends=('python-pygments: for syntax highlighting')
-source=("https://downloads.sourceforge.net/sourceforge/bashdb/${pkgname}-${pkgver}.tar.gz")
-md5sums=('f43c2a4bd7683b0977d35aae86bdc55d')
+source=("https://downloads.sourceforge.net/sourceforge/bashdb/${pkgname}-${pkgver}.tar.gz"
+        94b389a3301ec5b644b0b396e32d29fd27aa0a91.patch)
+md5sums=('4478f2916b8f9c1dc6af474daa195809'
+         '6f1ab3b6269065c54d5bb8c56c47f4c5')
 
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -p1 -i ../94b389a3301ec5b644b0b396e32d29fd27aa0a91.patch
+}
+
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
 



More information about the arch-commits mailing list