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:44:10 +0100 |
commit | cf9c0be3f69135633c0800d95e77677569a79839 (patch) | |
tree | 9ae6591dbddd4b27032e0ad8e3f3c5e16151d735 /bitbake/lib/bb/parse | |
parent | 79834a71447f89c52c6c9ad62c9bcbf9b8e0e05b (diff) | |
download | poky-cf9c0be3f69135633c0800d95e77677569a79839.tar.gz |
bitbake: 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.
(Bitbake rev: 695d84397b68cc003186e22f395caa378b06bc75)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/parse')
-rw-r--r-- | bitbake/lib/bb/parse/__init__.py | 14 | ||||
-rw-r--r-- | bitbake/lib/bb/parse/ast.py | 13 | ||||
-rw-r--r-- | bitbake/lib/bb/parse/parse_py/BBHandler.py | 13 | ||||
-rw-r--r-- | bitbake/lib/bb/parse/parse_py/ConfHandler.py | 12 | ||||
-rw-r--r-- | bitbake/lib/bb/parse/parse_py/__init__.py | 14 |
5 files changed, 2 insertions, 64 deletions
diff --git a/bitbake/lib/bb/parse/__init__.py b/bitbake/lib/bb/parse/__init__.py index 8ff1b8a24a..76e180b411 100644 --- a/bitbake/lib/bb/parse/__init__.py +++ b/bitbake/lib/bb/parse/__init__.py | |||
@@ -11,20 +11,8 @@ File parsers for the BitBake build tools. | |||
11 | # | 11 | # |
12 | # SPDX-License-Identifier: GPL-2.0-only | 12 | # SPDX-License-Identifier: GPL-2.0-only |
13 | # | 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 | 14 | # Based on functions from the base bb module, Copyright 2003 Holger Schurig |
15 | # | ||
28 | 16 | ||
29 | handlers = [] | 17 | handlers = [] |
30 | 18 | ||
diff --git a/bitbake/lib/bb/parse/ast.py b/bitbake/lib/bb/parse/ast.py index cf76dadbaa..71ee49b8ce 100644 --- a/bitbake/lib/bb/parse/ast.py +++ b/bitbake/lib/bb/parse/ast.py | |||
@@ -10,19 +10,6 @@ | |||
10 | # | 10 | # |
11 | # SPDX-License-Identifier: GPL-2.0-only | 11 | # SPDX-License-Identifier: GPL-2.0-only |
12 | # | 12 | # |
13 | # This program is free software; you can redistribute it and/or modify | ||
14 | # it under the terms of the GNU General Public License version 2 as | ||
15 | # published by the Free Software Foundation. | ||
16 | # | ||
17 | # This program is distributed in the hope that it will be useful, | ||
18 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
19 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
20 | # GNU General Public License for more details. | ||
21 | # | ||
22 | # You should have received a copy of the GNU General Public License along | ||
23 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
24 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
25 | |||
26 | 13 | ||
27 | import re | 14 | import re |
28 | import string | 15 | import string |
diff --git a/bitbake/lib/bb/parse/parse_py/BBHandler.py b/bitbake/lib/bb/parse/parse_py/BBHandler.py index 297ab77909..55fd1cb6c3 100644 --- a/bitbake/lib/bb/parse/parse_py/BBHandler.py +++ b/bitbake/lib/bb/parse/parse_py/BBHandler.py | |||
@@ -14,19 +14,6 @@ | |||
14 | # | 14 | # |
15 | # SPDX-License-Identifier: GPL-2.0-only | 15 | # SPDX-License-Identifier: GPL-2.0-only |
16 | # | 16 | # |
17 | # This program is free software; you can redistribute it and/or modify | ||
18 | # it under the terms of the GNU General Public License version 2 as | ||
19 | # published by the Free Software Foundation. | ||
20 | # | ||
21 | # This program is distributed in the hope that it will be useful, | ||
22 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
23 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
24 | # GNU General Public License for more details. | ||
25 | # | ||
26 | # You should have received a copy of the GNU General Public License along | ||
27 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
28 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
29 | |||
30 | 17 | ||
31 | import re, bb, os | 18 | import re, bb, os |
32 | import logging | 19 | import logging |
diff --git a/bitbake/lib/bb/parse/parse_py/ConfHandler.py b/bitbake/lib/bb/parse/parse_py/ConfHandler.py index d1784b6c5b..cc70da0db6 100644 --- a/bitbake/lib/bb/parse/parse_py/ConfHandler.py +++ b/bitbake/lib/bb/parse/parse_py/ConfHandler.py | |||
@@ -13,18 +13,6 @@ | |||
13 | # | 13 | # |
14 | # SPDX-License-Identifier: GPL-2.0-only | 14 | # SPDX-License-Identifier: GPL-2.0-only |
15 | # | 15 | # |
16 | # This program is free software; you can redistribute it and/or modify | ||
17 | # it under the terms of the GNU General Public License version 2 as | ||
18 | # published by the Free Software Foundation. | ||
19 | # | ||
20 | # This program is distributed in the hope that it will be useful, | ||
21 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | # GNU General Public License for more details. | ||
24 | # | ||
25 | # You should have received a copy of the GNU General Public License along | ||
26 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
27 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
28 | 16 | ||
29 | import errno | 17 | import errno |
30 | import re | 18 | import re |
diff --git a/bitbake/lib/bb/parse/parse_py/__init__.py b/bitbake/lib/bb/parse/parse_py/__init__.py index a8f78dba76..696c71b458 100644 --- a/bitbake/lib/bb/parse/parse_py/__init__.py +++ b/bitbake/lib/bb/parse/parse_py/__init__.py | |||
@@ -13,20 +13,8 @@ File parsers for the BitBake build tools. | |||
13 | # | 13 | # |
14 | # SPDX-License-Identifier: GPL-2.0-only | 14 | # SPDX-License-Identifier: GPL-2.0-only |
15 | # | 15 | # |
16 | # This program is free software; you can redistribute it and/or modify | ||
17 | # it under the terms of the GNU General Public License version 2 as | ||
18 | # published by the Free Software Foundation. | ||
19 | # | ||
20 | # This program is distributed in the hope that it will be useful, | ||
21 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
22 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
23 | # GNU General Public License for more details. | ||
24 | # | ||
25 | # You should have received a copy of the GNU General Public License along | ||
26 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
27 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
28 | # | ||
29 | # Based on functions from the base bb module, Copyright 2003 Holger Schurig | 16 | # Based on functions from the base bb module, Copyright 2003 Holger Schurig |
17 | # | ||
30 | 18 | ||
31 | from __future__ import absolute_import | 19 | from __future__ import absolute_import |
32 | from . import ConfHandler | 20 | from . import ConfHandler |