[arch-commits] Commit in zshdb/repos/community-any (3 files)
Lukas Fleischer
lfleischer at archlinux.org
Thu Jun 7 15:32:17 UTC 2018
Date: Thursday, June 7, 2018 @ 15:32:13
Author: lfleischer
Revision: 341861
archrelease: copy trunk to community-any
Added:
zshdb/repos/community-any/94b389a3301ec5b644b0b396e32d29fd27aa0a91.patch
(from rev 341860, zshdb/trunk/94b389a3301ec5b644b0b396e32d29fd27aa0a91.patch)
zshdb/repos/community-any/PKGBUILD
(from rev 341860, zshdb/trunk/PKGBUILD)
Deleted:
zshdb/repos/community-any/PKGBUILD
------------------------------------------------+
94b389a3301ec5b644b0b396e32d29fd27aa0a91.patch | 26 +++++++++
PKGBUILD | 60 ++++++++++++-----------
2 files changed, 59 insertions(+), 27 deletions(-)
Copied: zshdb/repos/community-any/94b389a3301ec5b644b0b396e32d29fd27aa0a91.patch (from rev 341860, zshdb/trunk/94b389a3301ec5b644b0b396e32d29fd27aa0a91.patch)
===================================================================
--- 94b389a3301ec5b644b0b396e32d29fd27aa0a91.patch (rev 0)
+++ 94b389a3301ec5b644b0b396e32d29fd27aa0a91.patch 2018-06-07 15:32:13 UTC (rev 341861)
@@ -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
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-06-07 15:31:00 UTC (rev 341860)
+++ PKGBUILD 2018-06-07 15:32:13 UTC (rev 341861)
@@ -1,27 +0,0 @@
-# $Id$
-# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
-# Contributor: noonov <noonov at gmail.com>
-
-pkgname=zshdb
-pkgver=0.08
-pkgrel=4
-pkgdesc='A debugger for zsh scripts.'
-arch=('any')
-url='http://bashdb.sourceforge.net/'
-license=('GPL')
-depends=('zsh')
-optdepends=('python-pygments: for syntax highlighting')
-source=("http://downloads.sourceforge.net/sourceforge/bashdb/${pkgname}-${pkgver}.tar.gz")
-md5sums=('f43c2a4bd7683b0977d35aae86bdc55d')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-}
Copied: zshdb/repos/community-any/PKGBUILD (from rev 341860, zshdb/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-06-07 15:32:13 UTC (rev 341861)
@@ -0,0 +1,33 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: noonov <noonov at gmail.com>
+
+pkgname=zshdb
+pkgver=0.92
+pkgrel=1
+pkgdesc='A debugger for zsh scripts.'
+arch=('any')
+url='http://bashdb.sourceforge.net/'
+license=('GPL')
+depends=('zsh')
+optdepends=('python-pygments: for syntax highlighting')
+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}"
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list