Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 503266 - =dev-python/pyspf-2.0.8: add support for python 3.x
Summary: =dev-python/pyspf-2.0.8: add support for python 3.x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 503270
  Show dependency tree
 
Reported: 2014-03-03 00:31 UTC by Michael Orlitzky
Modified: 2014-03-21 04:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
diff -u of pyspf-2.0.8 ebuilds (pyspf.patch,1016 bytes, patch)
2014-03-20 10:03 UTC, Ian Delaney (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Orlitzky gentoo-dev 2014-03-03 00:31:54 UTC
With >=python-3.3, the built-in ipaddress module will be used obviating the need for dev-python/ipaddr. Guessing by the language in the README, python-3.2 should work also although of course it will need ipaddr.
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2014-03-20 10:03:42 UTC
Created attachment 373086 [details, diff]
diff -u of pyspf-2.0.8 ebuilds

ditto translate-toolkit.

It looks awfully verbose but it works.  Look ok??

~/cvsPortage/gentoo-x86/dev-python/pyspf $ ebuild pyspf-2.0.8-r1.ebuild clean test

Ran 19 tests in 0.805s

OK
==============================================
Ran 19 tests in 1.016s

OK
==============================================
Ran 19 tests in 0.973s

OK
==============================================
Ran 19 tests in 1.027s

OK
Comment 2 Michael Orlitzky gentoo-dev 2014-03-20 16:55:04 UTC
I think the dev-python/ipaddr dependency needs to be wrapped in a python_gen_cond_dep too, otherwise it's getting pulled in even if I have PYTHON_TARGETS="python3_3". Other than that, looks good.
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2014-03-21 04:31:47 UTC
*pyspf-2.0.8-r1 (21 Mar 2014)

  21 Mar 2014; Ian Delaney <idella4@gentoo.org> +pyspf-2.0.8-r1.ebuild:
  revbump; Add py3 support, update deps & new PYTHON_REQ_USE setting for tests,
  thx to mjo for extensive testing, fixes Bugs #503266 #503264 by mjo