From 1a03526e2dda9818424c400530163464a2e74b9b Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Mon, 22 Apr 2024 09:54:14 +0300 Subject: [PATCH] Include Unicode license in `locale-data` and in documentation (#1074) Fixes #1072 --- MANIFEST.in | 1 + babel/locale-data/LICENSE.unicode | 41 +++++++++++++++++++++++++++++++ docs/license.rst | 13 +++++++++- 3 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 babel/locale-data/LICENSE.unicode diff --git a/MANIFEST.in b/MANIFEST.in index 1b79ce1d9..82cb37a22 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -2,6 +2,7 @@ include Makefile CHANGES.rst LICENSE AUTHORS include conftest.py tox.ini include babel/global.dat include babel/locale-data/*.dat +include babel/locale-data/LICENSE* recursive-include docs * recursive-exclude docs/_build * include scripts/* diff --git a/babel/locale-data/LICENSE.unicode b/babel/locale-data/LICENSE.unicode new file mode 100644 index 000000000..a82da8263 --- /dev/null +++ b/babel/locale-data/LICENSE.unicode @@ -0,0 +1,41 @@ +UNICODE LICENSE V3 + +COPYRIGHT AND PERMISSION NOTICE + +Copyright © 2004-2024 Unicode, Inc. + +NOTICE TO USER: Carefully read the following legal agreement. BY +DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR +SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE +TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT +DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE. + +Permission is hereby granted, free of charge, to any person obtaining a +copy of data files and any associated documentation (the "Data Files") or +software and any associated documentation (the "Software") to deal in the +Data Files or Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, and/or sell +copies of the Data Files or Software, and to permit persons to whom the +Data Files or Software are furnished to do so, provided that either (a) +this copyright and permission notice appear with all copies of the Data +Files or Software, or (b) this copyright and permission notice appear in +associated Documentation. + +THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY +KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF +THIRD PARTY RIGHTS. + +IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE +BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, +OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, +WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, +ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA +FILES OR SOFTWARE. + +Except as contained in this notice, the name of a copyright holder shall +not be used in advertising or otherwise to promote the sale, use or other +dealings in these Data Files or Software without prior written +authorization of the copyright holder. + +SPDX-License-Identifier: Unicode-3.0 diff --git a/docs/license.rst b/docs/license.rst index 7c93ab426..1d93751c9 100644 --- a/docs/license.rst +++ b/docs/license.rst @@ -25,13 +25,24 @@ documentation. - "AUTHORS" hereby refers to all the authors listed in the :ref:`authors` section. -- The ":ref:`babel-license`" applies to all the sourcecode shipped as +- The ":ref:`babel-license`" applies to all the source code shipped as part of Babel (Babel itself as well as the examples and the unit tests) as well as documentation. +- The ":ref:`unicode-license`" applies to the transformed Unicode + Common Locale Data Repository (CLDR) data files shipped with Babel, + in the directory ``babel/locale-data``. + .. _babel-license: Babel License ------------- .. include:: ../LICENSE + +.. _unicode-license: + +Unicode License +--------------- + +.. include:: ../babel/locale-data/LICENSE.unicode