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

Alexander Rødseth arodseth at archlinux.org
Tue Apr 28 22:37:15 UTC 2020


    Date: Tuesday, April 28, 2020 @ 22:37:14
  Author: arodseth
Revision: 622143

FS#66418

Modified:
  distcc/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-28 22:22:22 UTC (rev 622142)
+++ PKGBUILD	2020-04-28 22:37:14 UTC (rev 622143)
@@ -6,10 +6,10 @@
 
 pkgname=distcc
 pkgver=3.3.3
-pkgrel=4
+pkgrel=5
 pkgdesc='Distributed compilation service for C, C++ and Objective-C'
 arch=(x86_64)
-url='http://distcc.org'
+url='https://github.com/distcc/distcc'
 license=(GPL)
 depends=(avahi popt python)
 makedepends=(git gtk2 setconf)
@@ -16,7 +16,7 @@
 optdepends=('gtk2: for distccmon-gnome')
 backup=('etc/conf.d/distccd'
         'etc/distcc/hosts')
-source=("git+https://github.com/distcc/distcc#tag=v$pkgver"
+source=("git+$url#commit=4cde9bcfbda589abd842e3bbc652ce369085eaae" # tag: v3.3.3
         'distccd.conf.d'
         'distccd.service')
 sha256sums=('SKIP'
@@ -28,6 +28,9 @@
   ./autogen.sh
   setconf gnome/distccmon-gnome.desktop Name 'DistCC Monitor'
   sed -i 's/ install-gnome-data//g' Makefile.in
+
+  # FS#66418, support Python 3.9
+  find . -name "*.py" -type f -exec sed -i 's/time.clock()/time.perf_counter()/g' {} \;
 }
 
 build() {


More information about the arch-commits mailing list