#815196 RFP: awlsim -- S7 compatible soft-PLC

Package:
wnpp
Source:
wnpp
Submitter:
Michael Büsch
Date:
2021-03-02 12:51:02 UTC
Severity:
wishlist
#815196#5
Date:
2016-02-19 21:46:33 UTC
From:
To:
* 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)

#815196#10
Date:
2016-03-04 21:09:08 UTC
From:
To:

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.

#815196#15
Date:
2016-04-03 20:58:12 UTC
From:
To:
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

#815196#20
Date:
2016-04-04 05:23:14 UTC
From:
To:
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.

#815196#25
Date:
2016-04-10 19:14:27 UTC
From:
To:
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  :-/

#815196#30
Date:
2016-04-10 19:58:21 UTC
From:
To:
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.

#815196#39
Date:
2021-03-03 03:07:11 UTC
From:
To:
Hello Dear How are you doing? Ella