{"action":"created","comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/37793001","id":37793001,"diff_hunk":"@@ -58,8 +70,16 @@ def install\n     ENV.cxx11\n \n     system \"./autogen.sh\" if build.head?\n-    system \"./configure\", \"--disable-dependency-tracking\", \"--prefix=#{prefix}\"\n+    if build.with? \"opencl\"\n+      system \"./configure\", \"--disable-dependency-tracking\", \"--prefix=#{prefix}\", \"--enable-opencl\"\n+    else\n+      system \"./configure\", \"--disable-dependency-tracking\", \"--prefix=#{prefix}\"\n+    end\n     system \"make\", \"install\"\n+    if build.with? \"training-tools\"\n+      system \"make training\"\n+      system \"make training-install\"","path":"Library/Formula/tesseract.rb","position":null,"original_position":43,"commit_id":"c0891c94bc61f51685e68a33e6c414cbacab7b82","original_commit_id":"c9f48012d917a1b640d9aac0a04babe9ec47ef68","user":{"login":"ryanfb","id":19781,"avatar_url":"https://avatars.githubusercontent.com/u/19781?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanfb","html_url":"https://github.com/ryanfb","followers_url":"https://api.github.com/users/ryanfb/followers","following_url":"https://api.github.com/users/ryanfb/following{/other_user}","gists_url":"https://api.github.com/users/ryanfb/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanfb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanfb/subscriptions","organizations_url":"https://api.github.com/users/ryanfb/orgs","repos_url":"https://api.github.com/users/ryanfb/repos","events_url":"https://api.github.com/users/ryanfb/events{/privacy}","received_events_url":"https://api.github.com/users/ryanfb/received_events","type":"User","site_admin":false},"body":"Done and squashed/pushed.","created_at":"2015-08-24T19:25:29Z","updated_at":"2015-08-24T19:25:29Z","html_url":"https://github.com/Homebrew/homebrew/pull/43223#discussion_r37793001","pull_request_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/43223","_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/37793001"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/43223#discussion_r37793001"},"pull_request":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/43223"}}},"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/43223","id":43190573,"html_url":"https://github.com/Homebrew/homebrew/pull/43223","diff_url":"https://github.com/Homebrew/homebrew/pull/43223.diff","patch_url":"https://github.com/Homebrew/homebrew/pull/43223.patch","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/43223","number":43223,"state":"open","locked":false,"title":"Tesseract: add with-training-tools and with-opencl options","user":{"login":"ryanfb","id":19781,"avatar_url":"https://avatars.githubusercontent.com/u/19781?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanfb","html_url":"https://github.com/ryanfb","followers_url":"https://api.github.com/users/ryanfb/followers","following_url":"https://api.github.com/users/ryanfb/following{/other_user}","gists_url":"https://api.github.com/users/ryanfb/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanfb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanfb/subscriptions","organizations_url":"https://api.github.com/users/ryanfb/orgs","repos_url":"https://api.github.com/users/ryanfb/repos","events_url":"https://api.github.com/users/ryanfb/events{/privacy}","received_events_url":"https://api.github.com/users/ryanfb/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-24T15:56:09Z","updated_at":"2015-08-24T19:25:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a11f8672827c33a6a0bd4af5aee03b674171338d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/43223/commits","review_comments_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/43223/comments","review_comment_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/43223/comments","statuses_url":"https://api.github.com/repos/Homebrew/homebrew/statuses/c0891c94bc61f51685e68a33e6c414cbacab7b82","head":{"label":"ryanfb:tesseract-options","ref":"tesseract-options","sha":"c0891c94bc61f51685e68a33e6c414cbacab7b82","user":{"login":"ryanfb","id":19781,"avatar_url":"https://avatars.githubusercontent.com/u/19781?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanfb","html_url":"https://github.com/ryanfb","followers_url":"https://api.github.com/users/ryanfb/followers","following_url":"https://api.github.com/users/ryanfb/following{/other_user}","gists_url":"https://api.github.com/users/ryanfb/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanfb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanfb/subscriptions","organizations_url":"https://api.github.com/users/ryanfb/orgs","repos_url":"https://api.github.com/users/ryanfb/repos","events_url":"https://api.github.com/users/ryanfb/events{/privacy}","received_events_url":"https://api.github.com/users/ryanfb/received_events","type":"User","site_admin":false},"repo":{"id":3283818,"name":"homebrew","full_name":"ryanfb/homebrew","owner":{"login":"ryanfb","id":19781,"avatar_url":"https://avatars.githubusercontent.com/u/19781?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanfb","html_url":"https://github.com/ryanfb","followers_url":"https://api.github.com/users/ryanfb/followers","following_url":"https://api.github.com/users/ryanfb/following{/other_user}","gists_url":"https://api.github.com/users/ryanfb/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanfb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanfb/subscriptions","organizations_url":"https://api.github.com/users/ryanfb/orgs","repos_url":"https://api.github.com/users/ryanfb/repos","events_url":"https://api.github.com/users/ryanfb/events{/privacy}","received_events_url":"https://api.github.com/users/ryanfb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ryanfb/homebrew","description":"The missing package manager for OS X.","fork":true,"url":"https://api.github.com/repos/ryanfb/homebrew","forks_url":"https://api.github.com/repos/ryanfb/homebrew/forks","keys_url":"https://api.github.com/repos/ryanfb/homebrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ryanfb/homebrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ryanfb/homebrew/teams","hooks_url":"https://api.github.com/repos/ryanfb/homebrew/hooks","issue_events_url":"https://api.github.com/repos/ryanfb/homebrew/issues/events{/number}","events_url":"https://api.github.com/repos/ryanfb/homebrew/events","assignees_url":"https://api.github.com/repos/ryanfb/homebrew/assignees{/user}","branches_url":"https://api.github.com/repos/ryanfb/homebrew/branches{/branch}","tags_url":"https://api.github.com/repos/ryanfb/homebrew/tags","blobs_url":"https://api.github.com/repos/ryanfb/homebrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ryanfb/homebrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ryanfb/homebrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/ryanfb/homebrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ryanfb/homebrew/statuses/{sha}","languages_url":"https://api.github.com/repos/ryanfb/homebrew/languages","stargazers_url":"https://api.github.com/repos/ryanfb/homebrew/stargazers","contributors_url":"https://api.github.com/repos/ryanfb/homebrew/contributors","subscribers_url":"https://api.github.com/repos/ryanfb/homebrew/subscribers","subscription_url":"https://api.github.com/repos/ryanfb/homebrew/subscription","commits_url":"https://api.github.com/repos/ryanfb/homebrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/ryanfb/homebrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/ryanfb/homebrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/ryanfb/homebrew/issues/comments{/number}","contents_url":"https://api.github.com/repos/ryanfb/homebrew/contents/{+path}","compare_url":"https://api.github.com/repos/ryanfb/homebrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ryanfb/homebrew/merges","archive_url":"https://api.github.com/repos/ryanfb/homebrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ryanfb/homebrew/downloads","issues_url":"https://api.github.com/repos/ryanfb/homebrew/issues{/number}","pulls_url":"https://api.github.com/repos/ryanfb/homebrew/pulls{/number}","milestones_url":"https://api.github.com/repos/ryanfb/homebrew/milestones{/number}","notifications_url":"https://api.github.com/repos/ryanfb/homebrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ryanfb/homebrew/labels{/name}","releases_url":"https://api.github.com/repos/ryanfb/homebrew/releases{/id}","created_at":"2012-01-27T16:00:52Z","updated_at":"2015-03-17T13:47:35Z","pushed_at":"2015-08-24T19:25:01Z","git_url":"git://github.com/ryanfb/homebrew.git","ssh_url":"git@github.com:ryanfb/homebrew.git","clone_url":"https://github.com/ryanfb/homebrew.git","svn_url":"https://github.com/ryanfb/homebrew","homepage":"http://mxcl.github.com/homebrew","size":51648,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"Homebrew:master","ref":"master","sha":"11ed50d63d00361ec35bafab3118e931d1e4d0f4","user":{"login":"Homebrew","id":1503512,"avatar_url":"https://avatars.githubusercontent.com/u/1503512?v=3","gravatar_id":"","url":"https://api.github.com/users/Homebrew","html_url":"https://github.com/Homebrew","followers_url":"https://api.github.com/users/Homebrew/followers","following_url":"https://api.github.com/users/Homebrew/following{/other_user}","gists_url":"https://api.github.com/users/Homebrew/gists{/gist_id}","starred_url":"https://api.github.com/users/Homebrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Homebrew/subscriptions","organizations_url":"https://api.github.com/users/Homebrew/orgs","repos_url":"https://api.github.com/users/Homebrew/repos","events_url":"https://api.github.com/users/Homebrew/events{/privacy}","received_events_url":"https://api.github.com/users/Homebrew/received_events","type":"Organization","site_admin":false},"repo":{"id":206084,"name":"homebrew","full_name":"Homebrew/homebrew","owner":{"login":"Homebrew","id":1503512,"avatar_url":"https://avatars.githubusercontent.com/u/1503512?v=3","gravatar_id":"","url":"https://api.github.com/users/Homebrew","html_url":"https://github.com/Homebrew","followers_url":"https://api.github.com/users/Homebrew/followers","following_url":"https://api.github.com/users/Homebrew/following{/other_user}","gists_url":"https://api.github.com/users/Homebrew/gists{/gist_id}","starred_url":"https://api.github.com/users/Homebrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Homebrew/subscriptions","organizations_url":"https://api.github.com/users/Homebrew/orgs","repos_url":"https://api.github.com/users/Homebrew/repos","events_url":"https://api.github.com/users/Homebrew/events{/privacy}","received_events_url":"https://api.github.com/users/Homebrew/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Homebrew/homebrew","description":":beer: The missing package manager for OS X.","fork":false,"url":"https://api.github.com/repos/Homebrew/homebrew","forks_url":"https://api.github.com/repos/Homebrew/homebrew/forks","keys_url":"https://api.github.com/repos/Homebrew/homebrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Homebrew/homebrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Homebrew/homebrew/teams","hooks_url":"https://api.github.com/repos/Homebrew/homebrew/hooks","issue_events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/events{/number}","events_url":"https://api.github.com/repos/Homebrew/homebrew/events","assignees_url":"https://api.github.com/repos/Homebrew/homebrew/assignees{/user}","branches_url":"https://api.github.com/repos/Homebrew/homebrew/branches{/branch}","tags_url":"https://api.github.com/repos/Homebrew/homebrew/tags","blobs_url":"https://api.github.com/repos/Homebrew/homebrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Homebrew/homebrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Homebrew/homebrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/Homebrew/homebrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Homebrew/homebrew/statuses/{sha}","languages_url":"https://api.github.com/repos/Homebrew/homebrew/languages","stargazers_url":"https://api.github.com/repos/Homebrew/homebrew/stargazers","contributors_url":"https://api.github.com/repos/Homebrew/homebrew/contributors","subscribers_url":"https://api.github.com/repos/Homebrew/homebrew/subscribers","subscription_url":"https://api.github.com/repos/Homebrew/homebrew/subscription","commits_url":"https://api.github.com/repos/Homebrew/homebrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/Homebrew/homebrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments{/number}","contents_url":"https://api.github.com/repos/Homebrew/homebrew/contents/{+path}","compare_url":"https://api.github.com/repos/Homebrew/homebrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Homebrew/homebrew/merges","archive_url":"https://api.github.com/repos/Homebrew/homebrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Homebrew/homebrew/downloads","issues_url":"https://api.github.com/repos/Homebrew/homebrew/issues{/number}","pulls_url":"https://api.github.com/repos/Homebrew/homebrew/pulls{/number}","milestones_url":"https://api.github.com/repos/Homebrew/homebrew/milestones{/number}","notifications_url":"https://api.github.com/repos/Homebrew/homebrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Homebrew/homebrew/labels{/name}","releases_url":"https://api.github.com/repos/Homebrew/homebrew/releases{/id}","created_at":"2009-05-20T19:38:37Z","updated_at":"2015-08-24T18:34:58Z","pushed_at":"2015-08-24T19:25:11Z","git_url":"git://github.com/Homebrew/homebrew.git","ssh_url":"git@github.com:Homebrew/homebrew.git","clone_url":"https://github.com/Homebrew/homebrew.git","svn_url":"https://github.com/Homebrew/homebrew","homepage":"http://brew.sh","size":1586892,"stargazers_count":24808,"watchers_count":24808,"language":"Ruby","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":12472,"mirror_url":null,"open_issues_count":403,"forks":12472,"open_issues":403,"watchers":24808,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/43223"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/43223"},"issue":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/43223"},"comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/43223/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/43223/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/43223/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/homebrew/statuses/c0891c94bc61f51685e68a33e6c414cbacab7b82"}}}}