summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/parse
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/parse')
-rw-r--r--bitbake/lib/bb/parse/__init__.py34
-rw-r--r--bitbake/lib/bb/parse/parse_py/BBHandler.py36
-rw-r--r--bitbake/lib/bb/parse/parse_py/ConfHandler.py35
-rw-r--r--bitbake/lib/bb/parse/parse_py/__init__.py35
4 files changed, 75 insertions, 65 deletions
diff --git a/bitbake/lib/bb/parse/__init__.py b/bitbake/lib/bb/parse/__init__.py
index 70fdba03b4..3c9ba8e6da 100644
--- a/bitbake/lib/bb/parse/__init__.py
+++ b/bitbake/lib/bb/parse/__init__.py
@@ -3,24 +3,26 @@ BitBake Parsers
3 3
4File parsers for the BitBake build tools. 4File parsers for the BitBake build tools.
5 5
6Copyright (C) 2003, 2004 Chris Larson 6"""
7Copyright (C) 2003, 2004 Phil Blundell
8
9This program is free software; you can redistribute it and/or modify it under
10the terms of the GNU General Public License as published by the Free Software
11Foundation; either version 2 of the License, or (at your option) any later
12version.
13
14This program is distributed in the hope that it will be useful, but WITHOUT
15ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
16FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
17 7
18You should have received a copy of the GNU General Public License along with
19this program; if not, write to the Free Software Foundation, Inc., 59 Temple
20Place, Suite 330, Boston, MA 02111-1307 USA.
21 8
22Based on functions from the base bb module, Copyright 2003 Holger Schurig 9# Copyright (C) 2003, 2004 Chris Larson
23""" 10# Copyright (C) 2003, 2004 Phil Blundell
11#
12# This program is free software; you can redistribute it and/or modify
13# it under the terms of the GNU General Public License version 2 as
14# published by the Free Software Foundation.
15#
16# This program is distributed in the hope that it will be useful,
17# but WITHOUT ANY WARRANTY; without even the implied warranty of
18# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19# GNU General Public License for more details.
20#
21# You should have received a copy of the GNU General Public License along
22# with this program; if not, write to the Free Software Foundation, Inc.,
23# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
24#
25# Based on functions from the base bb module, Copyright 2003 Holger Schurig
24 26
25__all__ = [ 'ParseError', 'SkipPackage', 'cached_mtime', 'mark_dependency', 27__all__ = [ 'ParseError', 'SkipPackage', 'cached_mtime', 'mark_dependency',
26 'supports', 'handle', 'init' ] 28 'supports', 'handle', 'init' ]
diff --git a/bitbake/lib/bb/parse/parse_py/BBHandler.py b/bitbake/lib/bb/parse/parse_py/BBHandler.py
index 42b0369428..2c39316325 100644
--- a/bitbake/lib/bb/parse/parse_py/BBHandler.py
+++ b/bitbake/lib/bb/parse/parse_py/BBHandler.py
@@ -1,25 +1,29 @@
1#!/usr/bin/env python 1#!/usr/bin/env python
2# ex:ts=4:sw=4:sts=4:et 2# ex:ts=4:sw=4:sts=4:et
3# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- 3# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
4"""class for handling .bb files 4"""
5 class for handling .bb files
5 6
6 Reads a .bb file and obtains its metadata 7 Reads a .bb file and obtains its metadata
7 8
8 Copyright (C) 2003, 2004 Chris Larson 9"""
9 Copyright (C) 2003, 2004 Phil Blundell 10
10 11
11 This program is free software; you can redistribute it and/or modify it under 12# Copyright (C) 2003, 2004 Chris Larson
12 the terms of the GNU General Public License as published by the Free Software 13# Copyright (C) 2003, 2004 Phil Blundell
13 Foundation; either version 2 of the License, or (at your option) any later 14#
14 version. 15# This program is free software; you can redistribute it and/or modify
15 16# it under the terms of the GNU General Public License version 2 as
16 This program is distributed in the hope that it will be useful, but WITHOUT 17# published by the Free Software Foundation.
17 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 18#
18 FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 19# This program is distributed in the hope that it will be useful,
19 20# but WITHOUT ANY WARRANTY; without even the implied warranty of
20 You should have received a copy of the GNU General Public License along with 21# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 this program; if not, write to the Free Software Foundation, Inc., 59 Temple 22# GNU General Public License for more details.
22 Place, Suite 330, Boston, MA 02111-1307 USA.""" 23#
24# You should have received a copy of the GNU General Public License along
25# with this program; if not, write to the Free Software Foundation, Inc.,
26# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
23 27
24import re, bb, os, sys, time 28import re, bb, os, sys, time
25import bb.fetch, bb.build, bb.utils 29import bb.fetch, bb.build, bb.utils
diff --git a/bitbake/lib/bb/parse/parse_py/ConfHandler.py b/bitbake/lib/bb/parse/parse_py/ConfHandler.py
index 6c0a8cceaf..1ae673079d 100644
--- a/bitbake/lib/bb/parse/parse_py/ConfHandler.py
+++ b/bitbake/lib/bb/parse/parse_py/ConfHandler.py
@@ -1,25 +1,28 @@
1#!/usr/bin/env python 1#!/usr/bin/env python
2# ex:ts=4:sw=4:sts=4:et 2# ex:ts=4:sw=4:sts=4:et
3# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- 3# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
4"""class for handling configuration data files 4"""
5 class for handling configuration data files
5 6
6 Reads a .conf file and obtains its metadata 7 Reads a .conf file and obtains its metadata
7 8
8 Copyright (C) 2003, 2004 Chris Larson 9"""
9 Copyright (C) 2003, 2004 Phil Blundell 10
10 11# Copyright (C) 2003, 2004 Chris Larson
11 This program is free software; you can redistribute it and/or modify it under 12# Copyright (C) 2003, 2004 Phil Blundell
12 the terms of the GNU General Public License as published by the Free Software 13#
13 Foundation; either version 2 of the License, or (at your option) any later 14# This program is free software; you can redistribute it and/or modify
14 version. 15# it under the terms of the GNU General Public License version 2 as
15 16# published by the Free Software Foundation.
16 This program is distributed in the hope that it will be useful, but WITHOUT 17#
17 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 18# This program is distributed in the hope that it will be useful,
18 FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 19# but WITHOUT ANY WARRANTY; without even the implied warranty of
19 20# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 You should have received a copy of the GNU General Public License along with 21# GNU General Public License for more details.
21 this program; if not, write to the Free Software Foundation, Inc., 59 Temple 22#
22 Place, Suite 330, Boston, MA 02111-1307 USA.""" 23# You should have received a copy of the GNU General Public License along
24# with this program; if not, write to the Free Software Foundation, Inc.,
25# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
23 26
24import re, bb.data, os, sys 27import re, bb.data, os, sys
25from bb.parse import ParseError 28from bb.parse import ParseError
diff --git a/bitbake/lib/bb/parse/parse_py/__init__.py b/bitbake/lib/bb/parse/parse_py/__init__.py
index 6a2ce4059d..9e0e00adda 100644
--- a/bitbake/lib/bb/parse/parse_py/__init__.py
+++ b/bitbake/lib/bb/parse/parse_py/__init__.py
@@ -6,24 +6,25 @@ BitBake Parsers
6 6
7File parsers for the BitBake build tools. 7File parsers for the BitBake build tools.
8 8
9Copyright (C) 2003, 2004 Chris Larson
10Copyright (C) 2003, 2004 Phil Blundell
11
12This program is free software; you can redistribute it and/or modify it under
13the terms of the GNU General Public License as published by the Free Software
14Foundation; either version 2 of the License, or (at your option) any later
15version.
16
17This program is distributed in the hope that it will be useful, but WITHOUT
18ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
19FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
20
21You should have received a copy of the GNU General Public License along with
22this program; if not, write to the Free Software Foundation, Inc., 59 Temple
23Place, Suite 330, Boston, MA 02111-1307 USA.
24
25Based on functions from the base bb module, Copyright 2003 Holger Schurig
26""" 9"""
10
11# Copyright (C) 2003, 2004 Chris Larson
12# Copyright (C) 2003, 2004 Phil Blundell
13#
14# This program is free software; you can redistribute it and/or modify
15# it under the terms of the GNU General Public License version 2 as
16# published by the Free Software Foundation.
17#
18# This program is distributed in the hope that it will be useful,
19# but WITHOUT ANY WARRANTY; without even the implied warranty of
20# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21# GNU General Public License for more details.
22#
23# You should have received a copy of the GNU General Public License along
24# with this program; if not, write to the Free Software Foundation, Inc.,
25# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
26#
27# Based on functions from the base bb module, Copyright 2003 Holger Schurig
27__version__ = '1.0' 28__version__ = '1.0'
28 29
29__all__ = [ 'ConfHandler', 'BBHandler'] 30__all__ = [ 'ConfHandler', 'BBHandler']