debian/0000755000000000000000000000000012264311410007160 5ustar debian/docs0000644000000000000000000000001311546766751010055 0ustar README.txt debian/clean0000644000000000000000000000012411524366370010177 0ustar hyphen_config.py textwrap2.py hyphen/dictools.py hyphen/__init__.py src/hnjmodule.c debian/copyright0000644000000000000000000000200611524365465011132 0ustar This work was packaged for Debian by: TANIGUCHI Takaki on Tue, 16 Nov 2010 13:57:06 +0900 It was downloaded from: http://pypi.python.org/pypi/PyHyphen Upstream Author(s): Dr. Leo Copyright: (c) 2008-2010 Dr. Leo License: GPL 2.0/LGPL 2.1/MPL 1.1 tri-license Software distributed under these licenses is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the licences for the specific language governing rights and limitations under the licenses. The contents of this software may be used under the terms of the GNU General Public License Version 2 or later (the "GPL"), or the GNU Lesser General Public License Version 2.1 or later (the "LGPL", see COPYING.LGPL) or the Mozilla Public License Version 1.1 or later (the "MPL", see COPYING.MPL). The Debian packaging is: Copyright (C) 2010 TANIGUCHI Takaki and is licensed under the GPL version 3, see "/usr/share/common-licenses/GPL-3". debian/control0000644000000000000000000000157111566354357010614 0ustar Source: python-pyhyphen Section: python Priority: extra Maintainer: Debian Python Modules Team Uploaders: TANIGUCHI Takaki Build-Depends: debhelper (>= 7.0.50~), python-all-dev, python-setuptools Standards-Version: 3.9.2 Homepage: http://code.google.com/p/pyhyphen/ #Vcs-Git: git://git.debian.org/collab-maint/python-pyhyphen.git #Vcs-Browser: http://git.debian.org/?p=collab-maint/python-pyhyphen.git;a=summary Package: python-pyhyphen Architecture: any Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends} Provides: ${python:Provides} Description: hyphenation library of OpenOffice and FireFox wrapped for Python PyHyphen is a wrapper for the Python programming language around the Open Source C library 'hyphen-2.3' originally from hnjlib. It is widely used in software such as OpenOffice.org and Mozilla. debian/source/0000755000000000000000000000000011566354642010502 5ustar debian/source/format0000644000000000000000000000001411524365464011706 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000211524365465010377 0ustar 7 debian/rules0000755000000000000000000000005511566354264010262 0ustar #!/usr/bin/make -f %: dh $@ --with python2 debian/watch0000644000000000000000000000017111546766546010242 0ustar version=3 opts="uversionmangle=s/(rc|a|b|c)/~$1/" \ http://pypi.python.org/packages/source/P/PyHyphen/PyHyphen-(.*)\.zip debian/changelog0000644000000000000000000000211012264311407011032 0ustar python-pyhyphen (1.0~beta1-3) unstable; urgency=low * Team upload. * Fixed bug with dictionary filename for python 2. Closes: 627944 -- Richard Stephen Uhler Sat, 11 Jan 2014 13:43:10 -0500 python-pyhyphen (1.0~beta1-2) unstable; urgency=low * Switch to dh_python2. * Bump Standarads-Version to 3.9.2 (with no changes). -- TANIGUCHI Takaki Mon, 23 May 2011 12:50:24 +0900 python-pyhyphen (1.0~beta1-1) unstable; urgency=low * New upstream release * debian/watch: Add uversionmangle option. * debian/docs: Remove Doc/hyphen-2.4 directory. -- TANIGUCHI Takaki Wed, 06 Apr 2011 13:46:42 +0900 python-pyhyphen (0.10-2) unstable; urgency=low * debian/control: change Maintainer address to DPMT. * debian/clean: remove generated files. * debian/patches: removed. -- TANIGUCHI Takaki Wed, 09 Feb 2011 14:36:48 +0900 python-pyhyphen (0.10-1) unstable; urgency=low * Initial release (Closes: #500867) -- TANIGUCHI Takaki Tue, 16 Nov 2010 13:57:06 +0900 debian/patches/0000755000000000000000000000000012264307672010626 5ustar debian/patches/pathfix.patch0000644000000000000000000000342212264307672013313 0ustar Description: Fixed bug with dictionary filename for python 2. Closes: 627944 Author: Richard Stephen Uhler Bug-Debian: http://bugs.debian.org/627944 --- python-pyhyphen-1.0~beta1.orig/2.x/__init__.py +++ python-pyhyphen-1.0~beta1/2.x/__init__.py @@ -124,10 +124,7 @@ class Hyphenator: - if dict_info and language in dict_info: - file_name = dict_info[language]['name'] + u'.dic' - else: file_name = language - file_path = directory + u'/' + file_name + file_path = ''.join((directory, '/hyph_', language, '.dic')) self.__hyphenate__ = hnj.hyphenator_(file_path, lmin, rmin, compound_lmin, compound_rmin) self.language = language --- python-pyhyphen-1.0~beta1.orig/2.x/config.py +++ python-pyhyphen-1.0~beta1/2.x/config.py @@ -1,2 +1,2 @@ -default_dict_path = u'$path' -default_repository = u'$repo' \ No newline at end of file +default_dict_path = u'/usr/share/hyphen' +default_repository = u'$repo' --- python-pyhyphen-1.0~beta1.orig/3.x/__init__.py +++ python-pyhyphen-1.0~beta1/3.x/__init__.py @@ -120,9 +120,6 @@ class Hyphenator: ''' - if dict_info and language in dict_info: - file_name = dict_info[language]['name'] + '.dic' - else: file_name = language file_path = ''.join((directory, '/hyph_', language, '.dic')) self.__hyphenate__ = hnj.hyphenator_(file_path, lmin, rmin, compound_lmin, compound_rmin) self.language = language --- python-pyhyphen-1.0~beta1.orig/3.x/config.py +++ python-pyhyphen-1.0~beta1/3.x/config.py @@ -1,2 +1,2 @@ -default_dict_path = '$path' -default_repository = '$repo' \ No newline at end of file +default_dict_path = u'/usr/share/hyphen' +default_repository = '$repo' debian/patches/series0000644000000000000000000000001612264307462012035 0ustar pathfix.patch