Skip to content

Commit 6de4f89

Browse files
committed
Add both bsd licenses.
1 parent 0d780a5 commit 6de4f89

File tree

2 files changed

+38
-14
lines changed

2 files changed

+38
-14
lines changed

cookiecutter.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"2005-2017"
2727
],
2828
"version": "0.1.0",
29-
"license": ["BSD license", "MIT license", "ISC license", "Apache Software License 2.0"],
29+
"license": ["BSD 2-Clause License", "BSD 3-Clause License", "MIT license", "ISC license", "Apache Software License 2.0"],
3030
"c_extension_support": ["no", "yes"],
3131
"c_extension_cython": ["no", "yes"],
3232
"c_extension_optional": ["no", "yes"],

{{cookiecutter.repo_name}}/LICENSE

Lines changed: 37 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,52 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
88
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
99

1010
THE SOFTWARE IS 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. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
11-
{%- elif cookiecutter.license == 'BSD license' -%}
12-
BSD License
11+
{%- elif cookiecutter.license == 'BSD license' or cookiecutter.license == 'BSD 2-Clause License' -%}
12+
BSD 2-Clause License
1313

1414
Copyright (c) {{ '<YEAR>' if cookiecutter.year == 'now' else cookiecutter.year }}, {{ cookiecutter.full_name }}
1515
All rights reserved.
1616

17-
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
18-
following conditions are met:
17+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following
18+
conditions are met:
1919

20-
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
21-
disclaimer.
20+
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following
21+
disclaimer.
2222

23-
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following
24-
disclaimer in the documentation and/or other materials provided with the distribution.
23+
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following
24+
disclaimer in the documentation and/or other materials provided with the distribution.
2525

2626
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
2727
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
28-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
29-
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
30-
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
31-
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
32-
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
29+
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
30+
USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
31+
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
32+
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33+
{% elif cookiecutter.license == 'BSD 3-Clause License' -%}
34+
BSD 3-Clause License
35+
36+
Copyright (c) {{ '<YEAR>' if cookiecutter.year == 'now' else cookiecutter.year }}, {{ cookiecutter.full_name }}
37+
All rights reserved.
38+
39+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following
40+
conditions are met:
41+
42+
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
43+
44+
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following
45+
disclaimer in the documentation and/or other materials provided with the distribution.
46+
47+
* Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products
48+
derived from this software without specific prior written permission.
49+
50+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
51+
BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
52+
SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
53+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
54+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
55+
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
56+
POSSIBILITY OF SUCH DAMAGE.
3357
{% elif cookiecutter.license == 'ISC license' -%}
3458
ISC License
3559

0 commit comments

Comments
 (0)