Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 311443 Details for
Bug 415419
dev-python/logilab-constraint-0.5.0 version bump request
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
revised patch
logilab-constraint.patch (text/plain), 2.04 KB, created by
Ian Delaney (RETIRED)
on 2012-05-11 16:38:48 UTC
(
hide
)
Description:
revised patch
Filename:
MIME Type:
Creator:
Ian Delaney (RETIRED)
Created:
2012-05-11 16:38:48 UTC
Size:
2.04 KB
patch
obsolete
>diff -ur ../logilab-constraint.orig/logilab-constraint-0.5.0.ebuild ../logilab-constraint/logilab-constraint-0.5.0.ebuild >--- ../logilab-constraint.orig/logilab-constraint-0.5.0.ebuild 2012-05-11 23:56:08.726375414 +0800 >+++ ../logilab-constraint/logilab-constraint-0.5.0.ebuild 2012-05-12 00:28:04.952419297 +0800 >@@ -1,18 +1,17 @@ > # Copyright 1999-2012 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 >-# $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-constraint/logilab-constraint-0.4.0.ebuild,v 1.8 2012/04/12 16:00:56 xarthisius Exp $ >+# $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-constraint/logilab-constraint-0.5.0.ebuild,v 1.8 2012/04/12 16:00:56 xarthisius Exp $ > >-EAPI="3" >+EAPI="4" > PYTHON_DEPEND="2" > SUPPORT_PYTHON_ABIS="1" > RESTRICT_PYTHON_ABIS="3.*" >- >+PYTHON_TESTS_RESTRICTED_ABIS="2.7-pypy-*" > inherit distutils > >-MY_P="${P#logilab-}" > DESCRIPTION="A finite domain constraints solver written in 100% pure Python" > HOMEPAGE="http://www.logilab.org/projects/constraint/" >-SRC_URI="ftp://ftp.logilab.org/pub/constraint/${MY_P}.tar.gz" >+SRC_URI="ftp://ftp.logilab.org/pub/constraint/${P}.tar.gz" > > LICENSE="GPL-2" > SLOT="0" >@@ -40,3 +39,26 @@ > doins -r examples > fi > } >+ >+src_test() { >+ testing() { >+ # Install temporarily. >+ local exit_status=0 >+ local tpath="${T}/test-${PYTHON_ABI}" >+ local spath="${tpath}${EPREFIX}$(python_get_sitedir)" >+ >+ mkdir -p "${spath}/logilab" && mkdir -p ${tpath}${EPREFIX}/usr/bin || return >+ cp -r "${EPREFIX}$(python_get_sitedir)/logilab/common" "${spath}/logilab" || return >+ cp -r /usr/bin/pytest ${tpath}${EPREFIX}/usr/bin/ || return >+ >+ "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" install --root="${tpath}" \ >+ || die "Installation for tests failed with $(python_get_implementation_and_version)" >+ >+ # pytest uses tests placed relatively to the current directory. >+ pushd "${spath}" > /dev/null || exit_status=1 >+ PYTHONPATH="${spath}" /usr/bin/pytest -v >+ popd > /dev/null || exit_status=1 >+ return $exit_status >+ } >+ 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 415419
:
311373
|
311443
|
311445
|
311617