Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 256974 Details for
Bug 293974
dev-python/cheetah-2.4.3 fails tests with Python 2.7
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
My own ebuild
cheetah-2.4.3.ebuild (text/plain), 1.78 KB, created by
Raphaël Vinot
on 2010-12-12 18:00:50 UTC
(
hide
)
Description:
My own ebuild
Filename:
MIME Type:
Creator:
Raphaël Vinot
Created:
2010-12-12 18:00:50 UTC
Size:
1.78 KB
patch
obsolete
># Copyright 1999-2010 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/dev-python/cheetah/cheetah-2.4.3.ebuild,v 1.5 2010/11/13 15:51:04 armin76 Exp $ > >EAPI="3" >PYTHON_DEPEND="2" >SUPPORT_PYTHON_ABIS="1" >RESTRICT_PYTHON_ABIS="3.*" > >inherit distutils python eutils > >MY_PN="Cheetah" >MY_P="${MY_PN}-${PV/_}" > >DESCRIPTION="Python-powered template engine and code generator." >HOMEPAGE="http://www.cheetahtemplate.org/ http://rtyler.github.com/cheetah/ http://pypi.python.org/pypi/Cheetah" >SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" > >LICENSE="PSF-2.2" >IUSE="" >KEYWORDS="alpha amd64 ia64 ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" >SLOT="0" > >RDEPEND="dev-python/markdown" >DEPEND="${RDEPEND} > dev-python/setuptools" > >S="${WORKDIR}/${MY_P}" > >DOCS="CHANGES README.markdown TODO" >PYTHON_MODNAME="Cheetah" > >PATCHES=( > "${FILESDIR}/cheetah-2.4-python2.7-compat.patch" > "${FILESDIR}/cheetah-2.4-avoid-setuptools-warning.patch" > "${FILESDIR}/cheetah-2.4-test-retcode.patch" >) > >src_prepare() { > distutils_src_prepare > > # Disable broken tests. > sed \ > -e "/Unicode/d" \ > -e "s/if not sys.platform.startswith('java'):/if False:/" \ > -e "/results =/a\\ sys.exit(not results.wasSuccessful())" \ > -i cheetah/Tests/Test.py || die "sed failed" > epatch "${FILESDIR}"/cheetah-2.4-python2.7-compat.patch > epatch "${FILESDIR}"/cheetah-2.4-avoid-setuptools-warning.patch > epatch "${FILESDIR}"/cheetah-2.4-test-retcode.patch >} > >src_test() { > testing() { > PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" cheetah/Tests/Test.py > } > python_execute_function testing >} > >src_install() { > distutils_src_install > delete_tests() { > rm -fr "${ED}$(python_get_sitedir)/Cheetah/Tests" > } > python_execute_function -q delete_tests >}
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 Raw
Actions:
View
Attachments on
bug 293974
:
210810
|
256971
|
256972
|
256973
| 256974