Bug#692023: ITP: python-dbusmock -- Mock D-Bus objects for testsuites
* Martin Pitt mp...@debian.org, 2012-11-01, 12:58: Is it ok to upload this with Maintainer: being the Python team, and me being the/an uploader? Yup, please feel free. I had a quick look at the package. Unfortunately, it FTBFS: | python3 setup.py build | Traceback (most recent call last): | File setup.py, line 13, in module | with open('NEWS') as f: | IOError: [Errno 2] No such file or directory: 'NEWS' Please add ${python3:Depends} to Depends. In debian/rules you run setup.py install with all supported Python 3 versions, but setup.py build and setup.py test only with the default one. This looks weird. -- Jakub Wilk -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#692023: ITP: python-dbusmock -- Mock D-Bus objects for testsuites
Hello Jakub, Jakub Wilk [2012-11-03 16:30 +0100]: Yup, please feel free. Thanks. Scott Kitterman confirmed this as well last week. I had a quick look at the package. Unfortunately, it FTBFS: | python3 setup.py build | Traceback (most recent call last): | File setup.py, line 13, in module | with open('NEWS') as f: | IOError: [Errno 2] No such file or directory: 'NEWS' Known, and fixed in upstream trunk (forgot to dist the file). I'll do a new upstream release ASAP, I just ran out of time yesterday. FTR, I committed the current packaging to SVN already. That was copied straight out of my Ubuntu PPA packaging branch, but as that has full source I didn't notice the lack of NEWS before. Please add ${python3:Depends} to Depends. In debian/rules you run setup.py install with all supported Python 3 versions, but setup.py build and setup.py test only with the default one. This looks weird. Indeed, it would be cleaner to build/test for all Pythons. I wish debhelper would support py3 properly, to avoid propagating those errors by copypaste'ing rules files from other packages.. I'll get that fixed before upload as well, thanks for spotting! Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#692023: ITP: python-dbusmock -- Mock D-Bus objects for testsuites
Package: wnpp Severity: wishlist Owner: Martin Pitt mp...@debian.org * Package name: python-dbusmock Version : 0.1.2 Upstream Author : Martin Pitt martin.p...@ubuntu.com * URL : https://launchpad.net/python-dbusmock * License : LGPL 3+ Programming Lang: Python 3 Description : Mock D-Bus objects for testsuites With this program/Python library you can easily create mock objects on D-Bus. This is useful for writing tests for software which talks to D-Bus services such as upower, systemd, ConsoleKit, gnome-session or others, and it is hard (or impossible without root privileges) to set the state of the real services to what you expect in your tests. When using a local system/session bus, you can do integration testing without needing root privileges or disturbing a running system. The Python API offers some convenience functions like start_session_bus() and start_system_bus() for this, in a DBusTestCase class (subclass of unittest.TestCase). You can use this with any programming language, as you can run the mocker as a normal program. The actual setup of the mock (adding objects, methods, properties, etc.) all happen via D-Bus methods on the org.freedesktop.DBus.Mock interface. You just don't have the convenience API that way. Have a look at the README for more information, examples, and pointers to documentation: http://bazaar.launchpad.net/~pitti/python-dbusmock/trunk/view/head:/README.rst PyPI page: http://pypi.python.org/pypi/python-dbusmock Ubuntu packages: https://code.launchpad.net/~pitti/+archive/daily-builds Is it ok to upload this with Maintainer: being the Python team, and me being the/an uploader? Thanks, Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) signature.asc Description: Digital signature