[python-bumps] 02/03: rename the python2 version of /usr/bin/bumps and man page as bumps2
Drew Parsons
dparsons at moszumanska.debian.org
Mon Nov 6 15:21:34 UTC 2017
This is an automated email from the git hooks/post-receive script.
dparsons pushed a commit to branch master
in repository python-bumps.
commit f61ab3530c3b90038478652807274a6b9e803f5d
Author: Drew Parsons <dparsons at debian.org>
Date: Mon Nov 6 20:56:54 2017 +0800
rename the python2 version of /usr/bin/bumps and man page as bumps2
on the grounds that python3 is now becoming standard, and python2 will
soon be deprecated
---
debian/changelog | 2 ++
debian/python-bumps.manpages | 1 +
debian/rules | 7 ++++++-
3 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index daea6da..ba6c8e5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ python-bumps (0.7.6-2) UNRELEASED; urgency=medium
* Team upload.
* Fix package name in debian/watch.
* Add stray GPL and Expat licences to debian/copyright.
+ * python3 package now available (Thanks Stuart Prescott)
+ - rename the python2 version of /usr/bin/bumps as bumps2
-- Drew Parsons <dparsons at debian.org> Sun, 29 Oct 2017 22:12:15 +0800
diff --git a/debian/python-bumps.manpages b/debian/python-bumps.manpages
new file mode 100644
index 0000000..43f4e53
--- /dev/null
+++ b/debian/python-bumps.manpages
@@ -0,0 +1 @@
+debian/bumps2.1
diff --git a/debian/rules b/debian/rules
index 494f361..6926736 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,7 +14,7 @@ override_dh_auto_clean:
override_dh_install:
dh_install
- rm debian/python-bumps/usr/bin/bumps
+ mv debian/python-bumps/usr/bin/bumps debian/python-bumps/usr/bin/bumps2
./debian/relocate python-bumps usr/lib/python2.7/dist-packages/bumps/gui/resources usr/share/python-bumps/python
for py in `py3versions -i`; do \
./debian/relocate python3-bumps usr/lib/$$py/dist-packages/bumps/gui/resources usr/share/python-bumps/python3; \
@@ -34,6 +34,11 @@ override_dh_installinfo:
makeinfo bumps.texi
dh_installinfo
+override_dh_installman:
+ cp debian/bumps.1 debian/bumps2.1
+ dh_installman
+ rm debian/bumps2.1
+
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
LC_ALL=C.UTF-8 \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-bumps.git
More information about the debian-science-commits
mailing list