{"action":"created","comment":{"url":"https://api.github.com/repos/conda-forge/staged-recipes/pulls/comments/79613041","id":79613041,"diff_hunk":"@@ -0,0 +1,40 @@\n+:: MSVC library for Python 2.7 is not found automaticaly if it is \r\n+:: installed in the user's AppData folder. Add it to PATH\r\n+setlocal EnableDelayedExpansion\r\n+\r\n+set TARGET=Release\r\n+:: Set target back to Debug for 64-bits builds with VS2008 and VS2010\r\n+if %VS_MAJOR% LSS 14 (\r\n+\tif %ARCH% == 64 (\r\n+\t\tset TARGET=Debug\r\n+\t)\r\n+)\r\n+\r\n+:: When installing Visual C++ compiler tools for Python 2.7, all files are placed in the users AppData folder\r\n+:: conda-bld tries to call vcvarsall at its classic location, which of course fails, so we have to call it from its\r\n+:: new location in the the users appdata folder manually, but only if this folder exists of course.\r\n+if \"%PY_VER%\"==\"2.7\" (\r","path":"recipes/sdl2/bld.bat","position":16,"original_position":16,"commit_id":"ebffae28b5631d24e8d7b0a9e98e9fefe18f58cc","original_commit_id":"ebffae28b5631d24e8d7b0a9e98e9fefe18f58cc","user":{"login":"dschreij","id":689044,"avatar_url":"https://avatars.githubusercontent.com/u/689044?v=3","gravatar_id":"","url":"https://api.github.com/users/dschreij","html_url":"https://github.com/dschreij","followers_url":"https://api.github.com/users/dschreij/followers","following_url":"https://api.github.com/users/dschreij/following{/other_user}","gists_url":"https://api.github.com/users/dschreij/gists{/gist_id}","starred_url":"https://api.github.com/users/dschreij/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dschreij/subscriptions","organizations_url":"https://api.github.com/users/dschreij/orgs","repos_url":"https://api.github.com/users/dschreij/repos","events_url":"https://api.github.com/users/dschreij/events{/privacy}","received_events_url":"https://api.github.com/users/dschreij/received_events","type":"User","site_admin":false},"body":"Yes, this is also necessary for appveyor, as the VC tools are also installed in a user folder. If you look at the appveyor log of this package when built for Python 2.7 (https://ci.appveyor.com/project/conda-forge/staged-recipes/build/1.0.7155/job/h1invbjev7vrekql) you'll see:\r\n\r\n~~~\r\n(root) C:\\Miniconda-x64\\conda-bld\\work\\SDL2-2.0.4>call \"C:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\Common7\\Tools\\..\\..\\VC\\vcvarsall.bat\" amd64 \r\nThe specified configuration type is missing.  The tools for the\r\nconfiguration might not be installed.\r\n~~~\r\n\r\naround line 350 indicating that vcvarsall cannot be found at this location. Later at line 361 you see\r\n\r\n~~~\r\n-- Check for working C compiler: C:/Users/appveyor/AppData/Local/Programs/Common/Microsoft/Visual C++ for Python/9.0/VC/bin/amd64/cl.exe\r\n-- Check for working C compiler: C:/Users/appveyor/AppData/Local/Programs/Common/Microsoft/Visual C++ for Python/9.0/VC/bin/amd64/cl.exe -- works\r\n~~~\r\nwhich means that, also on appveyor, the VC tools are found in the users appdata folder. conda-build does not check this location by default, hence I've added this snippet to my build scripts which guards for this.","created_at":"2016-09-20T13:44:57Z","updated_at":"2016-09-20T13:44:57Z","html_url":"https://github.com/conda-forge/staged-recipes/pull/1627#discussion_r79613041","pull_request_url":"https://api.github.com/repos/conda-forge/staged-recipes/pulls/1627","_links":{"self":{"href":"https://api.github.com/repos/conda-forge/staged-recipes/pulls/comments/79613041"},"html":{"href":"https://github.com/conda-forge/staged-recipes/pull/1627#discussion_r79613041"},"pull_request":{"href":"https://api.github.com/repos/conda-forge/staged-recipes/pulls/1627"}}},"pull_request":{"url":"https://api.github.com/repos/conda-forge/staged-recipes/pulls/1627","id":85878301,"html_url":"https://github.com/conda-forge/staged-recipes/pull/1627","diff_url":"https://github.com/conda-forge/staged-recipes/pull/1627.diff","patch_url":"https://github.com/conda-forge/staged-recipes/pull/1627.patch","issue_url":"https://api.github.com/repos/conda-forge/staged-recipes/issues/1627","number":1627,"state":"open","locked":false,"title":"Recipe for SDL2 and pysdl2","user":{"login":"dschreij","id":689044,"avatar_url":"https://avatars.githubusercontent.com/u/689044?v=3","gravatar_id":"","url":"https://api.github.com/users/dschreij","html_url":"https://github.com/dschreij","followers_url":"https://api.github.com/users/dschreij/followers","following_url":"https://api.github.com/users/dschreij/following{/other_user}","gists_url":"https://api.github.com/users/dschreij/gists{/gist_id}","starred_url":"https://api.github.com/users/dschreij/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dschreij/subscriptions","organizations_url":"https://api.github.com/users/dschreij/orgs","repos_url":"https://api.github.com/users/dschreij/repos","events_url":"https://api.github.com/users/dschreij/events{/privacy}","received_events_url":"https://api.github.com/users/dschreij/received_events","type":"User","site_admin":false},"body":"Conda-build recipes for compiling SDL2, and its wrapper pysdl2, for all platforms.","created_at":"2016-09-19T22:05:31Z","updated_at":"2016-09-20T13:44:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"84d56303027fc391cc4d3ec8943d2187ed8e8274","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/conda-forge/staged-recipes/pulls/1627/commits","review_comments_url":"https://api.github.com/repos/conda-forge/staged-recipes/pulls/1627/comments","review_comment_url":"https://api.github.com/repos/conda-forge/staged-recipes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/conda-forge/staged-recipes/issues/1627/comments","statuses_url":"https://api.github.com/repos/conda-forge/staged-recipes/statuses/ebffae28b5631d24e8d7b0a9e98e9fefe18f58cc","head":{"label":"dschreij:sdl2","ref":"sdl2","sha":"ebffae28b5631d24e8d7b0a9e98e9fefe18f58cc","user":{"login":"dschreij","id":689044,"avatar_url":"https://avatars.githubusercontent.com/u/689044?v=3","gravatar_id":"","url":"https://api.github.com/users/dschreij","html_url":"https://github.com/dschreij","followers_url":"https://api.github.com/users/dschreij/followers","following_url":"https://api.github.com/users/dschreij/following{/other_user}","gists_url":"https://api.github.com/users/dschreij/gists{/gist_id}","starred_url":"https://api.github.com/users/dschreij/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dschreij/subscriptions","organizations_url":"https://api.github.com/users/dschreij/orgs","repos_url":"https://api.github.com/users/dschreij/repos","events_url":"https://api.github.com/users/dschreij/events{/privacy}","received_events_url":"https://api.github.com/users/dschreij/received_events","type":"User","site_admin":false},"repo":{"id":66655567,"name":"staged-recipes","full_name":"dschreij/staged-recipes","owner":{"login":"dschreij","id":689044,"avatar_url":"https://avatars.githubusercontent.com/u/689044?v=3","gravatar_id":"","url":"https://api.github.com/users/dschreij","html_url":"https://github.com/dschreij","followers_url":"https://api.github.com/users/dschreij/followers","following_url":"https://api.github.com/users/dschreij/following{/other_user}","gists_url":"https://api.github.com/users/dschreij/gists{/gist_id}","starred_url":"https://api.github.com/users/dschreij/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dschreij/subscriptions","organizations_url":"https://api.github.com/users/dschreij/orgs","repos_url":"https://api.github.com/users/dschreij/repos","events_url":"https://api.github.com/users/dschreij/events{/privacy}","received_events_url":"https://api.github.com/users/dschreij/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dschreij/staged-recipes","description":"A place to submit conda recipes before they become fully fledged conda-forge feedstocks","fork":true,"url":"https://api.github.com/repos/dschreij/staged-recipes","forks_url":"https://api.github.com/repos/dschreij/staged-recipes/forks","keys_url":"https://api.github.com/repos/dschreij/staged-recipes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dschreij/staged-recipes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dschreij/staged-recipes/teams","hooks_url":"https://api.github.com/repos/dschreij/staged-recipes/hooks","issue_events_url":"https://api.github.com/repos/dschreij/staged-recipes/issues/events{/number}","events_url":"https://api.github.com/repos/dschreij/staged-recipes/events","assignees_url":"https://api.github.com/repos/dschreij/staged-recipes/assignees{/user}","branches_url":"https://api.github.com/repos/dschreij/staged-recipes/branches{/branch}","tags_url":"https://api.github.com/repos/dschreij/staged-recipes/tags","blobs_url":"https://api.github.com/repos/dschreij/staged-recipes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dschreij/staged-recipes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dschreij/staged-recipes/git/refs{/sha}","trees_url":"https://api.github.com/repos/dschreij/staged-recipes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dschreij/staged-recipes/statuses/{sha}","languages_url":"https://api.github.com/repos/dschreij/staged-recipes/languages","stargazers_url":"https://api.github.com/repos/dschreij/staged-recipes/stargazers","contributors_url":"https://api.github.com/repos/dschreij/staged-recipes/contributors","subscribers_url":"https://api.github.com/repos/dschreij/staged-recipes/subscribers","subscription_url":"https://api.github.com/repos/dschreij/staged-recipes/subscription","commits_url":"https://api.github.com/repos/dschreij/staged-recipes/commits{/sha}","git_commits_url":"https://api.github.com/repos/dschreij/staged-recipes/git/commits{/sha}","comments_url":"https://api.github.com/repos/dschreij/staged-recipes/comments{/number}","issue_comment_url":"https://api.github.com/repos/dschreij/staged-recipes/issues/comments{/number}","contents_url":"https://api.github.com/repos/dschreij/staged-recipes/contents/{+path}","compare_url":"https://api.github.com/repos/dschreij/staged-recipes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dschreij/staged-recipes/merges","archive_url":"https://api.github.com/repos/dschreij/staged-recipes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dschreij/staged-recipes/downloads","issues_url":"https://api.github.com/repos/dschreij/staged-recipes/issues{/number}","pulls_url":"https://api.github.com/repos/dschreij/staged-recipes/pulls{/number}","milestones_url":"https://api.github.com/repos/dschreij/staged-recipes/milestones{/number}","notifications_url":"https://api.github.com/repos/dschreij/staged-recipes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dschreij/staged-recipes/labels{/name}","releases_url":"https://api.github.com/repos/dschreij/staged-recipes/releases{/id}","deployments_url":"https://api.github.com/repos/dschreij/staged-recipes/deployments","created_at":"2016-08-26T14:48:49Z","updated_at":"2016-08-26T14:48:51Z","pushed_at":"2016-09-19T23:18:23Z","git_url":"git://github.com/dschreij/staged-recipes.git","ssh_url":"git@github.com:dschreij/staged-recipes.git","clone_url":"https://github.com/dschreij/staged-recipes.git","svn_url":"https://github.com/dschreij/staged-recipes","homepage":"https://conda-forge.github.io/","size":4949,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"conda-forge:master","ref":"master","sha":"df521592367a8cbaff090855cde47b40c154c970","user":{"login":"conda-forge","id":11897326,"avatar_url":"https://avatars.githubusercontent.com/u/11897326?v=3","gravatar_id":"","url":"https://api.github.com/users/conda-forge","html_url":"https://github.com/conda-forge","followers_url":"https://api.github.com/users/conda-forge/followers","following_url":"https://api.github.com/users/conda-forge/following{/other_user}","gists_url":"https://api.github.com/users/conda-forge/gists{/gist_id}","starred_url":"https://api.github.com/users/conda-forge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conda-forge/subscriptions","organizations_url":"https://api.github.com/users/conda-forge/orgs","repos_url":"https://api.github.com/users/conda-forge/repos","events_url":"https://api.github.com/users/conda-forge/events{/privacy}","received_events_url":"https://api.github.com/users/conda-forge/received_events","type":"Organization","site_admin":false},"repo":{"id":41829476,"name":"staged-recipes","full_name":"conda-forge/staged-recipes","owner":{"login":"conda-forge","id":11897326,"avatar_url":"https://avatars.githubusercontent.com/u/11897326?v=3","gravatar_id":"","url":"https://api.github.com/users/conda-forge","html_url":"https://github.com/conda-forge","followers_url":"https://api.github.com/users/conda-forge/followers","following_url":"https://api.github.com/users/conda-forge/following{/other_user}","gists_url":"https://api.github.com/users/conda-forge/gists{/gist_id}","starred_url":"https://api.github.com/users/conda-forge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conda-forge/subscriptions","organizations_url":"https://api.github.com/users/conda-forge/orgs","repos_url":"https://api.github.com/users/conda-forge/repos","events_url":"https://api.github.com/users/conda-forge/events{/privacy}","received_events_url":"https://api.github.com/users/conda-forge/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/conda-forge/staged-recipes","description":"A place to submit conda recipes before they become fully fledged conda-forge feedstocks","fork":false,"url":"https://api.github.com/repos/conda-forge/staged-recipes","forks_url":"https://api.github.com/repos/conda-forge/staged-recipes/forks","keys_url":"https://api.github.com/repos/conda-forge/staged-recipes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/conda-forge/staged-recipes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/conda-forge/staged-recipes/teams","hooks_url":"https://api.github.com/repos/conda-forge/staged-recipes/hooks","issue_events_url":"https://api.github.com/repos/conda-forge/staged-recipes/issues/events{/number}","events_url":"https://api.github.com/repos/conda-forge/staged-recipes/events","assignees_url":"https://api.github.com/repos/conda-forge/staged-recipes/assignees{/user}","branches_url":"https://api.github.com/repos/conda-forge/staged-recipes/branches{/branch}","tags_url":"https://api.github.com/repos/conda-forge/staged-recipes/tags","blobs_url":"https://api.github.com/repos/conda-forge/staged-recipes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/conda-forge/staged-recipes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/conda-forge/staged-recipes/git/refs{/sha}","trees_url":"https://api.github.com/repos/conda-forge/staged-recipes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/conda-forge/staged-recipes/statuses/{sha}","languages_url":"https://api.github.com/repos/conda-forge/staged-recipes/languages","stargazers_url":"https://api.github.com/repos/conda-forge/staged-recipes/stargazers","contributors_url":"https://api.github.com/repos/conda-forge/staged-recipes/contributors","subscribers_url":"https://api.github.com/repos/conda-forge/staged-recipes/subscribers","subscription_url":"https://api.github.com/repos/conda-forge/staged-recipes/subscription","commits_url":"https://api.github.com/repos/conda-forge/staged-recipes/commits{/sha}","git_commits_url":"https://api.github.com/repos/conda-forge/staged-recipes/git/commits{/sha}","comments_url":"https://api.github.com/repos/conda-forge/staged-recipes/comments{/number}","issue_comment_url":"https://api.github.com/repos/conda-forge/staged-recipes/issues/comments{/number}","contents_url":"https://api.github.com/repos/conda-forge/staged-recipes/contents/{+path}","compare_url":"https://api.github.com/repos/conda-forge/staged-recipes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/conda-forge/staged-recipes/merges","archive_url":"https://api.github.com/repos/conda-forge/staged-recipes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/conda-forge/staged-recipes/downloads","issues_url":"https://api.github.com/repos/conda-forge/staged-recipes/issues{/number}","pulls_url":"https://api.github.com/repos/conda-forge/staged-recipes/pulls{/number}","milestones_url":"https://api.github.com/repos/conda-forge/staged-recipes/milestones{/number}","notifications_url":"https://api.github.com/repos/conda-forge/staged-recipes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/conda-forge/staged-recipes/labels{/name}","releases_url":"https://api.github.com/repos/conda-forge/staged-recipes/releases{/id}","deployments_url":"https://api.github.com/repos/conda-forge/staged-recipes/deployments","created_at":"2015-09-02T21:49:20Z","updated_at":"2016-09-16T20:11:49Z","pushed_at":"2016-09-20T13:44:52Z","git_url":"git://github.com/conda-forge/staged-recipes.git","ssh_url":"git@github.com:conda-forge/staged-recipes.git","clone_url":"https://github.com/conda-forge/staged-recipes.git","svn_url":"https://github.com/conda-forge/staged-recipes","homepage":"https://conda-forge.github.io/","size":7376,"stargazers_count":37,"watchers_count":37,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":209,"mirror_url":null,"open_issues_count":220,"forks":209,"open_issues":220,"watchers":37,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/conda-forge/staged-recipes/pulls/1627"},"html":{"href":"https://github.com/conda-forge/staged-recipes/pull/1627"},"issue":{"href":"https://api.github.com/repos/conda-forge/staged-recipes/issues/1627"},"comments":{"href":"https://api.github.com/repos/conda-forge/staged-recipes/issues/1627/comments"},"review_comments":{"href":"https://api.github.com/repos/conda-forge/staged-recipes/pulls/1627/comments"},"review_comment":{"href":"https://api.github.com/repos/conda-forge/staged-recipes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/conda-forge/staged-recipes/pulls/1627/commits"},"statuses":{"href":"https://api.github.com/repos/conda-forge/staged-recipes/statuses/ebffae28b5631d24e8d7b0a9e98e9fefe18f58cc"}}}}
{"actor":{"display_login":"dschreij"}}