Commit 8652dba4 authored by Philippe Pepiot's avatar Philippe Pepiot
Browse files

Drop debian python2 packaging

parent 05fe49e4b714
logilab-mtconverter (0.9.0-2.1) UNRELEASED; urgency=medium
* Drop python2 packaging
-- Philippe Pepiot <philippe.pepiot@logilab.fr> Fri, 08 Nov 2019 07:58:25 +0100
logilab-mtconverter (0.9.0-2) unstable; urgency=medium
[ Jérémy Bobbio ]
......
......@@ -6,41 +6,19 @@ Uploaders: Sylvain Thenault <sylvain.thenault@logilab.fr>
Build-Depends:
debhelper (>= 9),
dh-python,
python,
python3-all,
python-setuptools,
python3-setuptools,
python-six,
python3-six,
python-html2text,
python3-html2text,
python-lxml,
python3-lxml,
python-pygments,
python3-pygments,
python-logilab-common,
python3-logilab-common
X-Python-Version: >= 2.7
X-Python3-Version: >= 3.4
Standards-Version: 4.3.0
Homepage: https://www.logilab.org/project/logilab-mtconverter
Vcs-Hg: http://hg.logilab.org/master/logilab/mtconverter
Vcs-Browser: http://hg.logilab.org/master/logilab/mtconverter
Package: python-logilab-mtconverter
Architecture: all
Depends:
python-six,
python-logilab-common,
python-lxml,
python-html2text,
${python:Depends},
${misc:Depends},
Suggests: python-imaging, python-pygments, pdftotext, lynx, python-chardet
Description: library to convert from a MIME type to another
This package was originally a backport of Zope's PortalTransforms tool with
all Zope's internal removed (i.e. most of the code).
Package: python3-logilab-mtconverter
Architecture: all
Depends:
......
......@@ -4,4 +4,4 @@ export PYBUILD_NAME = logilab-mtconverter
export PYBUILD_TEST_ARGS = -v -s test -p 'unittest*py'
%:
dh $@ --with python2,python3 --buildsystem=pybuild
dh $@ --with python3 --buildsystem=pybuild
Tests: unittest
Depends:
@, @builddeps@, poppler-utils, python-pil, python3-pil, texlive-latex-base
@, @builddeps@, poppler-utils, python3-pil, texlive-latex-base
Restrictions: allow-stderr
......@@ -9,7 +9,7 @@ cp -r test "$AUTOPKGTEST_TMP"
### Run tests
for py in $(pyversions -r 2>/dev/null) $(py3versions -r 2>/dev/null); do
for py in $(py3versions -r 2>/dev/null); do
cd "$AUTOPKGTEST_TMP"
echo "Testing with $py:"
$py -m unittest discover -s test -p 'unittest_*.py' -v
......
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