[125081] trunk/dports/python/py-celementtree/Portfile

Anders F Björklund afb at macports.org
Fri Sep 5 11:04:32 PDT 2014


Joshua Root wrote:

>> -python.versions	25 26
>> +python.versions	25 26 27
> 
> The homepage says:
> 
>> cElementTree is included with Python 2.5 and later, as xml.etree.cElementTree.
> 
> Does kid not work with the included version for some reason?

Don't know, didn't try. It was just fallout from upgrading rpm to
python2.7 without having a proper way to handle multiple pythons.

"Repoview requires:
	* ​Kid templating engine (version 0.6.3 and above)
	* ​Yum system updater (version 3.0 and above)
	* Python-2.5 or Python-2.4 with cElementTree
	* Python-sqlite"

And I don't count having multiple variants as a particularly good
way. It would also help if upstream didn't just hardcode /usr.

But If upgrade my way out of this, I would need to touch yum etc...
Not sure if anyone actually uses these ports, for it to be worth it ?

I think repoview might be the only thing in the world that uses Kid.
If anyone else does, there's apparently a replacement called "Genshi".


Should we save repoview, now that MacPorts doesn't use .rpm ? Dunno.

If so, it would need to handle the conflicting createrepo and then
the conflicting rpm. Which doesn't sound like a whole lot of fun.

Fixing the xml code in repoview is probably quite trivial, though...

--anders


PS. But it looks like py27-celementtree has some 64-bit issues anyway.
And the irony is that repoview doesn't even use it, but elementtree.

So it should probably be removed again, i.e. the addition reverted.



More information about the macports-dev mailing list