Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 565502 - =dev-python/elasticsearch-curator-3.3.0 - explicitly specify mock dependency
Summary: =dev-python/elasticsearch-curator-3.3.0 - explicitly specify mock dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tomáš Mózes
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-11 13:02 UTC by Tomáš Mózes
Modified: 2015-11-11 14:20 UTC (History)
1 user (show)

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 Tomáš Mózes 2015-11-11 13:02:30 UTC
For tests, mock 1.0.1 is needed so we need to explicitly specify it:

# diff -u /usr/portage/dev-python/elasticsearch-curator/elasticsearch-curator-3.3.0.ebuild elasticsearch-curator-3.3.0-r1.ebuild 
--- /usr/portage/dev-python/elasticsearch-curator/elasticsearch-curator-3.3.0.ebuild    2015-09-11 10:01:02.000000000 +0200
+++ elasticsearch-curator-3.3.0-r1.ebuild       2015-11-11 14:00:48.348519649 +0100
@@ -31,7 +31,7 @@
        dev-python/sphinx[${PYTHON_USEDEP}]
        test? ( ${RDEPEND}
                || ( virtual/jre:1.8 virtual/jre:1.7 )
-               dev-python/mock[${PYTHON_USEDEP}]
+               =dev-python/mock-1.0.1-r2[${PYTHON_USEDEP}]
                dev-python/nose[${PYTHON_USEDEP}]
                dev-python/coverage[${PYTHON_USEDEP}]
                dev-python/nosexcover[${PYTHON_USEDEP}]
Comment 1 Tomáš Mózes 2015-11-11 13:32:09 UTC
Thanks to Ian for pointing out, this would be better:
~dev-python/mock-1.0.1[${PYTHON_USEDEP}]
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2015-11-11 14:20:58 UTC
commit b6d222f596c32514bf78deb3832b6455207f6d0b
Author: Ian Delaney <idella4@gentoo.org>
Date:   Wed Nov 11 22:13:45 2015 +0800

    dev-python/elasticsearch-curator: set req'd version to dep 'mock'
    
    Required for test phase, fixes gentoo bug
    
    Gentoo bug: #565502