[Python-modules-commits] [htmlmin] 04/07: d/control, rules: ship python3 cli instead of python2
Adrian Vondendriesch
discostu-guest at moszumanska.debian.org
Fri May 12 14:03:39 UTC 2017
This is an automated email from the git hooks/post-receive script.
discostu-guest pushed a commit to branch master
in repository htmlmin.
commit 1b397ad477cc6ab5f7d943822ecea7773fbf1641
Author: Adrian Vondendriesch <adrian.vondendriesch at credativ.de>
Date: Fri May 12 15:45:57 2017 +0200
d/control,rules: ship python3 cli instead of python2
---
debian/control | 2 +-
debian/rules | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/debian/control b/debian/control
index 2593fb1..d7ab614 100644
--- a/debian/control
+++ b/debian/control
@@ -26,7 +26,7 @@ Description: HTML Minifier
Package: htmlmin
Architecture: all
-Depends: ${misc:Depends}, ${python:Depends}, python, python-htmlmin
+Depends: ${misc:Depends}, ${python3:Depends}, python3, python3-htmlmin
Description: HTML Minifier - command line interface
Command line interface for python-htmlmin.
.
diff --git a/debian/rules b/debian/rules
index 4602dfb..7945b79 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,13 +11,13 @@ override_dh_auto_test:
override_dh_auto_install:
dh_auto_install
- # No Python 3 cli script.
- rm -rf debian/python3-htmlmin/usr/bin
+ # No Python 2 cli script.
+ rm -rf debian/python-htmlmin/usr/bin
# Use the separate binary package for the cli script.
mkdir -p debian/htmlmin/usr/bin
- mv debian/python-htmlmin/usr/bin/htmlmin \
+ mv debian/python3-htmlmin/usr/bin/htmlmin \
debian/htmlmin/usr/bin
- rm -rf debian/python-htmlmin/usr/bin
+ rm -rf debian/python3-htmlmin/usr/bin
override_dh_installman:
mkdir -p debian/htmlmin/usr/share/man/man1/
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/htmlmin.git
More information about the Python-modules-commits
mailing list