]> git.pld-linux.org Git - packages/bakefile.git/commitdiff
- up to 0.2.12 master auto/th/bakefile-0.2.12-1
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 22 Sep 2023 14:03:27 +0000 (16:03 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Fri, 22 Sep 2023 14:03:27 +0000 (16:03 +0200)
bakefile-empy.patch
bakefile.spec

index 774dbc31ca0517749df469541a34d6b4b5f4467e..76d63453c881003a420ae1e6cbe1ceeb71523a20 100644 (file)
@@ -1,6 +1,6 @@
 --- bakefile-0.1.1.20031019/src/writer.py.wiget        2003-10-13 23:53:41.000000000 +0200
 +++ bakefile-0.1.1.20031019/src/writer.py      2003-10-19 14:20:04.000000000 +0200
-@@ -174,7 +174,10 @@
+@@ -174,12 +174,15 @@
      return (rulesdir, template)
  
  def invoke_em(writer, file, method):
 +      from empy import em
      rulesdir, template = __findWriter(writer)
      
-     filename = tempfile.mktemp('bakefile')
-@@ -182,7 +185,7 @@
-     # creating the file:
-     tmpf = open(filename, 'wb'); tmpf.close()
+     filename = portautils.mktemp('bakefile')
      
 -    empy.em.invoke(['-I','mk',
 +    em.invoke(['-I','mk',
index 3e54e7f5a4087f2ea2d0c8a7542c7208f7dbf34a..e39a635d6f80dc965f76c80c8ea38fa8b78b5cca 100644 (file)
@@ -2,13 +2,13 @@
 Summary:       Native makefiles generator
 Summary(pl.UTF-8):     Generator natywnych plików typu Makefile
 Name:          bakefile
-Version:       0.2.11
+Version:       0.2.12
 Release:       1
 License:       MIT
 Group:         Development/Building
 #SourceDownload: https://github.com/vslavik/bakefile/releases
-Source0:       https://github.com/vslavik/bakefile/releases/download/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 7239d91e9907498feffa3c77333a2e22
+Source0:       https://github.com/vslavik/bakefile/releases/download/v%{version}.1/%{name}-%{version}.tar.gz
+# Source0-md5: a735ce2c1ca1b86adbcb2fdb06ade802
 Patch0:                %{name}-empy.patch
 URL:           http://bakefile.org/
 BuildRequires: autoconf >= 2.53
@@ -37,6 +37,10 @@ dla autoconfa, projekt dla Visual C++, makefile dla bcc itd.).
 %setup -q
 %patch0 -p1
 
+%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+python(\s|$),#!%{__python}\1,' \
+       src/bakefile.py \
+       src/bakefile_gen.py
+
 %build
 %{__libtoolize}
 %{__aclocal} -I admin
This page took 0.142628 seconds and 4 git commands to generate.