[Python-modules-commits] [python-opcua] 02/03: start packaging

Wolfgang Borgert debacle at moszumanska.debian.org
Thu Oct 13 09:57:15 UTC 2016


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

debacle pushed a commit to branch master
in repository python-opcua.

commit 3882d1f6760831d9c65cf0590a017a77b740ffb5
Author: W. Martin Borgert <debacle at debian.org>
Date:   Thu Oct 13 09:37:29 2016 +0000

    start packaging
---
 debian/changelog                  |  5 ++++
 debian/clean                      |  1 +
 debian/compat                     |  1 +
 debian/control                    | 55 +++++++++++++++++++++++++++++++++++++++
 debian/copyright                  | 26 ++++++++++++++++++
 debian/python-opcua-tools.install |  9 +++++++
 debian/python-opcua.examples      |  1 +
 debian/python3-opcua.examples     |  1 +
 debian/rules                      | 19 ++++++++++++++
 debian/source/format              |  1 +
 debian/watch                      |  3 +++
 11 files changed, 122 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..dce5309
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-opcua (0.10.17-1) unstable; urgency=medium
+
+  * Initial upload (Closes: #839679).
+
+ -- W. Martin Borgert <debacle at debian.org>  Thu, 13 Oct 2016 07:21:53 +0000
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..4758d38
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+freeopcua.egg-info/*
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..d74f7e8
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,55 @@
+Source: python-opcua
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: W. Martin Borgert <debacle at debian.org>
+Build-Depends: devscripts,
+	python (>= 2.6.5),
+	python3,
+	dh-python,
+	debhelper (>= 9),
+	dh-buildinfo
+Standards-Version: 3.9.8
+Homepage: https://freeopcua.github.io/
+Vcs-Git: git://anonscm.debian.org/python-modules/packages/python-opcua.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-opcua.git
+
+Package: python-opcua
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}
+Suggests: ${python:Suggests}
+Provides: ${python:Provides}
+XB-Python-Version: ${python:Versions}
+Description: Python XMPP (Jabber) Library Implementing Everything as a Plugin
+ An OPC-UA client and server library, written entirely in Python.
+ .
+ This package contains the Python 2 library.
+
+Package: python3-opcua
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+Suggests: ${python3:Suggests}
+Provides: ${python3:Provides}
+Description: Python OPC UA Library Implementing Everything as a Plugin
+ An OPC-UA client and server library, written entirely in Python.
+ .
+ This package contains the Python 3 library.
+
+Package: python-opcua-tools
+Architecture: all
+Depends: python3, python3-opcua, ${python3:Depends}, ${misc:Depends}
+Suggests: ${python3:Suggests}
+Provides: ${python3:Provides}
+Description: Python OPC UA Library Implementing Everything as a Plugin
+ An OPC-UA client and server library, written entirely in Python.
+ .
+ This package contains OPC UA tools:
+  * uabrowse
+  * uaclient
+  * uadiscover
+  * uahistoryread
+  * uals
+  * uaread
+  * uaserver
+  * uasubscribe
+  * uawrite
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..6d4eed2
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,26 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: python-opcua
+Upstream-Contact: Olivier Roulet-Dubonnet <olivier.roulet at gmail.com>
+Source: https://github.com/FreeOpcUa/python-opcua
+
+Files: *
+Copyright: 2016, Olivier Roulet-Dubonnet <olivier.roulet at gmail.com>
+License: LGPL-3+
+
+Files: debian/*
+Copyright: 2016, W. Martin Borgert <debacle at debian.org>
+License: LGPL-3+
+
+License: LGPL-3+
+ This program is free software: you can redistribute it and/or modify it under
+ the terms of the GNU Lesser General Public License as published by the Free
+ Software Foundation, either version 3 of the License, or (at your option) any
+ later version.
+ .
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+ details.
+ .
+ On Debian systems, the complete text of the GNU Lesser General Public License,
+ Version 3 can be found in the file /usr/share/common-licenses/LGPL-3
diff --git a/debian/python-opcua-tools.install b/debian/python-opcua-tools.install
new file mode 100644
index 0000000..1211203
--- /dev/null
+++ b/debian/python-opcua-tools.install
@@ -0,0 +1,9 @@
+debian/python3-opcua/usr/bin/uabrowse /usr/bin/
+debian/python3-opcua/usr/bin/uaclient /usr/bin/
+debian/python3-opcua/usr/bin/uadiscover /usr/bin/
+debian/python3-opcua/usr/bin/uahistoryread /usr/bin/
+debian/python3-opcua/usr/bin/uals /usr/bin/
+debian/python3-opcua/usr/bin/uaread /usr/bin/
+debian/python3-opcua/usr/bin/uaserver /usr/bin/
+debian/python3-opcua/usr/bin/uasubscribe /usr/bin/
+debian/python3-opcua/usr/bin/uawrite /usr/bin/
diff --git a/debian/python-opcua.examples b/debian/python-opcua.examples
new file mode 100644
index 0000000..e39721e
--- /dev/null
+++ b/debian/python-opcua.examples
@@ -0,0 +1 @@
+examples/*
diff --git a/debian/python3-opcua.examples b/debian/python3-opcua.examples
new file mode 100644
index 0000000..e39721e
--- /dev/null
+++ b/debian/python3-opcua.examples
@@ -0,0 +1 @@
+examples/*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..dc6f009
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+#export DH_VERBOSE=1
+export PYBUILD_NAME=opcua
+
+%:
+	dh $@ --buildsystem=pybuild --with python2,python3
+
+override_dh_python2:
+	dh_python2 -O--buildsystem=pybuild
+	rm -fr ./debian/python-opcua/usr/bin
+
+override_dh_python3:
+	dh_python3 -O--buildsystem=pybuild
+	rm -fr ./debian/python3-opcua/usr/bin
+
+override_dh_auto_test:
+	./run-tests.sh
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..50b7ff5
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+https://github.com/reeOpcUa/python-opcua/releases \
+.*[^n]/(?:|v|version-|release-|r|REL_|rel-|(?:python-opcua)(?:_|-))(\d[^\s/]*)\.(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz)

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



More information about the Python-modules-commits mailing list