[Python-modules-commits] [pyvisa] 02/03: Renamed package to python-pyvisa. Create python3 version
Ruben Undheim
rubund-guest at moszumanska.debian.org
Sun Mar 15 22:12:29 UTC 2015
This is an automated email from the git hooks/post-receive script.
rubund-guest pushed a commit to branch master
in repository pyvisa.
commit a836794137094f9f4313a3c712941214e945168f
Author: Ruben Undheim <ruben.undheim at gmail.com>
Date: Sun Mar 15 23:05:55 2015 +0100
Renamed package to python-pyvisa. Create python3 version
---
debian/control | 23 +++++++++++++++++++----
debian/install | 2 --
debian/python-pyvisa.install | 3 +++
debian/python3-pyvisa.install | 3 +++
debian/rules | 8 +++++++-
5 files changed, 32 insertions(+), 7 deletions(-)
diff --git a/debian/control b/debian/control
index ea9ca83..bb85d5d 100644
--- a/debian/control
+++ b/debian/control
@@ -1,21 +1,36 @@
Source: pyvisa
-Section: electronics
+Section: python
Priority: extra
Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Uploaders: Ruben Undheim <ruben.undheim at gmail.com>
-Build-Depends: debhelper (>= 9), python-setuptools, dh-python,
- python | python-all | python-dev | python-all-dev
+Build-Depends: debhelper (>= 9),
+ dh-python,
+ python-all,
+ python-setuptools,
+ python3-all,
+ python3-setuptools
Standards-Version: 3.9.6
X-Python-Version: all
+X-Python3-Version: >= 3.1
Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/pyvisa.git
Vcs-Git: git://anonscm.debian.org/python-modules/packages/pyvisa.git
Homepage: http://pyvisa.sourceforge.net/
-Package: pyvisa
+Package: python-pyvisa
Architecture: all
Depends: libvisa0, ${python:Depends}, ${misc:Depends}
+Provides: pyvisa
Description: Python bindings for Virtual Instrument Software Architecture
The VISA standard provides a common interface for communication with test
and measurement equipment.
.
This package provides Python bindings for VISA.
+
+Package: python3-pyvisa
+Architecture: all
+Depends: libvisa0, ${python3:Depends}, ${misc:Depends}
+Description: Python3 bindings for Virtual Instrument Software Architecture
+ The VISA standard provides a common interface for communication with test
+ and measurement equipment.
+ .
+ This package provides Python3 bindings for VISA.
diff --git a/debian/install b/debian/install
deleted file mode 100644
index a690215..0000000
--- a/debian/install
+++ /dev/null
@@ -1,2 +0,0 @@
-docs/*.rst usr/share/doc/pyvisa/manual/rst
-docs/api/*.rst usr/share/doc/pyvisa/manual/rst/api
diff --git a/debian/python-pyvisa.install b/debian/python-pyvisa.install
new file mode 100644
index 0000000..18ec81e
--- /dev/null
+++ b/debian/python-pyvisa.install
@@ -0,0 +1,3 @@
+usr/lib/python2*/
+docs/*.rst usr/share/doc/python-pyvisa/manual/rst
+docs/api/*.rst usr/share/doc/python-pyvisa/manual/rst/api
diff --git a/debian/python3-pyvisa.install b/debian/python3-pyvisa.install
new file mode 100644
index 0000000..e292b81
--- /dev/null
+++ b/debian/python3-pyvisa.install
@@ -0,0 +1,3 @@
+usr/lib/python3*/
+docs/*.rst usr/share/doc/python3-pyvisa/manual/rst
+docs/api/*.rst usr/share/doc/python3-pyvisa/manual/rst/api
diff --git a/debian/rules b/debian/rules
index 1c4f1ed..3e7869e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,11 +1,17 @@
#!/usr/bin/make -f
%:
- dh $@ --with python2
+ dh $@ --with python2,python3 --buildsystem=python_distutils
override_dh_auto_clean:
$(RM) -r PyVISA.egg-info
+ $(RM) -r build
dh_auto_clean
+override_dh_auto_install:
+ dh_auto_install
+ python3 setup.py install --install-layout=deb \
+ --root $(CURDIR)/debian/tmp
+
override_dh_installchangelogs:
dh_installchangelogs -k CHANGES
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pyvisa.git
More information about the Python-modules-commits
mailing list