8000 debian/rules - overload dh_auto_clean to call "clean" without -a (see… · lithuak/scikit-learn@475aaeb · GitHub
[go: up one dir, main page]

Skip to content

Commit 475aaeb

Browse files
committed
debian/rules - overload dh_auto_clean to call "clean" without -a (see scikit-learn#2351)
1 parent 9202d52 commit 475aaeb

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

debian/changelog

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
scikit-learn (0.14-1) unstable; urgency=low
22

33
* The fresh upstream release
4+
* debian/rules
5+
- overload dh_auto_clean to call "clean" without -a
6+
(see https://github.com/scikit-learn/scikit-learn/issues/2351)
47

5-
-- Yaroslav Halchenko <debian@onerussian.com> Wed, 07 Aug 2013 19:30:19 -0400
8+
-- Yaroslav Halchenko <debian@onerussian.com> Wed, 07 Aug 2013 20:02:44 -0400
69

710
scikit-learn (0.14~a1+git20-gc9ba2c3-1) UNRELEASED; urgency=low
811

debian/rules

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ override_dh_clean:
2121
rm -rf build doc/_build doc/auto_examples *-stamp *.egg-info sklearn/datasets/__config__.py
2222
dh_clean
2323

24+
# overload call to setup.py due to custom clean action:
25+
# https://github.com/scikit-learn/scikit-learn/issues/2351
26+
override_dh_auto_clean:
27+
: # still call a standard cleaner if there is more to it
28+
-dh_auto_clean
29+
python setup.py clean
2430

2531
override_dh_auto_install: ${PYVERS:%=python-install%} ${PYVERS:%=python-test%}
2632
# Per Python version logic -- install, test, move .so into -lib

0 commit comments

Comments
 (0)
0