[Pkg-python-debian-commits] r79 trunk: added copyright information
zack at bononia.it
zack at bononia.it
Sat Jul 14 22:25:00 UTC 2007
------------------------------------------------------------
revno: 79
committer: zack at bononia.it
branch nick: pkg-python-debian.debfile
timestamp: Sun 2007-07-15 00:25:00 +0200
message:
added copyright information
modified:
debian_bundle/arfile.py
debian_bundle/debfile.py
examples/debfile/changelog_head.py
examples/debfile/dpkg-info.py
examples/debfile/extract_cron.py
examples/packages/grep-maintainer
-------------- next part --------------
=== modified file 'debian_bundle/arfile.py'
--- a/debian_bundle/arfile.py 2007-07-14 16:11:36 +0000
+++ b/debian_bundle/arfile.py 2007-07-14 22:25:00 +0000
@@ -1,4 +1,19 @@
-#!/usr/bin/python
+# ArFile: a Python representation of ar (as in "man 1 ar") archives.
+# Copyright (C) 2007 Stefano Zacchiroli <zack at debian.org>
+# Copyright (C) 2007 Filippo Giunchedi <filippo at debian.org>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program 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
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
GLOBAL_HEADER = "!<arch>\n"
GLOBAL_HEADER_LENGTH = len(GLOBAL_HEADER)
=== modified file 'debian_bundle/debfile.py'
--- a/debian_bundle/debfile.py 2007-07-14 18:56:00 +0000
+++ b/debian_bundle/debfile.py 2007-07-14 22:25:00 +0000
@@ -1,4 +1,19 @@
-#!/usr/bin/python
+# DebFile: a Python representation of Debian .deb binary packages.
+# Copyright (C) 2007 Stefano Zacchiroli <zack at debian.org>
+# Copyright (C) 2007 Filippo Giunchedi <filippo at debian.org>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program 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
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
import gzip
import tarfile
=== modified file 'examples/debfile/changelog_head.py'
--- a/examples/debfile/changelog_head.py 2007-07-14 17:18:04 +0000
+++ b/examples/debfile/changelog_head.py 2007-07-14 22:25:00 +0000
@@ -1,5 +1,13 @@
#!/usr/bin/python
+# changelog_head - head like tool for .deb changelog entries
+# Copyright (C) 2007 Stefano Zacchiroli <zack at debian.org>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+
"""Like "head" for changelog entries, return last n-th entries of the changelog
shipped in a .deb file."""
=== modified file 'examples/debfile/dpkg-info.py'
--- a/examples/debfile/dpkg-info.py 2007-07-14 18:56:21 +0000
+++ b/examples/debfile/dpkg-info.py 2007-07-14 22:25:00 +0000
@@ -1,5 +1,14 @@
#!/usr/bin/python
+# dpkg-info - DebFile's implementation of "dpkg --info"
+# Copyright (C) 2007 Stefano Zacchiroli <zack at debian.org>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+
+
""" (An approximation of) a 'dpkg --info' implementation relying on DebFile
class. """
=== modified file 'examples/debfile/extract_cron.py'
--- a/examples/debfile/extract_cron.py 2007-07-14 17:18:04 +0000
+++ b/examples/debfile/extract_cron.py 2007-07-14 22:25:00 +0000
@@ -1,5 +1,13 @@
#!/usr/bin/python
+# extract_cron - extract cron-related files from .deb s
+# Copyright (C) 2007 Stefano Zacchiroli <zack at debian.org>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+
"""Extracts all cron-related files from a (list of) .deb package(s)."""
import os
=== modified file 'examples/packages/grep-maintainer'
--- a/examples/packages/grep-maintainer 2007-07-08 19:06:25 +0000
+++ b/examples/packages/grep-maintainer 2007-07-14 22:25:00 +0000
@@ -1,14 +1,15 @@
#!/usr/bin/python
+
# grep-maintainer
# Copyright (C) 2007 Stefano Zacchiroli <zack at debian.org>
#
-# This program is free software; you can redistribute it and/or modify
+# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
-# Dumb maintainer-based grep for the dpkg status file, just to show the parsing
-# API for Packages-like file
+"""Dumb maintainer-based grep for the dpkg status file, just to show the
+parsing API for Packages-like file."""
import re
import sys
More information about the pkg-python-debian-commits
mailing list