summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorW. Trevor King <wking@tremily.us>2012-10-19 21:56:02 -0400
committerLucas De Marchi <lucas.demarchi@intel.com>2014-03-20 07:22:53 -0300
commit39e5d273a2e70d83222d1c81bd26ab828d7f3905 (patch)
tree660cc4af267f4be66b5a289b5d1c779cf812c2f3
parent661c546c68014e50c2b04c4a0c91cce4e8b38c0c (diff)
downloadkmod-39e5d273a2e70d83222d1c81bd26ab828d7f3905.tar.gz
python: Ran update-copyright.py.
-rw-r--r--libkmod/python/AUTHORS3
-rw-r--r--libkmod/python/kmod/__init__.py21
-rw-r--r--libkmod/python/kmod/_libkmod_h.pxd19
-rw-r--r--libkmod/python/kmod/_util.pxd19
-rw-r--r--libkmod/python/kmod/_util.pyx19
-rw-r--r--libkmod/python/kmod/error.py19
-rw-r--r--libkmod/python/kmod/kmod.pxd19
-rw-r--r--libkmod/python/kmod/kmod.pyx20
-rw-r--r--libkmod/python/kmod/list.pxd19
-rw-r--r--libkmod/python/kmod/list.pyx19
-rw-r--r--libkmod/python/kmod/module.pxd19
-rw-r--r--libkmod/python/kmod/module.pyx19
-rw-r--r--libkmod/python/kmod/version.py19
-rw-r--r--libkmod/python/setup.py20
14 files changed, 161 insertions, 93 deletions
diff --git a/libkmod/python/AUTHORS b/libkmod/python/AUTHORS
new file mode 100644
index 0000000..3aa035b
--- /dev/null
+++ b/libkmod/python/AUTHORS
@@ -0,0 +1,3 @@
+python-kmod was written by:
+Red Hat, Inc.
+W. Trevor King <wking@tremily.us>
diff --git a/libkmod/python/kmod/__init__.py b/libkmod/python/kmod/__init__.py
index 5d3f129..20a73ef 100644
--- a/libkmod/python/kmod/__init__.py
+++ b/libkmod/python/kmod/__init__.py
@@ -1,15 +1,18 @@
-# Copyright (C) 2012 Red Hat, Inc. All rights reserved.
-# 2012 W. Trevor King
+# Copyright (C) 2012 W. Trevor King <wking@tremily.us>
#
-# 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.
+# This file is part of python-kmod.
#
-# 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
+# python-kmod is free software: you can redistribute it and/or modify it under
+# the terms of the GNU Lesser General Public License version 2.1 as published
+# by the Free Software Foundation.
+#
+# python-kmod is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+# details.
#
-# Author: Andy Grover <agrover redhat com>
+# You should have received a copy of the GNU Lesser General Public License
+# along with python-kmod. If not, see <http://www.gnu.org/licenses/>.
"Libkmod -- Python interface to kmod API."
diff --git a/libkmod/python/kmod/_libkmod_h.pxd b/libkmod/python/kmod/_libkmod_h.pxd
index a616a26..547cf70 100644
--- a/libkmod/python/kmod/_libkmod_h.pxd
+++ b/libkmod/python/kmod/_libkmod_h.pxd
@@ -1,13 +1,18 @@
-# Copyright (C) 2012 Red Hat, Inc. All rights reserved.
-# 2012 W. Trevor King
+# Copyright (C) 2012 W. Trevor King <wking@tremily.us>
#
-# 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.
+# This file is part of python-kmod.
+#
+# python-kmod is free software: you can redistribute it and/or modify it under
+# the terms of the GNU Lesser General Public License version 2.1 as published
+# by the Free Software Foundation.
+#
+# python-kmod is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+# details.
#
# 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
+# along with python-kmod. If not, see <http://www.gnu.org/licenses/>.
cimport libc.stdint as _stdint
diff --git a/libkmod/python/kmod/_util.pxd b/libkmod/python/kmod/_util.pxd
index 5193f6e..80cbb28 100644
--- a/libkmod/python/kmod/_util.pxd
+++ b/libkmod/python/kmod/_util.pxd
@@ -1,13 +1,18 @@
-# Copyright (C) 2012 Red Hat, Inc. All rights reserved.
-# 2012 W. Trevor King
+# Copyright (C) 2012 W. Trevor King <wking@tremily.us>
#
-# 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.
+# This file is part of python-kmod.
+#
+# python-kmod is free software: you can redistribute it and/or modify it under
+# the terms of the GNU Lesser General Public License version 2.1 as published
+# by the Free Software Foundation.
+#
+# python-kmod is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+# details.
#
# 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
+# along with python-kmod. If not, see <http://www.gnu.org/licenses/>.
cimport _libkmod_h
diff --git a/libkmod/python/kmod/_util.pyx b/libkmod/python/kmod/_util.pyx
index 097efaf..39eec3a 100644
--- a/libkmod/python/kmod/_util.pyx
+++ b/libkmod/python/kmod/_util.pyx
@@ -1,13 +1,18 @@
-# Copyright (C) 2012 Red Hat, Inc. All rights reserved.
-# 2012 W. Trevor King
+# Copyright (C) 2012 W. Trevor King <wking@tremily.us>
#
-# 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.
+# This file is part of python-kmod.
+#
+# python-kmod is free software: you can redistribute it and/or modify it under
+# the terms of the GNU Lesser General Public License version 2.1 as published
+# by the Free Software Foundation.
+#
+# python-kmod is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+# details.
#
# 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
+# along with python-kmod. If not, see <http://www.gnu.org/licenses/>.
import sys as _sys
diff --git a/libkmod/python/kmod/error.py b/libkmod/python/kmod/error.py
index d1848b8..123f4ce 100644
--- a/libkmod/python/kmod/error.py
+++ b/libkmod/python/kmod/error.py
@@ -1,13 +1,18 @@
-# Copyright (C) 2012 Red Hat, Inc. All rights reserved.
-# 2012 W. Trevor King
+# Copyright (C) 2012 W. Trevor King <wking@tremily.us>
#
-# 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.
+# This file is part of python-kmod.
+#
+# python-kmod is free software: you can redistribute it and/or modify it under
+# the terms of the GNU Lesser General Public License version 2.1 as published
+# by the Free Software Foundation.
+#
+# python-kmod is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+# details.
#
# 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
+# along with python-kmod. If not, see <http://www.gnu.org/licenses/>.
class KmodError (Exception):
pass
diff --git a/libkmod/python/kmod/kmod.pxd b/libkmod/python/kmod/kmod.pxd
index 8b42b63..7805d71 100644
--- a/libkmod/python/kmod/kmod.pxd
+++ b/libkmod/python/kmod/kmod.pxd
@@ -1,13 +1,18 @@
-# Copyright (C) 2012 Red Hat, Inc. All rights reserved.
-# 2012 W. Trevor King
+# Copyright (C) 2012 W. Trevor King <wking@tremily.us>
#
-# 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.
+# This file is part of python-kmod.
+#
+# python-kmod is free software: you can redistribute it and/or modify it under
+# the terms of the GNU Lesser General Public License version 2.1 as published
+# by the Free Software Foundation.
+#
+# python-kmod is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+# details.
#
# 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
+# along with python-kmod. If not, see <http://www.gnu.org/licenses/>.
cimport _libkmod_h
diff --git a/libkmod/python/kmod/kmod.pyx b/libkmod/python/kmod/kmod.pyx
index f2cc8d3..669e468 100644
--- a/libkmod/python/kmod/kmod.pyx
+++ b/libkmod/python/kmod/kmod.pyx
@@ -1,13 +1,19 @@
-# Copyright (C) 2012 Red Hat, Inc. All rights reserved.
-# 2012 W. Trevor King
+# Copyright (C) 2012 Red Hat, Inc.
+# W. Trevor King <wking@tremily.us>
#
-# 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.
+# This file is part of python-kmod.
+#
+# python-kmod is free software: you can redistribute it and/or modify it under
+# the terms of the GNU Lesser General Public License version 2.1 as published
+# by the Free Software Foundation.
+#
+# python-kmod is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+# details.
#
# 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
+# along with python-kmod. If not, see <http://www.gnu.org/licenses/>.
"Define the Kmod class"
diff --git a/libkmod/python/kmod/list.pxd b/libkmod/python/kmod/list.pxd
index b51a2fa..8e5b388 100644
--- a/libkmod/python/kmod/list.pxd
+++ b/libkmod/python/kmod/list.pxd
@@ -1,13 +1,18 @@
-# Copyright (C) 2012 Red Hat, Inc. All rights reserved.
-# 2012 W. Trevor King
+# Copyright (C) 2012 W. Trevor King <wking@tremily.us>
#
-# 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.
+# This file is part of python-kmod.
+#
+# python-kmod is free software: you can redistribute it and/or modify it under
+# the terms of the GNU Lesser General Public License version 2.1 as published
+# by the Free Software Foundation.
+#
+# python-kmod is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+# details.
#
# 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
+# along with python-kmod. If not, see <http://www.gnu.org/licenses/>.
cimport _libkmod_h
diff --git a/libkmod/python/kmod/list.pyx b/libkmod/python/kmod/list.pyx
index 9d9c959..ef0e0d4 100644
--- a/libkmod/python/kmod/list.pyx
+++ b/libkmod/python/kmod/list.pyx
@@ -1,13 +1,18 @@
-# Copyright (C) 2012 Red Hat, Inc. All rights reserved.
-# 2012 W. Trevor King
+# Copyright (C) 2012 W. Trevor King <wking@tremily.us>
#
-# 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.
+# This file is part of python-kmod.
+#
+# python-kmod is free software: you can redistribute it and/or modify it under
+# the terms of the GNU Lesser General Public License version 2.1 as published
+# by the Free Software Foundation.
+#
+# python-kmod is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+# details.
#
# 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
+# along with python-kmod. If not, see <http://www.gnu.org/licenses/>.
cimport _libkmod_h
diff --git a/libkmod/python/kmod/module.pxd b/libkmod/python/kmod/module.pxd
index 4e24f35..c7d7da4 100644
--- a/libkmod/python/kmod/module.pxd
+++ b/libkmod/python/kmod/module.pxd
@@ -1,13 +1,18 @@
-# Copyright (C) 2012 Red Hat, Inc. All rights reserved.
-# 2012 W. Trevor King
+# Copyright (C) 2012 W. Trevor King <wking@tremily.us>
#
-# 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.
+# This file is part of python-kmod.
+#
+# python-kmod is free software: you can redistribute it and/or modify it under
+# the terms of the GNU Lesser General Public License version 2.1 as published
+# by the Free Software Foundation.
+#
+# python-kmod is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+# details.
#
# 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
+# along with python-kmod. If not, see <http://www.gnu.org/licenses/>.
cimport _libkmod_h
cimport list as _list
diff --git a/libkmod/python/kmod/module.pyx b/libkmod/python/kmod/module.pyx
index ed51bfa..eadfbbf 100644
--- a/libkmod/python/kmod/module.pyx
+++ b/libkmod/python/kmod/module.pyx
@@ -1,13 +1,18 @@
-# Copyright (C) 2012 Red Hat, Inc. All rights reserved.
-# 2012 W. Trevor King
+# Copyright (C) 2012 W. Trevor King <wking@tremily.us>
#
-# 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.
+# This file is part of python-kmod.
+#
+# python-kmod is free software: you can redistribute it and/or modify it under
+# the terms of the GNU Lesser General Public License version 2.1 as published
+# by the Free Software Foundation.
+#
+# python-kmod is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+# details.
#
# 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
+# along with python-kmod. If not, see <http://www.gnu.org/licenses/>.
import collections as _collections
diff --git a/libkmod/python/kmod/version.py b/libkmod/python/kmod/version.py
index 4b74d6c..6c68555 100644
--- a/libkmod/python/kmod/version.py
+++ b/libkmod/python/kmod/version.py
@@ -1,12 +1,17 @@
-# Copyright (C) 2012 Red Hat, Inc. All rights reserved.
-# 2012 W. Trevor King
+# Copyright (C) 2012 W. Trevor King <wking@tremily.us>
#
-# 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.
+# This file is part of python-kmod.
+#
+# python-kmod is free software: you can redistribute it and/or modify it under
+# the terms of the GNU Lesser General Public License version 2.1 as published
+# by the Free Software Foundation.
+#
+# python-kmod is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+# details.
#
# 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
+# along with python-kmod. If not, see <http://www.gnu.org/licenses/>.
__version__ = '0.1'
diff --git a/libkmod/python/setup.py b/libkmod/python/setup.py
index bbef37a..56fe5f8 100644
--- a/libkmod/python/setup.py
+++ b/libkmod/python/setup.py
@@ -1,13 +1,19 @@
-# Copyright (C) 2012 Red Hat, Inc. All rights reserved.
-# 2012 W. Trevor King
+# Copyright (C) 2012 Red Hat, Inc.
+# W. Trevor King <wking@tremily.us>
#
-# 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.
+# This file is part of python-kmod.
+#
+# python-kmod is free software: you can redistribute it and/or modify it under
+# the terms of the GNU Lesser General Public License version 2.1 as published
+# by the Free Software Foundation.
+#
+# python-kmod is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+# details.
#
# 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
+# along with python-kmod. If not, see <http://www.gnu.org/licenses/>.
from distutils.core import setup
from distutils.extension import Extension as _Extension