{"action":"created","issue":{"url":"https://api.github.com/repos/conda/conda-build/issues/1549","repository_url":"https://api.github.com/repos/conda/conda-build","labels_url":"https://api.github.com/repos/conda/conda-build/issues/1549/labels{/name}","comments_url":"https://api.github.com/repos/conda/conda-build/issues/1549/comments","events_url":"https://api.github.com/repos/conda/conda-build/issues/1549/events","html_url":"https://github.com/conda/conda-build/issues/1549","id":190991864,"number":1549,"title":"feature names with '-' is bugged","user":{"login":"dfroger","id":697102,"avatar_url":"https://avatars.githubusercontent.com/u/697102?v=3","gravatar_id":"","url":"https://api.github.com/users/dfroger","html_url":"https://github.com/dfroger","followers_url":"https://api.github.com/users/dfroger/followers","following_url":"https://api.github.com/users/dfroger/following{/other_user}","gists_url":"https://api.github.com/users/dfroger/gists{/gist_id}","starred_url":"https://api.github.com/users/dfroger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfroger/subscriptions","organizations_url":"https://api.github.com/users/dfroger/orgs","repos_url":"https://api.github.com/users/dfroger/repos","events_url":"https://api.github.com/users/dfroger/events{/privacy}","received_events_url":"https://api.github.com/users/dfroger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-22T12:51:51Z","updated_at":"2016-12-11T19:40:02Z","closed_at":null,"body":"If a feature is named for example `python-debug`, building the recipes fails with:\r\n\r\n      File \"/home/vagrant/miniconda3/bin/conda-build\", line 6, in <module>\r\n        sys.exit(conda_build.cli.main_build.main())\r\n      File \"/home/vagrant/miniconda3/lib/python3.5/site-packages/conda_build/cli/main_build.py\", line 247, in main\r\n        execute(sys.argv[1:])\r\n      File \"/home/vagrant/miniconda3/lib/python3.5/site-packages/conda_build/cli/main_build.py\", line 239, in execute\r\n        already_built=None, config=config, noverify=args.no_verify)\r\n      File \"/home/vagrant/miniconda3/lib/python3.5/site-packages/conda_build/api.py\", line 77, in build\r\n        need_source_download=need_source_download, config=config)\r\n      File \"/home/vagrant/miniconda3/lib/python3.5/site-packages/conda_build/build.py\", line 1088, in build_tree\r\n        config=recipe_config)\r\n      File \"/home/vagrant/miniconda3/lib/python3.5/site-packages/conda_build/build.py\", line 817, in build\r\n        tarcheck.check_all(tmp_path)\r\n      File \"/home/vagrant/miniconda3/lib/python3.5/site-packages/conda_build/tarcheck.py\", line 91, in check_all\r\n        x.index_json()\r\n      File \"/home/vagrant/miniconda3/lib/python3.5/site-packages/conda_build/tarcheck.py\", line 62, in index_json\r\n        getattr(self, varname)))\r\n    Exception: name: 'python' != 'python-3.5.2'\r\n\r\nIn [tarcheck.py](https://github.com/conda/conda-build/blob/7016ee81371a26970583cf292f2eb331d51362c1/conda_build/tarcheck.py#L25), if `dist = python-3.5.2-python-debug_3`, we get `name, version, build = 'python-3.5.2', 'python', 'debug_3'`, which is wrong.\r\n\r\nIf `dist = python-3.5.2-python_debug_3`, we get `name, version, build = 'python', '3.5.2', 'python_debug_3`, which is correct."},"comment":{"url":"https://api.github.com/repos/conda/conda-build/issues/comments/266302435","html_url":"https://github.com/conda/conda-build/issues/1549#issuecomment-266302435","issue_url":"https://api.github.com/repos/conda/conda-build/issues/1549","id":266302435,"user":{"login":"dfroger","id":697102,"avatar_url":"https://avatars.githubusercontent.com/u/697102?v=3","gravatar_id":"","url":"https://api.github.com/users/dfroger","html_url":"https://github.com/dfroger","followers_url":"https://api.github.com/users/dfroger/followers","following_url":"https://api.github.com/users/dfroger/following{/other_user}","gists_url":"https://api.github.com/users/dfroger/gists{/gist_id}","starred_url":"https://api.github.com/users/dfroger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dfroger/subscriptions","organizations_url":"https://api.github.com/users/dfroger/orgs","repos_url":"https://api.github.com/users/dfroger/repos","events_url":"https://api.github.com/users/dfroger/events{/privacy}","received_events_url":"https://api.github.com/users/dfroger/received_events","type":"User","site_admin":false},"created_at":"2016-12-11T19:40:02Z","updated_at":"2016-12-11T19:40:02Z","body":"Hi, absolutely, I think raising a error message would be perfect! Thanks @msarahan "}}
{"actor":{"display_login":"dfroger"}}