summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Undheim <ruben.undheim@gmail.com>2016-08-28 13:03:59 +0200
committerRuben Undheim <ruben.undheim@gmail.com>2016-08-28 13:03:59 +0200
commit64d1b993d3a96745f0b868551016add1d8c32bf7 (patch)
treea16115f0581d581afb335b1050cad4583e31c53a
parent24693a6c44b1606b229c231d2aaa403a6096d766 (diff)
parenta5084db8a354f67e09251045eef39d6aacc46290 (diff)
pyvisa-py (0.2-2) unstable; urgency=medium
[ Ondřej Nový ] * Fixed VCS URL (https) [ Ruben Undheim ] * debian/control: - Fix circular dependency by moving python-pyvisa to Recommends - New standards version 3.9.8 - no changes [dgit import unpatched pyvisa-py 0.2-2]
-rw-r--r--debian/.git-dpm11
-rw-r--r--debian/changelog39
-rw-r--r--debian/compat1
-rw-r--r--debian/control45
-rw-r--r--debian/copyright46
-rw-r--r--debian/gbp.conf2
-rw-r--r--debian/pydist-overrides1
-rw-r--r--debian/python-pyvisa-py.docs1
-rw-r--r--debian/python-pyvisa-py.install2
-rw-r--r--debian/python3-pyvisa-py.docs1
-rw-r--r--debian/python3-pyvisa-py.install2
-rwxr-xr-xdebian/rules24
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch2
14 files changed, 178 insertions, 0 deletions
diff --git a/debian/.git-dpm b/debian/.git-dpm
new file mode 100644
index 0000000..1e45e71
--- /dev/null
+++ b/debian/.git-dpm
@@ -0,0 +1,11 @@
+# see git-dpm(1) from git-dpm package
+7f408571bb2c389e361ecc356fa4e3565365986b
+7f408571bb2c389e361ecc356fa4e3565365986b
+7f408571bb2c389e361ecc356fa4e3565365986b
+7f408571bb2c389e361ecc356fa4e3565365986b
+pyvisa-py_0.2.orig.tar.gz
+58f9118ee60dc08dc1ef8c5fa5c3315df374fcff
+48322
+debianTag="debian/%e%v"
+patchedTag="patched/%e%v"
+upstreamTag="upstream/%e%u"
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..c9fec6c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,39 @@
+pyvisa-py (0.2-2) unstable; urgency=medium
+
+ [ Ondřej Nový ]
+ * Fixed VCS URL (https)
+
+ [ Ruben Undheim ]
+ * debian/control:
+ - Fix circular dependency by moving python-pyvisa to Recommends
+ - New standards version 3.9.8 - no changes
+
+ -- Ruben Undheim <ruben.undheim@gmail.com> Sun, 28 Aug 2016 13:03:59 +0200
+
+pyvisa-py (0.2-1) unstable; urgency=low
+
+ * New upstream release
+ - Added versioned dependency on python-pyvisa and python3-pyvisa
+ (debian/control)
+ * debian/control
+ - Added space between Python and 3 in the description
+ * debian/copyright
+ - Added year 2015 and new AUTHORS
+ - Added "Upstream-Contact" field.
+ * debian/.git-dpm:
+ - Converted to git-dpm patch management
+
+ -- Ruben Undheim <ruben.undheim@gmail.com> Sun, 13 Sep 2015 21:13:05 +0200
+
+pyvisa-py (0.1-2) unstable; urgency=low
+
+ * Uploaded to unstable
+ * Added debian/pydist-overrides to prevent the dependency on pyvisa
+
+ -- Ruben Undheim <ruben.undheim@gmail.com> Thu, 11 Jun 2015 08:39:44 +0000
+
+pyvisa-py (0.1-1) experimental; urgency=low
+
+ * Initial release (Closes: #775764)
+
+ -- Ruben Undheim <ruben.undheim@gmail.com> Wed, 25 Feb 2015 22:30:09 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..4922715
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,45 @@
+Source: pyvisa-py
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
+Uploaders: Ruben Undheim <ruben.undheim@gmail.com>
+Build-Depends: debhelper (>= 9),
+ dh-python,
+ python-all,
+ python-setuptools,
+ python3-all,
+ python3-setuptools
+Standards-Version: 3.9.8
+X-Python-Version: all
+X-Python3-Version: >= 3.1
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/pyvisa-py.git
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/pyvisa-py.git
+Homepage: https://github.com/hgrecco/pyvisa-py
+
+Package: python-pyvisa-py
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+Recommends: python-pyvisa (>= 1.8-1)
+Description: Backend that implements a large part of the VISA in pure Python
+ This library provides Python VISA bindings for GPIB, RS232, and USB
+ instruments.
+ .
+ PyVISA started as wrapper for the NI-VISA library and therefore you need to
+ install National Instruments VISA library in your system. This works most of
+ the time, for most people. But NI-VISA is a proprietary library that only works
+ on certain systems. That is when PyVISA-py jumps in.
+
+Package: python3-pyvisa-py
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Recommends: python3-pyvisa (>= 1.8-1)
+Description: Backend that implements a large part of the VISA in pure Python 3
+ This library provides Python VISA bindings for GPIB, RS232, and USB
+ instruments.
+ .
+ PyVISA started as wrapper for the NI-VISA library and therefore you need to
+ install National Instruments VISA library in your system. This works most of
+ the time, for most people. But NI-VISA is a proprietary library that only works
+ on certain systems. That is when PyVISA-py jumps in.
+ .
+ This package provides Python 3 bindings for pyvisa-py.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..8c2c827
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,46 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: pyvisa-py
+Upstream-Contact: Hernan E. Grecco <hernan.grecco@gmail.com>
+Source: https://github.com/hgrecco/pyvisa-py
+
+Files: *
+Copyright: 2014-2015 PyVISA-py Authors and contributors
+ 2014 Lance McCulley <lancemcculley@gmail.com>
+ 2014-2015 Hernan E. Grecco <hernan.grecco@gmail.com>
+ 2014-2015 Tobias Müller <Tobias_Mueller@twam.info>
+ 2015 Alex Forencich <alex@alexforencich.com>
+ 2015 Alexander Bessman <bessman@kth.se>
+ 2015 Colin Marquardt <github@marquardt-home.de>
+ 2015 Martin Ritter <ritter@mpp.mpg.de>
+ 2015 Sebastian Held <sebastian.held@imst.de>
+ 2015 Thomas Kopp <20.kopp@gmail.com>
+ 2015 Thorsten Liebig <liebig@imst.de>
+License: MIT
+Comment: Hernan E. Grecco is the current upstream and his commits (and copyright
+ dates) can be checked at https://github.com/hgrecco/pyvisa. Copyright
+ dates for the other contributors mentioned in the AUTHORS file are also
+ found in the git log at https://github.com/hgrecco/pyvisa.
+
+Files: debian/*
+Copyright: 2015 Ruben Undheim <ruben.undheim@gmail.com>
+License: MIT
+
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
+ this software and associated documentation files (the "Software"), to deal in
+ the Software without restriction, including without limitation the rights to
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+ of the Software, and to permit persons to whom the Software is furnished to do
+ so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..cec628c
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,2 @@
+[DEFAULT]
+pristine-tar = True
diff --git a/debian/pydist-overrides b/debian/pydist-overrides
new file mode 100644
index 0000000..fd0d12b
--- /dev/null
+++ b/debian/pydist-overrides
@@ -0,0 +1 @@
+pyvisa python-pyvisa
diff --git a/debian/python-pyvisa-py.docs b/debian/python-pyvisa-py.docs
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/debian/python-pyvisa-py.docs
@@ -0,0 +1 @@
+README
diff --git a/debian/python-pyvisa-py.install b/debian/python-pyvisa-py.install
new file mode 100644
index 0000000..0e608fb
--- /dev/null
+++ b/debian/python-pyvisa-py.install
@@ -0,0 +1,2 @@
+usr/lib/python2*/
+docs/*.rst usr/share/doc/python-pyvisa-py/manual/rst
diff --git a/debian/python3-pyvisa-py.docs b/debian/python3-pyvisa-py.docs
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/debian/python3-pyvisa-py.docs
@@ -0,0 +1 @@
+README
diff --git a/debian/python3-pyvisa-py.install b/debian/python3-pyvisa-py.install
new file mode 100644
index 0000000..0c009f2
--- /dev/null
+++ b/debian/python3-pyvisa-py.install
@@ -0,0 +1,2 @@
+usr/lib/python3*/
+docs/*.rst usr/share/doc/python3-pyvisa-py/manual/rst
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..391c8a1
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,24 @@
+#!/usr/bin/make -f
+#DH_VERBOSE = 1
+
+%:
+ dh $@ --with python2,python3 --buildsystem=python_distutils
+
+override_dh_auto_clean:
+ $(RM) -r PyVISA_py.egg-info
+ $(RM) -r build
+ dh_auto_clean
+
+override_dh_auto_build:
+ dh_auto_build
+ set -ex; for python in $(shell py3versions -r); do \
+ $$python setup.py build; \
+ done
+
+override_dh_auto_install:
+ dh_auto_install
+ set -ex; for python in $(shell py3versions -r); do \
+ $$python setup.py install --install-layout=deb \
+ --root $(CURDIR)/debian/tmp; \
+ done;
+
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..7830e21
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://github.com/hgrecco/pyvisa-py/releases /hgrecco/pyvisa-py/archive/(\d\S+)\.tar\.(?:bz2|gz|xz)