[Python-modules-commits] r3264 - in /packages/python-kde3/trunk/debian: NEWS.Debian changelog control rules
shlomme at users.alioth.debian.org
shlomme at users.alioth.debian.org
Sun Sep 16 14:55:01 UTC 2007
Author: shlomme
Date: Sun Sep 16 14:55:01 2007
New Revision: 3264
URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=3264
Log:
* last-time changes to the dbg package
Added:
packages/python-kde3/trunk/debian/NEWS.Debian
Modified:
packages/python-kde3/trunk/debian/changelog
packages/python-kde3/trunk/debian/control
packages/python-kde3/trunk/debian/rules
Added: packages/python-kde3/trunk/debian/NEWS.Debian
URL: http://svn.debian.org/wsvn/python-modules/packages/python-kde3/trunk/debian/NEWS.Debian?rev=3264&op=file
==============================================================================
--- packages/python-kde3/trunk/debian/NEWS.Debian (added)
+++ packages/python-kde3/trunk/debian/NEWS.Debian Sun Sep 16 14:55:01 2007
@@ -1,0 +1,10 @@
+python-kde3 (3.16.0-3) unstable; urgency=low
+
+ python-kde3-dbg contains modules built for a debug Python interpreter.
+ However, it contains modules only for the default Python version. Also,
+ the debug symbols from python-kde3 are not stored inside python-kde3-dbg,
+ in order to keep the package size sane. If you need those debug symbols,
+ locate the dh_strip command in debian/rules and uncomment the "--dbg-package"
+ options.
+
+ -- Torsten Marek <shlomme at debian.org> Sun, 16 Sep 2007 13:57:44 +0200
Modified: packages/python-kde3/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/python-kde3/trunk/debian/changelog?rev=3264&op=diff
==============================================================================
--- packages/python-kde3/trunk/debian/changelog (original)
+++ packages/python-kde3/trunk/debian/changelog Sun Sep 16 14:55:01 2007
@@ -2,7 +2,8 @@
* Merge with Ubuntu:
* Unable Konsole bindings.
- * Build debug package.
+ * Build debug modules, but only for the default Python version
+ to keep the size sane. Debug symbols are left out as well.
* Adopt DCOP patch from Ubuntu.
* Better debian/rules file.
Modified: packages/python-kde3/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/python-kde3/trunk/debian/control?rev=3264&op=diff
==============================================================================
--- packages/python-kde3/trunk/debian/control (original)
+++ packages/python-kde3/trunk/debian/control Sun Sep 16 14:55:01 2007
@@ -11,6 +11,7 @@
Architecture: any
Depends: ${shlibs:Depends}, ${python:Depends}, python-qt3 (>= 3.17.3)
XB-Python-Version: ${python:Versions}
+Provides: ${python:Provides}
Description: KDE3 bindings for Python
Python binding module that provides wide access to the KDE3 API,
also known as PyKDE. Using this, you'll get (for example) classes
Modified: packages/python-kde3/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/python-kde3/trunk/debian/rules?rev=3264&op=diff
==============================================================================
--- packages/python-kde3/trunk/debian/rules (original)
+++ packages/python-kde3/trunk/debian/rules Sun Sep 16 14:55:01 2007
@@ -19,6 +19,7 @@
endif
PYTHONS := $(shell pyversions -vr debian/control)
+DBG_PYTHONS := $(shell pyversions -vd)
GCCVER := $(shell gcc --version | sed -n '/^gcc (GCC)/s/.*(GCC) \(...\).*/\1/p')
ifneq (,$(filter $(GCCVER),4.2 4.3))
@@ -29,7 +30,7 @@
.PRECIOUS: build-%/configure-stamp dbg-build-%/configure-stamp
-configure: $(PYTHONS:%=build-%/configure-stamp) $(PYTHONS:%=dbg-build-%/configure-stamp)
+configure: $(PYTHONS:%=build-%/configure-stamp) $(DBG_PYTHONS:%=dbg-build-%/configure-stamp)
build-%/configure-stamp: patch-stamp
dh_testdir
@@ -47,7 +48,7 @@
-v /usr/share/sip/kde3 -j $(SPLIT)
touch $@
-build: $(PYTHONS:%=build-%/build-stamp) $(PYTHONS:%=dbg-build-%/build-stamp)
+build: $(PYTHONS:%=build-%/build-stamp) $(DBG_PYTHONS:%=dbg-build-%/build-stamp)
build-%/build-stamp: build-%/configure-stamp
dh_testdir
@@ -63,7 +64,7 @@
dh_testdir
dh_testroot
rm -f *-stamp
- rm -rf $(PYTHONS:%=build-%) $(PYTHONS:%=dbg-build-%)
+ rm -rf $(PYTHONS:%=build-%) $(DBG_PYTHONS:%=dbg-build-%)
# remove autogenerated *mod.sip files and clean up sources
for moddir in sip/*;\
@@ -87,6 +88,9 @@
mkdir -p debian/python-kde3-dev/usr/lib/python-$$version/site-packages;\
cp debian/pykdeconfig.py debian/python-kde3-dev/usr/lib/python-$$version/site-packages/;\
cp build-$$version/pykdeconfig.py debian/python-kde3-dev/usr/lib/python-$$version/site-packages/pykdeconfig_nd.py;\
+ done
+ for version in ${DBG_PYTHONS};\
+ do\
cp dbg-build-$$version/pykdeconfig.py debian/python-kde3-dev/usr/lib/python-$$version/site-packages/pykdeconfig_d.py;\
done
@@ -102,7 +106,7 @@
done
set -e; \
- for version in ${PYTHONS}; do \
+ for version in ${DBG_PYTHONS}; do \
$(MAKE) -C dbg-build-$$version install DESTDIR=$(CURDIR)/debian/python-kde3-dbg;\
done
@@ -131,7 +135,7 @@
dh_installexamples
dh_link
ifeq (,$(findstring -i, $(DH_OPTIONS)))
- DH_OPTIONS= dh_strip -ppython-kde3 --dbg-package=python-kde3-dbg
+ DH_OPTIONS= dh_strip -ppython-kde3 #--dbg-package=python-kde3-dbg
rm -rf debian/python-kde3-dbg/usr/share/doc/python-kde3-dbg
ln -s python-kde3 debian/python-kde3-dbg/usr/share/doc/python-kde3-dbg
endif
More information about the Python-modules-commits
mailing list