upgrading debian files to compat 11
works on buster Change-Id: I700ec073d3c13ce684cf361f7c3b059e79901bae
This commit is contained in:
2
debian/compat
vendored
2
debian/compat
vendored
@ -1 +1 @@
|
||||
9
|
||||
11
|
||||
|
42
debian/control
vendored
42
debian/control
vendored
@ -1,29 +1,35 @@
|
||||
Source: secop-core
|
||||
Section: misc
|
||||
Section: contrib/misc
|
||||
Priority: optional
|
||||
Maintainer: Enrico Faulhaber <enrico.faulhaber@frm2.tum.de>
|
||||
Build-Depends: debhelper (>= 9.0.0),
|
||||
Build-Depends: debhelper (>= 11~),
|
||||
dh-python,
|
||||
git,
|
||||
python3,
|
||||
python3 (>=3.6),
|
||||
python3-all,
|
||||
python3-setuptools,
|
||||
python3-docutils,
|
||||
python3-sphinx,
|
||||
python3-sip-dev,
|
||||
python3-pyqt5,
|
||||
python3-mlzlog | python-mlzlog,
|
||||
python3-mlzlog,
|
||||
python3-numpy,
|
||||
python3-psutil (>= 0.4),
|
||||
python3-pytest,
|
||||
python3-serial,
|
||||
git,
|
||||
markdown,
|
||||
python3-daemon
|
||||
Standards-Version: 4.3.0
|
||||
Standards-Version: 4.1.4
|
||||
X-Python3-Version: >= 3.6
|
||||
|
||||
Package: secop-core
|
||||
Architecture: all
|
||||
Depends: python (>= 3.6),
|
||||
Depends: python3 (>= 3.6),
|
||||
${misc:Depends},
|
||||
${python3:Depends},
|
||||
python3-setuptools,
|
||||
python3-numpy,
|
||||
python3-serial,
|
||||
python3-psutil (>= 0.4),
|
||||
python3-mlzlog,
|
||||
markdown,
|
||||
@ -32,6 +38,14 @@ Description: Frappy SECoP core system
|
||||
contains the core server and client libraries and the server binary
|
||||
as well as the systemd integration
|
||||
|
||||
#Package: secop-doc
|
||||
#Architecture: all
|
||||
#Section: doc
|
||||
#Depends: ${sphinxdoc:Depends},
|
||||
# ${misc:Depends}
|
||||
#Description: Frappy SECoP docu
|
||||
# This is the documentation to all the secop-* packages
|
||||
|
||||
Package: secop-gui
|
||||
Architecture: all
|
||||
Depends: secop-core,
|
||||
@ -46,18 +60,18 @@ Architecture: all
|
||||
Depends: secop-core,
|
||||
${misc:Depends},
|
||||
${python3:Depends}
|
||||
Recommends: secop-gui
|
||||
Description: SECoP demo files
|
||||
for demonstration purposes
|
||||
Recommends: secop-gui
|
||||
|
||||
Package: secop-ess
|
||||
Architecture: all
|
||||
Depends: secop-core,
|
||||
${misc:Depends},
|
||||
${python3:Depends}
|
||||
Description: SECoP ess files
|
||||
Modules specific for ESS (http://esss.se)
|
||||
Recommends: secop-gui
|
||||
Description: SECoP ess files
|
||||
Modules specific for ESS
|
||||
|
||||
Package: secop-mlz
|
||||
Architecture: all
|
||||
@ -65,15 +79,15 @@ Depends: secop-core,
|
||||
${misc:Depends},
|
||||
${python3:Depends},
|
||||
python-pytango (>=9)
|
||||
Description: SECoP mlz files
|
||||
Modules specific for MLZ (http://mlz-garching.de)
|
||||
Recommends: secop-gui
|
||||
Description: SECoP mlz files
|
||||
Modules specific for MLZ
|
||||
|
||||
Package: secop-psi
|
||||
Architecture: all
|
||||
Depends: secop-core,
|
||||
${misc:Depends},
|
||||
${python3:Depends}
|
||||
Description: SECoP psi files
|
||||
Modules specific for PSI (http://psi.ch)
|
||||
Recommends: secop-gui
|
||||
Description: SECoP psi files
|
||||
Modules specific for PSI
|
||||
|
4
debian/copyright
vendored
4
debian/copyright
vendored
@ -1,6 +1,8 @@
|
||||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: frappy
|
||||
Source: http://forge.frm2.tum.de/cgit/cgit.cgi/frm2/sine2020/secop/playground.git
|
||||
Comment: FRAPPY is an implementation of the free SECoP protocol
|
||||
see https://www.github.com/SampleEnvironment/SECoP
|
||||
|
||||
Files: *
|
||||
Copyright: 2016-2019 by the FRAPPY-SECOP contributors (see AUTHORS)
|
||||
|
23
debian/rules
vendored
23
debian/rules
vendored
@ -9,25 +9,30 @@ DEBPYTHON_SUPPORTED=3.6
|
||||
|
||||
export DEBPYTHON_DEFAULT DEBPYTHON_SUPPORTED
|
||||
|
||||
export PYBUILD_NAME = secop
|
||||
export PYBUILD_TEST_PYTEST = 1
|
||||
|
||||
override_dh_install:
|
||||
@find debian/tmp -name '*.pyc' -exec rm \{\} \;
|
||||
@find debian/tmp -type d -name '__pycache__' | xargs rmdir
|
||||
@find debian -name '*.pyc' -exec rm \{\} \;
|
||||
@find debian -type d -name '__pycache__' | xargs rmdir
|
||||
|
||||
cp -aR debian/python3-secop/* debian/tmp
|
||||
mv debian/tmp/usr/lib/python3.? debian/tmp/usr/lib/python3
|
||||
|
||||
@echo "regen debian/secop-core.install"
|
||||
@echo "usr/bin/secop-server" > debian/secop-core.install
|
||||
@echo "usr/bin/secop-console" >> debian/secop-core.install
|
||||
@echo "etc/init.d/secop-server" >> debian/secop-core.install
|
||||
@(cd debian/tmp; find . -name '*.py'| grep -v gui|grep /secop/; \
|
||||
find . | grep egg-info; \
|
||||
find . | grep RELEASE-VERSION; \
|
||||
find ./lib; \
|
||||
find ./var ) | \
|
||||
while read f;do echo $${f#./};done | cat >> debian/secop-core.install
|
||||
find . -type f| grep egg-info; \
|
||||
find . -type f| grep RELEASE-VERSION; \
|
||||
find ./lib -type f; \
|
||||
find ./var -type f) | \
|
||||
while read f;do echo $${f#./}; done | cat >> debian/secop-core.install
|
||||
|
||||
@echo "regen debian/secop-gui.install"
|
||||
@echo "usr/bin/secop-gui" > debian/secop-gui.install
|
||||
@echo "usr/bin/secop-cfg-editor" >> debian/secop-gui.install
|
||||
@(cd debian/tmp; find . |grep gui|grep /secop/) | \
|
||||
@(cd debian/tmp; find . -type f|grep gui|grep /secop/) | \
|
||||
while read f;do echo $${f#./};done | cat >> debian/secop-gui.install
|
||||
|
||||
@for facility in demo ess mlz psi;do \
|
||||
|
1
debian/secop-core.install
vendored
1
debian/secop-core.install
vendored
@ -1,6 +1,5 @@
|
||||
usr/bin/secop-server
|
||||
usr/bin/secop-console
|
||||
etc/init.d/secop-server
|
||||
usr/lib/python3.7/dist-packages/secop/errors.py
|
||||
usr/lib/python3.7/dist-packages/secop/modules.py
|
||||
usr/lib/python3.7/dist-packages/secop/features.py
|
||||
|
Reference in New Issue
Block a user