mock, "megadeps" and PyPI

Nick Coghlan ncoghlan at redhat.com
Thu Aug 21 00:35:48 UTC 2014


Jeff Fearn reminded me today of "mock --megadeps", a patched version of
mock he created that supports recursively downloading and building
dependencies in a chroot, without incurring the overhead of setting up
and tearing down multiple mock build environments the way the chainbuild
command does.

The mock RFE is at https://bugzilla.redhat.com/show_bug.cgi?id=843745,
while Jeff is now maintaining the patched version at
https://github.com/jfearn/mock

I'm bringing this to folks attention mainly due to one of the neat
features it has embedded in it, which is integration with CPAN: it can
use cpanspec to create an SRPM on the fly. That's likely not going to be
of suitable quality for Fedora itself, but it should be good enough for
COPR and potentially even Playground.

My question is whether it would be practical to do something similar
with pyp2rpm. Bonus points if we can come up with a way to integrate it
nicely with COPR, or even tidy up the implementation to the point where
we can convince Clark to accept the feature as part of mock itself :)

Regards,
Nick.

-- 
Nick Coghlan
Red Hat Hosted & Shared Services
Software Engineering & Development, Brisbane

HSS Provisioning Architect


More information about the python-devel mailing list