python-rufus: Help needed to run test suite at package build time
Hi, I try to package python-ruffus on behalf of the Debian Med team at git://anonscm.debian.org/debian-med/python-ruffus.git Unfortunately I have trouble running the test suite. I tried two ways to run it: override_dh_auto_test: ### No idea why this fails :-( # LC_ALL=C.UTF-8 dh_auto_test -- --test --system=custom --test-args='set -e; cd ruffus/test; for tst in test*.py ; do {interpreter} $$tst ; done' ### Try find ... LC_ALL=C.UTF-8 dh_auto_test -- --test --system=custom --test-args='set -e; cd ruffus/test; find . -type f -name "test*.py" -exec {interpreter} \{\} \; ; done' Both versions work on command line but when trying to build the package I get: ... make[1]: Entering directory '/tmp/buildd/python-ruffus-2.5+dfsg' LC_ALL=C.UTF-8 dh_auto_test -- --test --system=custom --test-args='set -e; cd ruffus/test; find . -type f -name "test*.py" -exec python \{\} \; ; done' E: pybuild pybuild:256: test: plugin custom failed with: '\\' dh_auto_test: pybuild --test -i python{version} -p 2.7 --test --system=custom --test-args=set -e; cd ruffus/test; find . -type f -name "test*.py" -exec python \{\} \; ; done --dir . returned exit code 13 debian/rules:26: recipe for target 'override_dh_auto_test' failed make[1]: *** [override_dh_auto_test] Error 13 I guess this is because of the replacement of {} in the latter case but also the first version with the for loop does not work. I'm tempted to work around all this by using a script wrapping up the tests. However, I wonder whether there is some solution which might work also this way. Kind regards Andreas. -- http://fam-tille.de -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150202102603.gq26...@an3as.eu
Bug#776892: ITP: python-django-audit-log -- Django app to track changes to models
Package: wnpp Severity: wishlist Owner: Brian May * Package name: python-django-audit-log Version : 0.7.0 Upstream Author : Vasil Vangelovski * URL : https://pypi.python.org/pypi/django-audit-log/0.7.0 * License : BSD Programming Lang: Python Description : Django app to track changes to models This python package will automatically track and record all changes to a Django model. I am packaging this because an application I use and maintain (not yet in Debian) requires it. I plan on mantaining it as part of the Debian python modules team. I will be building Python2 and Python3 packages. -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150202230410.16389.2844.report...@aquitard.in.vpac.org
Re: multiple modules in one source
Apologies for resurrecting this old thread. Is it possible to have a single git tree, containing multiple PyPI distributions? I suspect the answer is "Yes, but each one will have to go into a separate subdirectory, each one will have to have a unique setup.py, etc". Which in turn raises another question of "Why bother?" of which I can't think of a good answer. It might be possible to have just a single debian directory for the entire git tree, have a suspicion that might get complicated however... -- Brian May
Re: multiple modules in one source
On 3 February 2015 at 16:42, Brian May wrote: > Apologies for resurrecting this old thread. > > Is it possible to have a single git tree, containing multiple PyPI > distributions? Yes, but each one will ... > I suspect the answer is "Yes, but each one will have to go into a separate > subdirectory, each one will have to have a unique setup.py, etc". > > Which in turn raises another question of "Why bother?" of which I can't > think of a good answer. > > It might be possible to have just a single debian directory for the entire > git tree, have a suspicion that might get complicated however... Whats the actual upstream, and what do you want users to have available in terms of Debian packages? -Rob -- Robert Collins Distinguished Technologist HP Converged Cloud -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/CAJ3HoZ2oN87Jxi1i0hwN==y1_ontqyjnuo_bd1ncj9xiaip...@mail.gmail.com