diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-01 11:47:13 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-04 10:41:13 +0100 |
commit | 695d84397b68cc003186e22f395caa378b06bc75 (patch) | |
tree | 038373fe110ab285bd3bfe9b6840d055b1a09083 /lib/bb/parse | |
parent | ff237c33337f4da2ca06c3a2c49699bc26608a6b (diff) | |
download | bitbake-695d84397b68cc003186e22f395caa378b06bc75.tar.gz |
bitbake: Drop duplicate license boilerplace text
With the introduction of SPDX-License-Identifier headers, we don't need a ton
of header boilerplate in every file. Simplify the files and rely on the top
level for the full licence text.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/parse')
-rw-r--r-- | lib/bb/parse/__init__.py | 14 | ||||
-rw-r--r-- | lib/bb/parse/ast.py | 13 | ||||
-rw-r--r-- | lib/bb/parse/parse_py/BBHandler.py | 13 | ||||
-rw-r--r-- | lib/bb/parse/parse_py/ConfHandler.py | 12 | ||||
-rw-r--r-- | lib/bb/parse/parse_py/__init__.py | 14 |
5 files changed, 2 insertions, 64 deletions
diff --git a/lib/bb/parse/__init__.py b/lib/bb/parse/__init__.py index 8ff1b8a24..76e180b41 100644 --- a/lib/bb/parse/__init__.py +++ b/lib/bb/parse/__init__.py @@ -11,20 +11,8 @@ File parsers for the BitBake build tools. # # SPDX-License-Identifier: GPL-2.0-only # -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License version 2 as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -# # Based on functions from the base bb module, Copyright 2003 Holger Schurig +# handlers = [] diff --git a/lib/bb/parse/ast.py b/lib/bb/parse/ast.py index cf76dadba..71ee49b8c 100644 --- a/lib/bb/parse/ast.py +++ b/lib/bb/parse/ast.py @@ -10,19 +10,6 @@ # # SPDX-License-Identifier: GPL-2.0-only # -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License version 2 as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - import re import string diff --git a/lib/bb/parse/parse_py/BBHandler.py b/lib/bb/parse/parse_py/BBHandler.py index 297ab7790..55fd1cb6c 100644 --- a/lib/bb/parse/parse_py/BBHandler.py +++ b/lib/bb/parse/parse_py/BBHandler.py @@ -14,19 +14,6 @@ # # SPDX-License-Identifier: GPL-2.0-only # -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License version 2 as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - import re, bb, os import logging diff --git a/lib/bb/parse/parse_py/ConfHandler.py b/lib/bb/parse/parse_py/ConfHandler.py index d1784b6c5..cc70da0db 100644 --- a/lib/bb/parse/parse_py/ConfHandler.py +++ b/lib/bb/parse/parse_py/ConfHandler.py @@ -13,18 +13,6 @@ # # SPDX-License-Identifier: GPL-2.0-only # -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License version 2 as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. import errno import re diff --git a/lib/bb/parse/parse_py/__init__.py b/lib/bb/parse/parse_py/__init__.py index a8f78dba7..696c71b45 100644 --- a/lib/bb/parse/parse_py/__init__.py +++ b/lib/bb/parse/parse_py/__init__.py @@ -13,20 +13,8 @@ File parsers for the BitBake build tools. # # SPDX-License-Identifier: GPL-2.0-only # -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License version 2 as -# published by the Free Software Foundation. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -# # Based on functions from the base bb module, Copyright 2003 Holger Schurig +# from __future__ import absolute_import from . import ConfHandler |