Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 437442 - =dev-python/markdown-2.1.1 missing test USE flag
Summary: =dev-python/markdown-2.1.1 missing test USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-06 20:04 UTC by Vicente Olivert Riera (RETIRED)
Modified: 2012-10-06 23:51 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vicente Olivert Riera (RETIRED) gentoo-dev 2012-10-06 20:04:16 UTC
I think test USE flag is necessary to pull dev-python/nose as DEPEND, because it's needed to make the tests:

>>> Source compiled.
 * Testing of dev-python/markdown-2.1.1 with CPython 2.7...
Traceback (most recent call last):
  File "run-tests.py", line 3, in <module>
    import tests
  File "/var/tmp/portage/dev-python/markdown-2.1.1/work/Markdown-2.1.1/build-2.7/tests/__init__.py", line 8, in <module>
    raise ImportError, "The nose testing framework is required to run " \                                                                                                                              
ImportError: The nose testing framework is required to run Python-Markdown tests. Run `easy_install nose` to install the latest version.

I think...

DEPEND="test? ( dev-python/nose )"

...should be ok.

=dev-python/markdown-2.1.0 has the same issue.
Comment 1 Mike Gilbert gentoo-dev 2012-10-06 23:51:00 UTC
+  06 Oct 2012; Mike Gilbert <floppym@gentoo.org> markdown-2.1.0.ebuild,
+  markdown-2.1.1.ebuild:
+  Depend on nose for tests, bug 437442 by Vicente Olivert Riera.