debian: use dh_python instead of python-support.

This commit is contained in:
Valentin Lorentz 2015-05-20 20:41:17 +02:00
parent 721cb06dcd
commit 6f0458c632
2 changed files with 10 additions and 9 deletions

4
debian/control vendored
View File

@ -2,13 +2,13 @@ Source: limnoria
Section: net
Priority: optional
Maintainer: Valentin Lorentz <progval@progval.net>
Build-Depends: debhelper (>=3.9.2), python-support (>= 0.6), cdbs (>= 0.4.49), python (>=2.6), python-setuptools
Build-Depends: debhelper (>=3.9.2), dh-python, cdbs (>= 0.4.90~), python (>=2.6.6-3~), python-setuptools
XS-Python-Version: >=2.6
Standards-Version: 3.9.2
Package: limnoria
Architecture: all
Depends: python (>= 2.6), python-support (>= 0.90.0), ${misc:Depends}
Depends: python (>=2.6.6-3~), dh-python, ${misc:Depends}
Recommends: python-simplejson, python-feedparser, python-sqlite3
Suggests: python-twisted-core, python-twisted-names, python-dictclient, python-dateutil, python-gnupg, python-sqlalchemy
Conflicts: supybot

15
debian/rules vendored
View File

@ -1,11 +1,12 @@
#!/usr/bin/make -f
# -*- makefile -*-
DEB_PYTHON_SYSTEM := pysupport
export DH_VERBOSE = 1
export PYBUILD_NAME = supybot
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/python-distutils.mk
%:
dh $@ --with python2,python3 --buildsystem=pybuild
clean::
rm -rf build build-stamp configure-stamp build/ MANIFEST
dh_clean
override_dh_auto_test:
# cp -r {dir}/scripts/supybot-test {build_dir}; chmod u+x {build_dir}/supybot-test; cp -r {dir}/test {build_dir}
# cd {build_dir}; ./supybot-test test
# rm -rf {build_dir}/supybot-test; rm -rf {build_dir}/test