Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 294533 Details for
Bug 367749
dev-python/simpletal:4: Prepare to use xml.use_pyxml()
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ebuild patch and files/simpletal-4.2-xml.patch cpmbo.
simpletal.patch (text/plain), 1.13 KB, created by
Ian Delaney (RETIRED)
on 2011-12-02 17:52:31 UTC
(
hide
)
Description:
ebuild patch and files/simpletal-4.2-xml.patch cpmbo.
Filename:
MIME Type:
Creator:
Ian Delaney (RETIRED)
Created:
2011-12-02 17:52:31 UTC
Size:
1.13 KB
patch
obsolete
>Only in simpletal: files >diff -ur simpletal.orig/simpletal-4.2.ebuild simpletal/simpletal-4.2.ebuild >--- simpletal.orig/simpletal-4.2.ebuild 2010-06-29 12:39:57.000000000 +0800 >+++ simpletal/simpletal-4.2.ebuild 2011-12-03 01:33:22.047061062 +0800 >@@ -7,7 +7,7 @@ > SUPPORT_PYTHON_ABIS="1" > RESTRICT_PYTHON_ABIS="2.4 3.*" > >-inherit distutils >+inherit distutils eutils > > MY_PN="SimpleTAL" > MY_P="${MY_PN}-${PV}" >@@ -26,6 +26,10 @@ > > S="${WORKDIR}/${MY_P}" > >+src_prepare() { >+ epatch "${FILESDIR}"/${PF}-xml.patch || die >+} >+ > src_test() { > sed -e "s/^TEMP_DIR=.*/TEMP_DIR=os.curdir/" -i tests/TALUtilsTests/TemplateCacheTestCases.py || die "sed failed" > >diff -ur SimpleTAL-4.2.orig/lib/simpletal/simpleTAL.py SimpleTAL-4.2/lib/simpletal/simpleTAL.py >--- lib/simpletal/simpleTAL.py 2007-07-28 01:35:23.000000000 +0800 >+++ lib/simpletal/simpleTAL.py 2011-12-03 01:29:12.838060958 +0800 >@@ -38,7 +38,10 @@ > import logging > except: > import DummyLogger as logging >- >+ >+import xml >+if hasattr(xml, "use_pyxml"): >+ xml.use_pyxml() > import xml.sax, cgi, StringIO, codecs, re, sgmlentitynames, types > import simpletal, copy, sys > import FixedHTMLParser
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 367749
: 294533