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

2020-11-12 Thread Evangelos Foutras via arch-commits
Date: Thursday, November 12, 2020 @ 18:56:47
  Author: foutrelis
Revision: 753272

upgpkg: watchman 4.9.0-5: Python 3.9 rebuild

Modified:
  watchman/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-11-12 18:56:45 UTC (rev 753271)
+++ PKGBUILD2020-11-12 18:56:47 UTC (rev 753272)
@@ -4,7 +4,7 @@
 
 pkgname=watchman
 pkgver=4.9.0
-pkgrel=4
+pkgrel=5
 pkgdesc="An inotify-based file watching and job triggering command line 
utility"
 url="https://facebook.github.io/watchman/;
 arch=('i686' 'x86_64')


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

2020-08-28 Thread Frederik Schwan via arch-commits
Date: Friday, August 28, 2020 @ 13:13:09
  Author: freswa
Revision: 690858

fix unquoted variables

Modified:
  watchman/trunk/PKGBUILD

--+
 PKGBUILD |   18 +-
 1 file changed, 9 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-08-28 13:12:44 UTC (rev 690857)
+++ PKGBUILD2020-08-28 13:13:09 UTC (rev 690858)
@@ -10,37 +10,37 @@
 arch=('i686' 'x86_64')
 license=('Apache')
 depends=('pcre' 'systemd' 'python')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/facebook/watchman/archive/v$pkgver.tar.gz;
-"$pkgname.tmpfiles" "python3.patch")
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/facebook/watchman/archive/v${pkgver}.tar.gz;
+"${pkgname}.tmpfiles" "python3.patch")
 sha256sums=('1f6402dc70b1d056fffc3748f2fdcecff730d8843bb6936de395b3443ce05322'
 '2b061865e10578a0477b9c7991a00594bc839c846b98896e93c75743dbf6a379'
 '8aa32e37aef329e0873425d25e370d25b7aa0731f104a645737ff64a5a9e')
 
 prepare() {
-  cd $pkgname-$pkgver
+  cd ${pkgname}-${pkgver}
   ./autogen.sh
 
-  patch -Np1 -i ${srcdir}/python3.patch
+  patch -Np1 -i "${srcdir}"/python3.patch
 }
 
 build() {
-  cd $pkgname-$pkgver
+  cd ${pkgname}-${pkgver}
   ./configure --prefix=/usr --disable-statedir --enable-lenient
   make
 }
 
 check() {
-  cd $pkgname-$pkgver
+  cd ${pkgname}-${pkgver}
   # TODO: fix segfault in test
   #make check
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd ${pkgname}-${pkgver}
   # Docs available online only; see 
https://github.com/facebook/watchman/issues/30
-  make DESTDIR=$pkgdir install
+  make DESTDIR="${pkgdir}" install
 
-  install -Dm 644 $srcdir/$pkgname.tmpfiles 
$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf
+  install -Dm 644 "${srcdir}"/${pkgname}.tmpfiles 
"${pkgdir}"/usr/lib/tmpfiles.d/${pkgname}.conf
 }
 
 # vim:set ts=2 sw=2 et:


[arch-commits] Commit in watchman/trunk (PKGBUILD python3.patch)

2020-04-03 Thread Jelle van der Waa via arch-commits
Date: Friday, April 3, 2020 @ 18:54:52
  Author: jelle
Revision: 611004

upgpkg: watchman 4.9.0-4

FS#66057 fix iteritems bug on Python 3.

Added:
  watchman/trunk/python3.patch
Modified:
  watchman/trunk/PKGBUILD

---+
 PKGBUILD  |9 ++---
 python3.patch |   51 +++
 2 files changed, 57 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-04-03 18:52:28 UTC (rev 611003)
+++ PKGBUILD2020-04-03 18:54:52 UTC (rev 611004)
@@ -4,7 +4,7 @@
 
 pkgname=watchman
 pkgver=4.9.0
-pkgrel=3
+pkgrel=4
 pkgdesc="An inotify-based file watching and job triggering command line 
utility"
 url="https://facebook.github.io/watchman/;
 arch=('i686' 'x86_64')
@@ -11,13 +11,16 @@
 license=('Apache')
 depends=('pcre' 'systemd' 'python')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/facebook/watchman/archive/v$pkgver.tar.gz;
-"$pkgname.tmpfiles")
+"$pkgname.tmpfiles" "python3.patch")
 sha256sums=('1f6402dc70b1d056fffc3748f2fdcecff730d8843bb6936de395b3443ce05322'
-'2b061865e10578a0477b9c7991a00594bc839c846b98896e93c75743dbf6a379')
+'2b061865e10578a0477b9c7991a00594bc839c846b98896e93c75743dbf6a379'
+'8aa32e37aef329e0873425d25e370d25b7aa0731f104a645737ff64a5a9e')
 
 prepare() {
   cd $pkgname-$pkgver
   ./autogen.sh
+
+  patch -Np1 -i ${srcdir}/python3.patch
 }
 
 build() {

Added: python3.patch
===
--- python3.patch   (rev 0)
+++ python3.patch   2020-04-03 18:54:52 UTC (rev 611004)
@@ -0,0 +1,51 @@
+diff -aur watchman-4.9.0.old/python/bin/watchman-make 
watchman-4.9.0/python/bin/watchman-make
+--- watchman-4.9.0.old/python/bin/watchman-make2020-04-03 
20:33:59.893048471 +0200
 watchman-4.9.0/python/bin/watchman-make2020-04-03 20:36:21.800479512 
+0200
+@@ -209,7 +209,7 @@
+ client.setTimeout(600)
+ 
+ result = client.receive()
+-for _, t in targets.iteritems():
++for _, t in targets.items():
+ t.consumeEvents(client)
+ 
+ # Now we wait for events to settle
+@@ -218,7 +218,7 @@
+ while not settled:
+ try:
+ result = client.receive()
+-for _, t in targets.iteritems():
++for _, t in targets.items():
+ t.consumeEvents(client)
+ except pywatchman.SocketTimeout as ex:
+ # Our short settle timeout hit, so we're now settled
+@@ -226,7 +226,7 @@
+ break
+ 
+ # Now we can work on executing the targets
+-for _, t in targets.iteritems():
++for _, t in targets.items():
+ t.execute()
+ 
+ # Print this at the bottom of the loop rather than the top
+diff -aur watchman-4.9.0.old/python/bin/watchman-wait 
watchman-4.9.0/python/bin/watchman-wait
+--- watchman-4.9.0.old/python/bin/watchman-wait2020-04-03 
20:33:59.893048471 +0200
 watchman-4.9.0/python/bin/watchman-wait2020-04-03 20:36:46.413945264 
+0200
+@@ -182,7 +182,7 @@
+ try:
+ client.capabilityCheck(
+ required=['term-dirname', 'cmd-watch-project', 'wildmatch'])
+-for _, sub in subscriptions.iteritems():
++for _, sub in subscriptions.items():
+ sub.start(client)
+ 
+ except pywatchman.CommandError as ex:
+@@ -200,7 +200,7 @@
+ # the client object will accumulate all subscription results
+ # over time, so we ask it to remove and return those values
+ # for each of the subscriptions
+-for _, sub in subscriptions.iteritems():
++for _, sub in subscriptions.items():
+ sub.emit(client)
+ 
+ except pywatchman.SocketTimeout as ex:


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

2019-11-04 Thread Evangelos Foutras via arch-commits
Date: Monday, November 4, 2019 @ 08:10:36
  Author: foutrelis
Revision: 523609

Python 3.8 rebuild

Modified:
  watchman/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-11-04 08:10:33 UTC (rev 523608)
+++ PKGBUILD2019-11-04 08:10:36 UTC (rev 523609)
@@ -4,7 +4,7 @@
 
 pkgname=watchman
 pkgver=4.9.0
-pkgrel=2
+pkgrel=3
 pkgdesc="An inotify-based file watching and job triggering command line 
utility"
 url="https://facebook.github.io/watchman/;
 arch=('i686' 'x86_64')