forked from hasufell/hasufell-repository
		
	dev-util/bakefile: initial import of version 0.2.9
This is needed to regenerate the build system of dev-db/wxsqlite3.
This commit is contained in:
		
							parent
							
								
									cc94972ba0
								
							
						
					
					
						commit
						221c19ef1a
					
				
							
								
								
									
										23
									
								
								packages/dev-util/bakefile/bakefile-0.2.9.exheres-0
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								packages/dev-util/bakefile/bakefile-0.2.9.exheres-0
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,23 @@ | ||||
| # Copyright 2016 Julian Ospald | ||||
| # Distributed under the terms of the GNU General Public License v2 | ||||
| 
 | ||||
| require python [ blacklist=3 has_bin=true has_lib=true multibuild=false ] | ||||
| require sourceforge [ suffix=tar.gz ] | ||||
| 
 | ||||
| SUMMARY="Bakefile makefiles generator" | ||||
| HOMEPAGE="http://bakefile.org/" | ||||
| 
 | ||||
| LICENCES="MIT" | ||||
| SLOT="0" | ||||
| PLATFORMS="~amd64 ~x86" | ||||
| MYOPTIONS="" | ||||
| 
 | ||||
| DEPENDENCIES=" | ||||
| " | ||||
| 
 | ||||
| BUGS_TO="hasufell@posteo.de" | ||||
| 
 | ||||
| DEFAULT_SRC_PREPARE_PATCHES=( | ||||
|     "${FILES}"/${PNV}-Fix-searchPath-locations.patch | ||||
| ) | ||||
| 
 | ||||
| @ -0,0 +1,26 @@ | ||||
| From 4c46fc8c21beb9a0cdcba6faec501af680964289 Mon Sep 17 00:00:00 2001 | ||||
| From: Julian Ospald <hasufell@posteo.de> | ||||
| Date: Sat, 14 May 2016 12:41:28 +0200 | ||||
| Subject: [PATCH] Fix searchPath locations | ||||
| Upstream: no, this version is not maintained anymore, but used by wxGTK/wxsqlite3 | ||||
| 
 | ||||
| ---
 | ||||
|  src/config.py | 2 +- | ||||
|  1 file changed, 1 insertion(+), 1 deletion(-) | ||||
| 
 | ||||
| diff --git a/src/config.py b/src/config.py
 | ||||
| index d325fe4..7e8df3d 100644
 | ||||
| --- a/src/config.py
 | ||||
| +++ b/src/config.py
 | ||||
| @@ -43,7 +43,7 @@ searchPath = os.getenv('BAKEFILE_PATHS', '').split(os.pathsep)
 | ||||
|  if searchPath == ['']: searchPath = [] | ||||
|   | ||||
|  progdir = os.path.dirname(os.path.realpath(sys.argv[0])) | ||||
| -datadir = os.path.join(progdir, '..', '..', 'share', 'bakefile')
 | ||||
| +datadir = os.path.join('/', 'usr', 'share', 'bakefile')
 | ||||
|  if not os.path.isfile(os.path.join(datadir, 'rules', 'FORMATS.bkmanifest')): | ||||
|      datadir = os.path.join(progdir, '..') | ||||
|  searchPath.append(os.path.normpath(os.path.join(datadir, 'rules'))) | ||||
| -- 
 | ||||
| 2.8.1 | ||||
| 
 | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user