Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 367749 - dev-python/simpletal:4: Prepare to use xml.use_pyxml()
Summary: dev-python/simpletal:4: Prepare to use xml.use_pyxml()
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: xml.use_pyxml
  Show dependency tree
 
Reported: 2011-05-17 17:16 UTC by Arfrever Frehtes Taifersar Arahesis (RETIRED)
Modified: 2016-10-08 10:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild patch and files/simpletal-4.2-xml.patch cpmbo. (simpletal.patch,1.13 KB, patch)
2011-12-02 17:52 UTC, Ian Delaney (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-05-17 17:16:31 UTC
This package specifies dependency on dev-python/pyxml.

Please test this package with dev-lang/python-2.7.1-r2:2.7 or >=dev-lang/python-2.7.2_pre20110515:2.7, which require explicit calling of xml.use_pyxml() before using PyXML.

If this package actually needs PyXML, then modify all modules/scripts of this package, which import xml module. The following code should be added before first import of anything from xml module:

import xml
if hasattr(xml, "use_pyxml"):
    xml.use_pyxml()

This code works with previous versions of Python, so no changes in dependencies are needed.
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2011-12-02 17:52:31 UTC
Created attachment 294533 [details, diff]
ebuild patch and files/simpletal-4.2-xml.patch cpmbo.

patch 1, the ebuild patch for simpletal-4.2.
patch 2, the files/simpletal-4.2-xml.patch, both in the one attached patch
Comment 2 Pacho Ramos gentoo-dev 2016-10-08 10:40:46 UTC
removed