[Python-modules-commits] r26031 - in packages/python-translationstring/trunk/debian (4 files)

zigo at users.alioth.debian.org zigo at users.alioth.debian.org
Thu Oct 3 10:18:12 UTC 2013


    Date: Thursday, October 3, 2013 @ 10:18:10
  Author: zigo
Revision: 26031

  * Standard-Version is now 3.9.4.
  * Added support for Python3.
  * debian/copyright is now in parseable format 1.0.
  * Added unit testing.

Modified:
  packages/python-translationstring/trunk/debian/changelog
  packages/python-translationstring/trunk/debian/control
  packages/python-translationstring/trunk/debian/copyright
  packages/python-translationstring/trunk/debian/rules

Modified: packages/python-translationstring/trunk/debian/changelog
===================================================================
--- packages/python-translationstring/trunk/debian/changelog	2013-10-03 08:49:21 UTC (rev 26030)
+++ packages/python-translationstring/trunk/debian/changelog	2013-10-03 10:18:10 UTC (rev 26031)
@@ -1,9 +1,24 @@
-python-translationstring (1.1-3) UNRELEASED; urgency=low
+python-translationstring (1.1-4) unstable; urgency=low
 
+  * Team upload.
+  * Really adding Python3 support.
+  * Standard-Version is now 3.9.4.
+
+ -- Thomas Goirand <zigo at debian.org>  Thu, 03 Oct 2013 08:56:36 +0000
+
+python-translationstring (1.1-3) unstable; urgency=low
+
+  [ Jakub Wilk ]
   * Use canonical URIs for Vcs-* fields.
 
- -- Jakub Wilk <jwilk at debian.org>  Sun, 05 May 2013 16:03:35 +0200
+  [ Thomas Goirand ]
+  * Team upload.
+  * Added support for Python3.
+  * debian/copyright is now in parseable format 1.0.
+  * Added unit testing.
 
+ -- Thomas Goirand <zigo at debian.org>  Thu, 03 Oct 2013 08:39:59 +0000
+
 python-translationstring (1.1-2) unstable; urgency=low
 
   * debian/source/options: ignore egg-info files's changes. (Closes: #671427)

Modified: packages/python-translationstring/trunk/debian/control
===================================================================
--- packages/python-translationstring/trunk/debian/control	2013-10-03 08:49:21 UTC (rev 26030)
+++ packages/python-translationstring/trunk/debian/control	2013-10-03 10:18:10 UTC (rev 26031)
@@ -3,17 +3,22 @@
 Priority: extra
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: TANIGUCHI Takaki <takaki at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), python-all, python-setuptools
-Standards-Version: 3.9.3
+Build-Depends: debhelper (>= 7.0.50~),
+               python-all (>= 2.6.6-3~),
+               python3-all,
+               python-nose,
+               python-setuptools,
+               python3-setuptools
+Standards-Version: 3.9.4
 Homepage: http://www.repoze.org/
 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-translationstring/trunk/
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-translationstring/trunk/
 
 Package: python-translationstring
 Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}
+Depends: ${misc:Depends}, ${python:Depends}
 Provides: ${python:Provides}
-Description: Utility library for i18n relied on by various Repoze packages
+Description: Utility library for i18n relied on by various Repoze packages - Python 3.x
  A library used by various Repoze packages for internationalization (i18n)
  duties related to translation.
  .
@@ -23,3 +28,22 @@
  It does not depend on Babel, but its translation and pluralization
  services are meant to work best when provided with an instance of the
  babel.support.Translations class.
+ .
+ This package provides the Python 2.x module.
+
+Package: python3-translationstring
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Provides: ${python3:Provides}
+Description: Utility library for i18n relied on by various Repoze packages - Python 2.x
+ A library used by various Repoze packages for internationalization (i18n)
+ duties related to translation.
+ .
+ This package provides a translation string class, a translation string
+ factory class, translation and pluralization primitives, and a utility
+ that helps Chameleon templates use translation facilities of this package.
+ It does not depend on Babel, but its translation and pluralization
+ services are meant to work best when provided with an instance of the
+ babel.support.Translations class.
+ .
+ This package provides the Python 3.x module.

Modified: packages/python-translationstring/trunk/debian/copyright
===================================================================
--- packages/python-translationstring/trunk/debian/copyright	2013-10-03 08:49:21 UTC (rev 26030)
+++ packages/python-translationstring/trunk/debian/copyright	2013-10-03 10:18:10 UTC (rev 26031)
@@ -1,63 +1,67 @@
-This work was packaged for Debian by:
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: translationstring
+Source: http://pypi.python.org/pypi/translationstring
 
-    TANIGUCHI Takaki <takaki at debian.org> on Fri, 26 Nov 2010 10:40:06 +0900
+Files: debian/*
+Copyright: (c) 2010-2013, TANIGUCHI Takaki <takaki at debian.org>
+           (c) 2013, Thomas Goirand <zigo at debian.org>
+License: GPL-3
 
-It was downloaded from:
+Files: *
+Copyright: (c) 2010-2013, Chris McDonough
+           (c) 2010-2013, Agendaless Consulting <repoze-dev at lists.repoze.org>
+           (c) 2010 Agendaless Consulting and Contributors.
+License: BSD-Style
 
-    http://pypi.python.org/pypi/translationstring
+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.
+ .
+ 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
+ St, Fifth Floor, Boston, MA 02110-1301 USA
+ .
+ On Debian systems, the complete text of the GNU General Public License v2
+ (GPL) can be found in /usr/share/common-licenses/GPL-3.
 
-Upstream Author:
-
-    Chris McDonough, Agendaless Consulting <repoze-dev at lists repoze org>
-
-Copyright:
-
-    Copyright (c) 2010 Agendaless Consulting and Contributors.
-
-License:
-
-  A copyright notice accompanies this license document that identifies
-  the copyright holders.
-
-  Redistribution and use in source and binary forms, with or without
-  modification, are permitted provided that the following conditions are
-  met:
-
+License: BSD-Style
+ A copyright notice accompanies this license document that identifies the
+ copyright holders.
+ .
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
   1.  Redistributions in source code must retain the accompanying
       copyright notice, this list of conditions, and the following
       disclaimer.
-
+ .
   2.  Redistributions in binary form must reproduce the accompanying
       copyright notice, this list of conditions, and the following
       disclaimer in the documentation and/or other materials provided
       with the distribution.
-
+ .
   3.  Names of the copyright holders must not be used to endorse or
       promote products derived from this software without prior
       written permission from the copyright holders.
-
+ .
   4.  If any files are modified, you must cause the modified files to
       carry prominent notices stating that you changed the files and
       the date of any change.
-
-  Disclaimer
-
-    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND
-    ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
-    TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
-    PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-    HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-    EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
-    TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-    DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
-    ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
-    TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
-    THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-    SUCH DAMAGE.
-
-The Debian packaging is:
-
-    Copyright (C) 2010 TANIGUCHI Takaki <takaki at debian.org>
-
-and is licensed under the GPL version 3,
-see "/usr/share/common-licenses/GPL-3".
+ .
+ Disclaimer
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS "AS IS" AND ANY EXPRESSED
+ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+ EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Modified: packages/python-translationstring/trunk/debian/rules
===================================================================
--- packages/python-translationstring/trunk/debian/rules	2013-10-03 08:49:21 UTC (rev 26030)
+++ packages/python-translationstring/trunk/debian/rules	2013-10-03 10:18:10 UTC (rev 26031)
@@ -1,4 +1,26 @@
 #!/usr/bin/make -f
 
+PYTHONS:=$(shell pyversions -vr)
+PYTHON3S:=$(shell py3versions -vr)
+
 %:
-	dh $@ --with python2
+	dh $@ --with python2,python3
+
+override_dh_auto_install:
+	set -e && for pyvers in $(PYTHONS); do \
+		python$$pyvers setup.py install --install-layout=deb \
+			--root $(CURDIR)/debian/python-translationstring; \
+	done
+	set -e && for pyvers in $(PYTHON3S); do \
+		python$$pyvers setup.py install --install-layout=deb \
+			--root $(CURDIR)/debian/python3-translationstring; \
+	done
+
+override_dh_clean:
+	dh_clean
+	rm -rf build
+
+ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
+override_dh_auto_test:
+	python setup.py nosetests
+endif




More information about the Python-modules-commits mailing list