From: W. Trevor King Date: Fri, 19 Oct 2012 04:08:00 +0000 (-0400) Subject: python: Add missing copyright blurbs. X-Git-Tag: v17~10^2~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=075f4ea0e247ceee234ed05bc04adecfeb0cf3af;p=thirdparty%2Fkmod.git python: Add missing copyright blurbs. --- diff --git a/libkmod/python/kmod/_libkmod_h.pxd b/libkmod/python/kmod/_libkmod_h.pxd index 9282cd26..457cfbc4 100644 --- a/libkmod/python/kmod/_libkmod_h.pxd +++ b/libkmod/python/kmod/_libkmod_h.pxd @@ -1,3 +1,14 @@ +# Copyright (C) 2012 Red Hat, Inc. All rights reserved. +# 2012 W. Trevor King +# +# This copyrighted material is made available to anyone wishing to use, +# modify, copy, or redistribute it subject to the terms and conditions +# of the GNU Lesser General Public License v.2.1. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + cdef extern from *: ctypedef char* const_char_ptr 'const char *' ctypedef char* const_char_const_ptr 'const char const *' diff --git a/libkmod/python/kmod/_util.pxd b/libkmod/python/kmod/_util.pxd index 3251d93c..5193f6e4 100644 --- a/libkmod/python/kmod/_util.pxd +++ b/libkmod/python/kmod/_util.pxd @@ -1,3 +1,14 @@ +# Copyright (C) 2012 Red Hat, Inc. All rights reserved. +# 2012 W. Trevor King +# +# This copyrighted material is made available to anyone wishing to use, +# modify, copy, or redistribute it subject to the terms and conditions +# of the GNU Lesser General Public License v.2.1. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + cimport _libkmod_h diff --git a/libkmod/python/kmod/_util.pyx b/libkmod/python/kmod/_util.pyx index 7c527fc9..097efaf8 100644 --- a/libkmod/python/kmod/_util.pyx +++ b/libkmod/python/kmod/_util.pyx @@ -1,3 +1,14 @@ +# Copyright (C) 2012 Red Hat, Inc. All rights reserved. +# 2012 W. Trevor King +# +# This copyrighted material is made available to anyone wishing to use, +# modify, copy, or redistribute it subject to the terms and conditions +# of the GNU Lesser General Public License v.2.1. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + import sys as _sys cimport _libkmod_h diff --git a/libkmod/python/kmod/error.py b/libkmod/python/kmod/error.py index d976bb67..d1848b83 100644 --- a/libkmod/python/kmod/error.py +++ b/libkmod/python/kmod/error.py @@ -1,2 +1,13 @@ +# Copyright (C) 2012 Red Hat, Inc. All rights reserved. +# 2012 W. Trevor King +# +# This copyrighted material is made available to anyone wishing to use, +# modify, copy, or redistribute it subject to the terms and conditions +# of the GNU Lesser General Public License v.2.1. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + class KmodError (Exception): pass diff --git a/libkmod/python/kmod/kmod.pxd b/libkmod/python/kmod/kmod.pxd index 29337240..8b42b63e 100644 --- a/libkmod/python/kmod/kmod.pxd +++ b/libkmod/python/kmod/kmod.pxd @@ -1,5 +1,17 @@ +# Copyright (C) 2012 Red Hat, Inc. All rights reserved. +# 2012 W. Trevor King +# +# This copyrighted material is made available to anyone wishing to use, +# modify, copy, or redistribute it subject to the terms and conditions +# of the GNU Lesser General Public License v.2.1. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + cimport _libkmod_h + cdef class Kmod (object): cdef _libkmod_h.kmod_ctx *_kmod_ctx cdef object mod_dir diff --git a/libkmod/python/kmod/list.pxd b/libkmod/python/kmod/list.pxd index 6c3725bb..b51a2fa6 100644 --- a/libkmod/python/kmod/list.pxd +++ b/libkmod/python/kmod/list.pxd @@ -1,3 +1,14 @@ +# Copyright (C) 2012 Red Hat, Inc. All rights reserved. +# 2012 W. Trevor King +# +# This copyrighted material is made available to anyone wishing to use, +# modify, copy, or redistribute it subject to the terms and conditions +# of the GNU Lesser General Public License v.2.1. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + cimport _libkmod_h diff --git a/libkmod/python/kmod/list.pyx b/libkmod/python/kmod/list.pyx index e2bf04f2..9d9c959d 100644 --- a/libkmod/python/kmod/list.pyx +++ b/libkmod/python/kmod/list.pyx @@ -1,3 +1,14 @@ +# Copyright (C) 2012 Red Hat, Inc. All rights reserved. +# 2012 W. Trevor King +# +# This copyrighted material is made available to anyone wishing to use, +# modify, copy, or redistribute it subject to the terms and conditions +# of the GNU Lesser General Public License v.2.1. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + cimport _libkmod_h diff --git a/libkmod/python/kmod/module.pxd b/libkmod/python/kmod/module.pxd index 3cc4d63b..4e24f353 100644 --- a/libkmod/python/kmod/module.pxd +++ b/libkmod/python/kmod/module.pxd @@ -1,3 +1,14 @@ +# Copyright (C) 2012 Red Hat, Inc. All rights reserved. +# 2012 W. Trevor King +# +# This copyrighted material is made available to anyone wishing to use, +# modify, copy, or redistribute it subject to the terms and conditions +# of the GNU Lesser General Public License v.2.1. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + cimport _libkmod_h cimport list as _list diff --git a/libkmod/python/kmod/module.pyx b/libkmod/python/kmod/module.pyx index e10c5f38..3c1f0230 100644 --- a/libkmod/python/kmod/module.pyx +++ b/libkmod/python/kmod/module.pyx @@ -1,3 +1,14 @@ +# Copyright (C) 2012 Red Hat, Inc. All rights reserved. +# 2012 W. Trevor King +# +# This copyrighted material is made available to anyone wishing to use, +# modify, copy, or redistribute it subject to the terms and conditions +# of the GNU Lesser General Public License v.2.1. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + cimport _libkmod_h from error import KmodError as _KmodError cimport list as _list diff --git a/libkmod/python/kmod/version.py b/libkmod/python/kmod/version.py index 11d27f8c..4b74d6c9 100644 --- a/libkmod/python/kmod/version.py +++ b/libkmod/python/kmod/version.py @@ -1 +1,12 @@ +# Copyright (C) 2012 Red Hat, Inc. All rights reserved. +# 2012 W. Trevor King +# +# This copyrighted material is made available to anyone wishing to use, +# modify, copy, or redistribute it subject to the terms and conditions +# of the GNU Lesser General Public License v.2.1. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + __version__ = '0.1' diff --git a/libkmod/python/setup.py b/libkmod/python/setup.py index 301967c4..bbef37a4 100644 --- a/libkmod/python/setup.py +++ b/libkmod/python/setup.py @@ -1,3 +1,14 @@ +# Copyright (C) 2012 Red Hat, Inc. All rights reserved. +# 2012 W. Trevor King +# +# This copyrighted material is made available to anyone wishing to use, +# modify, copy, or redistribute it subject to the terms and conditions +# of the GNU Lesser General Public License v.2.1. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + from distutils.core import setup from distutils.extension import Extension as _Extension import os as _os