Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[0.2 backport] Add CC0 license files to subcrates #121

Open
wants to merge 1 commit into
base: 0.2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
12 changes: 11 additions & 1 deletion src/index/gen_index.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@
import sys
import os.path

CC0_LICENSE = "rust-encoding by Kang Seonghoon

To the extent possible under law, the person who associated CC0 with
rust-encoding has waived all copyright and related or neighboring rights
to rust-encoding.

You should have received a copy of the CC0 legalcode along with this
work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
"

def whatwg_index(name, comments):
for line in urllib.urlopen('http://encoding.spec.whatwg.org/index-%s.txt' % name):
line = line.strip()
Expand Down Expand Up @@ -383,4 +393,4 @@ def generate_multi_byte_range_lbound_index(crate, name):
print >>sys.stderr, 'generating index %s...' % index,
tablesz = generate(crate, index)
print >>sys.stderr, '%d bytes.' % tablesz

write_license_file(crate)
8 changes: 8 additions & 0 deletions src/index/japanese/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
rust-encoding by Kang Seonghoon

To the extent possible under law, the person who associated CC0 with
rust-encoding has waived all copyright and related or neighboring rights
to rust-encoding.

You should have received a copy of the CC0 legalcode along with this
work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
8 changes: 8 additions & 0 deletions src/index/korean/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
rust-encoding by Kang Seonghoon

To the extent possible under law, the person who associated CC0 with
rust-encoding has waived all copyright and related or neighboring rights
to rust-encoding.

You should have received a copy of the CC0 legalcode along with this
work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
8 changes: 8 additions & 0 deletions src/index/simpchinese/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
rust-encoding by Kang Seonghoon

To the extent possible under law, the person who associated CC0 with
rust-encoding has waived all copyright and related or neighboring rights
to rust-encoding.

You should have received a copy of the CC0 legalcode along with this
work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
8 changes: 8 additions & 0 deletions src/index/singlebyte/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
rust-encoding by Kang Seonghoon

To the extent possible under law, the person who associated CC0 with
rust-encoding has waived all copyright and related or neighboring rights
to rust-encoding.

You should have received a copy of the CC0 legalcode along with this
work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
8 changes: 8 additions & 0 deletions src/index/tradchinese/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
rust-encoding by Kang Seonghoon

To the extent possible under law, the person who associated CC0 with
rust-encoding has waived all copyright and related or neighboring rights
to rust-encoding.

You should have received a copy of the CC0 legalcode along with this
work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.