Sync from SUSE:SLFO:Main waf revision 2cf64c5b14858864c2b9d9b3ce392012
This commit is contained in:
commit
485569f54e
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
waf-waf-2.0.25.tar.bz2
(Stored with Git LFS)
Normal file
BIN
waf-waf-2.0.25.tar.bz2
(Stored with Git LFS)
Normal file
Binary file not shown.
16
waf.changes
Normal file
16
waf.changes
Normal file
@ -0,0 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 5 07:52:51 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 2.0.25:
|
||||
* Fix invalid characters returned by find_program #2397
|
||||
* Prepare for distutils removal (Python 3.12 regression) #2402
|
||||
* Improve cp65001 compat in cpython < 3.3 #2346
|
||||
* Add Fujitsu Fortran compiler detection on ARM64FX #2348
|
||||
* Support multiple Sphinx output formats #2344
|
||||
* Improve PyQt5 detection #2343
|
||||
* Add asynchronous wafcache uploads
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 27 19:50:33 UTC 2022 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||
|
||||
- Initial package version (2.0.24)
|
68
waf.spec
Normal file
68
waf.spec
Normal file
@ -0,0 +1,68 @@
|
||||
#
|
||||
# spec file for package waf
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: waf
|
||||
Version: 2.0.25
|
||||
Release: 0
|
||||
Summary: The Waf build system
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Tools/Building
|
||||
URL: https://waf.io
|
||||
Source: https://gitlab.com/ita1024/waf/-/archive/waf-%{version}/waf-waf-%{version}.tar.bz2
|
||||
BuildRequires: python3-base
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Waf is a Python-based framework for configuring, compiling and installing applications.
|
||||
|
||||
%prep
|
||||
%setup -q -n waf-waf-%{version}
|
||||
find ./waflib -iname \*py -print -exec sed -i -e '1{ s/#!.*/#!foo/ }' '{}' \;
|
||||
|
||||
%build
|
||||
python3 ./waf-light configure build
|
||||
# Unpack waflib
|
||||
python3 -c "import zipfile; z = zipfile.ZipFile('./zip/waflib.zip'); z.extractall(path='./zip/')"
|
||||
|
||||
cat <<EOF > ./waf.wrapper
|
||||
#!/usr/bin/python3
|
||||
import os, sys;
|
||||
cwd = os.getcwd()
|
||||
wafdir = "%{_datadir}/waf/"
|
||||
sys.path.insert(0, wafdir)
|
||||
|
||||
if __name__ == '__main__':
|
||||
from waflib import Scripting
|
||||
Scripting.waf_entry_point(cwd, "%{version}", wafdir)
|
||||
EOF
|
||||
|
||||
%install
|
||||
install -m 755 -D waf.wrapper %{buildroot}%{_bindir}/waf
|
||||
install -m 755 -d %{buildroot}%{_datadir}/waf/
|
||||
cp -pR ./zip/waflib %{buildroot}%{_datadir}/waf/
|
||||
|
||||
%check
|
||||
export PYTHONPATH=%{buildroot}/%{_datadir}/waf/
|
||||
%{buildroot}/%{_bindir}/waf -h
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%{_bindir}/waf
|
||||
%{_datadir}/waf
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user