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

2017-11-19 Thread Bartłomiej Piotrowski
Date: Sunday, November 19, 2017 @ 19:43:28
  Author: bpiotrowski
Revision: 267493

2.26.1-3: go-pie rebuild

Modified:
  snapd/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-11-19 19:43:12 UTC (rev 267492)
+++ PKGBUILD2017-11-19 19:43:28 UTC (rev 267493)
@@ -5,12 +5,12 @@
 pkgbase=snapd
 pkgname=(snapd snap-confine)
 pkgver=2.26.1
-pkgrel=2
+pkgrel=3
 _gitcommit=3853be982c99267133d132901df7da0bf850d949
 arch=('x86_64')
 url="https://github.com/snapcore/snapd;
 license=('GPL3')
-makedepends=('git' 'go' 'go-tools' 'bzr')
+makedepends=('git' 'go-pie' 'go-tools' 'bzr')
 checkdepends=('python' 'squashfs-tools')
 
 # snap-confine


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

2017-09-12 Thread Jelle van der Waa
Date: Tuesday, September 12, 2017 @ 19:02:03
  Author: jelle
Revision: 257164

rebuild for key removal

Switch from tag to commit

Modified:
  snapd/trunk/PKGBUILD

--+
 PKGBUILD |5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-09-12 18:24:16 UTC (rev 257163)
+++ PKGBUILD2017-09-12 19:02:03 UTC (rev 257164)
@@ -5,7 +5,8 @@
 pkgbase=snapd
 pkgname=(snapd snap-confine)
 pkgver=2.26.1
-pkgrel=1
+pkgrel=2
+_gitcommit=3853be982c99267133d132901df7da0bf850d949
 arch=('i686' 'x86_64')
 url="https://github.com/snapcore/snapd;
 license=('GPL3')
@@ -18,7 +19,7 @@
 
 options=('!strip' 'emptydirs')
 install=snapd.install
-source=("git+https://github.com/snapcore/$pkgname.git#tag=$pkgver;
+source=("git+https://github.com/snapcore/$pkgname.git#commit=$_gitcommit;
 'snapd.sh')
 md5sums=('SKIP'
  '8e9b8108165d5b2ae911de9caefb37ce')


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

2017-06-08 Thread Timothy Redaelli
Date: Thursday, June 8, 2017 @ 13:05:43
  Author: tredaelli
Revision: 235431

upgpkg: snapd 2.26.1-1

Modified:
  snapd/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-06-08 12:09:06 UTC (rev 235430)
+++ PKGBUILD2017-06-08 13:05:43 UTC (rev 235431)
@@ -4,7 +4,7 @@
 
 pkgbase=snapd
 pkgname=(snapd snap-confine)
-pkgver=2.25
+pkgver=2.26.1
 pkgrel=1
 arch=('i686' 'x86_64')
 url="https://github.com/snapcore/snapd;


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

2016-11-14 Thread Timothy Redaelli
Date: Monday, November 14, 2016 @ 12:51:15
  Author: tredaelli
Revision: 195659

upgpkg: snapd 2.16-1

Modified:
  snapd/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-11-14 12:43:54 UTC (rev 195658)
+++ PKGBUILD2016-11-14 12:51:15 UTC (rev 195659)
@@ -3,7 +3,7 @@
 # Contributor: Zygmunt Krynicki 
 
 pkgname=snapd
-pkgver=2.15.2
+pkgver=2.16
 pkgrel=1
 pkgdesc="Service and tools for management of snap packages."
 arch=('i686' 'x86_64')


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

2016-09-26 Thread Timothy Redaelli
Date: Monday, September 26, 2016 @ 13:10:46
  Author: tredaelli
Revision: 190612

upgpkg: snapd 2.15.2-1

Modified:
  snapd/trunk/PKGBUILD

--+
 PKGBUILD |   12 
 1 file changed, 4 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-09-26 12:27:02 UTC (rev 190611)
+++ PKGBUILD2016-09-26 13:10:46 UTC (rev 190612)
@@ -3,7 +3,7 @@
 # Contributor: Zygmunt Krynicki 
 
 pkgname=snapd
-pkgver=2.11
+pkgver=2.15.2
 pkgrel=1
 pkgdesc="Service and tools for management of snap packages."
 arch=('i686' 'x86_64')
@@ -24,12 +24,6 @@
 prepare() {
   cd "$pkgname"
 
-  # daemon: always mock release info in tests
-  git cherry-pick -n 2840c2a37ef5adf50d93461920f3e2140617bd54
-
-  # osutil: support both "nobody" and "nogroup" for grpnam tests
-  git cherry-pick -n de99c096641e22dc57de3a581a3459ab65c9cf4d
-
   # Use $srcdir/go as our GOPATH
   export GOPATH="$srcdir/go"
   mkdir -p "$GOPATH"
@@ -54,7 +48,9 @@
 check() {
   export GOPATH="$srcdir/go"
   cd "$GOPATH/src/${_gourl}"
-  ./run-checks --unit
+  # FIXME lp:1611706
+  env -u SUDO_COMMAND -u SUDO_GID -u SUDO_UID -u SUDO_USER ./run-checks --unit
+
   ./run-checks --static
 }
 


[arch-commits] Commit in snapd/trunk (PKGBUILD fix_test.patch)

2016-07-27 Thread Timothy Redaelli
Date: Wednesday, July 27, 2016 @ 15:53:59
  Author: tredaelli
Revision: 184515

upgpkg: snapd 2.11-1

Modified:
  snapd/trunk/PKGBUILD
Deleted:
  snapd/trunk/fix_test.patch

+
 PKGBUILD   |   15 +--
 fix_test.patch |   33 -
 2 files changed, 9 insertions(+), 39 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-07-27 15:31:43 UTC (rev 184514)
+++ PKGBUILD2016-07-27 15:53:59 UTC (rev 184515)
@@ -3,7 +3,7 @@
 # Contributor: Zygmunt Krynicki 
 
 pkgname=snapd
-pkgver=2.0.10
+pkgver=2.11
 pkgrel=1
 pkgdesc="Service and tools for management of snap packages."
 arch=('i686' 'x86_64')
@@ -15,18 +15,21 @@
 options=('!strip' 'emptydirs')
 install=snapd.install
 source=("git+https://github.com/snapcore/$pkgname.git#tag=$pkgver;
-'snapd.sh'
-'fix_test.patch')
+'snapd.sh')
 md5sums=('SKIP'
- '1d841a1d09ba86945551dfc5c5658b2e'
- '7fd19e053051825b189914cedb95c3e7')
+ '1d841a1d09ba86945551dfc5c5658b2e')
 
 _gourl=github.com/snapcore/snapd
 
 prepare() {
   cd "$pkgname"
-  patch -Np1 -i "$srcdir/fix_test.patch"
 
+  # daemon: always mock release info in tests
+  git cherry-pick -n 2840c2a37ef5adf50d93461920f3e2140617bd54
+
+  # osutil: support both "nobody" and "nogroup" for grpnam tests
+  git cherry-pick -n de99c096641e22dc57de3a581a3459ab65c9cf4d
+
   # Use $srcdir/go as our GOPATH
   export GOPATH="$srcdir/go"
   mkdir -p "$GOPATH"

Deleted: fix_test.patch
===
--- fix_test.patch  2016-07-27 15:31:43 UTC (rev 184514)
+++ fix_test.patch  2016-07-27 15:53:59 UTC (rev 184515)
@@ -1,33 +0,0 @@
-From b66d3ea328ee42d3d4f56ed9736c315833dee67d Mon Sep 17 00:00:00 2001
-From: Timothy Redaelli 
-Date: Fri, 1 Jul 2016 15:28:46 +0200
-Subject: [PATCH] Fix ./run-checks --static
-
-Python doesn't like LANG=C.UTF-8 so just open the files
-using UTF-8 directly

- mdlint.py | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/mdlint.py b/mdlint.py
-index 533c812..a1bd4ac 100755
 a/mdlint.py
-+++ b/mdlint.py
-@@ -7,7 +7,7 @@
- # http://pythonhosted.org/Markdown/
- 
- import sys
--
-+import codecs
- 
- def lint_li(fname, text):
- """Ensure that the list-items are multiplies of 4"""
-@@ -23,7 +23,7 @@ def lint(md_files):
- """lint all md files"""
- all_clean = True
- for md in md_files:
--with open(md) as f:
-+with codecs.open(md, "r", "utf-8") as f:
- buf = f.read()
- for fname, func in globals().items():
- if fname.startswith("lint_"):


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

2016-07-01 Thread Timothy Redaelli
Date: Friday, July 1, 2016 @ 14:29:47
  Author: tredaelli
Revision: 181676

upgpkg: snapd 2.0.10-1

Modified:
  snapd/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-07-01 14:14:29 UTC (rev 181675)
+++ PKGBUILD2016-07-01 14:29:47 UTC (rev 181676)
@@ -14,7 +14,7 @@
 checkdepends=('python')
 options=('!strip' 'emptydirs')
 install=snapd.install
-source=("$pkgname-$pkgver::git+https://github.com/snapcore/$pkgname.git#tag=$pkgver;
+source=("git+https://github.com/snapcore/$pkgname.git#tag=$pkgver;
 'snapd.sh'
 'fix_test.patch')
 md5sums=('SKIP'
@@ -24,7 +24,7 @@
 _gourl=github.com/snapcore/snapd
 
 prepare() {
-  cd "$pkgname-$pkgver"
+  cd "$pkgname"
   patch -Np1 -i "$srcdir/fix_test.patch"
 
   # Use $srcdir/go as our GOPATH
@@ -34,7 +34,7 @@
   # way we don't have to go get it again and it is exactly what the tag/hash
   # above describes.
   mkdir -p "$(dirname "$GOPATH/src/${_gourl}")"
-  ln --no-target-directory -fs "$srcdir/$pkgname-$pkgver" 
"$GOPATH/src/${_gourl}"
+  ln --no-target-directory -fs "$srcdir/$pkgname" "$GOPATH/src/${_gourl}"
 }
 
 build() {