On Tue, May 22, 2012 at 10:47 AM, todd rme <toddrme2178@gmail.com> wrote:
Since several people are now actively involved in porting python packages to python 3, I created a wiki page to keep track of the effort. You can help by filling in the "Unknown" status of most of the packages and adding other repositories.
I have a technical question regarding python3 packaging (and I bet I'm not the only one). I have ipaddr working in py3 (it's just a matter of running it through 2to3). The build could easily be done in the same project, since I could build py2, 2to3, build py3. In fact, there's a hint of that in the wiki about packaging python[0]. However, I'm not sure how to split it into a subpackage. I wouldn't want to make the rpm depend on both python versions), and "%package name" appends a suffix, rather than replacing the name. Is there an example anywhere? Every example I checked uses the method below: The other possibility is to have a python3-ipaddr.spec, and create a link in d:l:p so that python3-ipaddr uses the same sources as python-ipaddr, only it builds the py3k version. That's how jinja2[1] does it (i've been hunting for examples). How do I do that? (a SR to d:l:p wouldn't result in a link, just a separate package). [0] http://en.opensuse.org/openSUSE:Packaging_Python [1] https://build.opensuse.org/package/files?package=python3-Jinja2&project=devel%3Alanguages%3Apython -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org