diff options
Diffstat (limited to 'grc')
97 files changed, 175 insertions, 1254 deletions
diff --git a/grc/CMakeLists.txt b/grc/CMakeLists.txt index 2f59dcdc78..c1647c2f9f 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 899d0195d1..27a209105a 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 b9f319ef7a..78fe6cff37 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 a5f6c3edcd..c3880aefe1 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 224f2e9afc..6d7e0f2ae4 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 6efc2d7c59..852675322a 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 145f4d8610..bb88de9ea8 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 77720318f2..c176e5d768 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 9e23576477..bae9b8763d 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 dee9adba49..e069d34457 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 f12c41a2b5..7bf1278cd8 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 bdfe1dc059..eae755c343 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 2b5e4b1f4a..fd613da881 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 36c712bbfc..a0c9324a21 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 a43a81ab32..7ed94285d5 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 34e3c7e208..0a75ca607e 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 01baaaf8fc..998b09823a 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 99e6767447..70aff73dd9 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 aff5f48bc7..21c3cdb59d 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 df7084996d..23902e57e6 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 e5ff657d85..dae9ea229b 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 4ca0d5d2bc..61f63fa88f 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 d150dfff4e..f8406f9d6b 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 c85232fceb..ad370c2f37 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 0b15166423..84e9316bcc 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 5e46cece9e..ff1c8befc3 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 596db1993a..202a30ffd3 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 94b40580c9..fd0cae4049 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 209b3ca0e0..a742419d27 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 a175cce924..f7a130539f 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 6437cc4fa1..d00aef6a87 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 bdfe1dc059..eae755c343 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 bf73ee8ff0..da95417b1b 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 135f4538d5..9686ab8f00 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 98f410c8d4..b64972a621 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 f77f1a6704..944e1c2abd 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 8efbc4865d..4e8ca5e651 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 93663bdada..705d8a32e1 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 85bff46055..b68f93ff73 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 c5b3b8bb1c..816588efe2 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 5c8c610b4f..d7e02ab8fe 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 d84500b4f8..af14c11d2b 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 375b5d63e3..5383e70d8f 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 45f4a247fd..02db0058b7 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 4e1320f81d..e0eb7f71fb 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 c9d38fd9e0..2d2f25d94f 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 ab4d43bc67..dabc911b50 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 f2ac986fb4..00002ed958 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 a24ee3ae01..53f54f30b1 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 6b620fa396..a4f32ded80 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 80c5259230..a80a3dec53 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 a0cb126932..05d1bd9652 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 4f576820eb..04925116fb 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 427585e93c..d4c8a1eb29 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 606ec690f6..2be49e7320 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 ab4a42b2e7..2feff18b57 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 be157d90b4..6b45d177c2 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 a792549b37..e07eb4c833 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 83edbb1cd5..0d215cbeb7 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 32bba2ca55..9f27916d04 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 03bc927034..8aebc5cded 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 0ae862493d..fd609813b0 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 82a59a7fc3..ecb2f7f1ee 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 ded2c22591..c8b6a448b2 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 d4ebc3b7b0..163002ce6c 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 7d7caaaf98..7a32a643d7 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 25f9ea24e8..f064f02829 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 9675d8664a..36ffe1c546 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 9f63190b31..77f85fd5f2 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 1b44f3bbdb..79d200ccfd 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 050b9a4f98..81cadaed46 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 8eb79f3459..99c040d412 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 1e0a10b86b..1a122308db 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 8159d71246..281a207978 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 1b32e91439..acfe054cfc 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 f680a2dc18..dbaf23caf1 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 f90d10c4e6..052694ec72 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 9810774402..a4757ff35b 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 76fb5fd951..93c1e11783 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 2accfaf4d6..ebe39fca2b 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 d755d4418d..46957444b9 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 d8507d41e4..cf80fdd394 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 5777423c68..4277bfe665 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 b1a3867149..15d7304c9d 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 155b0915c5..58467c2785 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 ef26bef9ce..a1231ad9d5 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 20366e0212..b0c264c8ba 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 f9511071e5..282575cd39 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 87a388e2ec..50e02ee16a 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 76c94e80b8..b357e74c3c 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 6c581a2f6d..466b961668 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 8575fb62b0..d316a75a94 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 601b00897d..fbdffd3e0f 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 be7fb07dea..52d977a31a 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 c6f0283ac1..a86a988248 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 c68b6cdc5a..44bdebb13f 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 c67b9d7fae..339dd87ede 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 |