diff --git a/conda/migrate.py b/conda/migrate.py index 184b7abba7c6db108695ddee2dcbf173ac89a92d..1d58534a28cb34d08b18f126da6afe2126b92299 100755 --- a/conda/migrate.py +++ b/conda/migrate.py @@ -143,7 +143,8 @@ def migrate(template_recipe_path, old_recipe_path, build_variant_path, test_requires = test_requires.strip() if test_requires: test_requires = ' ' + test_requires + '\n' - test_requires = add_variant(test_requires) + if recipe.name() == 'bob.buildout': + test_requires = add_variant(test_requires) if recipe.name() == 'bob.buildout': final_recipe = final_recipe.replace( ' - bob-devel {{ bob_devel }}.*\n', '') diff --git a/templates/meta.yaml b/templates/meta.yaml index c0ae4772e909dcc5304c041ec92e99c042a42a23..6bbd7792b93aaff648bd5980a98943fa245ef090 100644 --- a/templates/meta.yaml +++ b/templates/meta.yaml @@ -40,10 +40,10 @@ test: - conda inspect objects -p $PREFIX {{ name }} # [osx] requires: - bob-devel {{ bob_devel }}.* - - nose {{ nose }}.* - - coverage {{ coverage }}.* - - sphinx {{ sphinx }}.* - - sphinx_rtd_theme {{ sphinx_rtd_theme }}.* + - nose + - coverage + - sphinx + - sphinx_rtd_theme <TEST_DEPS> about: