[Python-modules-commits] r15441 - in packages/python-geohash/trunk/debian (control rules)

davide125-guest at users.alioth.debian.org davide125-guest at users.alioth.debian.org
Thu Feb 3 17:48:40 UTC 2011


    Date: Thursday, February 3, 2011 @ 17:48:30
  Author: davide125-guest
Revision: 15441

build debug package

Modified:
  packages/python-geohash/trunk/debian/control
  packages/python-geohash/trunk/debian/rules

Modified: packages/python-geohash/trunk/debian/control
===================================================================
--- packages/python-geohash/trunk/debian/control	2011-02-03 15:12:35 UTC (rev 15440)
+++ packages/python-geohash/trunk/debian/control	2011-02-03 17:48:30 UTC (rev 15441)
@@ -2,7 +2,7 @@
 Section: python
 Priority: optional
 Maintainer: Davide Cavalca <davide at geexbox.org>
-Build-Depends: debhelper (>= 7), python-support, python-all-dev (>= 2.4)
+Build-Depends: debhelper (>= 7.3.5~), python-support (>= 0.90), python-all-dev (>= 2.4), python-all-dbg (>= 2.4)
 Standards-Version: 3.9.1
 Homepage: http://code.google.com/p/python-geohash/
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-geohash/trunk
@@ -17,3 +17,18 @@
  representation of two dimensional geometric coordinates). In addition to 
  geohash, this module also supports the quadtree, jpgrid (JIS X 0410) and
  jpiarea grid codes.
+
+Package: python-geohash-dbg
+Section: debug
+Priority: extra
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-geohash (= ${binary:Version})
+Recommends: python-dbg
+Description: fast, accurate Python geohashing library (debug extension)
+ python-geohash provides fast and accurate geohash encoding and decoding
+ functionality. Geohash is a latitude/longitude geocode system (a string
+ representation of two dimensional geometric coordinates). In addition to
+ geohash, this module also supports the quadtree, jpgrid (JIS X 0410) and
+ jpiarea grid codes.
+ .
+ This package contains the debugging symbols for python-geohash.

Modified: packages/python-geohash/trunk/debian/rules
===================================================================
--- packages/python-geohash/trunk/debian/rules	2011-02-03 15:12:35 UTC (rev 15440)
+++ packages/python-geohash/trunk/debian/rules	2011-02-03 17:48:30 UTC (rev 15441)
@@ -6,3 +6,19 @@
 
 %:
 	dh  $@
+
+# Workaround for #589759
+override_dh_auto_build:
+	dh_auto_build -- --force
+
+override_dh_install:
+	dh_install -X"*_d.so" "debian/tmp/*" -p python-geohash
+	dh_install "debian/tmp/usr/lib/python*/*-packages/*_d.so" -p python-geohash-dbg
+	dh_install
+
+override_dh_strip:
+ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
+	dh_strip --dbg-package=python-geohash-dbg
+	# Workaround for #576014
+	cd debian/python-geohash-dbg/usr/lib/debug/usr/lib && mv pyshared pymodules
+endif




More information about the Python-modules-commits mailing list