Commit 847a0efb authored by Julien Cristau's avatar Julien Cristau
Browse files

[debian] switch to dh_python2

parent 08ebed0dc809
#!/bin/sh -e
case "$1" in
install)
;;
upgrade)
pycentral pkgremove python-logilab-mtconverter || true
;;
abort-upgrade)
;;
*)
echo "preinst called with unknown argument '$1'" >&2
exit 1
;;
esac
#DEBHELPER#
exit 0
......@@ -13,7 +13,7 @@ Vcs-Browser: http://hg.logilab.org/logilab/mtconverter
Package: python-logilab-mtconverter
Architecture: all
Depends: ${python:Depends}, ${misc:Depends}
Depends: ${python:Depends}, ${misc:Depends}, python-logilab-common
Suggests: python-imaging, python-pygments, poppler-utils, lynx, python-chardet, python-lxml
Description: library to convert from a MIME type to another
This package originally a backport of Zope's PortalTransforms tool with
......@@ -21,7 +21,7 @@ Description: library to convert from a MIME type to another
Package: python3-logilab-mtconverter
Architecture: all
Depends: ${python3:Depends}, ${misc:Depends}
Depends: ${python3:Depends}, ${misc:Depends}, python3-logilab-common
Suggests: python3-imaging, python3-pygments, poppler-utils, lynx, python3-chardet
Description: library to convert from a MIME type to another
This package originally a backport of Zope's PortalTransforms tool with
......
......@@ -2,15 +2,18 @@ Source: logilab-mtconverter
Section: python
Priority: optional
Maintainer: Sylvain Thenault <sylvain.thenault@logilab.fr>
Build-Depends: debhelper (>= 5.0.37.1), python-dev (>=2.3.5-7), python (>=2.3.5-7), python-support
XS-Python-Version: all
Build-Depends:
debhelper (>= 7),
python (>= 2.6.5),
X-Python-Version: >= 2.6
Standards-Version: 3.8.1
Package: python-logilab-mtconverter
Architecture: all
Depends: ${python:Depends}
Depends:
${python:Depends},
python-logilab-common,
Suggests: python-imaging, python-pygments, pdftotext, lynx, python-chardet
XB-Python-Version: ${python:Versions}
Homepage: http://www.logilab.org/project/mtconverter
Description: a library to convert from a MIME type to another
This package originally a backport of Zope's PortalTransforms tool with
......
......@@ -11,15 +11,13 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export DH_COMPAT=5
build: build-stamp
build-stamp:
build-stamp:
dh_testdir
NO_SETUPTOOLS=1 python setup.py -q build
touch build-stamp
clean:
clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
......@@ -44,10 +42,10 @@ install: build
# Build architecture-independent files here.
binary-indep: build install
dh_testdir
dh_testroot
dh_testdir
dh_testroot
dh_install -i
dh_pysupport -i
dh_python2 -i
gzip -9 -c ChangeLog > changelog.gz
dh_installchangelogs -i
dh_installexamples -i
......@@ -57,7 +55,7 @@ binary-indep: build install
dh_compress -i -X.py -X.ini -X.xml -Xtest
dh_fixperms -i
dh_installdeb -i
dh_gencontrol -i
dh_gencontrol -i
dh_md5sums -i
dh_builddeb -i
......
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