[Python-modules-commits] r15341 - in packages/pyenchant/trunk/debian (changelog control rules)
piotr at users.alioth.debian.org
piotr at users.alioth.debian.org
Sat Jan 15 21:56:37 UTC 2011
Date: Saturday, January 15, 2011 @ 21:56:37
Author: piotr
Revision: 15341
* New upstream release
* New binary package: python3-enchant
* Covert to dh_python2
* Source format changed to 3.0 (quilt)
Modified:
packages/pyenchant/trunk/debian/changelog
packages/pyenchant/trunk/debian/control
packages/pyenchant/trunk/debian/rules
Modified: packages/pyenchant/trunk/debian/changelog
===================================================================
--- packages/pyenchant/trunk/debian/changelog 2011-01-15 21:39:02 UTC (rev 15340)
+++ packages/pyenchant/trunk/debian/changelog 2011-01-15 21:56:37 UTC (rev 15341)
@@ -1,3 +1,12 @@
+pyenchant (1.6.5-1) experimental; urgency=low
+
+ * New upstream release
+ * New binary package: python3-enchant
+ * Covert to dh_python2
+ * Source format changed to 3.0 (quilt)
+
+ -- Piotr Ożarowski <piotr at debian.org> Sat, 15 Jan 2011 22:39:55 +0100
+
pyenchant (1.6.3-1) experimental; urgency=low
* New upstream release
Modified: packages/pyenchant/trunk/debian/control
===================================================================
--- packages/pyenchant/trunk/debian/control 2011-01-15 21:39:02 UTC (rev 15340)
+++ packages/pyenchant/trunk/debian/control 2011-01-15 21:56:37 UTC (rev 15341)
@@ -3,21 +3,31 @@
Priority: optional
Maintainer: Piotr Ożarowski <piotr at debian.org>
Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 5.0.38), quilt (>= 0.40), python (>= 2.5), libenchant-dev
-Build-Depends-Indep: python-all (>= 2.3.5-7), python-support (>= 0.6.4), python-setuptools (>= 0.6b3-1~)
+Build-Depends: debhelper (>= 5.0.38), python (>= 2.5), libenchant-dev
+Build-Depends-Indep: python-all (>= 2.6.6-3), python3-all,
+ python-setuptools (>= 0.6b3-1~), python3-setuptools
Standards-Version: 3.9.1
Homepage: http://pyenchant.sourceforge.net/
-XS-Python-Version: >=2.5
Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyenchant/trunk/
Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pyenchant/trunk/
+X-Python-Version: >= 2.5
Package: python-enchant
Architecture: all
Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Breaks: ${python:Breaks}
Suggests: python-gobject, python-gtk2, python-wxgtk2.6 | python-wxgtk2.8
-XB-Python-Version: ${python:Versions}
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.
+
+Package: python3-enchant
+Architecture: all
+Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Description: spellchecking library for Python 3
+ 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.
Modified: packages/pyenchant/trunk/debian/rules
===================================================================
--- packages/pyenchant/trunk/debian/rules 2011-01-15 21:39:02 UTC (rev 15340)
+++ packages/pyenchant/trunk/debian/rules 2011-01-15 21:56:37 UTC (rev 15341)
@@ -2,35 +2,35 @@
#export DH_VERBOSE=1
-PACKAGE_NAME=python-enchant
-MODULE_NAME=enchant
+PYVERS=$(shell pyversions -vr) $(shell py3versions -vr)
-PYVERS=$(shell pyversions -vr)
-
# try to detect libenchant package name
LIBPACKAGENAME=$(shell dpkg -S `python -c 'from ctypes.util import find_library; print find_library("enchant")'` | grep -o ^libenchant[^:]* | head -n 1)
ifneq (,$(findstring enchant,$(LIBPACKAGENAME)))
LIBPACKAGENAME=libenchant1c2a
endif
-include /usr/share/quilt/quilt.make
-
-clean: unpatch
- dh_testdir
- dh_testroot
+clean:
rm -rf dist build
- find . -name *\.py[co] -exec rm {} \;
+ find . -name *\.py[co] -delete
+ find . -name __pycache__ -type d -empty -delete
dh_clean *-stamp
-build: patch
+build:
-install: patch $(PYVERS:%=install-python-%)
+install: $(PYVERS:%=install-python-%)
echo "shlibs:Depends=${LIBPACKAGENAME}" >> debian/python-enchant.substvars
+ echo "shlibs:Depends=${LIBPACKAGENAME}" >> debian/python3-enchant.substvars
touch $@
+install-python-3.%:
+ python3.$* setup.py install \
+ --install-layout=deb \
+ --root debian/python3-enchant/
install-python-%:
python$* setup.py install \
--single-version-externally-managed \
- --root debian/${PACKAGE_NAME}
+ --install-layout=deb \
+ --root debian/python-enchant
binary-arch:
@@ -39,7 +39,8 @@
dh_testroot -i
dh_installchangelogs -i
dh_installdocs -i
- dh_pysupport -i
+ dh_python2 -i
+ dh_python3 -i
dh_compress -i -X.py
dh_fixperms -i
dh_installdeb -i
More information about the Python-modules-commits
mailing list