rfc: python2.7 for F14
dmalcolm at redhat.com
Thu Jun 24 20:48:55 UTC 2010
On Wed, 2010-06-23 at 00:57 -0400, James Antill wrote:
> On Tue, 2010-06-22 at 23:26 +0200, Thomas Spura wrote:
> > How about this?
> > """
> > import os
> > p = set()
> > for pkg in os.popen('repoquery --whatrequires --alldeps "python(abi) =
> > 2.6"'):
> > pkg = pkg.strip()
> > print "Checking %s" % pkg
> > p.add(os.popen('repoquery -s %s' % pkg).read().strip())
> > print p
> > """
> Wow, python calling python through /bin/sh! I bow before you sir.
> You could just do:
> #! /bin/sh
> repoquery --whatrequires --alldeps -s "python(abi) = 2.6" | sort -u
Thanks guys. I've added James' script to the feature page.
I have an src.rpm that builds:
There's a successful scratch build here:
I haven't tested it yet; am about to try it on a rawhide VM. Help with
testing would be most welcome! I wrote some thoughts on how to do this
More information about the devel