DEB python-trinity: Rename packages to pytde.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/184/head
Slávek Banko 2 years ago
parent 2bd58e61c2
commit 40f6dfbf9d
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -1,4 +1,4 @@
python-trinity-trinity (3.16.3-0ubuntu4) karmic; urgency=low pytde (3.16.3-0ubuntu4) karmic; urgency=low
* Karmic rebuild * Karmic rebuild

@ -1,4 +1,4 @@
Source: python-trinity-trinity Source: pytde
Section: python Section: python
Priority: optional Priority: optional
Maintainer: TDE Debian Team <team-debian@trinitydesktop.org> Maintainer: TDE Debian Team <team-debian@trinitydesktop.org>
@ -8,24 +8,23 @@ Build-Depends: debhelper (>= 9~), libtqtinterface-dev, python-support (>= 0.7.1)
Standards-Version: 3.8.4 Standards-Version: 3.8.4
Homepage: http://www.riverbankcomputing.co.uk/pytde/index.php Homepage: http://www.riverbankcomputing.co.uk/pytde/index.php
Package: python-trinity-trinity Package: python-pytde
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${python:Depends}, python-pytqt Depends: ${shlibs:Depends}, ${python:Depends}, python-pytqt
Replaces: python-trinity-trinity (<< 4:14.0.0~) Replaces: python-trinity-trinity (<< 4:14.1.0~)
Breaks: python-trinity-trinity (<< 4:14.0.0~) Breaks: python-trinity-trinity (<< 4:14.1.0~)
Provides: ${python:Provides} Provides: ${python:Provides}
Conflicts: python-trinity-trinity
Description: Trinity bindings for Python [Trinity] Description: Trinity bindings for Python [Trinity]
Python binding module that provides wide access to the Trinity API, Python binding module that provides wide access to the Trinity API,
also known as PyTDE. Using this, you'll get (for example) classes also known as PyTDE. Using this, you'll get (for example) classes
from kio, kjs, tdehtml and kprint. from kio, kjs, tdehtml and kprint.
Package: python-trinity-trinity-dbg Package: python-pytde-dbg
Priority: extra Priority: extra
Architecture: any Architecture: any
Replaces: python-trinity-trinity-dbg (<< 4:14.0.0~) Replaces: python-trinity-trinity-dbg (<< 4:14.1.0~)
Breaks: python-trinity-trinity-dbg (<< 4:14.0.0~) Breaks: python-trinity-trinity-dbg (<< 4:14.1.0~)
Depends: python-trinity-trinity (= ${binary:Version}), python-all-dbg, python-pytqt-dbg, ${shlibs:Depends} Depends: python-pytde (= ${binary:Version}), python-all-dbg, python-pytqt-dbg, ${shlibs:Depends}
Description: Trinity bindings for Python (debug extensions) [Trinity] Description: Trinity bindings for Python (debug extensions) [Trinity]
Python binding module that provides wide access to the Trinity API, Python binding module that provides wide access to the Trinity API,
also known as PyTDE. Using this, you'll get (for example) classes also known as PyTDE. Using this, you'll get (for example) classes
@ -33,11 +32,11 @@ Description: Trinity bindings for Python (debug extensions) [Trinity]
. .
This package contains the extension built for the Python debug interpreter. This package contains the extension built for the Python debug interpreter.
Package: python-trinity-trinity-dev Package: pytde-dev
Section: python Section: python
Architecture: all Architecture: all
Replaces: python-trinity-trinity-dev (<< 4:14.0.0~) Replaces: python-trinity-trinity-dev (<< 4:14.1.0~)
Breaks: python-trinity-trinity-dev (<< 4:14.0.0~) Breaks: python-trinity-trinity-dev (<< 4:14.1.0~)
Depends: pytqt-tools, ${python:Depends} Depends: pytqt-tools, ${python:Depends}
Description: Trinity bindings for Python - Development files and scripts [Trinity] Description: Trinity bindings for Python - Development files and scripts [Trinity]
Development .sip files with definitions of PyTDE classes. They Development .sip files with definitions of PyTDE classes. They
@ -46,11 +45,11 @@ Description: Trinity bindings for Python - Development files and scripts [Trinit
The package also contains tdepyuic, a wrapper script around PyTQt's The package also contains tdepyuic, a wrapper script around PyTQt's
user interface compiler. user interface compiler.
Package: python-trinity-trinity-doc Package: pytde-doc
Section: doc Section: doc
Architecture: all Architecture: all
Replaces: python-trinity-trinity-doc (<< 4:14.0.0~) Replaces: python-trinity-trinity-doc (<< 4:14.1.0~)
Breaks: python-trinity-trinity-doc (<< 4:14.0.0~) Breaks: python-trinity-trinity-doc (<< 4:14.1.0~)
Description: Documentation and examples for PyTDE [Trinity] Description: Documentation and examples for PyTDE [Trinity]
General documentation and examples for PyTDE providing programming General documentation and examples for PyTDE providing programming
tips and working code you can use to learn from. tips and working code you can use to learn from.

@ -0,0 +1,2 @@
sip/* usr/share/sip-tqt/trinity
contrib/tdepyuic usr/bin/

@ -0,0 +1,3 @@
usr/share/doc/pytde-doc
usr/share/doc/pytde-doc/examples
usr/share/doc/pytde-doc/html

@ -8,5 +8,5 @@ Abstract: This documentation describes the PyTDE API
Section: Programming Section: Programming
Format: HTML Format: HTML
Index: /usr/share/doc/python-trinity-trinity-doc/html/index.html Index: /usr/share/doc/pytde-doc/html/index.html
Files: /usr/share/doc/python-trinity-trinity-doc/html/*.html Files: /usr/share/doc/pytde-doc/html/*.html

@ -0,0 +1 @@
doc/* usr/share/doc/pytde-doc/html

@ -1,2 +0,0 @@
sip/* opt/trinity/share/sip-tqt/trinity
contrib/tdepyuic opt/trinity/bin/

@ -1,3 +0,0 @@
usr/share/doc/python-trinity-trinity-doc
usr/share/doc/python-trinity-trinity-doc/examples
usr/share/doc/python-trinity-trinity-doc/html

@ -1 +0,0 @@
doc/* usr/share/doc/python-trinity-trinity-doc/html

@ -56,7 +56,7 @@ build-%/configure-stamp:
cd build-$* && python$* ../configure.py \ cd build-$* && python$* ../configure.py \
-c -u -k /opt/trinity -o /opt/trinity/include -n /opt/trinity/lib \ -c -u -k /opt/trinity -o /opt/trinity/include -n /opt/trinity/lib \
-e python$* \ -e python$* \
-v /opt/trinity/share/sip-tqt/trinity -j $(SPLIT) -v /usr/share/sip-tqt/trinity -j $(SPLIT)
touch $@ touch $@
dbg-build-%/configure-stamp: dbg-build-%/configure-stamp:
@ -65,7 +65,7 @@ dbg-build-%/configure-stamp:
cd dbg-build-$* && python$*-dbg ../configure.py \ cd dbg-build-$* && python$*-dbg ../configure.py \
-c -u -k /opt/trinity -o /opt/trinity/include -n /opt/trinity/lib \ -c -u -k /opt/trinity -o /opt/trinity/include -n /opt/trinity/lib \
-e python$* \ -e python$* \
-v /opt/trinity/share/sip-tqt/trinity -j $(SPLIT) -v /usr/share/sip-tqt/trinity -j $(SPLIT)
touch $@ touch $@
build build-arch: $(PYTHONS:%=build-%/build-stamp) $(DBG_PYTHONS:%=dbg-build-%/build-stamp) build build-arch: $(PYTHONS:%=build-%/build-stamp) $(DBG_PYTHONS:%=dbg-build-%/build-stamp)
@ -106,13 +106,15 @@ install-indep:
dh_install -i -X'\.diff$$' -X'\.in$$' -X'\.html$$' dh_install -i -X'\.diff$$' -X'\.in$$' -X'\.html$$'
for version in ${PYTHONS};\ for version in ${PYTHONS};\
do\ do\
mkdir -p debian/python-trinity-trinity-dev/opt/trinity/lib/python-$$version/site-packages;\ pylib=$$(python$$version -c 'from distutils import sysconfig; print (sysconfig.get_python_lib())');\
cp debian/pytdeconfig.py debian/python-trinity-trinity-dev/opt/trinity/lib/python-$$version/site-packages/;\ mkdir -p debian/pytde-dev/$$pylib;\
cp build-$$version/pytdeconfig.py debian/python-trinity-trinity-dev/opt/trinity/lib/python-$$version/site-packages/pytdeconfig_nd.py;\ install -m 644 -o root -g root debian/pytdeconfig.py debian/pytde-dev/$$pylib/pytdeconfig.py;\
install -m 644 -o root -g root build-$$version/pytdeconfig.py debian/pytde-dev/$$pylib/pytdeconfig_nd.py;\
done done
for version in ${DBG_PYTHONS};\ for version in ${DBG_PYTHONS};\
do\ do\
cp dbg-build-$$version/pytdeconfig.py debian/python-trinity-trinity-dev/opt/trinity/lib/python-$$version/site-packages/pytdeconfig_d.py;\ pylib=$$(python$$version -c 'from distutils import sysconfig; print (sysconfig.get_python_lib())');\
install -m 644 -o root -g root dbg-build-$$version/pytdeconfig.py debian/pytde-dev/$$pylib/pytdeconfig_d.py;\
done done
install-arch: install-arch:
@ -127,14 +129,14 @@ install-arch:
done done
set -e; \ set -e; \
for version in ${DBG_PYTHONS}; do \ for version in ${DBG_PYTHONS}; do \
$(MAKE) -C dbg-build-$$version install DESTDIR=$(CURDIR)/debian/python-trinity-trinity-dbg;\ $(MAKE) -C dbg-build-$$version install DESTDIR=$(CURDIR)/debian/python-pytde-dbg;\
done done
dh_install -a --sourcedir=$(CURDIR)/debian/tmp dh_install -a --sourcedir=$(CURDIR)/debian/tmp
mkdir -p $(CURDIR)/debian/python-trinity-trinity/opt/trinity/lib/ mkdir -p $(CURDIR)/debian/python-pytde/opt/trinity/lib/
ln -s /opt/trinity/lib/trinity/libkonsolepart.so $(CURDIR)/debian/python-trinity-trinity/opt/trinity/lib/ ln -s /opt/trinity/lib/trinity/libkonsolepart.so $(CURDIR)/debian/python-pytde/opt/trinity/lib/
for i in $$(find debian/python-*-dbg -name '*.so'); do \ for i in $$(find debian/python-*-dbg -name '*.so'); do \
b=$$(basename $$i .so); \ b=$$(basename $$i .so); \
mv $$i $$(dirname $$i)/$${b}_d.so; \ mv $$i $$(dirname $$i)/$${b}_d.so; \
@ -156,7 +158,7 @@ binary-common:
dh_installexamples dh_installexamples
dh_link dh_link
ifeq (,$(findstring -i, $(DH_OPTIONS))) ifeq (,$(findstring -i, $(DH_OPTIONS)))
DH_OPTIONS= dh_strip -ppython-trinity-trinity #--dbg-package=python-trinity-trinity-dbg DH_OPTIONS= dh_strip -ppython-pytde #--dbg-package=python-pytde-dbg
endif endif
dh_compress -X.py -X.ui -X.dtd dh_compress -X.py -X.ui -X.dtd
dh_fixperms dh_fixperms

@ -1,4 +1,4 @@
python-trinity-trinity (3.16.3-0ubuntu4) karmic; urgency=low pytde (3.16.3-0ubuntu4) karmic; urgency=low
* Karmic rebuild * Karmic rebuild

@ -1,4 +1,4 @@
Source: python-trinity-trinity Source: pytde
Section: python Section: python
Priority: optional Priority: optional
Maintainer: TDE Debian Team <team-debian@trinitydesktop.org> Maintainer: TDE Debian Team <team-debian@trinitydesktop.org>
@ -8,24 +8,23 @@ Build-Depends: debhelper (>= 9~), libtqtinterface-dev, python-all, python-all-de
Standards-Version: 3.8.4 Standards-Version: 3.8.4
Homepage: http://www.riverbankcomputing.co.uk/pytde/index.php Homepage: http://www.riverbankcomputing.co.uk/pytde/index.php
Package: python-trinity-trinity Package: python-pytde
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${python:Depends}, python-pytqt Depends: ${shlibs:Depends}, ${python:Depends}, python-pytqt
Replaces: python-trinity-trinity (<< 4:14.0.0~) Replaces: python-trinity-trinity (<< 4:14.1.0~)
Breaks: python-trinity-trinity (<< 4:14.0.0~) Breaks: python-trinity-trinity (<< 4:14.1.0~)
Provides: ${python:Provides} Provides: ${python:Provides}
Conflicts: python-trinity-trinity
Description: Trinity bindings for Python [Trinity] Description: Trinity bindings for Python [Trinity]
Python binding module that provides wide access to the Trinity API, Python binding module that provides wide access to the Trinity API,
also known as PyTDE. Using this, you'll get (for example) classes also known as PyTDE. Using this, you'll get (for example) classes
from kio, kjs, tdehtml and kprint. from kio, kjs, tdehtml and kprint.
Package: python-trinity-trinity-dbg Package: python-pytde-dbg
Priority: extra Priority: extra
Architecture: linux-any Architecture: linux-any
Replaces: python-trinity-trinity-dbg (<< 4:14.0.0~) Replaces: python-trinity-trinity-dbg (<< 4:14.1.0~)
Breaks: python-trinity-trinity-dbg (<< 4:14.0.0~) Breaks: python-trinity-trinity-dbg (<< 4:14.1.0~)
Depends: python-trinity-trinity (= ${binary:Version}), python-all-dbg, python-pytqt-dbg, ${shlibs:Depends} Depends: python-pytde (= ${binary:Version}), python-all-dbg, python-pytqt-dbg, ${shlibs:Depends}
Description: Trinity bindings for Python (debug extensions) [Trinity] Description: Trinity bindings for Python (debug extensions) [Trinity]
Python binding module that provides wide access to the Trinity API, Python binding module that provides wide access to the Trinity API,
also known as PyTDE. Using this, you'll get (for example) classes also known as PyTDE. Using this, you'll get (for example) classes
@ -33,11 +32,11 @@ Description: Trinity bindings for Python (debug extensions) [Trinity]
. .
This package contains the extension built for the Python debug interpreter. This package contains the extension built for the Python debug interpreter.
Package: python-trinity-trinity-dev Package: pytde-dev
Section: python Section: python
Architecture: all Architecture: all
Replaces: python-trinity-trinity-dev (<< 4:14.0.0~) Replaces: python-trinity-trinity-dev (<< 4:14.1.0~)
Breaks: python-trinity-trinity-dev (<< 4:14.0.0~) Breaks: python-trinity-trinity-dev (<< 4:14.1.0~)
Depends: pytqt-tools, ${python:Depends} Depends: pytqt-tools, ${python:Depends}
Description: Trinity bindings for Python - Development files and scripts [Trinity] Description: Trinity bindings for Python - Development files and scripts [Trinity]
Development .sip files with definitions of PyTDE classes. They Development .sip files with definitions of PyTDE classes. They
@ -46,11 +45,11 @@ Description: Trinity bindings for Python - Development files and scripts [Trinit
The package also contains tdepyuic, a wrapper script around PyTQt's The package also contains tdepyuic, a wrapper script around PyTQt's
user interface compiler. user interface compiler.
Package: python-trinity-trinity-doc Package: pytde-doc
Section: doc Section: doc
Architecture: all Architecture: all
Replaces: python-trinity-trinity-doc (<< 4:14.0.0~) Replaces: python-trinity-trinity-doc (<< 4:14.1.0~)
Breaks: python-trinity-trinity-doc (<< 4:14.0.0~) Breaks: python-trinity-trinity-doc (<< 4:14.1.0~)
Description: Documentation and examples for PyTDE [Trinity] Description: Documentation and examples for PyTDE [Trinity]
General documentation and examples for PyTDE providing programming General documentation and examples for PyTDE providing programming
tips and working code you can use to learn from. tips and working code you can use to learn from.

@ -0,0 +1,2 @@
sip/* usr/share/sip-tqt/trinity
contrib/tdepyuic usr/bin/

@ -0,0 +1,3 @@
usr/share/doc/pytde-doc
usr/share/doc/pytde-doc/examples
usr/share/doc/pytde-doc/html

@ -8,5 +8,5 @@ Abstract: This documentation describes the PyTDE API
Section: Programming Section: Programming
Format: HTML Format: HTML
Index: /usr/share/doc/python-trinity-trinity-doc/html/index.html Index: /usr/share/doc/pytde-doc/html/index.html
Files: /usr/share/doc/python-trinity-trinity-doc/html/*.html Files: /usr/share/doc/pytde-doc/html/*.html

@ -0,0 +1 @@
doc/* usr/share/doc/pytde-doc/html

@ -1,2 +0,0 @@
sip/* usr/share/sip/trinity
contrib/tdepyuic usr/bin/

@ -1,3 +0,0 @@
usr/share/doc/python-trinity-trinity-doc
usr/share/doc/python-trinity-trinity-doc/examples
usr/share/doc/python-trinity-trinity-doc/html

@ -1 +0,0 @@
doc/* usr/share/doc/python-trinity-trinity-doc/html

@ -60,7 +60,7 @@ build-%/configure-stamp:
cd build-$* && python$* ../configure.py \ cd build-$* && python$* ../configure.py \
-c -u -k /usr -o /usr/include -n /usr/lib/$(DEB_HOST_MULTIARCH) \ -c -u -k /usr -o /usr/include -n /usr/lib/$(DEB_HOST_MULTIARCH) \
-e python$* \ -e python$* \
-v /usr/share/sip/trinity -j $(SPLIT) -v /usr/share/sip-tqt/trinity -j $(SPLIT)
touch $@ touch $@
dbg-build-%/configure-stamp: dbg-build-%/configure-stamp:
@ -69,7 +69,7 @@ dbg-build-%/configure-stamp:
cd dbg-build-$* && python$*-dbg ../configure.py \ cd dbg-build-$* && python$*-dbg ../configure.py \
-c -u -k /usr -o /usr/include -n /usr/lib \ -c -u -k /usr -o /usr/include -n /usr/lib \
-e python$* \ -e python$* \
-v /usr/share/sip/trinity -j $(SPLIT) -v /usr/share/sip-tqt/trinity -j $(SPLIT)
touch $@ touch $@
build build-arch: $(PYTHONS:%=build-%/build-stamp) build build-arch: $(PYTHONS:%=build-%/build-stamp)
@ -109,15 +109,17 @@ install-indep:
dh_clean -k -i dh_clean -k -i
dh_installdirs -i dh_installdirs -i
dh_install -i -X'\.diff$$' -X'\.in$$' -X'\.html$$' dh_install -i -X'\.diff$$' -X'\.in$$' -X'\.html$$'
for version in ${PYTHONS};\ for version in ${DBG_PYTHONS};\
do\ do\
mkdir -p debian/python-trinity-trinity-dev/usr/lib/python-$$version/site-packages;\ pylib=$$(python$$version -c 'from distutils import sysconfig; print (sysconfig.get_python_lib())');\
cp debian/pytdeconfig.py debian/python-trinity-trinity-dev/usr/lib/python-$$version/site-packages/;\ mkdir -p debian/pytde-dev/$$pylib;\
cp build-$$version/pytdeconfig.py debian/python-trinity-trinity-dev/usr/lib/python-$$version/site-packages/pytdeconfig_nd.py;\ install -m 644 -o root -g root debian/pytdeconfig.py debian/pytde-dev/$$pylib/pytdeconfig.py;\
install -m 644 -o root -g root build-$$version/pytdeconfig.py debian/pytde-dev/$$pylib/pytdeconfig_nd.py;\
done done
# for version in ${DBG_PYTHONS};\ # for version in ${DBG_PYTHONS};\
# do\ # do\
# cp dbg-build-$$version/pytdeconfig.py debian/python-trinity-trinity-dev/usr/lib/python-$$version/site-packages/pytdeconfig_d.py;\ # pylib=$$(python$$version -c 'from distutils import sysconfig; print (sysconfig.get_python_lib())');\
# install -m 644 -o root -g root dbg-build-$$version/pytdeconfig.py debian/pytde-dev/$$pylib/pytdeconfig_d.py;\
# done # done
install-arch: install-arch:
@ -132,14 +134,14 @@ install-arch:
done done
# set -e; \ # set -e; \
# for version in ${DBG_PYTHONS}; do \ # for version in ${DBG_PYTHONS}; do \
# $(MAKE) -C dbg-build-$$version install DESTDIR=$(CURDIR)/debian/python-trinity-trinity-dbg;\ # $(MAKE) -C dbg-build-$$version install DESTDIR=$(CURDIR)/debian/python-pytde-dbg;\
# done # done
dh_install -a --sourcedir=$(CURDIR)/debian/tmp dh_install -a --sourcedir=$(CURDIR)/debian/tmp
mkdir -p $(CURDIR)/debian/python-trinity-trinity/usr/lib/$(DEB_HOST_MULTIARCH) mkdir -p $(CURDIR)/debian/python-pytde/usr/lib/$(DEB_HOST_MULTIARCH)
ln -s /usr/lib/$(DEB_HOST_MULTIARCH)/trinity/libkonsolepart.so $(CURDIR)/debian/python-trinity-trinity/usr/lib/$(DEB_HOST_MULTIARCH) ln -s /usr/lib/$(DEB_HOST_MULTIARCH)/trinity/libkonsolepart.so $(CURDIR)/debian/python-pytde/usr/lib/$(DEB_HOST_MULTIARCH)
# for i in $$(find debian/python-*-dbg -name '*.so'); do \ # for i in $$(find debian/python-*-dbg -name '*.so'); do \
# b=$$(basename $$i .so); \ # b=$$(basename $$i .so); \
# mv $$i $$(dirname $$i)/$${b}_d.so; \ # mv $$i $$(dirname $$i)/$${b}_d.so; \
@ -160,7 +162,7 @@ binary-common:
dh_installexamples dh_installexamples
dh_link dh_link
ifeq (,$(findstring -i, $(DH_OPTIONS))) ifeq (,$(findstring -i, $(DH_OPTIONS)))
DH_OPTIONS= dh_strip -ppython-trinity-trinity #--dbg-package=python-trinity-trinity-dbg DH_OPTIONS= dh_strip -ppython-pytde #--dbg-package=python-pytde-dbg
endif endif
dh_compress -X.py -X.ui -X.dtd dh_compress -X.py -X.ui -X.dtd
dh_fixperms dh_fixperms

@ -1,4 +1,4 @@
python-trinity-trinity (3.16.3-0ubuntu4) karmic; urgency=low pytde (3.16.3-0ubuntu4) karmic; urgency=low
* Karmic rebuild * Karmic rebuild

@ -1,4 +1,4 @@
Source: python-trinity-trinity Source: pytde
Section: python Section: python
Priority: optional Priority: optional
Maintainer: TDE Debian Team <team-debian@trinitydesktop.org> Maintainer: TDE Debian Team <team-debian@trinitydesktop.org>
@ -8,24 +8,23 @@ Build-Depends: debhelper (>= 9~), libtqtinterface-dev, python-support (>= 0.7.1)
Standards-Version: 3.8.4 Standards-Version: 3.8.4
Homepage: http://www.riverbankcomputing.co.uk/pytde/index.php Homepage: http://www.riverbankcomputing.co.uk/pytde/index.php
Package: python-trinity-trinity Package: python-pytde
Architecture: any Architecture: any
Depends: ${shlibs:Depends}, ${python:Depends}, python-pytqt Depends: ${shlibs:Depends}, ${python:Depends}, python-pytqt
Replaces: python-kde3-kde3 (<< 4:14.0.0~), python-trinity-trinity (<< 4:14.0.0~) Replaces: python-trinity-trinity (<< 4:14.1.0~)
Breaks: python-kde3-kde3 (<< 4:14.0.0~), python-trinity-trinity (<< 4:14.0.0~) Breaks: python-trinity-trinity (<< 4:14.1.0~)
Provides: ${python:Provides} Provides: ${python:Provides}
Conflicts: python-trinity-trinity
Description: Trinity bindings for Python [Trinity] Description: Trinity bindings for Python [Trinity]
Python binding module that provides wide access to the Trinity API, Python binding module that provides wide access to the Trinity API,
also known as PyTDE. Using this, you'll get (for example) classes also known as PyTDE. Using this, you'll get (for example) classes
from kio, kjs, tdehtml and kprint. from kio, kjs, tdehtml and kprint.
Package: python-trinity-trinity-dbg Package: python-pytde-dbg
Priority: extra Priority: extra
Architecture: any Architecture: any
Replaces: python-kde3-kde3-dbg (<< 4:14.0.0~), python-trinity-trinity-dbg (<< 4:14.0.0~) Replaces: python-trinity-trinity-dbg (<< 4:14.1.0~)
Breaks: python-kde3-kde3-dbg (<< 4:14.0.0~), python-trinity-trinity-dbg (<< 4:14.0.0~) Breaks: python-trinity-trinity-dbg (<< 4:14.1.0~)
Depends: python-trinity-trinity (= ${binary:Version}), python-all-dbg, python-pytqt-dbg, ${shlibs:Depends} Depends: python-pytde (= ${binary:Version}), python-all-dbg, python-pytqt-dbg, ${shlibs:Depends}
Description: Trinity bindings for Python (debug extensions) [Trinity] Description: Trinity bindings for Python (debug extensions) [Trinity]
Python binding module that provides wide access to the Trinity API, Python binding module that provides wide access to the Trinity API,
also known as PyTDE. Using this, you'll get (for example) classes also known as PyTDE. Using this, you'll get (for example) classes
@ -33,11 +32,11 @@ Description: Trinity bindings for Python (debug extensions) [Trinity]
. .
This package contains the extension built for the Python debug interpreter. This package contains the extension built for the Python debug interpreter.
Package: python-trinity-trinity-dev Package: pytde-dev
Section: python Section: python
Architecture: all Architecture: all
Replaces: python-kde3-kde3-dev (<< 4:14.0.0~), python-trinity-trinity-dev (<< 4:14.0.0~) Replaces: python-trinity-trinity-dev (<< 4:14.1.0~)
Breaks: python-kde3-kde3-dev (<< 4:14.0.0~), python-trinity-trinity-dev (<< 4:14.0.0~) Breaks: python-trinity-trinity-dev (<< 4:14.1.0~)
Depends: pytqt-tools, ${python:Depends} Depends: pytqt-tools, ${python:Depends}
Description: Trinity bindings for Python - Development files and scripts [Trinity] Description: Trinity bindings for Python - Development files and scripts [Trinity]
Development .sip files with definitions of PyTDE classes. They Development .sip files with definitions of PyTDE classes. They
@ -46,11 +45,11 @@ Description: Trinity bindings for Python - Development files and scripts [Trinit
The package also contains tdepyuic, a wrapper script around PyTQt's The package also contains tdepyuic, a wrapper script around PyTQt's
user interface compiler. user interface compiler.
Package: python-trinity-trinity-doc Package: pytde-doc
Section: doc Section: doc
Architecture: all Architecture: all
Replaces: python-kde3-kde3-doc (<< 4:14.0.0~), python-trinity-trinity-doc (<< 4:14.0.0~) Replaces: python-trinity-trinity-doc (<< 4:14.1.0~)
Breaks: python-kde3-kde3-doc (<< 4:14.0.0~), python-trinity-trinity-doc (<< 4:14.0.0~) Breaks: python-trinity-trinity-doc (<< 4:14.1.0~)
Description: Documentation and examples for PyTDE [Trinity] Description: Documentation and examples for PyTDE [Trinity]
General documentation and examples for PyTDE providing programming General documentation and examples for PyTDE providing programming
tips and working code you can use to learn from. tips and working code you can use to learn from.

@ -0,0 +1,2 @@
sip/* usr/share/sip-tqt/trinity
contrib/tdepyuic usr/bin/

@ -0,0 +1,3 @@
usr/share/doc/pytde-doc
usr/share/doc/pytde-doc/examples
usr/share/doc/pytde-doc/html

@ -8,5 +8,5 @@ Abstract: This documentation describes the PyTDE API
Section: Programming Section: Programming
Format: HTML Format: HTML
Index: /usr/share/doc/python-trinity-trinity-doc/html/index.html Index: /usr/share/doc/pytde-doc/html/index.html
Files: /usr/share/doc/python-trinity-trinity-doc/html/*.html Files: /usr/share/doc/pytde-doc/html/*.html

@ -1,2 +0,0 @@
sip/* opt/trinity/share/sip-tqt/trinity
contrib/tdepyuic opt/trinity/bin/

@ -1,3 +0,0 @@
usr/share/doc/python-trinity-trinity-doc
usr/share/doc/python-trinity-trinity-doc/examples
usr/share/doc/python-trinity-trinity-doc/html

@ -1 +0,0 @@
doc/* usr/share/doc/python-trinity-trinity-doc/html

@ -56,7 +56,7 @@ build-%/configure-stamp:
cd build-$* && python$* ../configure.py \ cd build-$* && python$* ../configure.py \
-c -u -k /opt/trinity -o /opt/trinity/include -n /opt/trinity/lib \ -c -u -k /opt/trinity -o /opt/trinity/include -n /opt/trinity/lib \
-e python$* \ -e python$* \
-v /opt/trinity/share/sip-tqt/trinity -j $(SPLIT) -v /usr/share/sip-tqt/trinity -j $(SPLIT)
touch $@ touch $@
dbg-build-%/configure-stamp: dbg-build-%/configure-stamp:
@ -65,7 +65,7 @@ dbg-build-%/configure-stamp:
cd dbg-build-$* && python$*-dbg ../configure.py \ cd dbg-build-$* && python$*-dbg ../configure.py \
-c -u -k /opt/trinity -o /opt/trinity/include -n /opt/trinity/lib \ -c -u -k /opt/trinity -o /opt/trinity/include -n /opt/trinity/lib \
-e python$* \ -e python$* \
-v /opt/trinity/share/sip-tqt/trinity -j $(SPLIT) -v /usr/share/sip-tqt/trinity -j $(SPLIT)
touch $@ touch $@
build build-arch: $(PYTHONS:%=build-%/build-stamp) $(DBG_PYTHONS:%=dbg-build-%/build-stamp) build build-arch: $(PYTHONS:%=build-%/build-stamp) $(DBG_PYTHONS:%=dbg-build-%/build-stamp)
@ -106,13 +106,15 @@ install-indep:
dh_install -i -X'\.diff$$' -X'\.in$$' -X'\.html$$' dh_install -i -X'\.diff$$' -X'\.in$$' -X'\.html$$'
for version in ${PYTHONS};\ for version in ${PYTHONS};\
do\ do\
mkdir -p debian/python-trinity-trinity-dev/opt/trinity/lib/python-$$version/site-packages;\ pylib=$$(python$$version -c 'from distutils import sysconfig; print (sysconfig.get_python_lib())');\
cp debian/pytdeconfig.py debian/python-trinity-trinity-dev/opt/trinity/lib/python-$$version/site-packages/;\ mkdir -p debian/pytde-dev/$$pylib;\
cp build-$$version/pytdeconfig.py debian/python-trinity-trinity-dev/opt/trinity/lib/python-$$version/site-packages/pytdeconfig_nd.py;\ install -m 644 -o root -g root debian/pytdeconfig.py debian/pytde-dev/$$pylib/pytdeconfig.py;\
install -m 644 -o root -g root build-$$version/pytdeconfig.py debian/pytde-dev/$$pylib/pytdeconfig_nd.py;\
done done
for version in ${DBG_PYTHONS};\ for version in ${DBG_PYTHONS};\
do\ do\
cp dbg-build-$$version/pytdeconfig.py debian/python-trinity-trinity-dev/opt/trinity/lib/python-$$version/site-packages/pytdeconfig_d.py;\ pylib=$$(python$$version -c 'from distutils import sysconfig; print (sysconfig.get_python_lib())');\
install -m 644 -o root -g root dbg-build-$$version/pytdeconfig.py debian/pytde-dev/$$pylib/pytdeconfig_d.py;\
done done
install-arch: install-arch:
@ -127,14 +129,14 @@ install-arch:
done done
set -e; \ set -e; \
for version in ${DBG_PYTHONS}; do \ for version in ${DBG_PYTHONS}; do \
$(MAKE) -C dbg-build-$$version install DESTDIR=$(CURDIR)/debian/python-trinity-trinity-dbg;\ $(MAKE) -C dbg-build-$$version install DESTDIR=$(CURDIR)/debian/python-pytde-dbg;\
done done
dh_install -a --sourcedir=$(CURDIR)/debian/tmp dh_install -a --sourcedir=$(CURDIR)/debian/tmp
mkdir -p $(CURDIR)/debian/python-trinity-trinity/opt/trinity/lib/ mkdir -p $(CURDIR)/debian/python-pytde/opt/trinity/lib/
ln -s /opt/trinity/lib/trinity/libkonsolepart.so $(CURDIR)/debian/python-trinity-trinity/opt/trinity/lib/ ln -s /opt/trinity/lib/trinity/libkonsolepart.so $(CURDIR)/debian/python-ptde/opt/trinity/lib/
for i in $$(find debian/python-*-dbg -name '*.so'); do \ for i in $$(find debian/python-*-dbg -name '*.so'); do \
b=$$(basename $$i .so); \ b=$$(basename $$i .so); \
mv $$i $$(dirname $$i)/$${b}_d.so; \ mv $$i $$(dirname $$i)/$${b}_d.so; \
@ -156,7 +158,7 @@ binary-common:
dh_installexamples dh_installexamples
dh_link dh_link
ifeq (,$(findstring -i, $(DH_OPTIONS))) ifeq (,$(findstring -i, $(DH_OPTIONS)))
DH_OPTIONS= dh_strip -ppython-trinity-trinity #--dbg-package=python-trinity-trinity-dbg DH_OPTIONS= dh_strip -ppython-pytde #--dbg-package=python-pytde-dbg
endif endif
dh_compress -X.py -X.ui -X.dtd dh_compress -X.py -X.ui -X.dtd
dh_fixperms dh_fixperms

Loading…
Cancel
Save