Skip to content
This repository was archived by the owner on Mar 16, 2023. It is now read-only.

Commit 5d41a68

Browse files
l1knbuchwitz
authored andcommitted
Add Debian packaging
This is an initial stab at properly packaging python-snap7 for Debian. I've listed myself as maintainer for now but if anyone else is willing to become maintainer and upstream the package, feel free to do so. Signed-off-by: Lukas Wunner <lukas@wunner.de>
1 parent 38d6576 commit 5d41a68

13 files changed

Lines changed: 88 additions & 0 deletions

debian/changelog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
python-snap7 (0.8-1) stable; urgency=medium
2+
3+
* Initial release
4+
5+
-- Lukas Wunner <lukas@wunner.de> Mon, 18 Dec 2017 16:26:02 +0100

debian/compat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
9

debian/control

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
Source: python-snap7
2+
Section: python
3+
Priority: optional
4+
Maintainer: Lukas Wunner <lukas@wunner.de>
5+
Build-Depends: debhelper (>= 9), dh-python, python-all, python3-all,
6+
python3-sphinx
7+
Standards-Version: 3.9.8
8+
X-Python-Version: >= 2.7
9+
X-Python3-Version: >= 3.4
10+
Homepage: https://github.com/gijzelaerr/python-snap7
11+
Vcs-Git: https://github.com/gijzelaerr/python-snap7
12+
Vcs-Browser: https://github.com/gijzelaerr/python-snap7
13+
14+
Package: python-snap7
15+
Architecture: all
16+
Depends: libsnap71, ${python:Depends}, ${misc:Depends}
17+
Suggests: python3-snap7-doc
18+
Description: Python wrapper for snap7
19+
Snap7 is an open source, 32/64 bit, multi-platform Ethernet communication
20+
suite for interfacing natively with Siemens S7 PLCs.
21+
22+
Package: python3-snap7
23+
Architecture: all
24+
Depends: libsnap71, ${python3:Depends}, ${misc:Depends}
25+
Suggests: python3-snap7-doc
26+
Description: Python wrapper for snap7
27+
Snap7 is an open source, 32/64 bit, multi-platform Ethernet communication
28+
suite for interfacing natively with Siemens S7 PLCs.
29+
30+
Package: python3-snap7-doc
31+
Architecture: all
32+
Section: doc
33+
Depends: ${misc:Depends}, ${sphinxdoc:Depends}
34+
Recommends: python3-snap7
35+
Description: Python wrapper for snap7 (doc)
36+
Snap7 is an open source, 32/64 bit, multi-platform Ethernet communication
37+
suite for interfacing natively with Siemens S7 PLCs.

debian/copyright

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2+
Upstream-Name: python-snap7
3+
Source: https://github.com/gijzelaerr/python-snap7
4+
5+
Files: *
6+
Copyright: 2013 Gijs Molenaar <gijs@pythonic.nl>, Stephan Preeker <stephan@preeker.net>
7+
License: MIT

debian/python-snap7.docs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
README.rst

debian/python-snap7.examples

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
example/*
2+
snap7/bin/snap7-server.py

debian/python3-snap7-doc.doc-base

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Document: python3-snap7-doc
2+
Title: Python snap7 documentation
3+
Author: Gijs Molenaar, Stephan Preeker
4+
Abstract: Snap7 is an open source, 32/64 bit, multi-platform Ethernet
5+
communication suite for interfacing natively with Siemens S7 PLCs.
6+
Section: Programming/Python
7+
8+
Format: HTML
9+
Index: /usr/share/doc/python3-snap7-doc/html/index.html
10+
Files: /usr/share/doc/python3-snap7-doc/html/*.html

debian/python3-snap7-doc.docs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
build/html/

debian/python3-snap7.docs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
README.rst

debian/python3-snap7.examples

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
example/*
2+
snap7/bin/snap7-server.py

0 commit comments

Comments
 (0)