Skip to content

Commit

Permalink
Improve version printout in gr_satellites
Browse files Browse the repository at this point in the history
The copyright statement had outdated years. This takes it from the
Python module, which is regularly kept updated. Also, fix the license
in the Python module and version printout to be formatted as the
SPDX identifier.

(cherry picked from commit ad8f700)
  • Loading branch information
daniestevez committed Feb 22, 2025
1 parent 7db0f90 commit bbb07ff
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions apps/gr_satellites
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@ from satellites.satyaml import yamlfiles


version = f"""gr_satellites {satellites.__version__}
Copyright (C) 2020 Daniel Estevez
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
{satellites.__copyright__}
License GPL-3.0-or-later: GNU GPL version 3 or later
<https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law."""

Expand Down
4 changes: 2 additions & 2 deletions python/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# Copyright 2020-2024 Daniel Estevez <[email protected]>
# Copyright 2020-2025 Daniel Estevez <[email protected]>
#
# This file is part of gr-satellites
#
Expand All @@ -23,7 +23,7 @@
__author__ = 'Daniel Estevez'
__copyright__ = 'Copyright 2016-2025 Daniel Estevez'
__email__ = '[email protected]'
__license__ = 'GPL-3.0'
__license__ = 'GPL-3.0-or-later'
__all__ = [
'ccsds',
'components',
Expand Down

0 comments on commit bbb07ff

Please sign in to comment.