[Debian-astro-commits] [python-pyds9] 06/09: Provide Python-3 package
Ole Streicher
olebole at moszumanska.debian.org
Mon Oct 19 10:30:54 UTC 2015
This is an automated email from the git hooks/post-receive script.
olebole pushed a commit to branch debian
in repository python-pyds9.
commit ad226208422f7e9852076623bb6b97d1a93acb23
Author: Ole Streicher <debian at liska.ath.cx>
Date: Mon Oct 19 10:52:16 2015 +0200
Provide Python-3 package
---
debian/compat | 2 +-
debian/control | 26 +++++++++++++++++++++++---
debian/rules | 7 +++++--
3 files changed, 29 insertions(+), 6 deletions(-)
diff --git a/debian/compat b/debian/compat
index 45a4fb7..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-8
+9
diff --git a/debian/control b/debian/control
index 2e7c021..abc8089 100644
--- a/debian/control
+++ b/debian/control
@@ -3,21 +3,41 @@ Section: python
Priority: optional
Maintainer: Debian Astronomy Maintainers <debian-astro-maintainers at lists.alioth.debian.org>
Uploaders: Ole Streicher <olebole at debian.org>
-Build-Depends: debhelper (>= 8.0),
+Build-Depends: debhelper (>= 9),
+ dh-python,
python (>= 2.6.6-2~),
+ python-setuptools,
python-six,
+ python3,
+ python3-setuptools,
python3-six
Standards-Version: 3.9.6
Homepage: http://hea-www.harvard.edu/saord/ds9/pyds9/
Vcs-Git: git://anonscm.debian.org/debian-astro/packages/python-pyds9.git
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-astro/packages/python-pyds9.git
+X-Python-Version: >= 2.7
+X-Python3-Version: >= 3.3
Package: python-pyds9
Architecture: all
-Depends: xpa-tools, ${misc:Depends}, ${python:Depends}
+Depends: xpa-tools, ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}
Recommends: python-astropy, python-numpy, saods9
-Description: Communication with the ds9 image display program
+Description: Communication with the ds9 image display program (Python-2)
The XPA messaging system provides seamless communication between many kinds
of Unix programs, including Tcl/Tk programs such as ds9. The pyds9 module
uses a Python interface to XPA to communicate with ds9. It supports
communication with all of ds9’s XPA access points.
+ .
+ This package provides the Python-2 version of the package.
+
+Package: python3-pyds9
+Architecture: all
+Depends: xpa-tools, ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}
+Recommends: python3-astropy, python3-numpy, saods9
+Description: Communication with the ds9 image display program (Python-3)
+ The XPA messaging system provides seamless communication between many kinds
+ of Unix programs, including Tcl/Tk programs such as ds9. The pyds9 module
+ uses a Python interface to XPA to communicate with ds9. It supports
+ communication with all of ds9’s XPA access points.
+ .
+ This package provides the Python-3 version of the package.
diff --git a/debian/rules b/debian/rules
index 4e8bc1b..3b06595 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,10 @@
#!/usr/bin/make -f
+#export DH_VERBOSE=1
+
+export PYBUILD_NAME = pyds9
%:
- dh $@ --with python2
+ dh $@ --with python2,python3 --buildsystem=pybuild
override_dh_installchangelogs:
- dh_installchangelogs changelog
\ No newline at end of file
+ dh_installchangelogs changelog
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/python-pyds9.git
More information about the Debian-astro-commits
mailing list