diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..6e63016 --- /dev/null +++ b/debian/control @@ -0,0 +1,43 @@ +Source: revpimodio2 +Section: python +Priority: optional +Maintainer: Sven Sager +Rules-Requires-Root: no +Homepage: https://revpimodio.org/ +Vcs-Browser: https://github.com/naruxde/revpimodio2 +Vcs-Git: https://github.com/naruxde/revpimodio2.git +Build-Depends: + debhelper-compat (= 12), + dh-python, + python3-all, + python3-setuptools, + python3-sphinx +Standards-Version: 4.3.0 + +Package: python3-revpimodio2 +Architecture: all +Depends: ${python3:Depends}, ${misc:Depends} +Suggests: python-revpimodio2-doc +Description: Python3 programming for RevolutionPi of Kunbus GmbH + The module provides all devices and IOs from the piCtory configuration in + Python3. It allows direct access to the values via their assigned name. Read + and write actions on the process image are managed by the module itself without + the programmer having to worry about offsets and addresses. For the gateway + modules such as ModbusTCP or Profinet, own 'inputs' and 'outputs' can be + defined over a specific address range. These IOs can be accessed directly from + the values using Python3. + +Package: python3-revpimodio2-doc +Architecture: all +Section: doc +Depends: ${sphinxdoc:Depends}, ${misc:Depends} +Description: Python3 programming for RevolutionPi of Kunbus GmbH documentation + The module provides all devices and IOs from the piCtory configuration in + Python3. It allows direct access to the values via their assigned name. Read + and write actions on the process image are managed by the module itself without + the programmer having to worry about offsets and addresses. For the gateway + modules such as ModbusTCP or Profinet, own 'inputs' and 'outputs' can be + defined over a specific address range. These IOs can be accessed directly from + the values using Python3. + . + This is the documentation package. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..58670f8 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,47 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Source: https://github.com/naruxde/revpimodio2 +Upstream-Name: revpimodio2 +Upstream-Contact: Sven Sager + +Files: * +Copyright: 2017-2023 Sven Sager +License: LGPL-2+ + +Files: debian/* +Copyright: 2021-2023 KUNBUS GmbH +License: GPL-2+ + +License: GPL-2+ + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This package 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 General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see + . + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + +License: LGPL-2+ + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + . + This package 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. + . + You should have received a copy of the GNU Library General Public + License along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + . + On Debian systems, the complete text of the GNU Library General + Public License can be found in `/usr/share/common-licenses/LGPL-2'. diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..5801da7 --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,4 @@ +[DEFAULT] +upstream-branch = main +upstream-tag = %(version)s +debian-branch=pkg/debian diff --git a/debian/python3-revpimodio2-doc.doc-base b/debian/python3-revpimodio2-doc.doc-base new file mode 100644 index 0000000..5ebd4ab --- /dev/null +++ b/debian/python3-revpimodio2-doc.doc-base @@ -0,0 +1,8 @@ +Document: python3-revpimodio2-doc +Title: RevPiModIO Documentation +Author: Sven Sager +Section: Programming/Python + +Format: HTML +Index: /usr/share/doc/python3-revpimodio2/html/index.html +Files: /usr/share/doc/python3-revpimodio2/html/*.html diff --git a/debian/python3-revpimodio2-doc.docs b/debian/python3-revpimodio2-doc.docs new file mode 100644 index 0000000..4ecc793 --- /dev/null +++ b/debian/python3-revpimodio2-doc.docs @@ -0,0 +1 @@ +docs/_build/html diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..bcfa948 --- /dev/null +++ b/debian/rules @@ -0,0 +1,14 @@ +#!/usr/bin/make -f + +export PYBUILD_NAME=revpimodio2 + +%: + dh $@ --with python3,sphinxdoc --buildsystem=pybuild + +override_dh_auto_build: + dh_auto_build + PYTHONPATH=. python3 -m sphinx -b html -d docs/_build/.doctrees -N docs docs/_build/html + +override_dh_clean: + rm -rf docs/_build + dh_clean 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)