{"action":"created","comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/54355982","id":54355982,"diff_hunk":"@@ -0,0 +1,95 @@\n+class Kpcli < Formula\n+  desc \"command-line interface to KeePass database files\"\n+  homepage \"http://kpcli.sourceforge.net/\"\n+  url \"https://downloads.sourceforge.net/project/kpcli/kpcli-3.0.pl\"\n+  sha256 \"947b7b0485215f72e14bb8936c847abb583253c597f58234650922270259049c\"\n+\n+  bottle :unneeded\n+\n+  depends_on \"readline\"\n+\n+  resource \"File::KeePass\" do\n+    url \"https://cpan.metacpan.org/authors/id/R/RH/RHANDOM/File-KeePass-2.03.tar.gz\"\n+    sha256 \"c30c688027a52ff4f58cd69d6d8ef35472a7cf106d4ce94eb73a796ba7c7ffa7\"\n+  end\n+\n+  resource \"Crypt::Rijndael\" do\n+    url \"https://cpan.metacpan.org/authors/id/L/LE/LEONT/Crypt-Rijndael-1.13.tar.gz\"\n+    sha256 \"cd7209a6dfe0a3dc8caffe1aa2233b0e6effec7572d76a7a93feefffe636214e\"\n+  end\n+\n+  resource \"Sort::Naturally\" do\n+    url \"https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Sort-Naturally-1.03.tar.gz\"\n+    sha256 \"eaab1c5c87575a7826089304ab1f8ffa7f18e6cd8b3937623e998e865ec1e746\"\n+  end\n+\n+  resource \"Term::ShellUI\" do\n+    url \"https://cpan.metacpan.org/authors/id/B/BR/BRONSON/Term-ShellUI-0.92.tar.gz\"\n+    sha256 \"3279c01c76227335eeff09032a40f4b02b285151b3576c04cacd15be05942bdb\"\n+  end\n+\n+  resource \"Term::Readline::Gnu\" do\n+    url \"https://cpan.metacpan.org/authors/id/H/HA/HAYASHI/Term-ReadLine-Gnu-1.28.tar.gz\"\n+    sha256 \"0d140df5155579cfdc833fee30f4a70401244333d93ead94ec64022e2d705517\"\n+  end\n+\n+  resource \"Data::Password\" do\n+    url \"https://cpan.metacpan.org/authors/id/R/RA/RAZINF/Data-Password-1.12.tar.gz\"\n+    sha256 \"830cde81741ff384385412e16faba55745a54a7cc019dd23d7ed4f05d551a961\"\n+  end\n+\n+  resource \"Clipboard\" do\n+    url \"https://cpan.metacpan.org/authors/id/K/KI/KING/Clipboard-0.13.tar.gz\"\n+    sha256 \"eebf1c9cb2484be850abdae017147967cf47f8ccd99293771517674b0046ec8a\"\n+  end\n+\n+  resource \"Mac::Pasteboard\" do\n+    url \"https://cpan.metacpan.org/authors/id/W/WY/WYANT/Mac-Pasteboard-0.008.tar.gz\"\n+    sha256 \"62e5f55c423d033f8f5caff5d1678bb0b327144655aeaeb48a11cf633baa8f15\"\n+  end\n+\n+  resource \"Capture::Tiny\" do\n+    url \"https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/Capture-Tiny-0.34.tar.gz\"\n+    sha256 \"ee69e315817d78e7630e6083cda369ea9a100a2763396f36dcb172adb3f4f1a9\"\n+  end\n+\n+  def install\n+    ENV.prepend_create_path \"PERL5LIB\", libexec/\"lib/perl5\"\n+    ENV.prepend_path \"PERL5LIB\", libexec/\"lib\"\n+\n+    resources = [\n+      \"File::KeePass\",\n+      \"Crypt::Rijndael\",\n+      \"Sort::Naturally\",\n+      \"Term::ShellUI\",\n+      \"Data::Password\",\n+      \"Clipboard\",\n+      \"Mac::Pasteboard\",\n+      \"Capture::Tiny\",\n+    ]\n+    resources.each do |res|\n+      resource(res).stage do\n+        system \"perl\", \"Makefile.PL\", \"INSTALL_BASE=#{libexec}\"\n+        system \"make\", \"install\"\n+      end\n+    end\n+\n+    resource(\"Term::Readline::Gnu\").stage do\n+      args = %W[\n+        INSTALL_BASE=#{libexec}\n+        --includedir=#{HOMEBREW_PREFIX}/opt/readline/include\n+        --libdir=#{HOMEBREW_PREFIX}/opt/readline/lib","path":"Library/Formula/kpcli.rb","position":81,"original_position":81,"commit_id":"b01c1b5d84edf958a7694d844cffa749784a07fd","original_commit_id":"b01c1b5d84edf958a7694d844cffa749784a07fd","user":{"login":"DomT4","id":6998367,"avatar_url":"https://avatars.githubusercontent.com/u/6998367?v=3","gravatar_id":"","url":"https://api.github.com/users/DomT4","html_url":"https://github.com/DomT4","followers_url":"https://api.github.com/users/DomT4/followers","following_url":"https://api.github.com/users/DomT4/following{/other_user}","gists_url":"https://api.github.com/users/DomT4/gists{/gist_id}","starred_url":"https://api.github.com/users/DomT4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DomT4/subscriptions","organizations_url":"https://api.github.com/users/DomT4/orgs","repos_url":"https://api.github.com/users/DomT4/repos","events_url":"https://api.github.com/users/DomT4/events{/privacy}","received_events_url":"https://api.github.com/users/DomT4/received_events","type":"User","site_admin":false},"body":"And:\r\n```\r\n--libdir=#{Formula[\"readline\"].opt_lib}\r\n```","created_at":"2016-02-28T20:46:54Z","updated_at":"2016-02-28T20:46:54Z","html_url":"https://github.com/Homebrew/homebrew/pull/49598#discussion_r54355982","pull_request_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/49598","_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/54355982"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/49598#discussion_r54355982"},"pull_request":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/49598"}}},"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/49598","id":60959985,"html_url":"https://github.com/Homebrew/homebrew/pull/49598","diff_url":"https://github.com/Homebrew/homebrew/pull/49598.diff","patch_url":"https://github.com/Homebrew/homebrew/pull/49598.patch","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/49598","number":49598,"state":"open","locked":false,"title":"kpcli 3.0 (new formula)","user":{"login":"invl","id":773312,"avatar_url":"https://avatars.githubusercontent.com/u/773312?v=3","gravatar_id":"","url":"https://api.github.com/users/invl","html_url":"https://github.com/invl","followers_url":"https://api.github.com/users/invl/followers","following_url":"https://api.github.com/users/invl/following{/other_user}","gists_url":"https://api.github.com/users/invl/gists{/gist_id}","starred_url":"https://api.github.com/users/invl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/invl/subscriptions","organizations_url":"https://api.github.com/users/invl/orgs","repos_url":"https://api.github.com/users/invl/repos","events_url":"https://api.github.com/users/invl/events{/privacy}","received_events_url":"https://api.github.com/users/invl/received_events","type":"User","site_admin":false},"body":"### All Submissions:\r\n\r\n- [x] Have you followed the guidelines in our [Contributing](https://github.com/Homebrew/homebrew/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/pulls) for the same update/change?\r\n\r\n### New Formulae Submissions:\r\n\r\n- [x] Does your submission pass\r\n`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-02-27T18:36:10Z","updated_at":"2016-02-28T20:46:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9b26da8e094674b86e6f561722ad671e4ddc92d3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/49598/commits","review_comments_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/49598/comments","review_comment_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/49598/comments","statuses_url":"https://api.github.com/repos/Homebrew/homebrew/statuses/b01c1b5d84edf958a7694d844cffa749784a07fd","head":{"label":"invl:kpcli","ref":"kpcli","sha":"b01c1b5d84edf958a7694d844cffa749784a07fd","user":{"login":"invl","id":773312,"avatar_url":"https://avatars.githubusercontent.com/u/773312?v=3","gravatar_id":"","url":"https://api.github.com/users/invl","html_url":"https://github.com/invl","followers_url":"https://api.github.com/users/invl/followers","following_url":"https://api.github.com/users/invl/following{/other_user}","gists_url":"https://api.github.com/users/invl/gists{/gist_id}","starred_url":"https://api.github.com/users/invl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/invl/subscriptions","organizations_url":"https://api.github.com/users/invl/orgs","repos_url":"https://api.github.com/users/invl/repos","events_url":"https://api.github.com/users/invl/events{/privacy}","received_events_url":"https://api.github.com/users/invl/received_events","type":"User","site_admin":false},"repo":{"id":52680283,"name":"homebrew","full_name":"invl/homebrew","owner":{"login":"invl","id":773312,"avatar_url":"https://avatars.githubusercontent.com/u/773312?v=3","gravatar_id":"","url":"https://api.github.com/users/invl","html_url":"https://github.com/invl","followers_url":"https://api.github.com/users/invl/followers","following_url":"https://api.github.com/users/invl/following{/other_user}","gists_url":"https://api.github.com/users/invl/gists{/gist_id}","starred_url":"https://api.github.com/users/invl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/invl/subscriptions","organizations_url":"https://api.github.com/users/invl/orgs","repos_url":"https://api.github.com/users/invl/repos","events_url":"https://api.github.com/users/invl/events{/privacy}","received_events_url":"https://api.github.com/users/invl/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/invl/homebrew","description":":beer: The missing package manager for OS X.","fork":true,"url":"https://api.github.com/repos/invl/homebrew","forks_url":"https://api.github.com/repos/invl/homebrew/forks","keys_url":"https://api.github.com/repos/invl/homebrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/invl/homebrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/invl/homebrew/teams","hooks_url":"https://api.github.com/repos/invl/homebrew/hooks","issue_events_url":"https://api.github.com/repos/invl/homebrew/issues/events{/number}","events_url":"https://api.github.com/repos/invl/homebrew/events","assignees_url":"https://api.github.com/repos/invl/homebrew/assignees{/user}","branches_url":"https://api.github.com/repos/invl/homebrew/branches{/branch}","tags_url":"https://api.github.com/repos/invl/homebrew/tags","blobs_url":"https://api.github.com/repos/invl/homebrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/invl/homebrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/invl/homebrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/invl/homebrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/invl/homebrew/statuses/{sha}","languages_url":"https://api.github.com/repos/invl/homebrew/languages","stargazers_url":"https://api.github.com/repos/invl/homebrew/stargazers","contributors_url":"https://api.github.com/repos/invl/homebrew/contributors","subscribers_url":"https://api.github.com/repos/invl/homebrew/subscribers","subscription_url":"https://api.github.com/repos/invl/homebrew/subscription","commits_url":"https://api.github.com/repos/invl/homebrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/invl/homebrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/invl/homebrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/invl/homebrew/issues/comments{/number}","contents_url":"https://api.github.com/repos/invl/homebrew/contents/{+path}","compare_url":"https://api.github.com/repos/invl/homebrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/invl/homebrew/merges","archive_url":"https://api.github.com/repos/invl/homebrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/invl/homebrew/downloads","issues_url":"https://api.github.com/repos/invl/homebrew/issues{/number}","pulls_url":"https://api.github.com/repos/invl/homebrew/pulls{/number}","milestones_url":"https://api.github.com/repos/invl/homebrew/milestones{/number}","notifications_url":"https://api.github.com/repos/invl/homebrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/invl/homebrew/labels{/name}","releases_url":"https://api.github.com/repos/invl/homebrew/releases{/id}","deployments_url":"https://api.github.com/repos/invl/homebrew/deployments","created_at":"2016-02-27T17:50:51Z","updated_at":"2016-02-27T17:51:10Z","pushed_at":"2016-02-28T05:26:45Z","git_url":"git://github.com/invl/homebrew.git","ssh_url":"git@github.com:invl/homebrew.git","clone_url":"https://github.com/invl/homebrew.git","svn_url":"https://github.com/invl/homebrew","homepage":"http://brew.sh","size":72849,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":false,"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":"af61864bdef55ae45e49f8a30eed104046ca0d01","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}","deployments_url":"https://api.github.com/repos/Homebrew/homebrew/deployments","created_at":"2009-05-20T19:38:37Z","updated_at":"2016-02-28T20:21:18Z","pushed_at":"2016-02-28T20:38:02Z","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":1427783,"stargazers_count":29372,"watchers_count":29372,"language":"Ruby","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":14448,"mirror_url":null,"open_issues_count":446,"forks":14448,"open_issues":446,"watchers":29372,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/49598"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/49598"},"issue":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/49598"},"comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/49598/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/49598/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/49598/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/homebrew/statuses/b01c1b5d84edf958a7694d844cffa749784a07fd"}}}}