Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 43005e7

Browse files
committed
dropping use of python-support
1 parent 36cde78 commit 43005e7

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

debian/changelog

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ scikit-learn (0.14-1) unstable; urgency=low
1313
- require sphinx 1.1.3 due to problems with unicode in earlier
1414
present on older Debian/Ubuntu's versions
1515
- boosted policy to 3.9.4 (no further changes)
16+
- migrate from python-support to dh_python2
1617

1718
-- Yaroslav Halchenko <[email protected]> Wed, 07 Aug 2013 20:16:04 -0400
1819

debian/control

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ Priority: optional
44
Maintainer: NeuroDebian Team <[email protected]>
55
Uploaders: Yaroslav Halchenko <[email protected]>, Michael Hanke <[email protected]>
66
Build-Depends: debhelper (>= 7.0.50),
7-
python-all-dev (>= 2.5), python-support (>= 0.6),
7+
python-all-dev (>= 2.5),
88
cython (>= 0.12~),
99
python-setuptools,
1010
python-numpy, python-scipy,
1111
libsvm-dev (>= 2.84.0),
1212
python-nose,
1313
python-matplotlib,
14-
python-joblib (>= 0.4.5),
14+
python-joblib (>= 0.4.5), python-support
1515
Build-Depends-Indep:
1616
python-sphinx (>= 1.1.3~), python-imaging, graphviz,
1717
Standards-Version: 3.9.4

debian/rules

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ NOSEARGS :=
1414
# Mega rule
1515
%:
1616
: # Explicit build system to avoid use of all-in-1 Makefile
17-
dh $@ --buildsystem=python_distutils
17+
dh $@ --buildsystem=python_distutils --with python2
1818

1919

2020
override_dh_clean:
@@ -65,7 +65,7 @@ override_dh_installchangelogs:
6565
dh_installchangelogs doc/whats_new.rst
6666

6767
## move binary libraries into -lib
68-
override_dh_pysupport:
68+
override_dh_python2:
6969
: # Move platform-specific libraries into -lib
7070
set -e; \
7171
for lib in $$(find $(PACKAGE_ROOT_DIR)/usr -name '*.so'); do \
@@ -86,7 +86,7 @@ override_dh_pysupport:
8686
mkdir -p $$skbd_; \
8787
mv $$skd $$skbd_; \
8888
done
89-
dh_pysupport
89+
dh_python2
9090

9191
## immediately useable documentation and exemplar scripts/data
9292
override_dh_compress:

0 commit comments

Comments
 (0)