Commit e91469a6 authored by Mathieu Parent's avatar Mathieu Parent

Revert python3 support (Reopen #802484, #814928; Closes: #902883) until it is ready

- Without patch: the symbols are changing too often:
  + between arches,
  + between major python versions,
  + between minor talloc versions
- All proposed patches so far break abi checking
parent 7e58e2de
......@@ -13,7 +13,6 @@ Build-Depends: debhelper (>= 11),
docbook-xsl,
libpopt-dev,
python-dev (>= 2.6.6-3),
python3-dev,
xsltproc
Standards-Version: 4.1.4
Vcs-Browser: https://salsa.debian.org/samba-team/talloc
......@@ -64,27 +63,3 @@ Description: talloc Python bindings - development files
reference counting to determine when memory should be freed.
.
This package contains the development files for the Python bindings.
Package: python3-talloc
Pre-Depends: ${misc:Pre-Depends}
Architecture: any
Multi-Arch: same
Section: python
Provides: ${python3:Provides}
Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}
Description: hierarchical pool based memory allocator - Python3 bindings
A hierarchical pool based memory allocator with destructors. It uses
reference counting to determine when memory should be freed.
.
This package contains the Python3 bindings.
Package: python3-talloc-dev
Architecture: any
Multi-Arch: same
Section: libdevel
Depends: pkg-config, python3-talloc (= ${binary:Version}), ${misc:Depends}
Description: talloc Python3 bindings - development files
A hierarchical pool based memory allocator with destructors. It uses
reference counting to determine when memory should be freed.
.
This package contains the development files for the Python3 bindings.
#! /usr/bin/dh-exec
usr/include/pytalloc.h ${DEB_PY3_INCDIR}
usr/lib/*/pkgconfig/pytalloc-util.cpython-*.pc
usr/lib/*/libpytalloc-util.cpython*.so
python3-talloc-dev binary: wrong-section-according-to-package-name python3-talloc-dev => python
usr/lib/*/libpytalloc-util.cpython*.so.*
usr/lib/python3/dist-packages/talloc.cpython*.so
python3-talloc binary: package-name-doesnt-match-sonames
libpytalloc-util.cpython-36m-x86-64-linux-gnu.so.2 python3-talloc #MINVER#
PYTALLOC_UTIL.CPYTHON_36M_X86_64_LINUX_GNU_2.1.13@PYTALLOC_UTIL.CPYTHON_36M_X86_64_LINUX_GNU_2.1.13 2.1.13
PYTALLOC_UTIL.PY3_2.1.5@PYTALLOC_UTIL.PY3_2.1.5 2.1.11
PYTALLOC_UTIL.PY3_2.1.6@PYTALLOC_UTIL.PY3_2.1.6 2.1.11
PYTALLOC_UTIL.PY3_2.1.7@PYTALLOC_UTIL.PY3_2.1.7 2.1.11
PYTALLOC_UTIL.PY3_2.1.8@PYTALLOC_UTIL.PY3_2.1.8 2.1.11
PYTALLOC_UTIL.PY3_2.1.9@PYTALLOC_UTIL.PY3_2.1.9 2.1.11
PYTALLOC_UTIL.PY3_2.1.10@PYTALLOC_UTIL.PY3_2.1.10 2.1.11
PYTALLOC_UTIL.PY3_2.1.11@PYTALLOC_UTIL.PY3_2.1.11 2.1.11
PYTALLOC_UTIL.PY3_2.1.12@PYTALLOC_UTIL.PY3_2.1.12 2.1.12
PYTALLOC_UTIL.PY3_2.1.13@PYTALLOC_UTIL.PY3_2.1.13 2.1.13
_pytalloc_check_type@PYTALLOC_UTIL.PY3_2.1.9 2.1.11
_pytalloc_get_mem_ctx@PYTALLOC_UTIL.PY3_2.1.6 2.1.11
_pytalloc_get_ptr@PYTALLOC_UTIL.PY3_2.1.6 2.1.11
_pytalloc_get_type@PYTALLOC_UTIL.PY3_2.1.6 2.1.11
pytalloc_BaseObject_PyType_Ready@PYTALLOC_UTIL.PY3_2.1.6 2.1.11
pytalloc_BaseObject_check@PYTALLOC_UTIL.PY3_2.1.6 2.1.11
pytalloc_BaseObject_size@PYTALLOC_UTIL.PY3_2.1.6 2.1.11
pytalloc_Check@PYTALLOC_UTIL.PY3_2.1.5 2.1.11
pytalloc_GenericObject_reference_ex@PYTALLOC_UTIL.PY3_2.1.9 2.1.11
pytalloc_GenericObject_steal_ex@PYTALLOC_UTIL.PY3_2.1.9 2.1.11
pytalloc_GetBaseObjectType@PYTALLOC_UTIL.PY3_2.1.6 2.1.11
pytalloc_GetObjectType@PYTALLOC_UTIL.PY3_2.1.5 2.1.11
pytalloc_reference_ex@PYTALLOC_UTIL.PY3_2.1.5 2.1.11
pytalloc_steal@PYTALLOC_UTIL.PY3_2.1.5 2.1.11
pytalloc_steal_ex@PYTALLOC_UTIL.PY3_2.1.5 2.1.11
......@@ -17,13 +17,12 @@ DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
conf_args = --prefix=/usr --disable-rpath-install --disable-rpath --bundled-libraries=NONE
conf_args += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
conf_args += --libdir=/usr/lib/$(DEB_HOST_MULTIARCH)
conf_args += --extra-python=python3
conf_args += -v
export PYTHON="$(shell which `pyversions -d`)"
%:
dh $* --with python2,python3
dh $* --with python2
override_dh_python2:
dh_python2 --no-guessing-versions
......@@ -41,7 +40,6 @@ endif
override_dh_install:
DEB_PY2_INCDIR=$(shell python-config --includes | sed 's,^-I\([^ ]*\).*,\1,') \
DEB_PY3_INCDIR=$(shell python3-config --includes | sed 's,^-I\([^ ]*\).*,\1,') \
dh_install --list-missing
get-packaged-orig-source:
......@@ -70,4 +68,4 @@ override_dh_strip:
override_dh_makeshlibs:
dh_makeshlibs -plibtalloc2 -- -c4
dh_makeshlibs -ppython-talloc -ppython3-talloc -Xtalloc. -- -c3
dh_makeshlibs -ppython-talloc -Xtalloc. -- -c3
# Variable defined in debian/rules
talloc source: dh-exec-subst-unknown-variable debian/python-talloc-dev.install DEB_PY2_INCDIR
talloc source: dh-exec-subst-unknown-variable debian/python3-talloc-dev.install DEB_PY3_INCDIR
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment