Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 315003 Details for
Bug 397395
dev-python/rope-0.9.3-r1 suffers test failure build with pypy-1.7
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ebuild patch
rope.patch (text/plain), 1.33 KB, created by
Ian Delaney (RETIRED)
on 2012-06-11 13:41:12 UTC
(
hide
)
Description:
ebuild patch
Filename:
MIME Type:
Creator:
Ian Delaney (RETIRED)
Created:
2012-06-11 13:41:12 UTC
Size:
1.33 KB
patch
obsolete
>Only in rope.orig/files: pypy_test.patch >Only in rope/files: rope-0.9.4_pypy_test.patch >diff -ur rope.orig/rope-0.9.4.ebuild rope/rope-0.9.4.ebuild >--- rope.orig/rope-0.9.4.ebuild 2012-06-11 21:04:44.999172484 +0800 >+++ rope/rope-0.9.4.ebuild 2012-06-11 21:25:29.240235083 +0800 >@@ -7,9 +7,8 @@ > PYTHON_DEPEND="2" > SUPPORT_PYTHON_ABIS="1" > RESTRICT_PYTHON_ABIS="3.* *-jython" >-PYTHON_TESTS_FAILURES_TOLERANT_ABIS="2.7-pypy-*" > >-inherit distutils eutils >+inherit distutils eutils > > DESCRIPTION="Python refactoring library" > HOMEPAGE="http://rope.sourceforge.net/ http://pypi.python.org/pypi/rope" >@@ -23,9 +22,23 @@ > DEPEND="dev-python/setuptools" > RDEPEND="" > >+src_prepare() { >+ distutils_src_prepare >+ # copy files to be used by pypy in test phase >+ cp -f ropetest/builtinstest.py ropetest/builtinstest.pypy || die >+ cp -f ropetest/__init__.py ropetest/__init__.pypy || die >+ epatch "${FILESDIR}"/${P}_pypy_test.patch || die >+} >+ > src_test() { > testing() { >- PYTHONPATH="build-${PYTHON_ABI}/lib:." "$(PYTHON)" ropetest/__init__.py >+ if [[ "${PYTHON_ABI:4:4}" == "pypy" ]]; then >+ # mv them to orig names >+ mv ropetest/builtinstest.pypy ropetest/builtinstest.py || die >+ mv ropetest/__init__.pypy ropetest/__init__.py || die >+ fi >+ PYTHONPATH="build-${PYTHON_ABI}/lib:." "$(PYTHON)" ropetest/__init__.py >+ } > python_execute_function testing > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 397395
:
297677
|
297679
| 315003 |
315005