[Python-modules-commits] [python-smstrade] 07/17: Use python3 scripts instead of python2 scripts

Jan Dittberner jandd at moszumanska.debian.org
Sat Jan 2 20:36:31 UTC 2016


This is an automated email from the git hooks/post-receive script.

jandd pushed a commit to branch master
in repository python-smstrade.

commit 66a03025bf884cd3b57affd9bb3769d80f6c2819
Author: Jan Dittberner <jandd at debian.org>
Date:   Sat Jan 2 19:25:08 2016 +0100

    Use python3 scripts instead of python2 scripts
---
 debian/changelog | 1 +
 debian/control   | 4 +---
 debian/rules     | 4 ++--
 3 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 1a3e5be..1c37f2d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ python-smstrade (0.2.4-4) UNRELEASED; urgency=medium
   * Use fixed upstream version instead of using vcversioner by patching
     version files and setup.py, remove vcversioner from Build-Depends
   * Move manpages to python3-smstrade
+  * Use python3 scripts instead of python2 scripts
 
  -- Jan Dittberner <jandd at debian.org>  Sat, 02 Jan 2016 19:16:27 +0100
 
diff --git a/debian/control b/debian/control
index 666a430..8dee06a 100644
--- a/debian/control
+++ b/debian/control
@@ -37,9 +37,6 @@ Description: Python library to send SMS via the smstrade service (Python 2)
  python-smstrade lets you send SMS via and retrieve your account balance from
  the service of smstrade.eu.
  .
- The package comes with two command line utilities smstrade_send and
- smstrade_balance to access the library functionality from the command line.
- .
  The package may be used for alerting in monitoring applications or other
  scenarios where sending SMS might be useful.
  .
@@ -53,6 +50,7 @@ Depends: python3-appdirs,
          python3-six,
          ${misc:Depends},
          ${python3:Depends}
+Replaces: python-smstrade (<< 0.2.4-4)
 Suggests: python-smstrade-doc
 Description: Python library to send SMS via the smstrade service (Python 3)
  python-smstrade lets you send SMS via and retrieve your account balance from
diff --git a/debian/rules b/debian/rules
index b16fa8e..98a574b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,8 +6,8 @@
 export PYBUILD_NAME=smstrade
 export PYBUILD_TEST_ARGS_python2=unset http_proxy ; unset https_proxy ; cd {dir} ; py.test
 export PYBUILD_TEST_ARGS_python3=unset http_proxy ; unset https_proxy ; cd {dir} ; py.test-3
-# do not install scripts for Python 3 they are provided by the Python 2 package
-export PYBUILD_AFTER_INSTALL_python3=rm -rf {destdir}/usr/bin
+# do not install scripts for Python 2 they are provided by the Python 3 package
+export PYBUILD_AFTER_INSTALL_python2=rm -rf {destdir}/usr/bin
 
 override_dh_installchangelogs:
 	dh_installchangelogs -i ChangeLog.rst

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-smstrade.git



More information about the Python-modules-commits mailing list