[Python-modules-commits] r19397 - in packages/unidecode/trunk (9 files)

stefanor at users.alioth.debian.org stefanor at users.alioth.debian.org
Mon Nov 21 09:40:09 UTC 2011


    Date: Monday, November 21, 2011 @ 09:39:55
  Author: stefanor
Revision: 19397

[svn-inject] Applying Debian modifications (0.04.9-1) to trunk

Added:
  packages/unidecode/trunk/debian/
  packages/unidecode/trunk/debian/changelog
  packages/unidecode/trunk/debian/compat
  packages/unidecode/trunk/debian/control
  packages/unidecode/trunk/debian/copyright
  packages/unidecode/trunk/debian/rules
  packages/unidecode/trunk/debian/source/
  packages/unidecode/trunk/debian/source/format
  packages/unidecode/trunk/debian/watch


Property changes on: packages/unidecode/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: packages/unidecode/trunk/debian/changelog
===================================================================
--- packages/unidecode/trunk/debian/changelog	                        (rev 0)
+++ packages/unidecode/trunk/debian/changelog	2011-11-21 09:39:55 UTC (rev 19397)
@@ -0,0 +1,5 @@
+unidecode (0.04.9-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #649477)
+
+ -- Stefano Rivera <stefanor at debian.org>  Mon, 21 Nov 2011 03:49:59 +0200

Added: packages/unidecode/trunk/debian/compat
===================================================================
--- packages/unidecode/trunk/debian/compat	                        (rev 0)
+++ packages/unidecode/trunk/debian/compat	2011-11-21 09:39:55 UTC (rev 19397)
@@ -0,0 +1 @@
+7

Added: packages/unidecode/trunk/debian/control
===================================================================
--- packages/unidecode/trunk/debian/control	                        (rev 0)
+++ packages/unidecode/trunk/debian/control	2011-11-21 09:39:55 UTC (rev 19397)
@@ -0,0 +1,57 @@
+Source: unidecode
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Stefano Rivera <stefanor at debian.org>
+Build-Depends:
+ debhelper (>= 7.0.50~),
+ python-all (>= 2.6.6-3~),
+ python3-all (>= 3.1.2-6~)
+X-Python-Version: >= 2.5
+X-Python3-Version: >= 3.0
+Standards-Version: 3.9.2
+Homepage: http://pypi.python.org/pypi/Unidecode
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/unidecode/trunk/
+Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/unidecode/beets/trunk/
+
+Package: python-unidecode
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+Description: ASCII transliterations of Unicode text (Python module)
+ It often happens that you have text data in Unicode, but you need to represent
+ it in ASCII for display. One could represent non-roman Unicode characters as
+ "???" or "\\15BA\\15A0\\1610", but neither is useful to the user reading the
+ text.
+ .
+ Unidecode tries to represent it in ASCII characters (i.e., the universally
+ displayable characters between 0x00 and 0x7F), where the compromises taken
+ when mapping between two character sets are chosen to be near what a human
+ with a US keyboard would choose.
+ .
+ This module generally produces better results than simply stripping accents
+ from characters (which can be done in Python with built-in functions). It is
+ based on hand-tuned character mappings that for example also contain ASCII
+ approximations for symbols and non-Latin alphabets.
+ .
+ unidecode is a Python port of the Text::Unidecode Perl module.
+
+Package: python3-unidecode
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: ASCII transliterations of Unicode text (Python 3 module)
+ It often happens that you have text data in Unicode, but you need to represent
+ it in ASCII for display. One could represent non-roman Unicode characters as
+ "???" or "\\15BA\\15A0\\1610", but neither is useful to the user reading the
+ text.
+ .
+ Unidecode tries to represent it in ASCII characters (i.e., the universally
+ displayable characters between 0x00 and 0x7F), where the compromises taken
+ when mapping between two character sets are chosen to be near what a human
+ with a US keyboard would choose.
+ .
+ This module generally produces better results than simply stripping accents
+ from characters (which can be done in Python with built-in functions). It is
+ based on hand-tuned character mappings that for example also contain ASCII
+ approximations for symbols and non-Latin alphabets.
+ .
+ unidecode is a Python 3 port of the Text::Unidecode Perl module.

Added: packages/unidecode/trunk/debian/copyright
===================================================================
--- packages/unidecode/trunk/debian/copyright	                        (rev 0)
+++ packages/unidecode/trunk/debian/copyright	2011-11-21 09:39:55 UTC (rev 19397)
@@ -0,0 +1,27 @@
+Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?view=markup&revision=174
+Upstream-Name: Unidecode
+Upstream-Contact: Tomaz Solc <tomaz.solc at tablix.org>
+Source: http://pypi.python.org/pypi/Unidecode
+
+Files: *
+Copyright: 2001, Sean M. Burke <sburke at cpan.org>
+           2011, Tomaz Solc <tomaz.solc at tablix.org>
+License: GPL-2+
+
+Files: debian/*
+Copyright: 2010-2011, Stefano Rivera <stefanor at debian.org>
+License: GPL-2+
+
+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.
+ .
+ On Debian systems, the complete text of the GNU General Public License
+ version 2 can be found in the /usr/share/common-licenses/GPL-2 file.

Added: packages/unidecode/trunk/debian/rules
===================================================================
--- packages/unidecode/trunk/debian/rules	                        (rev 0)
+++ packages/unidecode/trunk/debian/rules	2011-11-21 09:39:55 UTC (rev 19397)
@@ -0,0 +1,35 @@
+#!/usr/bin/make -f
+
+PYVERS :=  $(shell pyversions -r)
+PY3VERS := $(shell py3versions -r)
+
+%:
+	dh $@ --with python2,python3
+
+override_dh_auto_build:
+	set -ex; \
+	for py in $(PYVERS) $(PY3VERS); do \
+		$$py setup.py build; \
+	done
+
+override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+	set -ex; \
+	for py in $(PYVERS) $(PY3VERS); do \
+		$$py setup.py test; \
+	done
+endif
+
+override_dh_auto_install:
+	set -ex; \
+	for py in $(PYVERS); do \
+		$$py setup.py install --skip-build --root debian/python-unidecode --install-layout=deb; \
+	done
+	set -ex; \
+	for py in $(PY3VERS); do \
+		$$py setup.py install --skip-build --root debian/python3-unidecode --install-layout=deb; \
+	done
+
+override_dh_auto_clean:
+	rm -rf build
+	find . \( -name '*.pyc' -o -name __pycache__ \) -delete


Property changes on: packages/unidecode/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/unidecode/trunk/debian/source/format
===================================================================
--- packages/unidecode/trunk/debian/source/format	                        (rev 0)
+++ packages/unidecode/trunk/debian/source/format	2011-11-21 09:39:55 UTC (rev 19397)
@@ -0,0 +1 @@
+3.0 (quilt)

Added: packages/unidecode/trunk/debian/watch
===================================================================
--- packages/unidecode/trunk/debian/watch	                        (rev 0)
+++ packages/unidecode/trunk/debian/watch	2011-11-21 09:39:55 UTC (rev 19397)
@@ -0,0 +1,3 @@
+version=3
+
+http://pypi.python.org/packages/source/U/Unidecode/Unidecode-(.+).tar.gz




More information about the Python-modules-commits mailing list