{"action":"created","comment":{"url":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/comments/158417695","pull_request_review_id":85227453,"id":158417695,"diff_hunk":"@@ -0,0 +1,37 @@\n+class Bcftools < Formula\n+  desc \"Tools for BCF/VCF files and variant calling from samtools\"\n+  homepage \"http://www.htslib.org/\"\n+  url \"https://github.com/samtools/bcftools/releases/download/1.6/bcftools-1.6.tar.bz2\"\n+  sha256 \"293010736b076cf684d2873928924fcc3d2c231a091084c2ac23a8045c7df982\"\n+\n+  depends_on \"gsl\"\n+  depends_on \"htslib\"\n+  depends_on \"xz\"\n+\n+  def install\n+    # Bug reported upstream and fixed in the next release.\n+    # https://github.com/samtools/bcftools/issues/684\n+    inreplace \"Makefile\",\n+      \"PLUGIN_FLAGS = -bundle -bundle_loader bcftools\",\n+      \"PLUGIN_FLAGS = -bundle -bundle_loader bcftools -Wl,-undefined,dynamic_lookup\"\n+\n+    system \"./configure\",\n+      \"--prefix=#{prefix}\",\n+      \"--with-htslib=#{Formula[\"htslib\"].opt_prefix}\",\n+      \"--enable-libgsl\"\n+\n+    # Fix install: cannot stat ‘bcftools’: No such file or directory\n+    # Reported upstream: https://github.com/samtools/bcftools/issues/727","path":"Formula/bcftools.rb","position":24,"original_position":24,"commit_id":"c0fc323d79c4d435806459fa9315f59d33591d6e","original_commit_id":"c0fc323d79c4d435806459fa9315f59d33591d6e","user":{"login":"ilovezfs","id":5268928,"avatar_url":"https://avatars2.githubusercontent.com/u/5268928?v=4","gravatar_id":"","url":"https://api.github.com/users/ilovezfs","html_url":"https://github.com/ilovezfs","followers_url":"https://api.github.com/users/ilovezfs/followers","following_url":"https://api.github.com/users/ilovezfs/following{/other_user}","gists_url":"https://api.github.com/users/ilovezfs/gists{/gist_id}","starred_url":"https://api.github.com/users/ilovezfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilovezfs/subscriptions","organizations_url":"https://api.github.com/users/ilovezfs/orgs","repos_url":"https://api.github.com/users/ilovezfs/repos","events_url":"https://api.github.com/users/ilovezfs/events{/privacy}","received_events_url":"https://api.github.com/users/ilovezfs/received_events","type":"User","site_admin":false},"body":"ditto","created_at":"2017-12-22T02:07:36Z","updated_at":"2017-12-22T02:07:36Z","html_url":"https://github.com/Homebrew/homebrew-core/pull/22016#discussion_r158417695","pull_request_url":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/22016","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/comments/158417695"},"html":{"href":"https://github.com/Homebrew/homebrew-core/pull/22016#discussion_r158417695"},"pull_request":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/22016"}}},"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/22016","id":159780800,"html_url":"https://github.com/Homebrew/homebrew-core/pull/22016","diff_url":"https://github.com/Homebrew/homebrew-core/pull/22016.diff","patch_url":"https://github.com/Homebrew/homebrew-core/pull/22016.patch","issue_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/22016","number":22016,"state":"open","locked":false,"title":"bcftools: import from homebrew/science","user":{"login":"sjackman","id":291551,"avatar_url":"https://avatars3.githubusercontent.com/u/291551?v=4","gravatar_id":"","url":"https://api.github.com/users/sjackman","html_url":"https://github.com/sjackman","followers_url":"https://api.github.com/users/sjackman/followers","following_url":"https://api.github.com/users/sjackman/following{/other_user}","gists_url":"https://api.github.com/users/sjackman/gists{/gist_id}","starred_url":"https://api.github.com/users/sjackman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjackman/subscriptions","organizations_url":"https://api.github.com/users/sjackman/orgs","repos_url":"https://api.github.com/users/sjackman/repos","events_url":"https://api.github.com/users/sjackman/events{/privacy}","received_events_url":"https://api.github.com/users/sjackman/received_events","type":"User","site_admin":false},"body":"- [x] Have you followed the [guidelines for contributing](https://github.com/Homebrew/homebrew-core/blob/master/CONTRIBUTING.md)?\n- [x] Have you checked that there aren't other open [pull requests](https://github.com/Homebrew/homebrew-core/pulls) for the same formula update/change?\n- [x] Have you built your formula locally with `brew install --build-from-source <formula>`, where `<formula>` is the name of the formula you're submitting?\n- [x] Does your build pass `brew audit --strict <formula>` (after doing `brew install <formula>`)?","created_at":"2017-12-22T00:52:44Z","updated_at":"2017-12-22T02:07:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"47548ca65c9b2e005dc1b09807fac7f33c339e91","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/22016/commits","review_comments_url":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/22016/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/22016/comments","statuses_url":"https://api.github.com/repos/Homebrew/homebrew-core/statuses/c0fc323d79c4d435806459fa9315f59d33591d6e","head":{"label":"sjackman:migrate-bcftools","ref":"migrate-bcftools","sha":"c0fc323d79c4d435806459fa9315f59d33591d6e","user":{"login":"sjackman","id":291551,"avatar_url":"https://avatars3.githubusercontent.com/u/291551?v=4","gravatar_id":"","url":"https://api.github.com/users/sjackman","html_url":"https://github.com/sjackman","followers_url":"https://api.github.com/users/sjackman/followers","following_url":"https://api.github.com/users/sjackman/following{/other_user}","gists_url":"https://api.github.com/users/sjackman/gists{/gist_id}","starred_url":"https://api.github.com/users/sjackman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjackman/subscriptions","organizations_url":"https://api.github.com/users/sjackman/orgs","repos_url":"https://api.github.com/users/sjackman/repos","events_url":"https://api.github.com/users/sjackman/events{/privacy}","received_events_url":"https://api.github.com/users/sjackman/received_events","type":"User","site_admin":false},"repo":{"id":99440998,"name":"homebrew-core-macos","full_name":"sjackman/homebrew-core-macos","owner":{"login":"sjackman","id":291551,"avatar_url":"https://avatars3.githubusercontent.com/u/291551?v=4","gravatar_id":"","url":"https://api.github.com/users/sjackman","html_url":"https://github.com/sjackman","followers_url":"https://api.github.com/users/sjackman/followers","following_url":"https://api.github.com/users/sjackman/following{/other_user}","gists_url":"https://api.github.com/users/sjackman/gists{/gist_id}","starred_url":"https://api.github.com/users/sjackman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjackman/subscriptions","organizations_url":"https://api.github.com/users/sjackman/orgs","repos_url":"https://api.github.com/users/sjackman/repos","events_url":"https://api.github.com/users/sjackman/events{/privacy}","received_events_url":"https://api.github.com/users/sjackman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sjackman/homebrew-core-macos","description":"🍻 Default formulae for the missing package manager for macOS","fork":true,"url":"https://api.github.com/repos/sjackman/homebrew-core-macos","forks_url":"https://api.github.com/repos/sjackman/homebrew-core-macos/forks","keys_url":"https://api.github.com/repos/sjackman/homebrew-core-macos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sjackman/homebrew-core-macos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sjackman/homebrew-core-macos/teams","hooks_url":"https://api.github.com/repos/sjackman/homebrew-core-macos/hooks","issue_events_url":"https://api.github.com/repos/sjackman/homebrew-core-macos/issues/events{/number}","events_url":"https://api.github.com/repos/sjackman/homebrew-core-macos/events","assignees_url":"https://api.github.com/repos/sjackman/homebrew-core-macos/assignees{/user}","branches_url":"https://api.github.com/repos/sjackman/homebrew-core-macos/branches{/branch}","tags_url":"https://api.github.com/repos/sjackman/homebrew-core-macos/tags","blobs_url":"https://api.github.com/repos/sjackman/homebrew-core-macos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sjackman/homebrew-core-macos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sjackman/homebrew-core-macos/git/refs{/sha}","trees_url":"https://api.github.com/repos/sjackman/homebrew-core-macos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sjackman/homebrew-core-macos/statuses/{sha}","languages_url":"https://api.github.com/repos/sjackman/homebrew-core-macos/languages","stargazers_url":"https://api.github.com/repos/sjackman/homebrew-core-macos/stargazers","contributors_url":"https://api.github.com/repos/sjackman/homebrew-core-macos/contributors","subscribers_url":"https://api.github.com/repos/sjackman/homebrew-core-macos/subscribers","subscription_url":"https://api.github.com/repos/sjackman/homebrew-core-macos/subscription","commits_url":"https://api.github.com/repos/sjackman/homebrew-core-macos/commits{/sha}","git_commits_url":"https://api.github.com/repos/sjackman/homebrew-core-macos/git/commits{/sha}","comments_url":"https://api.github.com/repos/sjackman/homebrew-core-macos/comments{/number}","issue_comment_url":"https://api.github.com/repos/sjackman/homebrew-core-macos/issues/comments{/number}","contents_url":"https://api.github.com/repos/sjackman/homebrew-core-macos/contents/{+path}","compare_url":"https://api.github.com/repos/sjackman/homebrew-core-macos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sjackman/homebrew-core-macos/merges","archive_url":"https://api.github.com/repos/sjackman/homebrew-core-macos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sjackman/homebrew-core-macos/downloads","issues_url":"https://api.github.com/repos/sjackman/homebrew-core-macos/issues{/number}","pulls_url":"https://api.github.com/repos/sjackman/homebrew-core-macos/pulls{/number}","milestones_url":"https://api.github.com/repos/sjackman/homebrew-core-macos/milestones{/number}","notifications_url":"https://api.github.com/repos/sjackman/homebrew-core-macos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sjackman/homebrew-core-macos/labels{/name}","releases_url":"https://api.github.com/repos/sjackman/homebrew-core-macos/releases{/id}","deployments_url":"https://api.github.com/repos/sjackman/homebrew-core-macos/deployments","created_at":"2017-08-05T18:31:03Z","updated_at":"2017-08-05T18:31:53Z","pushed_at":"2017-12-22T00:56:53Z","git_url":"git://github.com/sjackman/homebrew-core-macos.git","ssh_url":"git@github.com:sjackman/homebrew-core-macos.git","clone_url":"https://github.com/sjackman/homebrew-core-macos.git","svn_url":"https://github.com/sjackman/homebrew-core-macos","homepage":"https://brew.sh","size":161564,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Homebrew:master","ref":"master","sha":"0b10cf8b25ebf1b57aeb3ef1b726efb32875500c","user":{"login":"Homebrew","id":1503512,"avatar_url":"https://avatars2.githubusercontent.com/u/1503512?v=4","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://avatars2.githubusercontent.com/u/1503512?v=4","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":"🍻 Default formulae for the missing package manager for macOS","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":"2017-12-21T21:20:15Z","pushed_at":"2017-12-22T01:53:29Z","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":"https://brew.sh","size":161685,"stargazers_count":2710,"watchers_count":2710,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3658,"mirror_url":null,"archived":false,"open_issues_count":106,"license":{"key":"bsd-2-clause","name":"BSD 2-clause \"Simplified\" License","spdx_id":"BSD-2-Clause","url":"https://api.github.com/licenses/bsd-2-clause"},"forks":3658,"open_issues":106,"watchers":2710,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/22016"},"html":{"href":"https://github.com/Homebrew/homebrew-core/pull/22016"},"issue":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/issues/22016"},"comments":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/issues/22016/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/pulls/22016/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/22016/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/homebrew-core/statuses/c0fc323d79c4d435806459fa9315f59d33591d6e"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"ilovezfs"}}