Mercurial > hgrepos > Python > apps > py-cutils
changeset 73:c3268f4e752f
Adjust all license notes to (a) more literally comply with the BSD3 templates and to the style guide
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sat, 26 Feb 2022 19:32:01 +0100 |
| parents | ae2df602beb4 |
| children | 6cec638c995c |
| files | .hgkwarchive LICENSE.txt README.txt cutils/__init__.py cutils/dos2unix.py cutils/shasum.py setup.py |
| diffstat | 7 files changed, 29 insertions(+), 29 deletions(-) [+] |
line wrap: on
line diff
--- a/.hgkwarchive Sat Feb 26 19:20:20 2022 +0100 +++ b/.hgkwarchive Sat Feb 26 19:32:01 2022 +0100 @@ -1,3 +1,3 @@ [patterns] -**.py = RCS, reST +path:cutils/__init__.py = RCS, reST path:README.txt = RCS, reST
--- a/LICENSE.txt Sat Feb 26 19:20:20 2022 +0100 +++ b/LICENSE.txt Sat Feb 26 19:32:01 2022 +0100 @@ -1,5 +1,4 @@ -Copyright (c) 2020-2022, Franz Glasner -All rights reserved. +Copyright (c) 2020-2022 Franz Glasner Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are
--- a/README.txt Sat Feb 26 19:20:20 2022 +0100 +++ b/README.txt Sat Feb 26 19:32:01 2022 +0100 @@ -5,7 +5,7 @@ :Author: Franz Glasner :Version: 0.3.3 :Date: 2022-02-09 -:Copyright: (c) 2020-2022 Franz Glasner. All rights reserved. +:Copyright: (c) 2020-2022 Franz Glasner :License: BSD 3-Clause "New" or "Revised" License :ID: @(#) $HGid$
--- a/cutils/__init__.py Sat Feb 26 19:20:20 2022 +0100 +++ b/cutils/__init__.py Sat Feb 26 19:32:01 2022 +0100 @@ -1,10 +1,9 @@ r""" :Author: Franz Glasner -:Copyright: (c) 2020-2022 Franz Glasner. - All rights reserved. +:Copyright: (c) 2020-2022 Franz Glasner :License: BSD 3-Clause "New" or "Revised" License. - See :ref:`LICENSE <license>` for details. - If you cannot find LICENSE see + See :ref:`LICENSE.txt <license>` for details. + If you cannot find LICENSE.txt see <https://opensource.org/licenses/BSD-3-Clause> :ID: @(#) $HGid$
--- a/cutils/dos2unix.py Sat Feb 26 19:20:20 2022 +0100 +++ b/cutils/dos2unix.py Sat Feb 26 19:32:01 2022 +0100 @@ -1,18 +1,19 @@ -r""" -:Author: Franz Glasner -:Copyright: (c) 2020-2022 Franz Glasner. - All rights reserved. -:License: BSD 3-Clause "New" or "Revised" License. - See :ref:`LICENSE <license>` for details. - If you cannot find LICENSE see - <https://opensource.org/licenses/BSD-3-Clause> -:ID: @(#) $HGid$ +# -*- coding: utf-8 -*- +# :- +# :Copyright: (c) 2020-2022 Franz Glasner +# :License: BSD-3-Clause +# :- +r"""Pure Python implementation of `dos2-unix` """ from __future__ import print_function, absolute_import -from . import (__version__, __revision__, __date__) +from . import (__version__, __revision__) + + +__all__ = [] + import argparse import io
--- a/cutils/shasum.py Sat Feb 26 19:20:20 2022 +0100 +++ b/cutils/shasum.py Sat Feb 26 19:32:01 2022 +0100 @@ -1,18 +1,19 @@ -r""" -:Author: Franz Glasner -:Copyright: (c) 2020-2022 Franz Glasner. - All rights reserved. -:License: BSD 3-Clause "New" or "Revised" License. - See :ref:`LICENSE <license>` for details. - If you cannot find LICENSE see - <https://opensource.org/licenses/BSD-3-Clause> -:ID: @(#) $HGid$ +# -*- coding: utf-8 -*- +# :- +# :Copyright: (c) 2020-2022 Franz Glasner +# :License: BSD-3-Clause +# :- +r"""Pure Python implementation of `shasum` """ from __future__ import print_function, absolute_import -from . import (__version__, __revision__, __date__) +from . import (__version__, __revision__) + + +__all__ = [] + import argparse import base64
--- a/setup.py Sat Feb 26 19:20:20 2022 +0100 +++ b/setup.py Sat Feb 26 19:32:01 2022 +0100 @@ -29,7 +29,7 @@ name="py-cutils", version=version, author="Franz Glasner", - license="BSD 3-Clause License", + license="""BSD 3-Clause "New" or "Revised" License""", url="https://pypi.dom66.de/simple/py-cutils/", description="Pure Python implementation of some coreutils", long_description=long_description,
