[pacman-dev] 3.2.1 release
henning.garus at googlemail.com
Thu Aug 14 18:42:45 EDT 2008
Am Wed, 13 Aug 2008 23:43:02 +0200
schrieb Xavier <shiningxc at gmail.com>:
> About the other half of the patch, I agree it is not so nice. And the
> only way I can think of is too complicated for my taste. At least, I
> guess it is possible to use configure and friends to only define that
> XferCommand when libdownload support is disabled.
> I guess I will just drop that patch, it does not matter. Besides there
> are already the 2 scriptlets pactest which fail on cygwin, because
> fakechroot is missing. So really no big deal.
I wrote a Makefile.am for the tests dir, which works very much like the
one for scripts/ . If you change the test to something like:
if not "download" in "@LIBS@":
self.option['XferCommand'] = ['/usr/bin/curl %u > %o']
rename it to sync200.py.in and run automake and friends, both cases
should be covered. I'm not sure if this is really worth the trouble,
but this could be useful in other cases.
More information about the pacman-dev