[packages/waf] - updated to 2.1.5
qboosh
qboosh at pld-linux.org
Sun May 25 19:46:49 CEST 2025
commit fa9a616aec13b9ec830198b9d2f0cda677c42bbf
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun May 25 19:30:36 2025 +0200
- updated to 2.1.5
waf-path.patch | 14 +++++++-------
waf.spec | 8 ++++----
2 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/waf.spec b/waf.spec
index 4012c16..a671fc3 100644
--- a/waf.spec
+++ b/waf.spec
@@ -1,13 +1,13 @@
Summary: The Waf build system
Summary(pl.UTF-8): System budowania Waf
Name: waf
-Version: 2.0.27
-Release: 3
+Version: 2.1.5
+Release: 1
# note: waf book is on CC-BY-NC-ND (not included in binary package)
License: BSD
Group: Development/Building
Source0: https://waf.io/%{name}-%{version}.tar.bz2
-# Source0-md5: c0ab0a79eef9cfff32884f49580516c6
+# Source0-md5: ab940b9f6de7e80002d6347a852fb48c
Patch0: %{name}-path.patch
URL: https://waf.io/
BuildRequires: python3 >= 1:3
@@ -34,7 +34,7 @@ Scons, Cmake, Ant itp.).
%setup -q
%patch -P 0 -p1
-%{__sed} -i -e '1s,/usr/bin/.*python,%{__python3},' waf-light waflib/Context.py waflib/processor.py waflib/extras/javatest.py
+%{__sed} -i -e '1s,/usr/bin/.*python$,%{__python3},' waflib/Context.py waflib/processor.py waflib/extras/javatest.py
%build
# check waf-light
diff --git a/waf-path.patch b/waf-path.patch
index 9d087f0..fd5cab2 100644
--- a/waf-path.patch
+++ b/waf-path.patch
@@ -1,12 +1,13 @@
---- waf-1.6.4/waf-light.orig 2011-04-17 12:02:50.000000000 +0200
-+++ waf-1.6.4/waf-light 2011-05-01 06:55:29.260143094 +0200
+--- waf-2.1.5/waf-light.orig 2024-03-10 06:06:06.000000000 +0100
++++ waf-2.1.5/waf-light 2025-05-25 19:25:18.278249759 +0200
@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
+-#!/usr/bin/env python3
++#!/usr/bin/python3
# encoding: latin-1
# Thomas Nagy, 2005-2018
#
-@@ -34,7 +34,7 @@
+@@ -35,7 +35,7 @@ import os, sys, inspect
+ VERSION="2.1.5"
REVISION="x"
GIT="x"
-INSTALL="x"
@@ -14,8 +15,7 @@
C1='x'
C2='x'
C3='x'
- cwd = os.getcwd()
-@@ -140,9 +140,9 @@ def find_lib():
+@@ -151,9 +151,9 @@ def find_lib():
return dir
err('waf-light requires waflib -> export WAFDIR=/folder')
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/waf.git/commitdiff/fa9a616aec13b9ec830198b9d2f0cda677c42bbf
More information about the pld-cvs-commit
mailing list