DEB tdebindings: drop python2 support.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/187/head
Michele Calgaro 2 years ago
parent bb21cf13c4
commit b81fdf8d67
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -1,8 +1,8 @@
Source: tdebindings-trinity Source: tdebindings-trinity
Build-Depends: cdbs (>= 0.4.43), debhelper (>= 9~), Build-Depends: cdbs (>= 0.4.43), debhelper (>= 9~),
python-all-dev (>= 2.3.5-11), python-support (>= 0.5) | dh-python, quilt, gawk, python3-all-dev, dh-python, quilt, gawk,
default-jdk [amd64 i386 armel armhf arm64 mipsel ia64 powerpc ppc64el riscv64 s390 sparc], default-jdk [amd64 i386 armel armhf arm64 mipsel ia64 powerpc ppc64el riscv64 s390 sparc],
tdelibs14-trinity-dev, libtqt3-compat-headers (>= 3:3.3.5), tdelibs14-trinity-dev, libtqt3-compat-headers,
ruby, ruby-dev, flex, bison, libpkcs11-helper1-dev, automake, autoconf, libtool, libltdl-dev ruby, ruby-dev, flex, bison, libpkcs11-helper1-dev, automake, autoconf, libtool, libltdl-dev
Section: devel Section: devel
Priority: optional Priority: optional
@ -16,7 +16,7 @@ Architecture: all
Section: tde Section: tde
Replaces: kdebindings-trinity (<< 4:14.0.0~) Replaces: kdebindings-trinity (<< 4:14.0.0~)
Breaks: kdebindings-trinity (<< 4:14.0.0~) Breaks: kdebindings-trinity (<< 4:14.0.0~)
Depends: tdebindings-java-trinity (>= ${source:Version}), libdcop3-java-trinity (>= ${source:Version}), libdcop3-jni-trinity (>= ${source:Version}), libqt3-java-trinity (>= ${source:Version}), libqt3-jni-trinity (>= ${source:Version}), libtrinity-java-trinity (>= ${source:Version}), libtrinity-jni-trinity (>= ${source:Version}), libsmoketqt1-trinity (>= ${source:Version}), libsmoketde1-trinity (>= ${source:Version}), python-dcop-trinity (>= ${source:Version}), libkjsembed1-trinity (>= ${source:Version}), kjscmd-trinity (>= ${source:Version}), juic-trinity (>= ${source:Version}), libkorundum0-ruby-trinity (>= ${source:Version}), libqt0-ruby-trinity (>= ${source:Version}), tde-xparts-extras-trinity (>= ${source:Version}) Depends: tdebindings-java-trinity (>= ${source:Version}), libdcop3-java-trinity (>= ${source:Version}), libdcop3-jni-trinity (>= ${source:Version}), libqt3-java-trinity (>= ${source:Version}), libqt3-jni-trinity (>= ${source:Version}), libtrinity-java-trinity (>= ${source:Version}), libtrinity-jni-trinity (>= ${source:Version}), libsmoketqt1-trinity (>= ${source:Version}), libsmoketde1-trinity (>= ${source:Version}), python3-dcop-trinity (>= ${source:Version}), libkjsembed1-trinity (>= ${source:Version}), kjscmd-trinity (>= ${source:Version}), juic-trinity (>= ${source:Version}), libkorundum0-ruby-trinity (>= ${source:Version}), libqt0-ruby-trinity (>= ${source:Version}), tde-xparts-extras-trinity (>= ${source:Version})
Description: TDE bindings metapackage Description: TDE bindings metapackage
TDE (the Trinity Desktop Environment) is a powerful Open Source graphical TDE (the Trinity Desktop Environment) is a powerful Open Source graphical
desktop environment for Unix workstations. It combines ease of use, desktop environment for Unix workstations. It combines ease of use,
@ -211,13 +211,11 @@ Description: SMOKE Binding Library to TDE - Development Files
. .
This package is part of the official TDE bindings module. This package is part of the official TDE bindings module.
Package: python-dcop-trinity Package: python3-dcop-trinity
Architecture: any Architecture: any
Section: python Section: python
Replaces: python-dcop-trinity (<< 4:14.0.0~) Depends: ${python3:Depends}, ${shlibs:Depends}
Breaks: python-dcop-trinity (<< 4:14.0.0~) Provides: ${python3:Provides}
Depends: ${python:Depends}, ${shlibs:Depends}
Provides: ${python:Provides}
Description: DCOP bindings for Python Description: DCOP bindings for Python
This package contains the shared libraries necessary to run and This package contains the shared libraries necessary to run and
develop Python programs using the Python DCOP bindings develop Python programs using the Python DCOP bindings

@ -1 +0,0 @@
debian/tmp/opt/trinity/lib/python2.*/site-packages

@ -0,0 +1 @@
debian/tmp/opt/trinity/lib/python3/dist-packages

@ -3,10 +3,6 @@
DEB_QUILT_PATCHDIR_LINK := DEB_QUILT_PATCHDIR_LINK :=
export QUILT_PATCHES=debian/patches export QUILT_PATCHES=debian/patches
DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport)
DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_pysupport)
include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/rules/debhelper.mk
override DEB_BUILDDIR := $(DEB_SRCDIR) override DEB_BUILDDIR := $(DEB_SRCDIR)
include debian/cdbs/debian-tde.mk include debian/cdbs/debian-tde.mk
@ -111,8 +107,9 @@ common-install-arch:: stamp-install-dcopjava
binary-install/juic-trinity:: binary-install/juic-trinity::
sed -i "s|UIXSLDIR=/usr|UIXSLDIR=/opt/trinity|" debian/$(cdbs_curpkg)/opt/trinity/bin/juic sed -i "s|UIXSLDIR=/usr|UIXSLDIR=/opt/trinity|" debian/$(cdbs_curpkg)/opt/trinity/bin/juic
binary-install/python-dcop-trinity::
${DH_PYTHON2} -p$(cdbs_curpkg) binary-install/python3-dcop-trinity::
dh_python3 -p$(cdbs_curpkg)
### ###

@ -1,8 +1,8 @@
Source: tdebindings-trinity Source: tdebindings-trinity
Build-Depends: cdbs (>= 0.4.43), debhelper (>= 9~), Build-Depends: cdbs (>= 0.4.43), debhelper (>= 9~),
python-all-dev (>= 2.3.5-11), python-support (>= 0.5) | dh-python, quilt, gawk, python3-all-dev, dh-python, quilt, gawk,
default-jdk [amd64 i386 armel armhf arm64 mipsel ia64 powerpc ppc64el riscv64 s390 sparc], default-jdk [amd64 i386 armel armhf arm64 mipsel ia64 powerpc ppc64el riscv64 s390 sparc],
tdelibs14-trinity-dev, libtqt3-compat-headers (>= 3:3.3.5), tdelibs14-trinity-dev, libtqt3-compat-headers,
ruby, ruby-dev, flex, bison, libpkcs11-helper1-dev, automake, autoconf, libtool, libltdl-dev, ruby, ruby-dev, flex, bison, libpkcs11-helper1-dev, automake, autoconf, libtool, libltdl-dev,
graphviz [solaris-any], libgtk2.0-dev [solaris-any], oracle-java8-jdk [solaris-any] graphviz [solaris-any], libgtk2.0-dev [solaris-any], oracle-java8-jdk [solaris-any]
Section: devel Section: devel
@ -17,7 +17,7 @@ Architecture: all
Section: tde Section: tde
Replaces: kdebindings-trinity (<< 4:14.0.0~) Replaces: kdebindings-trinity (<< 4:14.0.0~)
Breaks: kdebindings-trinity (<< 4:14.0.0~) Breaks: kdebindings-trinity (<< 4:14.0.0~)
Depends: tdebindings-java-trinity (>= ${source:Version}), libdcop3-java-trinity (>= ${source:Version}), libdcop3-jni-trinity (>= ${source:Version}), libqt3-java-trinity (>= ${source:Version}), libqt3-jni-trinity (>= ${source:Version}), libtrinity-java-trinity (>= ${source:Version}), libtrinity-jni-trinity (>= ${source:Version}), libsmoketqt1-trinity (>= ${source:Version}), libsmoketde1-trinity (>= ${source:Version}), python-dcop-trinity (>= ${source:Version}), libkjsembed1-trinity (>= ${source:Version}), kjscmd-trinity (>= ${source:Version}), juic-trinity (>= ${source:Version}), libkorundum0-ruby-trinity (>= ${source:Version}), libqt0-ruby-trinity (>= ${source:Version}), tde-xparts-extras-trinity (>= ${source:Version}) Depends: tdebindings-java-trinity (>= ${source:Version}), libdcop3-java-trinity (>= ${source:Version}), libdcop3-jni-trinity (>= ${source:Version}), libqt3-java-trinity (>= ${source:Version}), libqt3-jni-trinity (>= ${source:Version}), libtrinity-java-trinity (>= ${source:Version}), libtrinity-jni-trinity (>= ${source:Version}), libsmoketqt1-trinity (>= ${source:Version}), libsmoketde1-trinity (>= ${source:Version}), python3-dcop-trinity (>= ${source:Version}), libkjsembed1-trinity (>= ${source:Version}), kjscmd-trinity (>= ${source:Version}), juic-trinity (>= ${source:Version}), libkorundum0-ruby-trinity (>= ${source:Version}), libqt0-ruby-trinity (>= ${source:Version}), tde-xparts-extras-trinity (>= ${source:Version})
Description: TDE bindings metapackage Description: TDE bindings metapackage
TDE (the Trinity Desktop Environment) is a powerful Open Source graphical TDE (the Trinity Desktop Environment) is a powerful Open Source graphical
desktop environment for Unix workstations. It combines ease of use, desktop environment for Unix workstations. It combines ease of use,
@ -212,13 +212,11 @@ Description: SMOKE Binding Library to TDE - Development Files
. .
This package is part of the official TDE bindings module. This package is part of the official TDE bindings module.
Package: python-dcop-trinity Package: python3-dcop-trinity
Architecture: any Architecture: any
Section: python Section: python
Replaces: python-dcop-trinity (<< 4:14.0.0~) Depends: ${python3:Depends}, ${shlibs:Depends}
Breaks: python-dcop-trinity (<< 4:14.0.0~) Provides: ${python3:Provides}
Depends: ${python:Depends}, ${shlibs:Depends}
Provides: ${python:Provides}
Description: DCOP bindings for Python Description: DCOP bindings for Python
This package contains the shared libraries necessary to run and This package contains the shared libraries necessary to run and
develop Python programs using the Python DCOP bindings develop Python programs using the Python DCOP bindings

@ -1 +0,0 @@
debian/tmp/usr/lib/python2.*/site-packages

@ -0,0 +1 @@
debian/tmp/usr/lib/python3/dist-packages

@ -3,10 +3,6 @@
DEB_QUILT_PATCHDIR_LINK := DEB_QUILT_PATCHDIR_LINK :=
export QUILT_PATCHES=debian/patches export QUILT_PATCHES=debian/patches
DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport)
DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_pysupport)
include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/rules/debhelper.mk
override DEB_BUILDDIR := $(DEB_SRCDIR) override DEB_BUILDDIR := $(DEB_SRCDIR)
include debian/cdbs/debian-tde.mk include debian/cdbs/debian-tde.mk
@ -117,8 +113,8 @@ common-install-arch:: stamp-install-dcopjava
### ###
binary-install/python-dcop-trinity:: binary-install/python3-dcop-trinity::
${DH_PYTHON2} -p$(cdbs_curpkg) dh_python3 -p$(cdbs_curpkg)
### ###

@ -1,8 +1,8 @@
Source: tdebindings-trinity Source: tdebindings-trinity
Build-Depends: cdbs (>= 0.4.43), debhelper (>= 9~), Build-Depends: cdbs (>= 0.4.43), debhelper (>= 9~),
python-all-dev (>= 2.3.5-11), python-support (>= 0.5) | dh-python, quilt, gawk, python3-all-dev, dh-python, quilt, gawk,
default-jdk [amd64 i386 armel armhf arm64 mipsel ia64 powerpc ppc64el riscv64 s390 sparc], default-jdk [amd64 i386 armel armhf arm64 mipsel ia64 powerpc ppc64el riscv64 s390 sparc],
tdelibs14-trinity-dev, libtqt3-compat-headers (>= 3:3.3.5), tdelibs14-trinity-dev, libtqt3-compat-headers,
ruby, ruby-dev, flex, bison, libpkcs11-helper1-dev, automake, autoconf, libtool, libltdl-dev ruby, ruby-dev, flex, bison, libpkcs11-helper1-dev, automake, autoconf, libtool, libltdl-dev
Section: devel Section: devel
Priority: optional Priority: optional
@ -16,7 +16,7 @@ Architecture: all
Section: tde Section: tde
Replaces: kdebindings-trinity (<< 4:14.0.0~) Replaces: kdebindings-trinity (<< 4:14.0.0~)
Breaks: kdebindings-trinity (<< 4:14.0.0~) Breaks: kdebindings-trinity (<< 4:14.0.0~)
Depends: tdebindings-java-trinity (>= ${source:Version}), libdcop3-java-trinity (>= ${source:Version}), libdcop3-jni-trinity (>= ${source:Version}), libqt3-java-trinity (>= ${source:Version}), libqt3-jni-trinity (>= ${source:Version}), libtrinity-java-trinity (>= ${source:Version}), libtrinity-jni-trinity (>= ${source:Version}), libsmoketqt1-trinity (>= ${source:Version}), libsmoketde1-trinity (>= ${source:Version}), python-dcop-trinity (>= ${source:Version}), libkjsembed1-trinity (>= ${source:Version}), kjscmd-trinity (>= ${source:Version}), juic-trinity (>= ${source:Version}), libkorundum0-ruby-trinity (>= ${source:Version}), libqt0-ruby-trinity (>= ${source:Version}), tde-xparts-extras-trinity (>= ${source:Version}) Depends: tdebindings-java-trinity (>= ${source:Version}), libdcop3-java-trinity (>= ${source:Version}), libdcop3-jni-trinity (>= ${source:Version}), libqt3-java-trinity (>= ${source:Version}), libqt3-jni-trinity (>= ${source:Version}), libtrinity-java-trinity (>= ${source:Version}), libtrinity-jni-trinity (>= ${source:Version}), libsmoketqt1-trinity (>= ${source:Version}), libsmoketde1-trinity (>= ${source:Version}), python3-dcop-trinity (>= ${source:Version}), libkjsembed1-trinity (>= ${source:Version}), kjscmd-trinity (>= ${source:Version}), juic-trinity (>= ${source:Version}), libkorundum0-ruby-trinity (>= ${source:Version}), libqt0-ruby-trinity (>= ${source:Version}), tde-xparts-extras-trinity (>= ${source:Version})
Description: TDE bindings metapackage Description: TDE bindings metapackage
TDE (the Trinity Desktop Environment) is a powerful Open Source graphical TDE (the Trinity Desktop Environment) is a powerful Open Source graphical
desktop environment for Unix workstations. It combines ease of use, desktop environment for Unix workstations. It combines ease of use,
@ -211,13 +211,11 @@ Description: SMOKE Binding Library to TDE - Development Files
. .
This package is part of the official TDE bindings module. This package is part of the official TDE bindings module.
Package: python-dcop-trinity Package: python3-dcop-trinity
Architecture: any Architecture: any
Section: python Section: python
Replaces: python-dcop-kde3 (<< 4:14.0.0~), python-dcop-trinity (<< 4:14.0.0~) Depends: ${python3:Depends}, ${shlibs:Depends}
Breaks: python-dcop-kde3 (<< 4:14.0.0~), python-dcop-trinity (<< 4:14.0.0~) Provides: ${python3:Provides}
Depends: ${python:Depends}, ${shlibs:Depends}
Provides: ${python:Provides}
Description: DCOP bindings for Python Description: DCOP bindings for Python
This package contains the shared libraries necessary to run and This package contains the shared libraries necessary to run and
develop Python programs using the Python DCOP bindings develop Python programs using the Python DCOP bindings

@ -1 +0,0 @@
debian/tmp/opt/trinity/lib/python2.*/site-packages

@ -0,0 +1 @@
debian/tmp/opt/trinity/lib/python3/dist-packages

@ -3,10 +3,6 @@
DEB_QUILT_PATCHDIR_LINK := DEB_QUILT_PATCHDIR_LINK :=
export QUILT_PATCHES=debian/patches export QUILT_PATCHES=debian/patches
DEB_PYTHON_SYSTEM = $(if $(wildcard /usr/bin/dh_python2),,pysupport)
DH_PYTHON2 = $(if $(wildcard /usr/bin/dh_python2),dh_python2,dh_pysupport)
include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/rules/debhelper.mk
override DEB_BUILDDIR := $(DEB_SRCDIR) override DEB_BUILDDIR := $(DEB_SRCDIR)
include debian/cdbs/debian-tde.mk include debian/cdbs/debian-tde.mk
@ -111,8 +107,9 @@ common-install-arch:: stamp-install-dcopjava
binary-install/juic-trinity:: binary-install/juic-trinity::
sed -i "s|UIXSLDIR=/usr|UIXSLDIR=/opt/trinity|" debian/$(cdbs_curpkg)/opt/trinity/bin/juic sed -i "s|UIXSLDIR=/usr|UIXSLDIR=/opt/trinity|" debian/$(cdbs_curpkg)/opt/trinity/bin/juic
binary-install/python-dcop-trinity::
${DH_PYTHON2} -p$(cdbs_curpkg) binary-install/python3-dcop-trinity::
dh_python3 -p$(cdbs_curpkg)
### ###

Loading…
Cancel
Save