{"action":"created","comment":{"url":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/comments/60382036","id":60382036,"diff_hunk":"@@ -0,0 +1,22 @@\n+class Meson < Formula\n+  desc \"Fast and user friendly build system\"\n+  homepage \"http://mesonbuild.com/\"\n+  url \"https://github.com/mesonbuild/meson/releases/download/0.31.0/meson-0.31.0.tar.gz\"\n+  sha256 \"803d7aa99329c5439ef971c1dcaa39de12d9208f82f0ed029e3e8f9c13ef93f0\"\n+\n+  depends_on \"python3\"\n+  depends_on \"ninja\"\n+\n+  def install\n+    version = Language::Python.major_minor_version(\"python3\")\n+    ENV[\"PYTHONPATH\"] = lib+\"python#{version}/site-packages\"\n+\n+    system \"python3\", *Language::Python.setup_install_args(prefix)\n+\n+    bin.env_script_all_files(libexec+\"bin\", :PYTHONPATH => ENV[\"PYTHONPATH\"])\n+  end\n+\n+  test do\n+    system \"#{bin}/meson.py\", \"--version\"","path":"Formula/meson.rb","position":20,"original_position":20,"commit_id":"087998371408ce141717816ecc6c4d7c64b854a4","original_commit_id":"7c6504c582a2ffa8b7e3c6ed46ec9c7f40aea2c1","user":{"login":"aleb","id":505582,"avatar_url":"https://avatars.githubusercontent.com/u/505582?v=3","gravatar_id":"","url":"https://api.github.com/users/aleb","html_url":"https://github.com/aleb","followers_url":"https://api.github.com/users/aleb/followers","following_url":"https://api.github.com/users/aleb/following{/other_user}","gists_url":"https://api.github.com/users/aleb/gists{/gist_id}","starred_url":"https://api.github.com/users/aleb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleb/subscriptions","organizations_url":"https://api.github.com/users/aleb/orgs","repos_url":"https://api.github.com/users/aleb/repos","events_url":"https://api.github.com/users/aleb/events{/privacy}","received_events_url":"https://api.github.com/users/aleb/received_events","type":"User","site_admin":false},"body":"Let's see what upstream replies: https://github.com/mesonbuild/meson/issues/394#issuecomment-212362995\r\n\r\nShould we have this formula? Meson can already be installed with \"pip install meson\".","created_at":"2016-04-20T10:08:16Z","updated_at":"2016-04-20T10:08:16Z","html_url":"https://github.com/Homebrew/homebrew-core/pull/455#discussion_r60382036","pull_request_url":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/455","_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/comments/60382036"},"html":{"href":"https://github.com/Homebrew/homebrew-core/pull/455#discussion_r60382036"},"pull_request":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/455"}}},"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/455","id":67036279,"html_url":"https://github.com/Homebrew/homebrew-core/pull/455","diff_url":"https://github.com/Homebrew/homebrew-core/pull/455.diff","patch_url":"https://github.com/Homebrew/homebrew-core/pull/455.patch","issue_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/455","number":455,"state":"open","locked":false,"title":"meson 0.31.0 (new formula)","user":{"login":"aleb","id":505582,"avatar_url":"https://avatars.githubusercontent.com/u/505582?v=3","gravatar_id":"","url":"https://api.github.com/users/aleb","html_url":"https://github.com/aleb","followers_url":"https://api.github.com/users/aleb/followers","following_url":"https://api.github.com/users/aleb/following{/other_user}","gists_url":"https://api.github.com/users/aleb/gists{/gist_id}","starred_url":"https://api.github.com/users/aleb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleb/subscriptions","organizations_url":"https://api.github.com/users/aleb/orgs","repos_url":"https://api.github.com/users/aleb/repos","events_url":"https://api.github.com/users/aleb/events{/privacy}","received_events_url":"https://api.github.com/users/aleb/received_events","type":"User","site_admin":false},"body":"- [x] Have you followed the guidelines in our [Contributing](https://github.com/Homebrew/homebrew-core/blob/master/.github/CONTRIBUTING.md) document?\r\n- [x] Have you checked to ensure there aren't other open [Pull Requests](https://github.com/Homebrew/homebrew-core/pulls) for the same formula update/change?\r\n- [x] Does your submission pass `brew audit --strict --online <formula>` (where `<formula>` is the name of the formula you're submitting)?\r\n- [x] Have you built your formula locally prior to submission with `brew install <formula>`?\r\n\r\n","created_at":"2016-04-19T15:12:11Z","updated_at":"2016-04-20T10:08:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9f9a517e72b71e4188ada72583da20fbf582b91c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/455/commits","review_comments_url":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/455/comments","review_comment_url":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/455/comments","statuses_url":"https://api.github.com/repos/Homebrew/homebrew-core/statuses/087998371408ce141717816ecc6c4d7c64b854a4","head":{"label":"aleb:meson","ref":"meson","sha":"087998371408ce141717816ecc6c4d7c64b854a4","user":{"login":"aleb","id":505582,"avatar_url":"https://avatars.githubusercontent.com/u/505582?v=3","gravatar_id":"","url":"https://api.github.com/users/aleb","html_url":"https://github.com/aleb","followers_url":"https://api.github.com/users/aleb/followers","following_url":"https://api.github.com/users/aleb/following{/other_user}","gists_url":"https://api.github.com/users/aleb/gists{/gist_id}","starred_url":"https://api.github.com/users/aleb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleb/subscriptions","organizations_url":"https://api.github.com/users/aleb/orgs","repos_url":"https://api.github.com/users/aleb/repos","events_url":"https://api.github.com/users/aleb/events{/privacy}","received_events_url":"https://api.github.com/users/aleb/received_events","type":"User","site_admin":false},"repo":{"id":56587369,"name":"homebrew-core","full_name":"aleb/homebrew-core","owner":{"login":"aleb","id":505582,"avatar_url":"https://avatars.githubusercontent.com/u/505582?v=3","gravatar_id":"","url":"https://api.github.com/users/aleb","html_url":"https://github.com/aleb","followers_url":"https://api.github.com/users/aleb/followers","following_url":"https://api.github.com/users/aleb/following{/other_user}","gists_url":"https://api.github.com/users/aleb/gists{/gist_id}","starred_url":"https://api.github.com/users/aleb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleb/subscriptions","organizations_url":"https://api.github.com/users/aleb/orgs","repos_url":"https://api.github.com/users/aleb/repos","events_url":"https://api.github.com/users/aleb/events{/privacy}","received_events_url":"https://api.github.com/users/aleb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aleb/homebrew-core","description":":beers: Core formulae for the Homebrew package manager","fork":true,"url":"https://api.github.com/repos/aleb/homebrew-core","forks_url":"https://api.github.com/repos/aleb/homebrew-core/forks","keys_url":"https://api.github.com/repos/aleb/homebrew-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aleb/homebrew-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aleb/homebrew-core/teams","hooks_url":"https://api.github.com/repos/aleb/homebrew-core/hooks","issue_events_url":"https://api.github.com/repos/aleb/homebrew-core/issues/events{/number}","events_url":"https://api.github.com/repos/aleb/homebrew-core/events","assignees_url":"https://api.github.com/repos/aleb/homebrew-core/assignees{/user}","branches_url":"https://api.github.com/repos/aleb/homebrew-core/branches{/branch}","tags_url":"https://api.github.com/repos/aleb/homebrew-core/tags","blobs_url":"https://api.github.com/repos/aleb/homebrew-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aleb/homebrew-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aleb/homebrew-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/aleb/homebrew-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aleb/homebrew-core/statuses/{sha}","languages_url":"https://api.github.com/repos/aleb/homebrew-core/languages","stargazers_url":"https://api.github.com/repos/aleb/homebrew-core/stargazers","contributors_url":"https://api.github.com/repos/aleb/homebrew-core/contributors","subscribers_url":"https://api.github.com/repos/aleb/homebrew-core/subscribers","subscription_url":"https://api.github.com/repos/aleb/homebrew-core/subscription","commits_url":"https://api.github.com/repos/aleb/homebrew-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/aleb/homebrew-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/aleb/homebrew-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/aleb/homebrew-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/aleb/homebrew-core/contents/{+path}","compare_url":"https://api.github.com/repos/aleb/homebrew-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aleb/homebrew-core/merges","archive_url":"https://api.github.com/repos/aleb/homebrew-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aleb/homebrew-core/downloads","issues_url":"https://api.github.com/repos/aleb/homebrew-core/issues{/number}","pulls_url":"https://api.github.com/repos/aleb/homebrew-core/pulls{/number}","milestones_url":"https://api.github.com/repos/aleb/homebrew-core/milestones{/number}","notifications_url":"https://api.github.com/repos/aleb/homebrew-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aleb/homebrew-core/labels{/name}","releases_url":"https://api.github.com/repos/aleb/homebrew-core/releases{/id}","deployments_url":"https://api.github.com/repos/aleb/homebrew-core/deployments","created_at":"2016-04-19T10:24:24Z","updated_at":"2016-04-19T10:24:38Z","pushed_at":"2016-04-20T09:40:58Z","git_url":"git://github.com/aleb/homebrew-core.git","ssh_url":"git@github.com:aleb/homebrew-core.git","clone_url":"https://github.com/aleb/homebrew-core.git","svn_url":"https://github.com/aleb/homebrew-core","homepage":"http://brew.sh","size":56974,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"Homebrew:master","ref":"master","sha":"af17b01ca4a0bdf41f7bfb8b3217f16eb56b16c0","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":52855516,"name":"homebrew-core","full_name":"Homebrew/homebrew-core","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-core","description":":beers: Core formulae for the Homebrew package manager","fork":false,"url":"https://api.github.com/repos/Homebrew/homebrew-core","forks_url":"https://api.github.com/repos/Homebrew/homebrew-core/forks","keys_url":"https://api.github.com/repos/Homebrew/homebrew-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Homebrew/homebrew-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Homebrew/homebrew-core/teams","hooks_url":"https://api.github.com/repos/Homebrew/homebrew-core/hooks","issue_events_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/events{/number}","events_url":"https://api.github.com/repos/Homebrew/homebrew-core/events","assignees_url":"https://api.github.com/repos/Homebrew/homebrew-core/assignees{/user}","branches_url":"https://api.github.com/repos/Homebrew/homebrew-core/branches{/branch}","tags_url":"https://api.github.com/repos/Homebrew/homebrew-core/tags","blobs_url":"https://api.github.com/repos/Homebrew/homebrew-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Homebrew/homebrew-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Homebrew/homebrew-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/Homebrew/homebrew-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Homebrew/homebrew-core/statuses/{sha}","languages_url":"https://api.github.com/repos/Homebrew/homebrew-core/languages","stargazers_url":"https://api.github.com/repos/Homebrew/homebrew-core/stargazers","contributors_url":"https://api.github.com/repos/Homebrew/homebrew-core/contributors","subscribers_url":"https://api.github.com/repos/Homebrew/homebrew-core/subscribers","subscription_url":"https://api.github.com/repos/Homebrew/homebrew-core/subscription","commits_url":"https://api.github.com/repos/Homebrew/homebrew-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/Homebrew/homebrew-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/Homebrew/homebrew-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/Homebrew/homebrew-core/contents/{+path}","compare_url":"https://api.github.com/repos/Homebrew/homebrew-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Homebrew/homebrew-core/merges","archive_url":"https://api.github.com/repos/Homebrew/homebrew-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Homebrew/homebrew-core/downloads","issues_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues{/number}","pulls_url":"https://api.github.com/repos/Homebrew/homebrew-core/pulls{/number}","milestones_url":"https://api.github.com/repos/Homebrew/homebrew-core/milestones{/number}","notifications_url":"https://api.github.com/repos/Homebrew/homebrew-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Homebrew/homebrew-core/labels{/name}","releases_url":"https://api.github.com/repos/Homebrew/homebrew-core/releases{/id}","deployments_url":"https://api.github.com/repos/Homebrew/homebrew-core/deployments","created_at":"2016-03-01T06:58:36Z","updated_at":"2016-04-20T06:15:22Z","pushed_at":"2016-04-20T09:44:51Z","git_url":"git://github.com/Homebrew/homebrew-core.git","ssh_url":"git@github.com:Homebrew/homebrew-core.git","clone_url":"https://github.com/Homebrew/homebrew-core.git","svn_url":"https://github.com/Homebrew/homebrew-core","homepage":"http://brew.sh","size":59263,"stargazers_count":196,"watchers_count":196,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":269,"mirror_url":null,"open_issues_count":42,"forks":269,"open_issues":42,"watchers":196,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/455"},"html":{"href":"https://github.com/Homebrew/homebrew-core/pull/455"},"issue":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/issues/455"},"comments":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/issues/455/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/455/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/455/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/statuses/087998371408ce141717816ecc6c4d7c64b854a4"}}}}