diff --git a/debian/changelog b/debian/changelog index dd529c4dce4c018ecc3489ca62d58631d35add3d..88e25f7b513f8155bb4a5379f30d9a958e643d08 100644 --- a/debian/changelog +++ b/debian/changelog @@ -13,6 +13,7 @@ scikit-learn (0.14-1) unstable; urgency=low - require sphinx 1.1.3 due to problems with unicode in earlier present on older Debian/Ubuntu's versions - boosted policy to 3.9.4 (no further changes) + - migrate from python-support to dh_python2 -- Yaroslav Halchenko <debian@onerussian.com> Wed, 07 Aug 2013 20:16:04 -0400 diff --git a/debian/control b/debian/control index 0432a37ceb3d11ee5129b535cb0d5fbadc31394e..0a3453c5afea57ab9e6bf4ba7b8693600eb7f55e 100644 --- a/debian/control +++ b/debian/control @@ -4,14 +4,14 @@ Priority: optional Maintainer: NeuroDebian Team <team@neuro.debian.net> Uploaders: Yaroslav Halchenko <debian@onerussian.com>, Michael Hanke <michael.hanke@gmail.com> Build-Depends: debhelper (>= 7.0.50), - python-all-dev (>= 2.5), python-support (>= 0.6), + python-all-dev (>= 2.5), cython (>= 0.12~), python-setuptools, python-numpy, python-scipy, libsvm-dev (>= 2.84.0), python-nose, python-matplotlib, - python-joblib (>= 0.4.5), + python-joblib (>= 0.4.5), python-support Build-Depends-Indep: python-sphinx (>= 1.1.3~), python-imaging, graphviz, Standards-Version: 3.9.4 diff --git a/debian/rules b/debian/rules index 8956c471cf6ec6384d32a1c8144064ab9f81d0eb..c769cfff14d1bd53ec83bf42e0c4225603b3f4eb 100755 --- a/debian/rules +++ b/debian/rules @@ -14,7 +14,7 @@ NOSEARGS := # Mega rule %: : # Explicit build system to avoid use of all-in-1 Makefile - dh $@ --buildsystem=python_distutils + dh $@ --buildsystem=python_distutils --with python2 override_dh_clean: @@ -65,7 +65,7 @@ override_dh_installchangelogs: dh_installchangelogs doc/whats_new.rst ## move binary libraries into -lib -override_dh_pysupport: +override_dh_python2: : # Move platform-specific libraries into -lib set -e; \ for lib in $$(find $(PACKAGE_ROOT_DIR)/usr -name '*.so'); do \ @@ -86,7 +86,7 @@ override_dh_pysupport: mkdir -p $$skbd_; \ mv $$skd $$skbd_; \ done - dh_pysupport + dh_python2 ## immediately useable documentation and exemplar scripts/data override_dh_compress: