[arch-commits] Commit in watchman/repos/community-x86_64 (5 files)

Jelle van der Waa jelle at archlinux.org
Fri Apr 3 18:55:11 UTC 2020


    Date: Friday, April 3, 2020 @ 18:55:08
  Author: jelle
Revision: 611005

archrelease: copy trunk to community-x86_64

Added:
  watchman/repos/community-x86_64/PKGBUILD
    (from rev 611004, watchman/trunk/PKGBUILD)
  watchman/repos/community-x86_64/python3.patch
    (from rev 611004, watchman/trunk/python3.patch)
  watchman/repos/community-x86_64/watchman.tmpfiles
    (from rev 611004, watchman/trunk/watchman.tmpfiles)
Deleted:
  watchman/repos/community-x86_64/PKGBUILD
  watchman/repos/community-x86_64/watchman.tmpfiles

-------------------+
 PKGBUILD          |   89 ++++++++++++++++++++++++++--------------------------
 python3.patch     |   51 +++++++++++++++++++++++++++++
 watchman.tmpfiles |    2 -
 3 files changed, 98 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-03 18:54:52 UTC (rev 611004)
+++ PKGBUILD	2020-04-03 18:55:08 UTC (rev 611005)
@@ -1,43 +0,0 @@
-# Maintainer: Jean Lucas <jean at 4ray.co>
-# Contributor: José Luis Lafuente <jl at lafuente.me>
-# Contributor: Michael Louis Thaler <michael.louis.thaler at gmail.com>
-
-pkgname=watchman
-pkgver=4.9.0
-pkgrel=3
-pkgdesc="An inotify-based file watching and job triggering command line utility"
-url="https://facebook.github.io/watchman/"
-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")
-sha256sums=('1f6402dc70b1d056fffc3748f2fdcecff730d8843bb6936de395b3443ce05322'
-            '2b061865e10578a0477b9c7991a00594bc839c846b98896e93c75743dbf6a379')
-
-prepare() {
-  cd $pkgname-$pkgver
-  ./autogen.sh
-}
-
-build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr --disable-statedir --enable-lenient
-  make
-}
-
-check() {
-  cd $pkgname-$pkgver
-  # TODO: fix segfault in test
-  #make check
-}
-
-package() {
-  cd $pkgname-$pkgver
-  # Docs available online only; see https://github.com/facebook/watchman/issues/30
-  make DESTDIR=$pkgdir install
-
-  install -Dm 644 $srcdir/$pkgname.tmpfiles $pkgdir/usr/lib/tmpfiles.d/$pkgname.conf
-}
-
-# vim:set ts=2 sw=2 et:

Copied: watchman/repos/community-x86_64/PKGBUILD (from rev 611004, watchman/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-03 18:55:08 UTC (rev 611005)
@@ -0,0 +1,46 @@
+# Maintainer: Jean Lucas <jean at 4ray.co>
+# Contributor: José Luis Lafuente <jl at lafuente.me>
+# Contributor: Michael Louis Thaler <michael.louis.thaler at gmail.com>
+
+pkgname=watchman
+pkgver=4.9.0
+pkgrel=4
+pkgdesc="An inotify-based file watching and job triggering command line utility"
+url="https://facebook.github.io/watchman/"
+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")
+sha256sums=('1f6402dc70b1d056fffc3748f2fdcecff730d8843bb6936de395b3443ce05322'
+            '2b061865e10578a0477b9c7991a00594bc839c846b98896e93c75743dbf6a379'
+            '8aa32e37aef329e0873425d25e370d25b7aa0731f104a645737f1111f64a5a9e')
+
+prepare() {
+  cd $pkgname-$pkgver
+  ./autogen.sh
+
+  patch -Np1 -i ${srcdir}/python3.patch
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --disable-statedir --enable-lenient
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  # TODO: fix segfault in test
+  #make check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  # Docs available online only; see https://github.com/facebook/watchman/issues/30
+  make DESTDIR=$pkgdir install
+
+  install -Dm 644 $srcdir/$pkgname.tmpfiles $pkgdir/usr/lib/tmpfiles.d/$pkgname.conf
+}
+
+# vim:set ts=2 sw=2 et:

Copied: watchman/repos/community-x86_64/python3.patch (from rev 611004, watchman/trunk/python3.patch)
===================================================================
--- python3.patch	                        (rev 0)
+++ python3.patch	2020-04-03 18:55:08 UTC (rev 611005)
@@ -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-make	2020-04-03 20:33:59.893048471 +0200
++++ watchman-4.9.0/python/bin/watchman-make	2020-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-wait	2020-04-03 20:33:59.893048471 +0200
++++ watchman-4.9.0/python/bin/watchman-wait	2020-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:

Deleted: watchman.tmpfiles
===================================================================
--- watchman.tmpfiles	2020-04-03 18:54:52 UTC (rev 611004)
+++ watchman.tmpfiles	2020-04-03 18:55:08 UTC (rev 611005)
@@ -1 +0,0 @@
-d /run/watchman 0777 root root

Copied: watchman/repos/community-x86_64/watchman.tmpfiles (from rev 611004, watchman/trunk/watchman.tmpfiles)
===================================================================
--- watchman.tmpfiles	                        (rev 0)
+++ watchman.tmpfiles	2020-04-03 18:55:08 UTC (rev 611005)
@@ -0,0 +1 @@
+d /run/watchman 0777 root root



More information about the arch-commits mailing list