Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 417503 - dev-python/rope-0.9.4 version bump request
Summary: dev-python/rope-0.9.4 version bump request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-25 16:25 UTC by Ian Delaney (RETIRED)
Modified: 2012-05-28 19:06 UTC (History)
0 users

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


Attachments
ebuild patch (rope.patch,973 bytes, patch)
2012-05-25 16:25 UTC, Ian Delaney (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Delaney (RETIRED) gentoo-dev 2012-05-25 16:25:42 UTC
Created attachment 313055 [details, diff]
ebuild patch

archtester rope # USE_PYTHON="2.5 2.6 2.7 2.7-pypy-1.8" ebuild rope-0.9.4.ebuild clean merge

 * Compilation and optimization of Python modules for CPython 2.5    [ ok ]
 * Compilation and optimization of Python modules for CPython 2.6    [ ok ]
 * Compilation and optimization of Python modules for CPython 2.7    [ ok ]
 * Compilation and optimization of Python modules for PyPy 1.8 (Python 2.7) [ ok ]
>>> dev-python/rope-0.9.4 merged.

archtester rope # USE_PYTHON="2.5 2.6 2.7" ebuild rope-0.9.4.ebuild clean test

 * Testing of dev-python/rope-0.9.4 with CPython 2.5...
Ran 610 tests in 4.046s        OK

 * Testing of dev-python/rope-0.9.4 with CPython 2.6...
Ran 610 tests in 4.283s        OK

 * Testing of dev-python/rope-0.9.4 with CPython 2.7...
Ran 610 tests in 4.840s        OK

Patches no longer required; they error out.

Threw this in as an extra in the interest of pypy which is very thin.
To take out tests that pypy can't possibly pass being as it is; 
add after;"\ttesting() {"

                if [[ ${PYTHON_ABI} == "2.7-pypy-1.8" ]]; then
                        rm -f ropetest/advanced_oi_test.py || die
                        sed -e 's:import ropetest.advanced_oi_test::' \
                        -e 's:    result.addTests(ropetest.advanced:#    result.addTests(ropetest.advanced:' \
                                -i ropetest/__init__.py || die
                        sed -e 's:        self.project.pycore.analyze_module(self.mod):#        self.project.pycore.analyze_module$
                                -i ropetest/builtinstest.py || die
                fi
To do it in earlier would mean copying ropetest/ into build-${PYTHON_ABI}/lib requiring more code.  Alternately copy __init__.py to a name like runtests.py and edit it.
Comment 1 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-05-28 19:06:56 UTC
+*rope-0.9.4 (28 May 2012)
+
+  28 May 2012; Kacper Kowalik <xarthisius@gentoo.org> +rope-0.9.4.ebuild:
+  Version bump wrt #417503. Thanks to Ian Delaney <johneed@hotmail.com> for
+  patch