--- pyenchant-1.4.2.orig/debian/compat +++ pyenchant-1.4.2/debian/compat @@ -0,0 +1 @@ +5 --- pyenchant-1.4.2.orig/debian/copyright +++ pyenchant-1.4.2/debian/copyright @@ -0,0 +1,40 @@ +This package was debianized by Piotr Ożarowski on +Wed, 12 Apr 2006 11:00:00 +0200. + +It was downloaded from: http://sourceforge.net/projects/pyenchant + +Upstream Author: Ryan Kelly + +Copyright: 2004-2006 Ryan Kelly + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + In addition, as a special exception, you are + given permission to link the code of this program with + non-LGPL Spelling Provider libraries (eg: a MSFT Office + spell checker backend) and distribute linked combinations including + the two. You must obey the GNU Lesser General Public License in all + respects for all of the code used other than said providers. If you modify + this file, you may extend this exception to your version of the + file, but you are not obligated to do so. If you do not wish to + do so, delete this exception statement from your version. + +enchant/enchant.h file is copyrighted under GNU Library General Public +License by Dom Lachowicz (Copyright (C) 2003 Dom Lachowicz) + +On Debian systems, the complete text of the GNU Library General Public +License can be found in the file `/usr/share/common-licenses/LGPL-2.1'. + +The Debian packaging is (C) 2006-2007, Piotr Ożarowski and +is licensed under the GPL. + +On Debian systems, the complete text of the GNU General Public +License, version 2, can be found in /usr/share/common-licenses/GPL-2. --- pyenchant-1.4.2.orig/debian/docs +++ pyenchant-1.4.2/debian/docs @@ -0,0 +1 @@ +README.txt --- pyenchant-1.4.2.orig/debian/watch +++ pyenchant-1.4.2/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://qa.debian.org/watch/sf.php/pyenchant/ \ + pyenchant-([\d.]*).tar.gz debian uupdate --- pyenchant-1.4.2.orig/debian/control +++ pyenchant-1.4.2/debian/control @@ -0,0 +1,27 @@ +Source: pyenchant +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Piotr Ożarowski +Uploaders: Debian Python Modules Team +Section: python +Priority: optional +Build-Depends: debhelper (>= 5.0.38), python-all-dev (>= 2.3.5-7), quilt (>= 0.40), + python-central (>= 0.6.1), python-setuptools (>= 0.6b3-1~), libenchant-dev (>= 1.4.2-3.1) +Standards-Version: 3.8.0 +Homepage: http://pyenchant.sourceforge.net/ +XS-Python-Version: all +Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyenchant/trunk/ +Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/pyenchant/trunk/?op=log + +Package: python-enchant +Architecture: any +Depends: ${python:Depends}, ${shlibs:Depends} +Suggests: python-gobject, python-gtk2, python-wxgtk2.6 | python-wxgtk2.8 +XB-Python-Version: ${python:Versions} +Provides: ${python:Provides} +Conflicts: python2.4-enchant (<< 1.1.5-2) +Replaces: python2.4-enchant (<< 1.1.5-2) +Description: spellchecking library for Python + PyEnchant consists of Python bindings to the Enchant spellchecking + library and some wrapper classes. It includes all the functionality + of Enchant in a Pythonic object-oriented interface, and also provides + some higher-level functionality which is not available in the C API. --- pyenchant-1.4.2.orig/debian/changelog +++ pyenchant-1.4.2/debian/changelog @@ -0,0 +1,90 @@ +pyenchant (1.4.2-2ubuntu1) intrepid; urgency=medium + + [ Piotr Ożarowski ] + * add fix_import_path patch (_enchant.so is now in enchant's dir after + latest changes) (LP: #286542) + + quilt added to Build-Depends + + [ Scott Kitterman ] + * Merge from Debian Unstable and cherrypick fix_import_path from DPMT svn + + -- Scott Kitterman Mon, 20 Oct 2008 16:07:53 -0400 + +pyenchant (1.4.2-2) unstable; urgency=low + + * libenchant-dev's required build version bumped to >=1.4.2-3.1 + + -- Piotr Ożarowski Wed, 01 Oct 2008 21:23:10 +0200 + +pyenchant (1.4.2-1) unstable; urgency=low + + * New upstream release + + libenchant-dev's required build version bumped to >=1.4 + + -- Piotr Ożarowski Fri, 05 Sep 2008 22:48:26 +0200 + +pyenchant (1.3.1-2) unstable; urgency=low + + * Rebuild against new python-central (closes: #490518) + * Suggests python-gobject, python-gtk2 and python-wxgtk2.6 | python-wxgtk2.8 + (for GtkSpellCheckerDialog and wxSpellCheckerDialog) + * Let python-central do the Egg renaming part + + python-central required build version bumped to 0.6.1 + + debian/rules updated + * Rename XS-Vcs-* fields to Vcs-* (dpkg supports them now) + * Add "~" to python-setuptools' and libenchant-dev's required build version + (to ease backports) + * Standards-Version bumped to 3.8.0: + + Homepage field added + + -- Piotr Ożarowski Sat, 12 Jul 2008 22:51:31 +0200 + +pyenchant (1.3.1-1) unstable; urgency=low + + * New upstream release + + -- Piotr Ożarowski Wed, 19 Sep 2007 21:02:08 +0200 + +pyenchant (1.3.0-2) unstable; urgency=low + + * Upload to unstable + * Changed my address to piotr@debian.org + + -- Piotr Ożarowski Fri, 04 May 2007 17:42:45 +0200 + +pyenchant (1.3.0-1) experimental; urgency=low + + * New upstream release (upload to experimental due to Etch freeze) + * Added XS-Vcs-Svn and XS-Vcs-Browser fields to debian/control + + -- Piotr Ozarowski Fri, 29 Dec 2006 16:43:54 +0100 + +pyenchant (1.2.0-1) unstable; urgency=low + + * New upstream release + * debian/rules cleaned: + + dh_python removed, dh_pycentral will generate all data now + + assume that setuptools is available for all supported python versions + * debian/control: + + bumped debhelper and python-central required versions due + to dh_python call removal + + libenchant needs to be at least in version 1.3.0 now (build req. updated) + + removed python2.3-enchant from Conflicts: and Replaces: + (python v2.3 is no longer supported in Debian) + * shootout.py file no longer installed as example file + * Updated copyright years in debian/copyright + + -- Piotr Ozarowski Sun, 5 Nov 2006 16:07:32 +0100 + +pyenchant (1.1.5-2) unstable; urgency=low + + * Convert to python-central (closes: #373489) + * Standards-version bumped to 3.7.2 (no changes needed) + + -- Piotr Ozarowski Tue, 13 Jun 2006 10:52:43 +0200 + +pyenchant (1.1.5-1) unstable; urgency=low + + * Initial release (closes: #299783) + + -- Piotr Ozarowski Sun, 16 Apr 2006 13:58:24 +0200 --- pyenchant-1.4.2.orig/debian/rules +++ pyenchant-1.4.2/debian/rules @@ -0,0 +1,52 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE=1 + +PACKAGE_NAME=python-enchant + +PYVERS=$(shell pyversions -vr) + +include /usr/share/quilt/quilt.make + +clean: unpatch + dh_testdir + dh_testroot + rm -rf dist build + find . -name *\.py[co] -exec rm {} \; + dh_clean *-stamp + +build: patch build-stamp +build-stamp: $(PYVERS:%=build-ext-%) + touch $@ +build-ext-%: + dh_testdir + python$* setup.py build + touch $@ + +install: install-stamp +install-stamp: build-stamp $(PYVERS:%=install-ext-%) +install-ext-%: + python$* setup.py install \ + --single-version-externally-managed \ + --root $(CURDIR)/debian/${PACKAGE_NAME} + +binary-indep: + +binary-arch: build install + dh_testdir -a + dh_testroot -a + dh_installchangelogs -a ChangeLog + dh_installdocs -a + dh_pycentral -a + dh_strip -a + dh_compress -a -X.py + dh_fixperms -a + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary: binary-indep binary-arch + +.PHONY: build clean binary-indep binary-arch binary install configure --- pyenchant-1.4.2.orig/debian/patches/series +++ pyenchant-1.4.2/debian/patches/series @@ -0,0 +1 @@ +fix_import_path.patch --- pyenchant-1.4.2.orig/debian/patches/fix_import_path.patch +++ pyenchant-1.4.2/debian/patches/fix_import_path.patch @@ -0,0 +1,13 @@ +Index: pyenchant-1.4.2/enchant/__init__.py +=================================================================== +--- pyenchant-1.4.2.orig/enchant/__init__.py ++++ pyenchant-1.4.2/enchant/__init__.py +@@ -87,7 +87,7 @@ class Error(Exception): + pass + + +-import _enchant as _e ++import enchant._enchant as _e + import utils + from pypwl import PyPWL +