I'm attaching a diff against current svn which fixes the d/copyright issue.
It also makes some other changes which fixes the d/watch file and updates the
package to Babel 2.0 and cldr 27.  I'm not applying it because the package
doesn't build - the test fail.  I don't think upstream supports v27 yet.
OTOH, I don't want to lose these changes.  Apologies for attaching them to
this bug instead of opening a new bug.
Index: debian/changelog
===================================================================
--- debian/changelog	(revision 34223)
+++ debian/changelog	(working copy)
@@ -1,3 +1,20 @@
+python-babel (2.0+dfsg.1-1) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * New upstream release.
+  * debian/copyright: Fill out the `Files: common/*` section to include
+    the Unicode license agreement.  (Closes: #795594)
+  * debian/control: Update Standards-Version to 3.9.6 with no other
+    changes necessary.
+  * debian/patches:
+    - 0001-Fixup-get_currency_name-test.patch: Removed, applied upstream.
+    - adds-support-for-python-3.2.patch: Removed, no longer necessary.
+    - fix-sphinx-conf.py-to-avoid-intersphinx.patch: Refreshed.
+  * debian/repack: Update Unicode core.zip location.
+  * debian/watch: Use the pypi.debian.net redirector.
+
+ -- Barry Warsaw <ba...@debian.org>  Thu, 10 Sep 2015 15:25:31 -0400
+
 python-babel (1.3+dfsg.1-5) unstable; urgency=medium
 
   * Team upload.
Index: debian/control
===================================================================
--- debian/control	(revision 34223)
+++ debian/control	(working copy)
@@ -15,7 +15,7 @@
                python3-setuptools,
                python3-six,
                python3-tz
-Standards-Version: 3.9.4
+Standards-Version: 3.9.6
 Homepage: http://babel.pocoo.org/
 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-babel/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-babel/trunk/
Index: debian/copyright
===================================================================
--- debian/copyright	(revision 34223)
+++ debian/copyright	(working copy)
@@ -12,7 +12,58 @@
 License: GPL-2
 
 Files: common/*
-Copyright:
+Copyright: © 1991-2013 Unicode, Inc.
+License: Unicode
+ UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE
+ .
+ Unicode Data Files include all data files under the directories
+ http://www.unicode.org/Public/, http://www.unicode.org/reports/, and
+ http://www.unicode.org/cldr/data/. Unicode Data Files do not include PDF
+ online code charts under the directory http://www.unicode.org/Public/.
+ Software includes any source code published in the Unicode Standard or under
+ the directories http://www.unicode.org/Public/,
+ http://www.unicode.org/reports/, and http://www.unicode.org/cldr/data/.
+ .
+ NOTICE TO USER: Carefully read the following legal agreement. BY DOWNLOADING,
+ INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S DATA FILES ("DATA
+ FILES"), AND/OR SOFTWARE ("SOFTWARE"), YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO
+ BE BOUND BY, ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT
+ AGREE, DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR
+ SOFTWARE.
+ .
+ COPYRIGHT AND PERMISSION NOTICE
+ .
+ Copyright © 1991-2013 Unicode, Inc. All rights reserved. Distributed under
+ the Terms of Use in http://www.unicode.org/copyright.html.
+ .
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of the Unicode data files and any associated documentation (the "Data
+ Files") or Unicode software and any associated documentation (the "Software")
+ to deal in the Data Files or Software without restriction, including without
+ limitation the rights to use, copy, modify, merge, publish, distribute, and/or
+ sell copies of the Data Files or Software, and to permit persons to whom the
+ Data Files or Software are furnished to do so, provided that (a) the above
+ copyright notice(s) and this permission notice appear with all copies of the
+ Data Files or Software, (b) both the above copyright notice(s) and this
+ permission notice appear in associated documentation, and (c) there is clear
+ notice in each modified Data File or in the Software as well as in the
+ documentation associated with the Data File(s) or Software that the data or
+ software has been modified.
+ .
+ THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
+ KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD
+ PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN
+ THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL
+ DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
+ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
+ ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE
+ DATA FILES OR SOFTWARE.
+ .
+ Except as contained in this notice, the name of a copyright holder shall
+ not be used in advertising or otherwise to promote the sale, use or other
+ dealings in these Data Files or Software without prior written authorization
+ of the copyright holder.
 
 Files: *
 Copyright: (c) 2007-2011, Edgewall Software
Index: debian/patches/fix-sphinx-conf.py-to-avoid-intersphinx.patch
===================================================================
--- debian/patches/fix-sphinx-conf.py-to-avoid-intersphinx.patch	(revision 34223)
+++ debian/patches/fix-sphinx-conf.py-to-avoid-intersphinx.patch	(working copy)
@@ -6,15 +6,14 @@
 Forwarded: no
 Last-Update: 2014-02-19
 
---- python-babel-1.3+dfsg.1.orig/docs/conf.py
-+++ python-babel-1.3+dfsg.1/docs/conf.py
-@@ -26,8 +26,7 @@ sys.path.append(os.path.abspath('_themes
- 
+--- a/docs/conf.py
++++ b/docs/conf.py
+@@ -27,7 +27,7 @@
  # Add any Sphinx extension module names here, as strings. They can be extensions
  # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
--extensions = ['sphinx.ext.autodoc',
--              'sphinx.ext.intersphinx']
-+extensions = ['sphinx.ext.autodoc']
+ extensions = ['sphinx.ext.autodoc',
+-              'sphinx.ext.intersphinx',
++              #'sphinx.ext.intersphinx',
+               'sphinx.ext.extlinks']
  
  # Add any paths that contain templates here, relative to this directory.
- templates_path = ['_templates']
Index: debian/patches/series
===================================================================
--- debian/patches/series	(revision 34223)
+++ debian/patches/series	(working copy)
@@ -1,3 +1 @@
-0001-Fixup-get_currency_name-test.patch
-adds-support-for-python-3.2.patch
 fix-sphinx-conf.py-to-avoid-intersphinx.patch
Index: debian/repack
===================================================================
--- debian/repack	(revision 34223)
+++ debian/repack	(working copy)
@@ -31,7 +31,7 @@
 rm ${TEMP_DIR}/${UNPACK_DIR}/babel/global.dat
 rm ${TEMP_DIR}/${UNPACK_DIR}/babel/localedata/*.dat
 
-wget -P ${TEMP_DIR} http://unicode.org/Public/cldr/23.1/core.zip && \
+wget -P ${TEMP_DIR} http://unicode.org/Public/cldr/27/core.zip && \
 	unzip ${TEMP_DIR}/core.zip -d ${TEMP_DIR}/${UNPACK_DIR}
 tar -C ${TEMP_DIR} --owner=root --group=root --mode=a+rX -c ${UNPACK_DIR} | xz -6 >${DEST_DIR}/${PKG_NAME}_${DFSG_VERSION}.orig.tar.xz
 rm -r ${TEMP_DIR}
Index: debian/watch
===================================================================
--- debian/watch	(revision 34223)
+++ debian/watch	(working copy)
@@ -1,3 +1,3 @@
 version=3
 opts="dversionmangle=s/\+dfsg\.\d+$//" \
-https://pypi.python.org/packages/source/B/Babel/Babel-([\d\.]+)\.tar\.gz debian debian/repack
+https://pypi.debian.net/Babel/Babel-([\d\.]+)\.tar\.gz debian debian/repack

Attachment: pgpjmxpsjwB2Q.pgp
Description: OpenPGP digital signature



Reply via email to