Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 305639 Details for
Bug 402171
dev-python/astng-0.23.1 version bump request
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ebuild patch for astng-0.23.1.ebuild made against a copied astng-0.22.0.ebuild
astng.patch (text/plain), 2.38 KB, created by
Ian Delaney (RETIRED)
on 2012-03-16 17:56:01 UTC
(
hide
)
Description:
ebuild patch for astng-0.23.1.ebuild made against a copied astng-0.22.0.ebuild
Filename:
MIME Type:
Creator:
Ian Delaney (RETIRED)
Created:
2012-03-16 17:56:01 UTC
Size:
2.38 KB
patch
obsolete
>diff -ur astng.orig/astng-0.23.1.ebuild astng/astng-0.23.1.ebuild >--- astng.orig/astng-0.23.1.ebuild 2012-03-17 01:39:33.630489059 +0800 >+++ astng/astng-0.23.1.ebuild 2012-03-17 01:43:20.639487663 +0800 >@@ -1,11 +1,12 @@ > # Copyright 1999-2011 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 >-# $Header: /var/cvsroot/gentoo-x86/dev-python/astng/astng-0.23.1.ebuild,v 1.2 2011/08/06 16:29:23 hwoarang Exp $ >+# $Header: /var/cvsroot/gentoo-x86/dev-python/astng/astng-0.23.1.ebuild,v 1.4 2012/02/03 20:53:05 maekke Exp $ > >-EAPI="3" >+EAPI="4" >+PYTHON_DEPEND="2" > SUPPORT_PYTHON_ABIS="1" > PYTHON_TESTS_FAILURES_TOLERANT_ABIS="3.* *-jython" >- >+RESTRICT_PYTHON_ABIS="3.* *-pypy-* *-jython" > inherit distutils > > DESCRIPTION="Abstract Syntax Tree New Generation for logilab packages" >@@ -21,12 +22,25 @@ > RDEPEND=">=dev-python/logilab-common-0.53.0" > DEPEND="${RDEPEND} > dev-python/setuptools >- test? ( >=dev-python/egenix-mx-base-3.0.0 )" >+ test? ( >=dev-python/egenix-mx-base-3.0.0 ) >+ ( dev-python/unittest2 )" > > S="${WORKDIR}/logilab-${P}" > >+DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1" >+ > PYTHON_MODNAME="logilab/astng" > >+src_prepare() { >+ distutils_src_prepare >+ >+ conversion() { >+ [[ "${PYTHON_ABI}" == 2.* ]] && return >+ find -name "*.py" ! -name "setup.py" -print | xargs 2to3-${PYTHON_ABI} -nw --no-diffs >+ } >+ python_execute_function -s conversion >+} >+ > src_test() { > testing() { > local tpath="${T}/test-${PYTHON_ABI}" >@@ -35,14 +49,19 @@ > mkdir -p "${spath}/logilab" || return 1 > cp -r "$(python_get_sitedir)/logilab/common" "${spath}/logilab" || return 1 > >- "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" install --root="${tpath}" || die "Installation for tests failed with $(python_get_implementation_and_version)" >+ "$(PYTHON)" setup.py install --root="${tpath}" || die "Installation for tests failed with $(python_get_implementation) $(python_get_version)" > > # pytest uses tests placed relatively to the current directory. > pushd "${spath}/logilab/astng" > /dev/null || return 1 >- PYTHONPATH="${spath}" pytest -v || return 1 >+ if [[ "${PYTHON_ABI}" == 3.* ]]; then >+ # Support for Python 3 is experimental. Some tests are known to fail. >+ PYTHONPATH="${spath}" pytest -v >+ else >+ PYTHONPATH="${spath}" pytest -v || return 1 >+ fi > popd > /dev/null || return 1 > } >- python_execute_function testing >+ python_execute_function -s testing > } > > src_install() {
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 402171
:
300915
| 305639