diff options
Diffstat (limited to 'grc')
97 files changed, 175 insertions, 1254 deletions
diff --git a/grc/CMakeLists.txt b/grc/CMakeLists.txt index 2f59dcdc7..c1647c2f9 100644 --- a/grc/CMakeLists.txt +++ b/grc/CMakeLists.txt @@ -2,20 +2,8 @@ # # This file is part of GNU Radio # -# GNU Radio is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3, or (at your option) -# any later version. +# SPDX-License-Identifier: GPL-3.0-or-later # -# GNU Radio 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 GNU Radio; see the file COPYING. If not, write to -# the Free Software Foundation, Inc., 51 Franklin Street, -# Boston, MA 02110-1301, USA. ######################################################################## # Setup dependencies diff --git a/grc/__main__.py b/grc/__main__.py index 899d0195d..27a209105 100644 --- a/grc/__main__.py +++ b/grc/__main__.py @@ -1,19 +1,8 @@ # Copyright 2016 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# from .main import main diff --git a/grc/blocks/CMakeLists.txt b/grc/blocks/CMakeLists.txt index b9f319ef7..78fe6cff3 100644 --- a/grc/blocks/CMakeLists.txt +++ b/grc/blocks/CMakeLists.txt @@ -2,20 +2,8 @@ # # This file is part of GNU Radio # -# GNU Radio is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3, or (at your option) -# any later version. +# SPDX-License-Identifier: GPL-3.0-or-later # -# GNU Radio 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 GNU Radio; see the file COPYING. If not, write to -# the Free Software Foundation, Inc., 51 Franklin Street, -# Boston, MA 02110-1301, USA. ######################################################################## include(GrPython) diff --git a/grc/compiler.py b/grc/compiler.py index a5f6c3edc..c3880aefe 100755 --- a/grc/compiler.py +++ b/grc/compiler.py @@ -2,20 +2,8 @@ # # This file is part of GNU Radio # -# GNU Radio is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3, or (at your option) -# any later version. +# SPDX-License-Identifier: GPL-3.0-or-later # -# GNU Radio 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 GNU Radio; see the file COPYING. If not, write to -# the Free Software Foundation, Inc., 51 Franklin Street, -# Boston, MA 02110-1301, USA. from __future__ import print_function, absolute_import diff --git a/grc/converter/__init__.py b/grc/converter/__init__.py index 224f2e9af..6d7e0f2ae 100644 --- a/grc/converter/__init__.py +++ b/grc/converter/__init__.py @@ -1,19 +1,8 @@ # Copyright 2016 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by the -# Free Software Foundation; either version 2 of the License, or (at your -# option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# from __future__ import absolute_import diff --git a/grc/converter/__main__.py b/grc/converter/__main__.py index 6efc2d7c5..852675322 100644 --- a/grc/converter/__main__.py +++ b/grc/converter/__main__.py @@ -1,19 +1,8 @@ # Copyright 2016 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by the -# Free Software Foundation; either version 2 of the License, or (at your -# option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# from __future__ import absolute_import diff --git a/grc/converter/block.dtd b/grc/converter/block.dtd index 145f4d861..bb88de9ea 100644 --- a/grc/converter/block.dtd +++ b/grc/converter/block.dtd @@ -2,19 +2,8 @@ Copyright 2008 Free Software Foundation, Inc. This file is part of GNU Radio -GNU Radio Companion is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. +SPDX-License-Identifier: GPL-2.0-or-later -GNU Radio Companion 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 --> <!-- gnuradio_python.blocks.dtd diff --git a/grc/converter/block.py b/grc/converter/block.py index 77720318f..c176e5d76 100644 --- a/grc/converter/block.py +++ b/grc/converter/block.py @@ -1,19 +1,8 @@ # Copyright 2016 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by the -# Free Software Foundation; either version 2 of the License, or (at your -# option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# """ Converter for legacy block definitions in XML format diff --git a/grc/converter/block_tree.dtd b/grc/converter/block_tree.dtd index 9e2357647..bae9b8763 100644 --- a/grc/converter/block_tree.dtd +++ b/grc/converter/block_tree.dtd @@ -2,19 +2,8 @@ Copyright 2008 Free Software Foundation, Inc. This file is part of GNU Radio -GNU Radio Companion is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. +SPDX-License-Identifier: GPL-2.0-or-later -GNU Radio Companion 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 --> <!-- block_tree.dtd diff --git a/grc/converter/block_tree.py b/grc/converter/block_tree.py index dee9adba4..e069d3445 100644 --- a/grc/converter/block_tree.py +++ b/grc/converter/block_tree.py @@ -1,19 +1,8 @@ # Copyright 2016 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by the -# Free Software Foundation; either version 2 of the License, or (at your -# option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# """ Converter for legacy block tree definitions in XML format """ diff --git a/grc/converter/cheetah_converter.py b/grc/converter/cheetah_converter.py index f12c41a2b..7bf1278cd 100644 --- a/grc/converter/cheetah_converter.py +++ b/grc/converter/cheetah_converter.py @@ -1,19 +1,8 @@ # Copyright 2016 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# from __future__ import absolute_import, print_function diff --git a/grc/converter/flow_graph.dtd b/grc/converter/flow_graph.dtd index bdfe1dc05..eae755c34 100644 --- a/grc/converter/flow_graph.dtd +++ b/grc/converter/flow_graph.dtd @@ -2,19 +2,8 @@ Copyright 2008 Free Software Foundation, Inc. This file is part of GNU Radio -GNU Radio Companion is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. +SPDX-License-Identifier: GPL-2.0-or-later -GNU Radio Companion 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 --> <!-- flow_graph.dtd diff --git a/grc/converter/flow_graph.py b/grc/converter/flow_graph.py index 2b5e4b1f4..fd613da88 100644 --- a/grc/converter/flow_graph.py +++ b/grc/converter/flow_graph.py @@ -1,19 +1,8 @@ # Copyright 2017,2018 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# from __future__ import absolute_import, division diff --git a/grc/converter/main.py b/grc/converter/main.py index 36c712bbf..a0c9324a2 100644 --- a/grc/converter/main.py +++ b/grc/converter/main.py @@ -1,19 +1,8 @@ # Copyright 2016 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by the -# Free Software Foundation; either version 2 of the License, or (at your -# option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# from __future__ import absolute_import diff --git a/grc/converter/xml.py b/grc/converter/xml.py index a43a81ab3..7ed94285d 100644 --- a/grc/converter/xml.py +++ b/grc/converter/xml.py @@ -1,19 +1,8 @@ # Copyright 2017 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# from __future__ import absolute_import, division diff --git a/grc/core/Config.py b/grc/core/Config.py index 34e3c7e20..0a75ca607 100644 --- a/grc/core/Config.py +++ b/grc/core/Config.py @@ -1,19 +1,8 @@ """Copyright 2016 Free Software Foundation, Inc. This file is part of GNU Radio -GNU Radio Companion is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -GNU Radio Companion 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 +SPDX-License-Identifier: GPL-2.0-or-later + """ from __future__ import absolute_import diff --git a/grc/core/Connection.py b/grc/core/Connection.py index 01baaaf8f..998b09823 100644 --- a/grc/core/Connection.py +++ b/grc/core/Connection.py @@ -2,19 +2,8 @@ Copyright 2008-2015 Free Software Foundation, Inc. This file is part of GNU Radio -GNU Radio Companion is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -GNU Radio Companion 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 +SPDX-License-Identifier: GPL-2.0-or-later + """ from __future__ import absolute_import diff --git a/grc/core/Constants.py b/grc/core/Constants.py index 99e676744..70aff73dd 100644 --- a/grc/core/Constants.py +++ b/grc/core/Constants.py @@ -2,19 +2,8 @@ Copyright 2008-2016 Free Software Foundation, Inc. This file is part of GNU Radio -GNU Radio Companion is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -GNU Radio Companion 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 +SPDX-License-Identifier: GPL-2.0-or-later + """ from __future__ import absolute_import diff --git a/grc/core/FlowGraph.py b/grc/core/FlowGraph.py index aff5f48bc..21c3cdb59 100644 --- a/grc/core/FlowGraph.py +++ b/grc/core/FlowGraph.py @@ -1,19 +1,8 @@ # Copyright 2008-2015 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# from __future__ import absolute_import, print_function diff --git a/grc/core/Messages.py b/grc/core/Messages.py index df7084996..23902e57e 100644 --- a/grc/core/Messages.py +++ b/grc/core/Messages.py @@ -1,19 +1,8 @@ # Copyright 2007, 2015 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# from __future__ import absolute_import diff --git a/grc/core/base.py b/grc/core/base.py index e5ff657d8..dae9ea229 100644 --- a/grc/core/base.py +++ b/grc/core/base.py @@ -1,19 +1,8 @@ # Copyright 2008, 2009, 2015, 2016 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# import weakref diff --git a/grc/core/blocks/__init__.py b/grc/core/blocks/__init__.py index 4ca0d5d2b..61f63fa88 100644 --- a/grc/core/blocks/__init__.py +++ b/grc/core/blocks/__init__.py @@ -1,19 +1,8 @@ # Copyright 2016 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# from __future__ import absolute_import diff --git a/grc/core/blocks/_build.py b/grc/core/blocks/_build.py index d150dfff4..f8406f9d6 100644 --- a/grc/core/blocks/_build.py +++ b/grc/core/blocks/_build.py @@ -1,19 +1,8 @@ # Copyright 2016 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# from __future__ import absolute_import diff --git a/grc/core/blocks/_flags.py b/grc/core/blocks/_flags.py index c85232fce..ad370c2f3 100644 --- a/grc/core/blocks/_flags.py +++ b/grc/core/blocks/_flags.py @@ -1,19 +1,8 @@ # Copyright 2016 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# from __future__ import absolute_import diff --git a/grc/core/blocks/_templates.py b/grc/core/blocks/_templates.py index 0b1516642..84e9316bc 100644 --- a/grc/core/blocks/_templates.py +++ b/grc/core/blocks/_templates.py @@ -1,19 +1,8 @@ # Copyright 2016 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# """ This dict class holds a (shared) cache of compiled mako templates. These diff --git a/grc/core/blocks/block.py b/grc/core/blocks/block.py index 5e46cece9..ff1c8befc 100644 --- a/grc/core/blocks/block.py +++ b/grc/core/blocks/block.py @@ -2,19 +2,8 @@ Copyright 2008-2015 Free Software Foundation, Inc. This file is part of GNU Radio -GNU Radio Companion is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -GNU Radio Companion 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 +SPDX-License-Identifier: GPL-2.0-or-later + """ from __future__ import absolute_import diff --git a/grc/core/blocks/dummy.py b/grc/core/blocks/dummy.py index 596db1993..202a30ffd 100644 --- a/grc/core/blocks/dummy.py +++ b/grc/core/blocks/dummy.py @@ -1,19 +1,8 @@ # Copyright 2016 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# from __future__ import absolute_import diff --git a/grc/core/blocks/embedded_python.py b/grc/core/blocks/embedded_python.py index 94b40580c..fd0cae404 100644 --- a/grc/core/blocks/embedded_python.py +++ b/grc/core/blocks/embedded_python.py @@ -1,19 +1,8 @@ # Copyright 2015-16 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# from __future__ import absolute_import diff --git a/grc/core/blocks/virtual.py b/grc/core/blocks/virtual.py index 209b3ca0e..a742419d2 100644 --- a/grc/core/blocks/virtual.py +++ b/grc/core/blocks/virtual.py @@ -1,19 +1,8 @@ # Copyright 2016 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# from __future__ import absolute_import diff --git a/grc/core/cache.py b/grc/core/cache.py index a175cce92..f7a130539 100644 --- a/grc/core/cache.py +++ b/grc/core/cache.py @@ -1,19 +1,8 @@ # Copyright 2017 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# from __future__ import absolute_import, print_function, unicode_literals diff --git a/grc/core/errors.py b/grc/core/errors.py index 6437cc4fa..d00aef6a8 100644 --- a/grc/core/errors.py +++ b/grc/core/errors.py @@ -1,19 +1,8 @@ # Copyright 2016 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# from __future__ import absolute_import, print_function diff --git a/grc/core/flow_graph.dtd b/grc/core/flow_graph.dtd index bdfe1dc05..eae755c34 100644 --- a/grc/core/flow_graph.dtd +++ b/grc/core/flow_graph.dtd @@ -2,19 +2,8 @@ Copyright 2008 Free Software Foundation, Inc. This file is part of GNU Radio -GNU Radio Companion is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. +SPDX-License-Identifier: GPL-2.0-or-later -GNU Radio Companion 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 --> <!-- flow_graph.dtd diff --git a/grc/core/generator/FlowGraphProxy.py b/grc/core/generator/FlowGraphProxy.py index bf73ee8ff..da95417b1 100644 --- a/grc/core/generator/FlowGraphProxy.py +++ b/grc/core/generator/FlowGraphProxy.py @@ -1,19 +1,8 @@ # Copyright 2016 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# from __future__ import absolute_import diff --git a/grc/core/generator/Generator.py b/grc/core/generator/Generator.py index 135f4538d..9686ab8f0 100644 --- a/grc/core/generator/Generator.py +++ b/grc/core/generator/Generator.py @@ -1,19 +1,8 @@ # Copyright 2008-2016 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# from __future__ import absolute_import diff --git a/grc/core/generator/__init__.py b/grc/core/generator/__init__.py index 98f410c8d..b64972a62 100644 --- a/grc/core/generator/__init__.py +++ b/grc/core/generator/__init__.py @@ -1,19 +1,8 @@ # Copyright 2008-2015 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# from __future__ import absolute_import from .Generator import Generator diff --git a/grc/core/io/__init__.py b/grc/core/io/__init__.py index f77f1a670..944e1c2ab 100644 --- a/grc/core/io/__init__.py +++ b/grc/core/io/__init__.py @@ -1,16 +1,5 @@ # Copyright 2017 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# diff --git a/grc/core/io/yaml.py b/grc/core/io/yaml.py index 8efbc4865..4e8ca5e65 100644 --- a/grc/core/io/yaml.py +++ b/grc/core/io/yaml.py @@ -1,19 +1,8 @@ # Copyright 2016 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by the -# Free Software Foundation; either version 2 of the License, or (at your -# option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# from __future__ import absolute_import diff --git a/grc/core/params/__init__.py b/grc/core/params/__init__.py index 93663bdad..705d8a32e 100644 --- a/grc/core/params/__init__.py +++ b/grc/core/params/__init__.py @@ -1,18 +1,7 @@ # Copyright 2017 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# from .param import Param diff --git a/grc/core/params/dtypes.py b/grc/core/params/dtypes.py index 85bff4605..b68f93ff7 100644 --- a/grc/core/params/dtypes.py +++ b/grc/core/params/dtypes.py @@ -1,19 +1,8 @@ # Copyright 2008-2017 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# from __future__ import absolute_import diff --git a/grc/core/params/param.py b/grc/core/params/param.py index c5b3b8bb1..816588efe 100644 --- a/grc/core/params/param.py +++ b/grc/core/params/param.py @@ -1,19 +1,8 @@ # Copyright 2008-2017 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# from __future__ import absolute_import diff --git a/grc/core/params/template_arg.py b/grc/core/params/template_arg.py index 5c8c610b4..d7e02ab8f 100644 --- a/grc/core/params/template_arg.py +++ b/grc/core/params/template_arg.py @@ -1,19 +1,8 @@ # Copyright 2008-2017 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# from __future__ import absolute_import diff --git a/grc/core/platform.py b/grc/core/platform.py index d84500b4f..af14c11d2 100644 --- a/grc/core/platform.py +++ b/grc/core/platform.py @@ -1,19 +1,8 @@ # Copyright 2008-2016 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# from __future__ import absolute_import, print_function diff --git a/grc/core/ports/__init__.py b/grc/core/ports/__init__.py index 375b5d63e..5383e70d8 100644 --- a/grc/core/ports/__init__.py +++ b/grc/core/ports/__init__.py @@ -2,19 +2,8 @@ Copyright 2008-2015 Free Software Foundation, Inc. This file is part of GNU Radio -GNU Radio Companion is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. +SPDX-License-Identifier: GPL-2.0-or-later -GNU Radio Companion 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 """ from __future__ import absolute_import diff --git a/grc/core/ports/_virtual_connections.py b/grc/core/ports/_virtual_connections.py index 45f4a247f..02db0058b 100644 --- a/grc/core/ports/_virtual_connections.py +++ b/grc/core/ports/_virtual_connections.py @@ -1,19 +1,8 @@ # Copyright 2008-2016 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# from __future__ import absolute_import diff --git a/grc/core/ports/clone.py b/grc/core/ports/clone.py index 4e1320f81..e0eb7f71f 100644 --- a/grc/core/ports/clone.py +++ b/grc/core/ports/clone.py @@ -1,19 +1,8 @@ # Copyright 2016 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# from .port import Port, Element diff --git a/grc/core/ports/port.py b/grc/core/ports/port.py index c9d38fd9e..2d2f25d94 100644 --- a/grc/core/ports/port.py +++ b/grc/core/ports/port.py @@ -1,19 +1,8 @@ # Copyright 2008-2016 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# from __future__ import absolute_import diff --git a/grc/core/schema_checker/validator.py b/grc/core/schema_checker/validator.py index ab4d43bc6..dabc911b5 100644 --- a/grc/core/schema_checker/validator.py +++ b/grc/core/schema_checker/validator.py @@ -1,19 +1,8 @@ # Copyright 2016 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by the -# Free Software Foundation; either version 2 of the License, or (at your -# option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# from __future__ import print_function diff --git a/grc/core/utils/__init__.py b/grc/core/utils/__init__.py index f2ac986fb..00002ed95 100644 --- a/grc/core/utils/__init__.py +++ b/grc/core/utils/__init__.py @@ -1,19 +1,8 @@ # Copyright 2016 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# from __future__ import absolute_import diff --git a/grc/core/utils/backports/__init__.py b/grc/core/utils/backports/__init__.py index a24ee3ae0..53f54f30b 100644 --- a/grc/core/utils/backports/__init__.py +++ b/grc/core/utils/backports/__init__.py @@ -2,20 +2,8 @@ # # This file is part of GNU Radio # -# GNU Radio is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3, or (at your option) -# any later version. +# SPDX-License-Identifier: GPL-3.0-or-later # -# GNU Radio 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 GNU Radio; see the file COPYING. If not, write to -# the Free Software Foundation, Inc., 51 Franklin Street, -# Boston, MA 02110-1301, USA. from __future__ import absolute_import diff --git a/grc/core/utils/backports/shlex.py b/grc/core/utils/backports/shlex.py index 6b620fa39..a4f32ded8 100644 --- a/grc/core/utils/backports/shlex.py +++ b/grc/core/utils/backports/shlex.py @@ -2,20 +2,8 @@ # # This file is part of GNU Radio # -# GNU Radio is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3, or (at your option) -# any later version. +# SPDX-License-Identifier: GPL-3.0-or-later # -# GNU Radio 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 GNU Radio; see the file COPYING. If not, write to -# the Free Software Foundation, Inc., 51 Franklin Street, -# Boston, MA 02110-1301, USA. from __future__ import absolute_import diff --git a/grc/core/utils/descriptors/__init__.py b/grc/core/utils/descriptors/__init__.py index 80c525923..a80a3dec5 100644 --- a/grc/core/utils/descriptors/__init__.py +++ b/grc/core/utils/descriptors/__init__.py @@ -1,19 +1,8 @@ # Copyright 2016 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# from ._lazy import lazy_property, nop_write diff --git a/grc/core/utils/descriptors/_lazy.py b/grc/core/utils/descriptors/_lazy.py index a0cb12693..05d1bd965 100644 --- a/grc/core/utils/descriptors/_lazy.py +++ b/grc/core/utils/descriptors/_lazy.py @@ -1,19 +1,8 @@ # Copyright 2016 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# import functools diff --git a/grc/core/utils/descriptors/evaluated.py b/grc/core/utils/descriptors/evaluated.py index 4f576820e..04925116f 100644 --- a/grc/core/utils/descriptors/evaluated.py +++ b/grc/core/utils/descriptors/evaluated.py @@ -1,19 +1,8 @@ # Copyright 2016 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# from __future__ import absolute_import diff --git a/grc/core/utils/expr_utils.py b/grc/core/utils/expr_utils.py index 427585e93..d4c8a1eb2 100644 --- a/grc/core/utils/expr_utils.py +++ b/grc/core/utils/expr_utils.py @@ -2,19 +2,8 @@ Copyright 2008-2011 Free Software Foundation, Inc. This file is part of GNU Radio -GNU Radio Companion is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -GNU Radio Companion 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 +SPDX-License-Identifier: GPL-2.0-or-later + """ from __future__ import absolute_import, print_function diff --git a/grc/core/utils/extract_docs.py b/grc/core/utils/extract_docs.py index 606ec690f..2be49e732 100644 --- a/grc/core/utils/extract_docs.py +++ b/grc/core/utils/extract_docs.py @@ -2,19 +2,8 @@ Copyright 2008-2015 Free Software Foundation, Inc. This file is part of GNU Radio -GNU Radio Companion is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -GNU Radio Companion 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 +SPDX-License-Identifier: GPL-2.0-or-later + """ from __future__ import absolute_import, print_function diff --git a/grc/core/utils/hide_bokeh_gui_options_if_not_installed.py b/grc/core/utils/hide_bokeh_gui_options_if_not_installed.py index ab4a42b2e..2feff18b5 100644 --- a/grc/core/utils/hide_bokeh_gui_options_if_not_installed.py +++ b/grc/core/utils/hide_bokeh_gui_options_if_not_installed.py @@ -1,19 +1,8 @@ # Copyright 2008-2017 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# def hide_bokeh_gui_options_if_not_installed(options_blk): diff --git a/grc/gui/Actions.py b/grc/gui/Actions.py index be157d90b..6b45d177c 100644 --- a/grc/gui/Actions.py +++ b/grc/gui/Actions.py @@ -2,19 +2,8 @@ Copyright 2007-2011 Free Software Foundation, Inc. This file is part of GNU Radio -GNU Radio Companion is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -GNU Radio Companion 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 +SPDX-License-Identifier: GPL-2.0-or-later + """ from __future__ import absolute_import diff --git a/grc/gui/Application.py b/grc/gui/Application.py index a792549b3..e07eb4c83 100644 --- a/grc/gui/Application.py +++ b/grc/gui/Application.py @@ -2,19 +2,8 @@ Copyright 2007-2011 Free Software Foundation, Inc. This file is part of GNU Radio -GNU Radio Companion is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -GNU Radio Companion 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 +SPDX-License-Identifier: GPL-2.0-or-later + """ diff --git a/grc/gui/Bars.py b/grc/gui/Bars.py index 83edbb1cd..0d215cbeb 100644 --- a/grc/gui/Bars.py +++ b/grc/gui/Bars.py @@ -2,19 +2,8 @@ Copyright 2007, 2008, 2009, 2015, 2016 Free Software Foundation, Inc. This file is part of GNU Radio -GNU Radio Companion is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -GNU Radio Companion 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 +SPDX-License-Identifier: GPL-2.0-or-later + """ from __future__ import absolute_import diff --git a/grc/gui/BlockTreeWindow.py b/grc/gui/BlockTreeWindow.py index 32bba2ca5..9f27916d0 100644 --- a/grc/gui/BlockTreeWindow.py +++ b/grc/gui/BlockTreeWindow.py @@ -2,19 +2,8 @@ Copyright 2007, 2008, 2009, 2016 Free Software Foundation, Inc. This file is part of GNU Radio -GNU Radio Companion is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -GNU Radio Companion 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 +SPDX-License-Identifier: GPL-2.0-or-later + """ from __future__ import absolute_import diff --git a/grc/gui/Config.py b/grc/gui/Config.py index 03bc92703..8aebc5cde 100644 --- a/grc/gui/Config.py +++ b/grc/gui/Config.py @@ -2,19 +2,8 @@ Copyright 2016 Free Software Foundation, Inc. This file is part of GNU Radio -GNU Radio Companion is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -GNU Radio Companion 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 +SPDX-License-Identifier: GPL-2.0-or-later + """ from __future__ import absolute_import, print_function diff --git a/grc/gui/Console.py b/grc/gui/Console.py index 0ae862493..fd609813b 100644 --- a/grc/gui/Console.py +++ b/grc/gui/Console.py @@ -2,19 +2,8 @@ Copyright 2008, 2009, 2011 Free Software Foundation, Inc. This file is part of GNU Radio -GNU Radio Companion is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -GNU Radio Companion 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 +SPDX-License-Identifier: GPL-2.0-or-later + """ from __future__ import absolute_import diff --git a/grc/gui/Constants.py b/grc/gui/Constants.py index 82a59a7fc..ecb2f7f1e 100644 --- a/grc/gui/Constants.py +++ b/grc/gui/Constants.py @@ -2,19 +2,8 @@ Copyright 2008, 2009 Free Software Foundation, Inc. This file is part of GNU Radio -GNU Radio Companion is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -GNU Radio Companion 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 +SPDX-License-Identifier: GPL-2.0-or-later + """ from __future__ import absolute_import diff --git a/grc/gui/Dialogs.py b/grc/gui/Dialogs.py index ded2c2259..c8b6a448b 100644 --- a/grc/gui/Dialogs.py +++ b/grc/gui/Dialogs.py @@ -1,19 +1,8 @@ # Copyright 2008, 2009, 2016 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# from __future__ import absolute_import diff --git a/grc/gui/DrawingArea.py b/grc/gui/DrawingArea.py index d4ebc3b7b..163002ce6 100644 --- a/grc/gui/DrawingArea.py +++ b/grc/gui/DrawingArea.py @@ -2,19 +2,8 @@ Copyright 2007, 2008, 2009, 2010 Free Software Foundation, Inc. This file is part of GNU Radio -GNU Radio Companion is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -GNU Radio Companion 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 +SPDX-License-Identifier: GPL-2.0-or-later + """ from __future__ import absolute_import diff --git a/grc/gui/Executor.py b/grc/gui/Executor.py index 7d7caaaf9..7a32a643d 100644 --- a/grc/gui/Executor.py +++ b/grc/gui/Executor.py @@ -1,19 +1,8 @@ # Copyright 2016 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# from __future__ import absolute_import diff --git a/grc/gui/FileDialogs.py b/grc/gui/FileDialogs.py index 25f9ea24e..f064f0282 100644 --- a/grc/gui/FileDialogs.py +++ b/grc/gui/FileDialogs.py @@ -2,19 +2,8 @@ Copyright 2007 Free Software Foundation, Inc. This file is part of GNU Radio -GNU Radio Companion is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -GNU Radio Companion 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 +SPDX-License-Identifier: GPL-2.0-or-later + """ from __future__ import absolute_import diff --git a/grc/gui/MainWindow.py b/grc/gui/MainWindow.py index 9675d8664..36ffe1c54 100644 --- a/grc/gui/MainWindow.py +++ b/grc/gui/MainWindow.py @@ -2,19 +2,8 @@ Copyright 2008, 2009, 2011 Free Software Foundation, Inc. This file is part of GNU Radio -GNU Radio Companion is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -GNU Radio Companion 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 +SPDX-License-Identifier: GPL-2.0-or-later + """ from __future__ import absolute_import diff --git a/grc/gui/Notebook.py b/grc/gui/Notebook.py index 9f63190b3..77f85fd5f 100644 --- a/grc/gui/Notebook.py +++ b/grc/gui/Notebook.py @@ -2,19 +2,8 @@ Copyright 2008, 2009, 2011 Free Software Foundation, Inc. This file is part of GNU Radio -GNU Radio Companion is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -GNU Radio Companion 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 +SPDX-License-Identifier: GPL-2.0-or-later + """ from __future__ import absolute_import diff --git a/grc/gui/ParamWidgets.py b/grc/gui/ParamWidgets.py index 1b44f3bbd..79d200ccf 100644 --- a/grc/gui/ParamWidgets.py +++ b/grc/gui/ParamWidgets.py @@ -1,19 +1,8 @@ # Copyright 2007-2016 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# from __future__ import absolute_import import os diff --git a/grc/gui/ParserErrorsDialog.py b/grc/gui/ParserErrorsDialog.py index 050b9a4f9..81cadaed4 100644 --- a/grc/gui/ParserErrorsDialog.py +++ b/grc/gui/ParserErrorsDialog.py @@ -2,19 +2,8 @@ Copyright 2013 Free Software Foundation, Inc. This file is part of GNU Radio -GNU Radio Companion is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -GNU Radio Companion 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 +SPDX-License-Identifier: GPL-2.0-or-later + """ from __future__ import absolute_import diff --git a/grc/gui/Platform.py b/grc/gui/Platform.py index 8eb79f345..99c040d41 100644 --- a/grc/gui/Platform.py +++ b/grc/gui/Platform.py @@ -2,19 +2,8 @@ Copyright 2008, 2009 Free Software Foundation, Inc. This file is part of GNU Radio -GNU Radio Companion is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -GNU Radio Companion 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 +SPDX-License-Identifier: GPL-2.0-or-later + """ from __future__ import absolute_import, print_function diff --git a/grc/gui/PropsDialog.py b/grc/gui/PropsDialog.py index 1e0a10b86..1a122308d 100644 --- a/grc/gui/PropsDialog.py +++ b/grc/gui/PropsDialog.py @@ -2,19 +2,8 @@ Copyright 2007, 2008, 2009 Free Software Foundation, Inc. This file is part of GNU Radio -GNU Radio Companion is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -GNU Radio Companion 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 +SPDX-License-Identifier: GPL-2.0-or-later + """ from __future__ import absolute_import diff --git a/grc/gui/StateCache.py b/grc/gui/StateCache.py index 8159d7124..281a20797 100644 --- a/grc/gui/StateCache.py +++ b/grc/gui/StateCache.py @@ -2,19 +2,8 @@ Copyright 2007 Free Software Foundation, Inc. This file is part of GNU Radio -GNU Radio Companion is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. +SPDX-License-Identifier: GPL-2.0-or-later -GNU Radio Companion 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 """ from __future__ import absolute_import diff --git a/grc/gui/Utils.py b/grc/gui/Utils.py index 1b32e9143..acfe054cf 100644 --- a/grc/gui/Utils.py +++ b/grc/gui/Utils.py @@ -2,19 +2,8 @@ Copyright 2008-2011,2015 Free Software Foundation, Inc. This file is part of GNU Radio -GNU Radio Companion is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -GNU Radio Companion 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 +SPDX-License-Identifier: GPL-2.0-or-later + """ from __future__ import absolute_import diff --git a/grc/gui/VariableEditor.py b/grc/gui/VariableEditor.py index f680a2dc1..dbaf23caf 100644 --- a/grc/gui/VariableEditor.py +++ b/grc/gui/VariableEditor.py @@ -2,19 +2,8 @@ Copyright 2015, 2016 Free Software Foundation, Inc. This file is part of GNU Radio -GNU Radio Companion is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -GNU Radio Companion 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 +SPDX-License-Identifier: GPL-2.0-or-later + """ from __future__ import absolute_import diff --git a/grc/gui/canvas/__init__.py b/grc/gui/canvas/__init__.py index f90d10c4e..052694ec7 100644 --- a/grc/gui/canvas/__init__.py +++ b/grc/gui/canvas/__init__.py @@ -1,19 +1,8 @@ # Copyright 2016 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# from .block import Block from .connection import Connection diff --git a/grc/gui/canvas/block.py b/grc/gui/canvas/block.py index 981077440..a4757ff35 100644 --- a/grc/gui/canvas/block.py +++ b/grc/gui/canvas/block.py @@ -2,19 +2,8 @@ Copyright 2007, 2008, 2009 Free Software Foundation, Inc. This file is part of GNU Radio -GNU Radio Companion is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -GNU Radio Companion 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 +SPDX-License-Identifier: GPL-2.0-or-later + """ from __future__ import absolute_import, division diff --git a/grc/gui/canvas/colors.py b/grc/gui/canvas/colors.py index 76fb5fd95..93c1e1178 100644 --- a/grc/gui/canvas/colors.py +++ b/grc/gui/canvas/colors.py @@ -2,19 +2,8 @@ Copyright 2008,2013 Free Software Foundation, Inc. This file is part of GNU Radio -GNU Radio Companion is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -GNU Radio Companion 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 +SPDX-License-Identifier: GPL-2.0-or-later + """ from __future__ import absolute_import diff --git a/grc/gui/canvas/connection.py b/grc/gui/canvas/connection.py index 2accfaf4d..ebe39fca2 100644 --- a/grc/gui/canvas/connection.py +++ b/grc/gui/canvas/connection.py @@ -2,19 +2,8 @@ Copyright 2007, 2008, 2009 Free Software Foundation, Inc. This file is part of GNU Radio -GNU Radio Companion is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -GNU Radio Companion 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 +SPDX-License-Identifier: GPL-2.0-or-later + """ from __future__ import absolute_import, division diff --git a/grc/gui/canvas/drawable.py b/grc/gui/canvas/drawable.py index d755d4418..46957444b 100644 --- a/grc/gui/canvas/drawable.py +++ b/grc/gui/canvas/drawable.py @@ -2,19 +2,8 @@ Copyright 2007, 2008, 2009, 2016 Free Software Foundation, Inc. This file is part of GNU Radio -GNU Radio Companion is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -GNU Radio Companion 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 +SPDX-License-Identifier: GPL-2.0-or-later + """ from __future__ import absolute_import diff --git a/grc/gui/canvas/flowgraph.py b/grc/gui/canvas/flowgraph.py index d8507d41e..cf80fdd39 100644 --- a/grc/gui/canvas/flowgraph.py +++ b/grc/gui/canvas/flowgraph.py @@ -2,19 +2,8 @@ Copyright 2007-2011, 2016q Free Software Foundation, Inc. This file is part of GNU Radio -GNU Radio Companion is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -GNU Radio Companion 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 +SPDX-License-Identifier: GPL-2.0-or-later + """ from __future__ import absolute_import diff --git a/grc/gui/canvas/param.py b/grc/gui/canvas/param.py index 5777423c6..4277bfe66 100644 --- a/grc/gui/canvas/param.py +++ b/grc/gui/canvas/param.py @@ -1,19 +1,8 @@ # Copyright 2007-2016 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# from __future__ import absolute_import diff --git a/grc/gui/canvas/port.py b/grc/gui/canvas/port.py index b1a386714..15d7304c9 100644 --- a/grc/gui/canvas/port.py +++ b/grc/gui/canvas/port.py @@ -2,19 +2,8 @@ Copyright 2007, 2008, 2009 Free Software Foundation, Inc. This file is part of GNU Radio -GNU Radio Companion is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -GNU Radio Companion 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 +SPDX-License-Identifier: GPL-2.0-or-later + """ from __future__ import absolute_import, division diff --git a/grc/gui/external_editor.py b/grc/gui/external_editor.py index 155b0915c..58467c278 100644 --- a/grc/gui/external_editor.py +++ b/grc/gui/external_editor.py @@ -2,19 +2,8 @@ Copyright 2015 Free Software Foundation, Inc. This file is part of GNU Radio -GNU Radio Companion is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. +SPDX-License-Identifier: GPL-2.0-or-later -GNU Radio Companion 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 """ from __future__ import absolute_import, print_function diff --git a/grc/main.py b/grc/main.py index ef26bef9c..a1231ad9d 100755 --- a/grc/main.py +++ b/grc/main.py @@ -1,19 +1,8 @@ # Copyright 2009-2016 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# import argparse, logging, sys diff --git a/grc/scripts/CMakeLists.txt b/grc/scripts/CMakeLists.txt index 20366e021..b0c264c8b 100644 --- a/grc/scripts/CMakeLists.txt +++ b/grc/scripts/CMakeLists.txt @@ -2,20 +2,8 @@ # # This file is part of GNU Radio # -# GNU Radio is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3, or (at your option) -# any later version. +# SPDX-License-Identifier: GPL-3.0-or-later # -# GNU Radio 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 GNU Radio; see the file COPYING. If not, write to -# the Free Software Foundation, Inc., 51 Franklin Street, -# Boston, MA 02110-1301, USA. ######################################################################## GR_PYTHON_INSTALL( diff --git a/grc/scripts/freedesktop/CMakeLists.txt b/grc/scripts/freedesktop/CMakeLists.txt index f9511071e..282575cd3 100644 --- a/grc/scripts/freedesktop/CMakeLists.txt +++ b/grc/scripts/freedesktop/CMakeLists.txt @@ -2,20 +2,8 @@ # # This file is part of GNU Radio # -# GNU Radio is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3, or (at your option) -# any later version. +# SPDX-License-Identifier: GPL-3.0-or-later # -# GNU Radio 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 GNU Radio; see the file COPYING. If not, write to -# the Free Software Foundation, Inc., 51 Franklin Street, -# Boston, MA 02110-1301, USA. ######################################################################## set(grc_freedesktop_path ${GR_PKG_DATA_DIR}/grc/freedesktop) diff --git a/grc/scripts/freedesktop/grc_setup_freedesktop.in b/grc/scripts/freedesktop/grc_setup_freedesktop.in index 87a388e2e..50e02ee16 100644 --- a/grc/scripts/freedesktop/grc_setup_freedesktop.in +++ b/grc/scripts/freedesktop/grc_setup_freedesktop.in @@ -4,20 +4,8 @@ # # This file is part of GNU Radio # -# GNU Radio is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3, or (at your option) -# any later version. +# SPDX-License-Identifier: GPL-3.0-or-later # -# GNU Radio 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 GNU Radio; see the file COPYING. If not, write to -# the Free Software Foundation, Inc., 51 Franklin Street, -# Boston, MA 02110-1301, USA. # ################################################## # setup grc on a freedesktop platform diff --git a/grc/scripts/gnuradio-companion b/grc/scripts/gnuradio-companion index 76c94e80b..b357e74c3 100755 --- a/grc/scripts/gnuradio-companion +++ b/grc/scripts/gnuradio-companion @@ -2,19 +2,8 @@ # Copyright 2016 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# import os import sys diff --git a/grc/scripts/grcc b/grc/scripts/grcc index 6c581a2f6..466b96166 100755 --- a/grc/scripts/grcc +++ b/grc/scripts/grcc @@ -2,19 +2,8 @@ # Copyright 2016 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# import os import sys diff --git a/grc/tests/CMakeLists.txt b/grc/tests/CMakeLists.txt index 8575fb62b..d316a75a9 100644 --- a/grc/tests/CMakeLists.txt +++ b/grc/tests/CMakeLists.txt @@ -2,20 +2,8 @@ # # This file is part of GNU Radio # -# GNU Radio is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3, or (at your option) -# any later version. +# SPDX-License-Identifier: GPL-3.0-or-later # -# GNU Radio 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 GNU Radio; see the file COPYING. If not, write to -# the Free Software Foundation, Inc., 51 Franklin Street, -# Boston, MA 02110-1301, USA. include(GrPython) diff --git a/grc/tests/test_compiler.py b/grc/tests/test_compiler.py index 601b00897..fbdffd3e0 100644 --- a/grc/tests/test_compiler.py +++ b/grc/tests/test_compiler.py @@ -2,20 +2,8 @@ # # This file is part of GNU Radio # -# GNU Radio is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3, or (at your option) -# any later version. +# SPDX-License-Identifier: GPL-3.0-or-later # -# GNU Radio 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 GNU Radio; see the file COPYING. If not, write to -# the Free Software Foundation, Inc., 51 Franklin Street, -# Boston, MA 02110-1301, USA. import pytest diff --git a/grc/tests/test_cpp.py b/grc/tests/test_cpp.py index be7fb07de..52d977a31 100644 --- a/grc/tests/test_cpp.py +++ b/grc/tests/test_cpp.py @@ -2,20 +2,8 @@ # # This file is part of GNU Radio # -# GNU Radio is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3, or (at your option) -# any later version. +# SPDX-License-Identifier: GPL-3.0-or-later # -# GNU Radio 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 GNU Radio; see the file COPYING. If not, write to -# the Free Software Foundation, Inc., 51 Franklin Street, -# Boston, MA 02110-1301, USA. import pytest diff --git a/grc/tests/test_generator.py b/grc/tests/test_generator.py index c6f0283ac..a86a98824 100644 --- a/grc/tests/test_generator.py +++ b/grc/tests/test_generator.py @@ -2,20 +2,8 @@ # # This file is part of GNU Radio # -# GNU Radio is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3, or (at your option) -# any later version. +# SPDX-License-Identifier: GPL-3.0-or-later # -# GNU Radio 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 GNU Radio; see the file COPYING. If not, write to -# the Free Software Foundation, Inc., 51 Franklin Street, -# Boston, MA 02110-1301, USA. import pytest diff --git a/grc/tests/test_xml_parser.py b/grc/tests/test_xml_parser.py index c68b6cdc5..44bdebb13 100644 --- a/grc/tests/test_xml_parser.py +++ b/grc/tests/test_xml_parser.py @@ -1,19 +1,8 @@ # Copyright 2017 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# from os import path import sys diff --git a/grc/tests/test_yaml_checker.py b/grc/tests/test_yaml_checker.py index c67b9d7fa..339dd87ed 100644 --- a/grc/tests/test_yaml_checker.py +++ b/grc/tests/test_yaml_checker.py @@ -1,19 +1,8 @@ # Copyright 2016 Free Software Foundation, Inc. # This file is part of GNU Radio # -# GNU Radio Companion is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by the -# Free Software Foundation; either version 2 of the License, or (at your -# option) any later version. -# -# GNU Radio Companion 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 +# SPDX-License-Identifier: GPL-2.0-or-later +# import yaml |