Skip to content
Snippets Groups Projects
Commit edc31b82 authored by Sandro Tosi's avatar Sandro Tosi
Browse files

Drop python2 support; Closes: #938232

parent 44922125
No related branches found
No related tags found
No related merge requests found
python-txaio (2.10.0-2) UNRELEASED; urgency=medium
[ Ondřej Nový ]
* Use debhelper-compat instead of debian/compat.
-- Ondřej Nový <onovy@debian.org> Thu, 18 Jul 2019 16:53:56 +0200
[ Sandro Tosi ]
* Drop python2 support; Closes: #938232
-- Sandro Tosi <morph@debian.org> Sat, 04 Jan 2020 20:51:26 -0500
python-txaio (2.10.0-1) unstable; urgency=medium
......
......@@ -8,21 +8,12 @@ Build-Depends:
debhelper-compat (= 10),
dh-python,
openstack-pkg-tools,
python-all,
python-setuptools,
python-sphinx,
python3-all,
python3-setuptools,
python3-sphinx,
Build-Depends-Indep:
python-alabaster,
python-enchant,
python-mock,
python-pytest,
python-six,
python-sphinx-rtd-theme,
python-trollius,
python-twisted,
python-zope.interface,
python3-alabaster,
python3-sphinx-rtd-theme,
python3-enchant,
python3-mock,
python3-pytest,
......@@ -34,28 +25,6 @@ Vcs-Browser: https://salsa.debian.org/openstack-team/python/python-txaio
Vcs-Git: https://salsa.debian.org/openstack-team/python/python-txaio.git
Homepage: https://github.com/tavendo/txaio
Package: python-txaio
Architecture: all
Depends:
python-six,
python-trollius,
python-twisted,
python-zope.interface,
${misc:Depends},
${python:Depends},
Suggests:
python-txaio-doc,
Description: compatibility API between asyncio/Twisted/Trollius - Python 2.x
Txaio is a helper library for writing code that runs unmodified on both
Twisted and asyncio.
.
This is like six , but for wrapping over differences between Twisted and
asyncio so one can write code that runs unmodified on both (aka "source code
compatibility"). In other words: users can choose if they want asyncio or
Twisted as a dependency.
.
This package contains the Python 2.x module.
Package: python-txaio-doc
Section: doc
Architecture: all
......
......@@ -4,10 +4,10 @@ UPSTREAM_GIT := https://github.com/crossbario/txaio.git
include /usr/share/openstack-pkg-tools/pkgos.make
%:
dh $@ --buildsystem=python_distutils --with python2,python3,sphinxdoc
dh $@ --buildsystem=pybuild --with python3,sphinxdoc
override_dh_auto_install:
pkgos-dh_auto_install
pkgos-dh_auto_install --no-py2
# they are useless and conflicting files
find debian -name LICENSE -delete
......@@ -19,12 +19,12 @@ ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
endif
override_dh_sphinxdoc:
PYTHONPATH=. sphinx-build -b html docs debian/python-txaio-doc/usr/share/doc/python-txaio-doc/html
dh_sphinxdoc -O--buildsystem=python_distutils
PYTHONPATH=. python3 -m sphinx -b html docs debian/python-txaio-doc/usr/share/doc/python-txaio-doc/html
dh_sphinxdoc
override_dh_clean:
dh_clean -O--buildsystem=python_distutils
dh_clean
rm -rf build
# Commands not to run
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment