packaging(deb): Start packaging branch

Signed-off-by: Sven Sager <akira@narux.de>
Signed-off-by: Sven Sager <s.sager@kunbus.com>
This commit is contained in:
2023-08-17 13:12:43 +02:00
committed by Sven Sager
parent 4cb0194f23
commit 8f1ba0094b
7 changed files with 118 additions and 0 deletions

43
debian/control vendored Normal file
View File

@@ -0,0 +1,43 @@
Source: revpimodio2
Section: python
Priority: optional
Maintainer: Sven Sager <akira@narux.de>
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.

47
debian/copyright vendored Normal file
View File

@@ -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 <akira@narux.de>
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 <https://www.gnu.org/licenses/>
.
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'.

4
debian/gbp.conf vendored Normal file
View File

@@ -0,0 +1,4 @@
[DEFAULT]
upstream-branch = main
upstream-tag = %(version)s
debian-branch=pkg/debian

View File

@@ -0,0 +1,8 @@
Document: python3-revpimodio2-doc
Title: RevPiModIO Documentation
Author: Sven Sager <akira@narux.de>
Section: Programming/Python
Format: HTML
Index: /usr/share/doc/python3-revpimodio2/html/index.html
Files: /usr/share/doc/python3-revpimodio2/html/*.html

1
debian/python3-revpimodio2-doc.docs vendored Normal file
View File

@@ -0,0 +1 @@
docs/_build/html

14
debian/rules vendored Executable file
View File

@@ -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

1
debian/source/format vendored Normal file
View File

@@ -0,0 +1 @@
3.0 (quilt)