[arch-commits] Commit in tevent/repos/staging-x86_64 (4 files)

Evangelos Foutras foutrelis at archlinux.org
Sat Nov 2 21:37:30 UTC 2019


    Date: Saturday, November 2, 2019 @ 21:37:29
  Author: foutrelis
Revision: 366491

archrelease: copy trunk to staging-x86_64

Added:
  tevent/repos/staging-x86_64/PKGBUILD
    (from rev 366490, tevent/trunk/PKGBUILD)
  tevent/repos/staging-x86_64/wafsamba-use-native-waf-timer.patch
    (from rev 366490, tevent/trunk/wafsamba-use-native-waf-timer.patch)
Deleted:
  tevent/repos/staging-x86_64/PKGBUILD
  tevent/repos/staging-x86_64/wafsamba-use-native-waf-timer.patch

-------------------------------------+
 PKGBUILD                            |   94 +++++++-------
 wafsamba-use-native-waf-timer.patch |  228 +++++++++++++++++-----------------
 2 files changed, 161 insertions(+), 161 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-02 21:37:25 UTC (rev 366490)
+++ PKGBUILD	2019-11-02 21:37:29 UTC (rev 366491)
@@ -1,47 +0,0 @@
-# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
-# Contributor: Christian Hesse <mail at eworm.de>
-# Contributor: Marco A Rojas <marquicus at gmail dot com>
-# Contributor: Ng Oon-Ee <ngoonee.talk at gmail.com>
-# Contributor: Thomas Burdick <thomas.burdick at gmail.com>
-
-pkgname=tevent
-pkgver=0.9.39
-pkgrel=3
-epoch=1
-pkgdesc="An event system based on the talloc memory management library"
-arch=('x86_64')
-url="https://tevent.samba.org/"
-source=("https://samba.org/ftp/tevent/${pkgname}-${pkgver}.tar.gz"
-        samba-update-waf-for-py38.patch::https://gitlab.com/samba-team/samba/commit/aabdcc9151.patch
-        wafsamba-use-native-waf-timer.patch)
-license=('GPL3')
-depends=('talloc')
-makedepends=('python')
-optdepends=('python: for python bindings')
-
-prepare() {
-	cd ${srcdir}/${pkgname}-${pkgver}
-
-	# https://bugzilla.samba.org/show_bug.cgi?id=13998
-	patch -Np1 -i ../wafsamba-use-native-waf-timer.patch
-
-	# https://bugzilla.samba.org/show_bug.cgi?id=13960
-	patch -Np1 -i ../samba-update-waf-for-py38.patch
-}
-
-build() {
-	cd ${srcdir}/${pkgname}-${pkgver}
-	./configure --prefix=/usr \
-                    --bundled-libraries=NONE \
-                    --builtin-libraries=replace
-}
-
-package() {
-	cd ${srcdir}/${pkgname}-${pkgver}
-	
-	make
-	make DESTDIR=${pkgdir}/ install
-}
-md5sums=('b937d5e980fa9704f20b57df688845c0'
-         '74e627915f28a848e046d37055d86f3b'
-         '66185b90c2dcb6bc346ef8ba5200717f')

Copied: tevent/repos/staging-x86_64/PKGBUILD (from rev 366490, tevent/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-11-02 21:37:29 UTC (rev 366491)
@@ -0,0 +1,47 @@
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: Christian Hesse <mail at eworm.de>
+# Contributor: Marco A Rojas <marquicus at gmail dot com>
+# Contributor: Ng Oon-Ee <ngoonee.talk at gmail.com>
+# Contributor: Thomas Burdick <thomas.burdick at gmail.com>
+
+pkgname=tevent
+pkgver=0.9.39
+pkgrel=4
+epoch=1
+pkgdesc="An event system based on the talloc memory management library"
+arch=('x86_64')
+url="https://tevent.samba.org/"
+source=("https://samba.org/ftp/tevent/${pkgname}-${pkgver}.tar.gz"
+        samba-update-waf-for-py38.patch::https://gitlab.com/samba-team/samba/commit/aabdcc9151.patch
+        wafsamba-use-native-waf-timer.patch)
+license=('GPL3')
+depends=('talloc')
+makedepends=('python')
+optdepends=('python: for python bindings')
+
+prepare() {
+	cd ${srcdir}/${pkgname}-${pkgver}
+
+	# https://bugzilla.samba.org/show_bug.cgi?id=13998
+	patch -Np1 -i ../wafsamba-use-native-waf-timer.patch
+
+	# https://bugzilla.samba.org/show_bug.cgi?id=13960
+	patch -Np1 -i ../samba-update-waf-for-py38.patch
+}
+
+build() {
+	cd ${srcdir}/${pkgname}-${pkgver}
+	./configure --prefix=/usr \
+                    --bundled-libraries=NONE \
+                    --builtin-libraries=replace
+}
+
+package() {
+	cd ${srcdir}/${pkgname}-${pkgver}
+	
+	make
+	make DESTDIR=${pkgdir}/ install
+}
+md5sums=('b937d5e980fa9704f20b57df688845c0'
+         '74e627915f28a848e046d37055d86f3b'
+         '66185b90c2dcb6bc346ef8ba5200717f')

Deleted: wafsamba-use-native-waf-timer.patch
===================================================================
--- wafsamba-use-native-waf-timer.patch	2019-11-02 21:37:25 UTC (rev 366490)
+++ wafsamba-use-native-waf-timer.patch	2019-11-02 21:37:29 UTC (rev 366491)
@@ -1,114 +0,0 @@
-From dc27ff44de578b0b429a24b0e42e243d8bf481a8 Mon Sep 17 00:00:00 2001
-From: Lukas Slebodnik <lslebodn at fedoraproject.org>
-Date: Wed, 12 Jun 2019 12:27:04 +0200
-Subject: [PATCH] wafsamba: Use native waf timer
-
-  __main__:1: DeprecationWarning: time.clock has been deprecated in Python 3.3
-  and will be removed from Python 3.8: use time.perf_counter
-  or time.process_time instead
-
-BUG: https://bugzilla.samba.org/show_bug.cgi?id=13998
-
-Signed-off-by: Lukas Slebodnik <lslebodn at fedoraproject.org>
-Reviewed-by: Andreas Schneider <asn at samba.org>
-Reviewed-by: Alexander Bokovoy <ab at samba.org>
----
- buildtools/wafsamba/samba_deps.py | 25 ++++++++++++-------------
- 1 file changed, 12 insertions(+), 13 deletions(-)
-
-diff --git a/buildtools/wafsamba/samba_deps.py b/buildtools/wafsamba/samba_deps.py
-index f8c38809bd2..03c37079a8c 100644
---- a/buildtools/wafsamba/samba_deps.py
-+++ b/buildtools/wafsamba/samba_deps.py
-@@ -1,6 +1,6 @@
- # Samba automatic dependency handling and project rules
- 
--import os, sys, re, time
-+import os, sys, re
- 
- from waflib import Build, Options, Logs, Utils, Errors
- from waflib.Logs import debug
-@@ -1102,8 +1102,7 @@ def check_project_rules(bld):
-     if not force_project_rules and load_samba_deps(bld, tgt_list):
-         return
- 
--    global tstart
--    tstart = time.clock()
-+    timer = Utils.Timer()
- 
-     bld.new_rules = True
-     Logs.info("Checking project rules ...")
-@@ -1112,26 +1111,26 @@ def check_project_rules(bld):
- 
-     expand_subsystem_deps(bld)
- 
--    debug("deps: expand_subsystem_deps: %f" % (time.clock() - tstart))
-+    debug("deps: expand_subsystem_deps: %s" % str(timer))
- 
-     replace_grouping_libraries(bld, tgt_list)
- 
--    debug("deps: replace_grouping_libraries: %f" % (time.clock() - tstart))
-+    debug("deps: replace_grouping_libraries: %s" % str(timer))
- 
-     build_direct_deps(bld, tgt_list)
- 
--    debug("deps: build_direct_deps: %f" % (time.clock() - tstart))
-+    debug("deps: build_direct_deps: %s" % str(timer))
- 
-     break_dependency_loops(bld, tgt_list)
- 
--    debug("deps: break_dependency_loops: %f" % (time.clock() - tstart))
-+    debug("deps: break_dependency_loops: %s" % str(timer))
- 
-     if Options.options.SHOWDEPS:
-             show_dependencies(bld, Options.options.SHOWDEPS, set())
- 
-     calculate_final_deps(bld, tgt_list, loops)
- 
--    debug("deps: calculate_final_deps: %f" % (time.clock() - tstart))
-+    debug("deps: calculate_final_deps: %s" % str(timer))
- 
-     if Options.options.SHOW_DUPLICATES:
-             show_object_duplicates(bld, tgt_list)
-@@ -1140,7 +1139,7 @@ def check_project_rules(bld):
-     for f in [ build_dependencies, build_includes, add_init_functions ]:
-         debug('deps: project rules checking %s', f)
-         for t in tgt_list: f(t)
--        debug("deps: %s: %f" % (f, time.clock() - tstart))
-+        debug("deps: %s: %s" % (f, str(timer)))
- 
-     debug('deps: project rules stage1 completed')
- 
-@@ -1148,17 +1147,17 @@ def check_project_rules(bld):
-         Logs.error("Duplicate sources present - aborting")
-         sys.exit(1)
- 
--    debug("deps: check_duplicate_sources: %f" % (time.clock() - tstart))
-+    debug("deps: check_duplicate_sources: %s" % str(timer))
- 
-     if not bld.check_group_ordering(tgt_list):
-         Logs.error("Bad group ordering - aborting")
-         sys.exit(1)
- 
--    debug("deps: check_group_ordering: %f" % (time.clock() - tstart))
-+    debug("deps: check_group_ordering: %s" % str(timer))
- 
-     show_final_deps(bld, tgt_list)
- 
--    debug("deps: show_final_deps: %f" % (time.clock() - tstart))
-+    debug("deps: show_final_deps: %s" % str(timer))
- 
-     debug('deps: project rules checking completed - %u targets checked',
-           len(tgt_list))
-@@ -1166,7 +1165,7 @@ def check_project_rules(bld):
-     if not bld.is_install:
-         save_samba_deps(bld, tgt_list)
- 
--    debug("deps: save_samba_deps: %f" % (time.clock() - tstart))
-+    debug("deps: save_samba_deps: %s" % str(timer))
- 
-     Logs.info("Project rules pass")
- 
--- 
-2.22.0
-

Copied: tevent/repos/staging-x86_64/wafsamba-use-native-waf-timer.patch (from rev 366490, tevent/trunk/wafsamba-use-native-waf-timer.patch)
===================================================================
--- wafsamba-use-native-waf-timer.patch	                        (rev 0)
+++ wafsamba-use-native-waf-timer.patch	2019-11-02 21:37:29 UTC (rev 366491)
@@ -0,0 +1,114 @@
+From dc27ff44de578b0b429a24b0e42e243d8bf481a8 Mon Sep 17 00:00:00 2001
+From: Lukas Slebodnik <lslebodn at fedoraproject.org>
+Date: Wed, 12 Jun 2019 12:27:04 +0200
+Subject: [PATCH] wafsamba: Use native waf timer
+
+  __main__:1: DeprecationWarning: time.clock has been deprecated in Python 3.3
+  and will be removed from Python 3.8: use time.perf_counter
+  or time.process_time instead
+
+BUG: https://bugzilla.samba.org/show_bug.cgi?id=13998
+
+Signed-off-by: Lukas Slebodnik <lslebodn at fedoraproject.org>
+Reviewed-by: Andreas Schneider <asn at samba.org>
+Reviewed-by: Alexander Bokovoy <ab at samba.org>
+---
+ buildtools/wafsamba/samba_deps.py | 25 ++++++++++++-------------
+ 1 file changed, 12 insertions(+), 13 deletions(-)
+
+diff --git a/buildtools/wafsamba/samba_deps.py b/buildtools/wafsamba/samba_deps.py
+index f8c38809bd2..03c37079a8c 100644
+--- a/buildtools/wafsamba/samba_deps.py
++++ b/buildtools/wafsamba/samba_deps.py
+@@ -1,6 +1,6 @@
+ # Samba automatic dependency handling and project rules
+ 
+-import os, sys, re, time
++import os, sys, re
+ 
+ from waflib import Build, Options, Logs, Utils, Errors
+ from waflib.Logs import debug
+@@ -1102,8 +1102,7 @@ def check_project_rules(bld):
+     if not force_project_rules and load_samba_deps(bld, tgt_list):
+         return
+ 
+-    global tstart
+-    tstart = time.clock()
++    timer = Utils.Timer()
+ 
+     bld.new_rules = True
+     Logs.info("Checking project rules ...")
+@@ -1112,26 +1111,26 @@ def check_project_rules(bld):
+ 
+     expand_subsystem_deps(bld)
+ 
+-    debug("deps: expand_subsystem_deps: %f" % (time.clock() - tstart))
++    debug("deps: expand_subsystem_deps: %s" % str(timer))
+ 
+     replace_grouping_libraries(bld, tgt_list)
+ 
+-    debug("deps: replace_grouping_libraries: %f" % (time.clock() - tstart))
++    debug("deps: replace_grouping_libraries: %s" % str(timer))
+ 
+     build_direct_deps(bld, tgt_list)
+ 
+-    debug("deps: build_direct_deps: %f" % (time.clock() - tstart))
++    debug("deps: build_direct_deps: %s" % str(timer))
+ 
+     break_dependency_loops(bld, tgt_list)
+ 
+-    debug("deps: break_dependency_loops: %f" % (time.clock() - tstart))
++    debug("deps: break_dependency_loops: %s" % str(timer))
+ 
+     if Options.options.SHOWDEPS:
+             show_dependencies(bld, Options.options.SHOWDEPS, set())
+ 
+     calculate_final_deps(bld, tgt_list, loops)
+ 
+-    debug("deps: calculate_final_deps: %f" % (time.clock() - tstart))
++    debug("deps: calculate_final_deps: %s" % str(timer))
+ 
+     if Options.options.SHOW_DUPLICATES:
+             show_object_duplicates(bld, tgt_list)
+@@ -1140,7 +1139,7 @@ def check_project_rules(bld):
+     for f in [ build_dependencies, build_includes, add_init_functions ]:
+         debug('deps: project rules checking %s', f)
+         for t in tgt_list: f(t)
+-        debug("deps: %s: %f" % (f, time.clock() - tstart))
++        debug("deps: %s: %s" % (f, str(timer)))
+ 
+     debug('deps: project rules stage1 completed')
+ 
+@@ -1148,17 +1147,17 @@ def check_project_rules(bld):
+         Logs.error("Duplicate sources present - aborting")
+         sys.exit(1)
+ 
+-    debug("deps: check_duplicate_sources: %f" % (time.clock() - tstart))
++    debug("deps: check_duplicate_sources: %s" % str(timer))
+ 
+     if not bld.check_group_ordering(tgt_list):
+         Logs.error("Bad group ordering - aborting")
+         sys.exit(1)
+ 
+-    debug("deps: check_group_ordering: %f" % (time.clock() - tstart))
++    debug("deps: check_group_ordering: %s" % str(timer))
+ 
+     show_final_deps(bld, tgt_list)
+ 
+-    debug("deps: show_final_deps: %f" % (time.clock() - tstart))
++    debug("deps: show_final_deps: %s" % str(timer))
+ 
+     debug('deps: project rules checking completed - %u targets checked',
+           len(tgt_list))
+@@ -1166,7 +1165,7 @@ def check_project_rules(bld):
+     if not bld.is_install:
+         save_samba_deps(bld, tgt_list)
+ 
+-    debug("deps: save_samba_deps: %f" % (time.clock() - tstart))
++    debug("deps: save_samba_deps: %s" % str(timer))
+ 
+     Logs.info("Project rules pass")
+ 
+-- 
+2.22.0
+



More information about the arch-commits mailing list