From 221c19ef1a08c961f3393484e2f9e245e8839715 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sat, 14 May 2016 13:11:52 +0200 Subject: [PATCH] dev-util/bakefile: initial import of version 0.2.9 This is needed to regenerate the build system of dev-db/wxsqlite3. --- .../bakefile/bakefile-0.2.9.exheres-0 | 23 ++++++++++++++++ ...efile-0.2.9-Fix-searchPath-locations.patch | 26 +++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 packages/dev-util/bakefile/bakefile-0.2.9.exheres-0 create mode 100644 packages/dev-util/bakefile/files/bakefile-0.2.9-Fix-searchPath-locations.patch diff --git a/packages/dev-util/bakefile/bakefile-0.2.9.exheres-0 b/packages/dev-util/bakefile/bakefile-0.2.9.exheres-0 new file mode 100644 index 0000000..a0b8986 --- /dev/null +++ b/packages/dev-util/bakefile/bakefile-0.2.9.exheres-0 @@ -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 +) + diff --git a/packages/dev-util/bakefile/files/bakefile-0.2.9-Fix-searchPath-locations.patch b/packages/dev-util/bakefile/files/bakefile-0.2.9-Fix-searchPath-locations.patch new file mode 100644 index 0000000..c0af82d --- /dev/null +++ b/packages/dev-util/bakefile/files/bakefile-0.2.9-Fix-searchPath-locations.patch @@ -0,0 +1,26 @@ +From 4c46fc8c21beb9a0cdcba6faec501af680964289 Mon Sep 17 00:00:00 2001 +From: Julian Ospald +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 +