{"action":"created","comment":{"url":"https://api.github.com/repos/Homebrew/homebrew-science/pulls/comments/24796397","id":24796397,"diff_hunk":"@@ -0,0 +1,30 @@\n+class Jmol < Formula\n+  homepage \"http://www/jmol.org\"\n+  url \"https://downloads.sourceforge.net/jmol/Jmol/Version%2014.2/Version%2014.2.12/Jmol-14.2.12_2015.02.11-binary.zip\"\n+  sha1 \"f2f6f39b1c89d59ce624b3078ad19a0eef1f7d0f\"\n+\n+  head do\n+    url \"https://jmol.svn.sourceforge.net/svnroot/jmol/trunk/Jmol\"\n+    depends_on :ant\n+  end\n+\n+  depends_on :java\n+\n+  def install\n+    system \"ant\" if build.head?\n+    mv \"jmol\", \"jmol.original\"\n+    (buildpath/bin/\"jmol\").write <<-EOS.undent","path":"jmol.rb","position":16,"original_position":16,"commit_id":"2698edb5b611738c5cf6977b71569c9ede5f0805","original_commit_id":"2698edb5b611738c5cf6977b71569c9ede5f0805","user":{"login":"iml","id":13529,"avatar_url":"https://avatars.githubusercontent.com/u/13529?v=3","gravatar_id":"","url":"https://api.github.com/users/iml","html_url":"https://github.com/iml","followers_url":"https://api.github.com/users/iml/followers","following_url":"https://api.github.com/users/iml/following{/other_user}","gists_url":"https://api.github.com/users/iml/gists{/gist_id}","starred_url":"https://api.github.com/users/iml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iml/subscriptions","organizations_url":"https://api.github.com/users/iml/orgs","repos_url":"https://api.github.com/users/iml/repos","events_url":"https://api.github.com/users/iml/events{/privacy}","received_events_url":"https://api.github.com/users/iml/received_events","type":"User","site_admin":false},"body":"Sorry, I meant `(bin/\"jmol\").write` ... Buildpath is just the temporary working directory. This also means you don't need to mv the old jmol since it's not installed.","created_at":"2015-02-17T06:55:17Z","updated_at":"2015-02-17T06:55:17Z","html_url":"https://github.com/Homebrew/homebrew-science/pull/1828#discussion_r24796397","pull_request_url":"https://api.github.com/repos/Homebrew/homebrew-science/pulls/1828","_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew-science/pulls/comments/24796397"},"html":{"href":"https://github.com/Homebrew/homebrew-science/pull/1828#discussion_r24796397"},"pull_request":{"href":"https://api.github.com/repos/Homebrew/homebrew-science/pulls/1828"}}},"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew-science/pulls/1828","id":29252702,"html_url":"https://github.com/Homebrew/homebrew-science/pull/1828","diff_url":"https://github.com/Homebrew/homebrew-science/pull/1828.diff","patch_url":"https://github.com/Homebrew/homebrew-science/pull/1828.patch","issue_url":"https://api.github.com/repos/Homebrew/homebrew-science/issues/1828","number":1828,"state":"open","locked":false,"title":"jmol 14.2.12","user":{"login":"pjknowles","id":1985232,"avatar_url":"https://avatars.githubusercontent.com/u/1985232?v=3","gravatar_id":"","url":"https://api.github.com/users/pjknowles","html_url":"https://github.com/pjknowles","followers_url":"https://api.github.com/users/pjknowles/followers","following_url":"https://api.github.com/users/pjknowles/following{/other_user}","gists_url":"https://api.github.com/users/pjknowles/gists{/gist_id}","starred_url":"https://api.github.com/users/pjknowles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjknowles/subscriptions","organizations_url":"https://api.github.com/users/pjknowles/orgs","repos_url":"https://api.github.com/users/pjknowles/repos","events_url":"https://api.github.com/users/pjknowles/events{/privacy}","received_events_url":"https://api.github.com/users/pjknowles/received_events","type":"User","site_admin":false},"body":"Jmol is a free, open source molecule viewer for students, educators, and researchers in chemistry and biochemistry. It is cross-platform, running on Windows, Mac OS X, and Linux/Unix systems. This package provides the Jmol application.","created_at":"2015-02-13T10:06:26Z","updated_at":"2015-02-17T06:55:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3ef548d21fe0f2b89f21e564a78c198d31952ad7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/homebrew-science/pulls/1828/commits","review_comments_url":"https://api.github.com/repos/Homebrew/homebrew-science/pulls/1828/comments","review_comment_url":"https://api.github.com/repos/Homebrew/homebrew-science/pulls/comments/{number}","comments_url":"https://api.github.com/repos/Homebrew/homebrew-science/issues/1828/comments","statuses_url":"https://api.github.com/repos/Homebrew/homebrew-science/statuses/2698edb5b611738c5cf6977b71569c9ede5f0805","head":{"label":"pjknowles:jmol","ref":"jmol","sha":"2698edb5b611738c5cf6977b71569c9ede5f0805","user":{"login":"pjknowles","id":1985232,"avatar_url":"https://avatars.githubusercontent.com/u/1985232?v=3","gravatar_id":"","url":"https://api.github.com/users/pjknowles","html_url":"https://github.com/pjknowles","followers_url":"https://api.github.com/users/pjknowles/followers","following_url":"https://api.github.com/users/pjknowles/following{/other_user}","gists_url":"https://api.github.com/users/pjknowles/gists{/gist_id}","starred_url":"https://api.github.com/users/pjknowles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjknowles/subscriptions","organizations_url":"https://api.github.com/users/pjknowles/orgs","repos_url":"https://api.github.com/users/pjknowles/repos","events_url":"https://api.github.com/users/pjknowles/events{/privacy}","received_events_url":"https://api.github.com/users/pjknowles/received_events","type":"User","site_admin":false},"repo":{"id":30749403,"name":"homebrew-science","full_name":"pjknowles/homebrew-science","owner":{"login":"pjknowles","id":1985232,"avatar_url":"https://avatars.githubusercontent.com/u/1985232?v=3","gravatar_id":"","url":"https://api.github.com/users/pjknowles","html_url":"https://github.com/pjknowles","followers_url":"https://api.github.com/users/pjknowles/followers","following_url":"https://api.github.com/users/pjknowles/following{/other_user}","gists_url":"https://api.github.com/users/pjknowles/gists{/gist_id}","starred_url":"https://api.github.com/users/pjknowles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjknowles/subscriptions","organizations_url":"https://api.github.com/users/pjknowles/orgs","repos_url":"https://api.github.com/users/pjknowles/repos","events_url":"https://api.github.com/users/pjknowles/events{/privacy}","received_events_url":"https://api.github.com/users/pjknowles/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pjknowles/homebrew-science","description":"Scientific formulae for the Homebrew package manager","fork":true,"url":"https://api.github.com/repos/pjknowles/homebrew-science","forks_url":"https://api.github.com/repos/pjknowles/homebrew-science/forks","keys_url":"https://api.github.com/repos/pjknowles/homebrew-science/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pjknowles/homebrew-science/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pjknowles/homebrew-science/teams","hooks_url":"https://api.github.com/repos/pjknowles/homebrew-science/hooks","issue_events_url":"https://api.github.com/repos/pjknowles/homebrew-science/issues/events{/number}","events_url":"https://api.github.com/repos/pjknowles/homebrew-science/events","assignees_url":"https://api.github.com/repos/pjknowles/homebrew-science/assignees{/user}","branches_url":"https://api.github.com/repos/pjknowles/homebrew-science/branches{/branch}","tags_url":"https://api.github.com/repos/pjknowles/homebrew-science/tags","blobs_url":"https://api.github.com/repos/pjknowles/homebrew-science/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pjknowles/homebrew-science/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pjknowles/homebrew-science/git/refs{/sha}","trees_url":"https://api.github.com/repos/pjknowles/homebrew-science/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pjknowles/homebrew-science/statuses/{sha}","languages_url":"https://api.github.com/repos/pjknowles/homebrew-science/languages","stargazers_url":"https://api.github.com/repos/pjknowles/homebrew-science/stargazers","contributors_url":"https://api.github.com/repos/pjknowles/homebrew-science/contributors","subscribers_url":"https://api.github.com/repos/pjknowles/homebrew-science/subscribers","subscription_url":"https://api.github.com/repos/pjknowles/homebrew-science/subscription","commits_url":"https://api.github.com/repos/pjknowles/homebrew-science/commits{/sha}","git_commits_url":"https://api.github.com/repos/pjknowles/homebrew-science/git/commits{/sha}","comments_url":"https://api.github.com/repos/pjknowles/homebrew-science/comments{/number}","issue_comment_url":"https://api.github.com/repos/pjknowles/homebrew-science/issues/comments/{number}","contents_url":"https://api.github.com/repos/pjknowles/homebrew-science/contents/{+path}","compare_url":"https://api.github.com/repos/pjknowles/homebrew-science/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pjknowles/homebrew-science/merges","archive_url":"https://api.github.com/repos/pjknowles/homebrew-science/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pjknowles/homebrew-science/downloads","issues_url":"https://api.github.com/repos/pjknowles/homebrew-science/issues{/number}","pulls_url":"https://api.github.com/repos/pjknowles/homebrew-science/pulls{/number}","milestones_url":"https://api.github.com/repos/pjknowles/homebrew-science/milestones{/number}","notifications_url":"https://api.github.com/repos/pjknowles/homebrew-science/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pjknowles/homebrew-science/labels{/name}","releases_url":"https://api.github.com/repos/pjknowles/homebrew-science/releases{/id}","created_at":"2015-02-13T09:25:40Z","updated_at":"2015-02-13T09:25:41Z","pushed_at":"2015-02-16T21:44:15Z","git_url":"git://github.com/pjknowles/homebrew-science.git","ssh_url":"git@github.com:pjknowles/homebrew-science.git","clone_url":"https://github.com/pjknowles/homebrew-science.git","svn_url":"https://github.com/pjknowles/homebrew-science","homepage":"http://brew.sh/homebrew-science/","size":2421,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Homebrew:master","ref":"master","sha":"94f2df013f29a088999e9a7e25cf89f1c67713fc","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":4106792,"name":"homebrew-science","full_name":"Homebrew/homebrew-science","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-science","description":"Scientific formulae for the Homebrew package manager","fork":false,"url":"https://api.github.com/repos/Homebrew/homebrew-science","forks_url":"https://api.github.com/repos/Homebrew/homebrew-science/forks","keys_url":"https://api.github.com/repos/Homebrew/homebrew-science/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Homebrew/homebrew-science/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Homebrew/homebrew-science/teams","hooks_url":"https://api.github.com/repos/Homebrew/homebrew-science/hooks","issue_events_url":"https://api.github.com/repos/Homebrew/homebrew-science/issues/events{/number}","events_url":"https://api.github.com/repos/Homebrew/homebrew-science/events","assignees_url":"https://api.github.com/repos/Homebrew/homebrew-science/assignees{/user}","branches_url":"https://api.github.com/repos/Homebrew/homebrew-science/branches{/branch}","tags_url":"https://api.github.com/repos/Homebrew/homebrew-science/tags","blobs_url":"https://api.github.com/repos/Homebrew/homebrew-science/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Homebrew/homebrew-science/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Homebrew/homebrew-science/git/refs{/sha}","trees_url":"https://api.github.com/repos/Homebrew/homebrew-science/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Homebrew/homebrew-science/statuses/{sha}","languages_url":"https://api.github.com/repos/Homebrew/homebrew-science/languages","stargazers_url":"https://api.github.com/repos/Homebrew/homebrew-science/stargazers","contributors_url":"https://api.github.com/repos/Homebrew/homebrew-science/contributors","subscribers_url":"https://api.github.com/repos/Homebrew/homebrew-science/subscribers","subscription_url":"https://api.github.com/repos/Homebrew/homebrew-science/subscription","commits_url":"https://api.github.com/repos/Homebrew/homebrew-science/commits{/sha}","git_commits_url":"https://api.github.com/repos/Homebrew/homebrew-science/git/commits{/sha}","comments_url":"https://api.github.com/repos/Homebrew/homebrew-science/comments{/number}","issue_comment_url":"https://api.github.com/repos/Homebrew/homebrew-science/issues/comments/{number}","contents_url":"https://api.github.com/repos/Homebrew/homebrew-science/contents/{+path}","compare_url":"https://api.github.com/repos/Homebrew/homebrew-science/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Homebrew/homebrew-science/merges","archive_url":"https://api.github.com/repos/Homebrew/homebrew-science/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Homebrew/homebrew-science/downloads","issues_url":"https://api.github.com/repos/Homebrew/homebrew-science/issues{/number}","pulls_url":"https://api.github.com/repos/Homebrew/homebrew-science/pulls{/number}","milestones_url":"https://api.github.com/repos/Homebrew/homebrew-science/milestones{/number}","notifications_url":"https://api.github.com/repos/Homebrew/homebrew-science/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Homebrew/homebrew-science/labels{/name}","releases_url":"https://api.github.com/repos/Homebrew/homebrew-science/releases{/id}","created_at":"2012-04-22T20:16:34Z","updated_at":"2015-02-16T21:35:21Z","pushed_at":"2015-02-16T21:35:21Z","git_url":"git://github.com/Homebrew/homebrew-science.git","ssh_url":"git@github.com:Homebrew/homebrew-science.git","clone_url":"https://github.com/Homebrew/homebrew-science.git","svn_url":"https://github.com/Homebrew/homebrew-science","homepage":"http://brew.sh/homebrew-science/","size":17086,"stargazers_count":437,"watchers_count":437,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":476,"mirror_url":null,"open_issues_count":58,"forks":476,"open_issues":58,"watchers":437,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew-science/pulls/1828"},"html":{"href":"https://github.com/Homebrew/homebrew-science/pull/1828"},"issue":{"href":"https://api.github.com/repos/Homebrew/homebrew-science/issues/1828"},"comments":{"href":"https://api.github.com/repos/Homebrew/homebrew-science/issues/1828/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/homebrew-science/pulls/1828/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/homebrew-science/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/homebrew-science/pulls/1828/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/homebrew-science/statuses/2698edb5b611738c5cf6977b71569c9ede5f0805"}}}}