* Package name : awlsim Version : 0.44? Upstream Author : Michael Buesch <m@bues.ch> * URL : http://bues.ch/h/awlsim * License : GPLv2+ Programming Lang: Python Description : S7 compatible soft-PLC Awlsim is a soft-PLC (see https://en.wikipedia.org/wiki/Programmable_logic_controller) that can execute STEP7 (see German https://de.wikipedia.org/wiki/STEP_7) compatible AWL/STL code. I plan to maintain the Debian package by myself. The upstream repository, also maintained by me, already contains some basic Debian packaging scripts. (see http://bues.ch/gitweb?p=awlsim.git;a=tree)
As I am currently neither debian developer nor debian maintainer, I will need sponsoring on this package. I would be happy if somebody commented on the existing debian scripts that are currently used to build Raspbian packages from the repository above.
After a `git clone`,
I did `dpkg-checkbuilddeps && dpkg-buildpackage -uc -us` and got
<screenshot>
running build_scripts
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:184: cd /home/stappers/src/awlsim/.pybuild/pythonX.Y_2.7/build; python2.7 -m unittest discover -v
----------------------------------------------------------------------
Ran 0 tests in 0.000s
OK
I: pybuild base:184: cd /home/stappers/src/awlsim/.pybuild/pythonX.Y_3.5/build; python3.5 -m unittest discover -v
awlsim-gui ERROR: Neither PySide nor PyQt found.
PLEASE INSTALL PySide (http://www.pyside.org/)
or PyQt4 with v2 APIs (http://www.riverbankcomputing.com/software/pyqt/download)
or PyQt5 with v2 APIs (http://www.riverbankcomputing.com/software/pyqt/download5)
Press enter to exit.
</screenshot>
What to do to get a "clean build"?
If I should have build from a .tar.gz ( not from git ), please tell.
Groeten
Geert Stappers
DD
--
Leven en laten leven
Using the git tree is fine. pybuild seems to pull in the gui libraries at build time. Funny thing is that it only seems to do this on Python 3. So we probably have to add pyside or pyqt for Python 3 to the build deps. If you install python3-pyside it should build.
Acknowledge Not yet tried. It is 'override_dh_auto_test:' which I wanna try. Groeten Geert Stappers Who did see the april 4th message of Michael on april 10th :-/
Hm yes. It probably is best to add that override and either do nothing or call tests/run.sh -q to execute the actual unit tests.
Hello Dear How are you doing? Ella