From: W. Trevor King Date: Wed, 8 Oct 2014 15:28:17 +0000 (-0700) Subject: webtest-*.ebuild: Add lxml to DEPEND[test] X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=refs%2Fheads%2Fdev-python%2Fwebtest;p=wtk-overlay.git webtest-*.ebuild: Add lxml to DEPEND[test] Avoid: File "/var/tmp/portage/dev-python/webtest-1.4.3-r1/work/WebTest-1.4.3/docs/index.txt", line 320, in index.txt Failed example: res.lxml Exception raised: Traceback (most recent call last): File "/var/tmp/portage/dev-python/webtest-1.4.3-r1/work/WebTest-1.4.3/webtest/app.py", line 568, in lxml from lxml import etree ImportError: No module named 'lxml' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib64/python3.3/doctest.py", line 1313, in __run compileflags, 1), test.globs) File "", line 1, in res.lxml File "/var/tmp/portage/dev-python/webtest-1.4.3-r1/work/WebTest-1.4.3/webtest/app.py", line 571, in lxml "You must have lxml installed to use response.lxml") ImportError: You must have lxml installed to use response.lxml and: File "/var/tmp/portage/dev-python/webtest-2.0.11/work/WebTest-2.0.11-python3_3/docs/testresponse.txt", line 124, in testresponse.txt Failed example: res.lxml Exception raised: Traceback (most recent call last): File "/var/tmp/portage/dev-python/webtest-2.0.11/work/WebTest-2.0.11-python3_3/webtest/response.py", line 477, in lxml from lxml import etree ImportError: No module named 'lxml' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib64/python3.3/doctest.py", line 1313, in __run compileflags, 1), test.globs) File "", line 1, in res.lxml File "/var/tmp/portage/dev-python/webtest-2.0.11/work/WebTest-2.0.11-python3_3/webtest/response.py", line 480, in lxml "You must have lxml installed to use response.lxml") ImportError: You must have lxml installed to use response.lxml --- diff --git a/webtest-1.4.3-r1.ebuild b/webtest-1.4.3-r1.ebuild index 0799644..235eb0c 100644 --- a/webtest-1.4.3-r1.ebuild +++ b/webtest-1.4.3-r1.ebuild @@ -26,7 +26,9 @@ DEPEND="${RDEPEND} app-arch/unzip dev-python/setuptools[${PYTHON_USEDEP}] doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - test? ( dev-python/nose[${PYTHON_USEDEP}] + test? ( + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] dev-python/pyquery[${PYTHON_USEDEP}] virtual/python-unittest2[${PYTHON_USEDEP}] )" diff --git a/webtest-2.0.11.ebuild b/webtest-2.0.11.ebuild index 69bdc53..6387ebb 100644 --- a/webtest-2.0.11.ebuild +++ b/webtest-2.0.11.ebuild @@ -31,7 +31,9 @@ DEPEND="${RDEPEND} app-arch/unzip dev-python/setuptools[${PYTHON_USEDEP}] doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - test? ( dev-python/nose[${PYTHON_USEDEP}] + test? ( + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] dev-python/pyquery[${PYTHON_USEDEP}] dev-python/pastedeploy[${PYTHON_USEDEP}] dev-python/wsgiproxy2[${PYTHON_USEDEP}]