[PATCH] Convert copyright to machine-readable format.

John Wright jsw at google.com
Sat Sep 6 09:35:07 UTC 2014


From: John Wright <jsw at debian.org>

In doing so, I uncovered a couple of discrepancies with respect to test
and example licensing, which I have left comments about for now.
---
 debian/copyright | 136 +++++++++++++++++++++++++++++++++++++++++++------------
 1 file changed, 107 insertions(+), 29 deletions(-)

diff --git a/debian/copyright b/debian/copyright
index 246ce96..bd7c7a8 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,42 +1,120 @@
-This package was debianized by James Westby <jw+debian at jameswestby.net> on
-Wed, 16 Aug 2006 19:17:30 +0100.
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: python-debian
+Upstream-Contact: pkg-python-debian-maint at lists.alioth.debian.org
+Source: http://anonscm.debian.org/cgit/pkg-python-debian/python-debian.git
 
-The original source can always be found at:
-        ftp://ftp.debian.org/dists/unstable/main/source/
+Files: *
+Copyright: Debian python-debian Maintainers (see debian/control for maintainer names)
+License: GPL-2+
 
-Copyright: 
+Files: lib/deb822.py lib/debian/deb822.py tests/test_deb822.py
+Copyright: Copyright (C) 2005-2006  dann frazier <dannf at dannf.org>
+           Copyright (C) 2006-2010  John Wright <john at johnwright.org>
+           Copyright (C) 2006       Adeodato Simó <dato at net.com.org.es>
+           Copyright (C) 2008       Stefano Zacchiroli <zack at upsilon.cc>
+           Copyright (C) 2014       Google, Inc.
+License: GPL-2+
 
-  deb822.py is Copyright (C) 2005-2006  dann frazier <dannf at dannf.org>
-                             2006       John Wright <john at movingsucks.org>
+Files: tests/test_deb822.py
+Copyright: Copyright (C) 2006       Adeodato Simó <dato at net.com.org.es>
+License: GPL-2
+Comment:
+ This probably should have been relicensed when deb822.py was relicensed to
+ GPL-2+.  Need to contact dato.
 
-  changelog.py, setup.py, README.Changelog and the contents of
-  examples/changelog/ are
-               Copyright (C) 2006-7 James Westby <jw+debian at jameswestby.net>
-               Copyright (C) 2008 Canonical Ltd.
+Files: setup.py.in lib/debian/changelog.py README.changelog examples/changelog/*
+       tests/test_changelog.py
+Copyright: Copyright (C) 2006-2007 James Westby <jw+debian at jameswestby.net>
+           Copyright (C) 2008 Canonical Ltd.
+License: GPL-2+
+Comment: lib/debian/changelog.py's parsing code is based on that from dpkg which is:
+ Copyright 1996 Ian Jackson
+ Copyright 2005 Frank Lichtenheld <frank at lichtenheld.de>
+ and licensed under the same license.
 
-  debian_support.py is Copyright (C) 2005 Florian Weimer <fw at deneb.enyo.de>
+Files: lib/debian/debian_support.py tests/test_debian_support.py
+Copyright: Copyright (C) 2005 Florian Weimer <fw at deneb.enyo.de>
+           Copyright (C) 2006-2007 James Westby <jw+debian at jameswestby.net>
+           Copyright (C) 2010 John Wright <jsw at debian.org>
+License: GPL-2+
 
-  Debtags.py, and the contents of examples/debtags/ are 
-               Copyright (C) 2003--3006 Enrico Zini <enrico at debian.org> 
+Files: lib/debian/debtags.py
+Copyright: Copyright (C) 2006-2007 Enrico Zini <enrico at debian.org> 
+License: GPL-3+
 
-  debfile.py, arfile.py, and examples/debfile/* are
-               Copyright (C) 2007   Stefano Zacchiroli  <zack at debian.org> 
-                             2007   Filippo Giunchedi   <filippo at debian.org>
+Files: tests/test_debtags.py
+Copyright: Copyright (C) 2006-2007 Enrico Zini <enrico at debian.org> 
+License: GPL-2
+Comment:
+ Test license is incompatible with file under test, which is probably a
+ mistake.  Need to contact Enrico about this.
 
-  copyright.py and examples/copyright/* are
-               Copyright (C) 2014   Google, Inc.
+Files: examples/debtags/*
+Copyright: Copyright (C) 2003-2007 Enrico Zini <enrico at debian.org> 
+License: GPL-2+
+Comment:
+ Examples licenses are incompatible with debtags library, which is probably a
+ mistake.  Need to contact Enrico about this.
 
-Licenses:
+Files: lib/debian/debfile.py lib/debian/arfile.py tests/test_debfile.py
+       examples/debfile/*
+Copyright: Copyright (C) 2007-2008  Stefano Zacchiroli  <zack at debian.org> 
+           Copyright (C) 2007       Filippo Giunchedi   <filippo at debian.org>
+License: GPL-3+
 
-  The following modules are released under GPL v2 or above:
-    changelog.py, debian_support.py, deb822.py, copyright.py
-  The following modules are released under GPL v3 or above:
-    debfile.py, arfile.py, debtags.py
+Files: lib/debian/copyright.py tests/test_copyright.py examples/copyright/*
+Copyright: Copyright (C) 2014   Google, Inc.
+License: GPL-2+
 
-  The Debian packaging is (C) Debian python-debian Maintainers (see
-  debian/control for maintainer names), and is placed under GPL v2 or
-  above.
+License: GPL-2
+ 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; version 2
+ dated June, 1991.
+ .
+ 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, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
+ .
+ On Debian systems, the complete text of the GNU General Public License v2
+ can be found in `/usr/share/common-licenses/GPL-2'.
 
-On Debian systems, the complete text of the GNU General Public License
-can be found in `/usr/share/common-licenses/GPL'.
+License: GPL-2+
+ 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 (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, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
+ .
+ On Debian systems, the complete text of the GNU General Public License v2
+ can be found in `/usr/share/common-licenses/GPL-2'.
 
+License: GPL-3+
+ 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/>.
+ .
+ On Debian systems, the complete text of the GNU General Public License v3
+ can be found in `/usr/share/common-licenses/GPL-3'.
-- 
2.1.0




More information about the pkg-python-debian-maint mailing list