[Python-modules-commits] r6966 - in packages/pyenchant/trunk/debian (changelog control rules)

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Tue Nov 25 19:43:41 UTC 2008


    Date: Tuesday, November 25, 2008 @ 19:43:40
  Author: piotr
Revision: 6966

  + Architecture changed to all
  + python-ctypes added to Depends 

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	2008-11-25 19:36:57 UTC (rev 6965)
+++ packages/pyenchant/trunk/debian/changelog	2008-11-25 19:43:40 UTC (rev 6966)
@@ -3,7 +3,8 @@
   [ Piotr Ożarowski ]
   * New upstream release (upload to experimental due to Lenny freeze, to ease
     testing rev. dependencies)
-  * Build python-enchant-dbg package
+    + Architecture changed to all
+    + python-ctypes added to Depends 
   * Drop not really needed fix_import_path patch
   * Compress binary package with bzip2
 

Modified: packages/pyenchant/trunk/debian/control
===================================================================
--- packages/pyenchant/trunk/debian/control	2008-11-25 19:36:57 UTC (rev 6965)
+++ packages/pyenchant/trunk/debian/control	2008-11-25 19:43:40 UTC (rev 6966)
@@ -12,8 +12,8 @@
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pyenchant/trunk/
 
 Package: python-enchant
-Architecture: any
-Depends: ${python:Depends}, ${shlibs:Depends}
+Architecture: all
+Depends: ${python:Depends}, ${shlibs:Depends}, python-ctypes
 Suggests: python-gobject, python-gtk2, python-wxgtk2.6 | python-wxgtk2.8, python-enchant-dbg
 Provides: ${python:Provides}
 Conflicts: python2.4-enchant (<< 1.1.5-2)
@@ -24,17 +24,3 @@
  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: python-enchant-dbg
-Priority: extra
-Architecture: any
-Depends: ${python:Depends}, ${shlibs:Depends}, python-dbg, python-enchant (= ${binary:Version})
-Provides: ${python:Provides}
-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.
- .
- This package contains the extension built for the Python debug interpreter.

Modified: packages/pyenchant/trunk/debian/rules
===================================================================
--- packages/pyenchant/trunk/debian/rules	2008-11-25 19:36:57 UTC (rev 6965)
+++ packages/pyenchant/trunk/debian/rules	2008-11-25 19:43:40 UTC (rev 6966)
@@ -16,48 +16,28 @@
 	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
-	python$*-dbg setup.py build
-	touch $@
+build: patch
 
-install: install-stamp
-install-stamp: build-stamp $(PYVERS:%=install-ext-%)
-install-ext-%:
+install: patch $(PYVERS:%=install-python-%)
+install-python-%:
 	python$* setup.py install \
 		--single-version-externally-managed \
 		--root debian/${PACKAGE_NAME}
-	# -dbg package:
-	python$*-dbg setup.py install \
-		--single-version-externally-managed \
-		--root debian/${PACKAGE_NAME}-dbg \
-		--install-headers=/usr/include/python$*_d/${MODULE_NAME}
-	#for i in debian/${PACKAGE_NAME}-dbg/usr/include/python$*_d/${MODULE_NAME}/*.h; do \
-	#	ln -sf ../../python$*/${MODULE_NAME}/$$(basename $$i) $$i; \
-	#done
-	find debian/${PACKAGE_NAME}-dbg ! -type d ! \( -name '*_d.so' -o -name '*.h' \) -exec rm {} \;
 
-binary-indep:
+binary-arch:
 
-binary-arch: build install
-	dh_testdir -a
-	dh_testroot -a
-	dh_installchangelogs -a -p${PACKAGE_NAME}
-	dh_installdocs -a -p${PACKAGE_NAME}
-	dh_link /usr/share/doc/${PACKAGE_NAME} /usr/share/doc/${PACKAGE_NAME}-dbg
-	dh_pycentral -a
-	dh_strip -a -p${PACKAGE_NAME} --dbg-package=${PACKAGE_NAME}-dbg
-	dh_compress -a -X.py
-	dh_fixperms -a
-	dh_installdeb -a
-	dh_shlibdeps -a
-	dh_gencontrol -a
-	dh_md5sums -a
-	dh_builddeb -a -- -Z bzip2
+binary-indep: build install
+	dh_testdir -i
+	dh_testroot -i
+	dh_installchangelogs -i
+	dh_installdocs -i
+	dh_pycentral -i
+	dh_compress -i -X.py
+	dh_fixperms -i
+	dh_installdeb -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i -- -Z bzip2
 
 binary: binary-indep binary-arch
 




More information about the Python-modules-commits mailing list