{"action":"created","comment":{"url":"https://api.github.com/repos/gentoo/gentoo/pulls/comments/41087813","id":41087813,"diff_hunk":"@@ -0,0 +1,48 @@\n+# Copyright 1999-2015 Gentoo Foundation\n+# Distributed under the terms of the GNU General Public License v2\n+# $Id$\n+\n+EAPI=5\n+\n+inherit toolchain-funcs\n+\n+DESCRIPTION=\"OpenSSL binding for Lua\"\n+HOMEPAGE=\"https://github.com/zhaozg/lua-openssl\"\n+SRC_URI=\"https://github.com/zhaozg/lua-openssl/archive/${PV}.tar.gz -> lua-openssl-${PV}.tar.gz\"\n+\n+LICENSE=\"MIT\"\n+SLOT=\"0\"\n+KEYWORDS=\"~amd64 ~x86\"\n+IUSE=\"+luajit\"\n+\n+RDEPEND=\"\n+\tluajit? ( dev-lang/luajit:2 )\n+\t!luajit? ( >=dev-lang/lua-5.1 )\"\n+DEPEND=\"${RDEPEND}\n+\tvirtual/pkgconfig\"\n+\n+use luajit && LUAV=luajit || LUAV=lua\n+\n+src_prepare() {\n+\tsed -r \\\n+\t\t-e 's|^CFLAGS(\\s*)=|CFLAGS\\1+=|' \\\n+\t\t-e 's|^LDFLAGS(\\s*)=|LDFLAGS\\1+=|' \\\n+\t\t-e \"s|^CC=.*|CC=$(tc-getCC) \\$(CFLAGS) -Ideps|\" \\\n+\t\t-i Makefile || die \"failed to filter Makefile\"","path":"dev-lua/lua-openssl/lua-openssl-0.4.1.ebuild","position":33,"original_position":31,"commit_id":"554ac812640fddc4270dbb17c53cc78ff453fb17","original_commit_id":"e9137610cc6e7614ec44892f89c03e860b8e0c3a","user":{"login":"jirutka","id":949228,"avatar_url":"https://avatars.githubusercontent.com/u/949228?v=3","gravatar_id":"","url":"https://api.github.com/users/jirutka","html_url":"https://github.com/jirutka","followers_url":"https://api.github.com/users/jirutka/followers","following_url":"https://api.github.com/users/jirutka/following{/other_user}","gists_url":"https://api.github.com/users/jirutka/gists{/gist_id}","starred_url":"https://api.github.com/users/jirutka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jirutka/subscriptions","organizations_url":"https://api.github.com/users/jirutka/orgs","repos_url":"https://api.github.com/users/jirutka/repos","events_url":"https://api.github.com/users/jirutka/events{/privacy}","received_events_url":"https://api.github.com/users/jirutka/received_events","type":"User","site_admin":false},"body":"I prefer sed for smaller changes because it’s much simpler to maintain and more tolerant to changes in the source file.","created_at":"2015-10-03T14:54:55Z","updated_at":"2015-10-03T14:54:55Z","html_url":"https://github.com/gentoo/gentoo/pull/149#discussion_r41087813","pull_request_url":"https://api.github.com/repos/gentoo/gentoo/pulls/149","_links":{"self":{"href":"https://api.github.com/repos/gentoo/gentoo/pulls/comments/41087813"},"html":{"href":"https://github.com/gentoo/gentoo/pull/149#discussion_r41087813"},"pull_request":{"href":"https://api.github.com/repos/gentoo/gentoo/pulls/149"}}},"pull_request":{"url":"https://api.github.com/repos/gentoo/gentoo/pulls/149","id":46706534,"html_url":"https://github.com/gentoo/gentoo/pull/149","diff_url":"https://github.com/gentoo/gentoo/pull/149.diff","patch_url":"https://github.com/gentoo/gentoo/pull/149.patch","issue_url":"https://api.github.com/repos/gentoo/gentoo/issues/149","number":149,"state":"open","locked":false,"title":"dev-lua/lua-openssl: new package","user":{"login":"jirutka","id":949228,"avatar_url":"https://avatars.githubusercontent.com/u/949228?v=3","gravatar_id":"","url":"https://api.github.com/users/jirutka","html_url":"https://github.com/jirutka","followers_url":"https://api.github.com/users/jirutka/followers","following_url":"https://api.github.com/users/jirutka/following{/other_user}","gists_url":"https://api.github.com/users/jirutka/gists{/gist_id}","starred_url":"https://api.github.com/users/jirutka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jirutka/subscriptions","organizations_url":"https://api.github.com/users/jirutka/orgs","repos_url":"https://api.github.com/users/jirutka/repos","events_url":"https://api.github.com/users/jirutka/events{/privacy}","received_events_url":"https://api.github.com/users/jirutka/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-03T14:37:36Z","updated_at":"2015-10-03T14:54:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"928ab8eea9d5450dbe39ebfa147fcfa4a16daac4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gentoo/gentoo/pulls/149/commits","review_comments_url":"https://api.github.com/repos/gentoo/gentoo/pulls/149/comments","review_comment_url":"https://api.github.com/repos/gentoo/gentoo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gentoo/gentoo/issues/149/comments","statuses_url":"https://api.github.com/repos/gentoo/gentoo/statuses/554ac812640fddc4270dbb17c53cc78ff453fb17","head":{"label":"jirutka:lua-openssl","ref":"lua-openssl","sha":"554ac812640fddc4270dbb17c53cc78ff453fb17","user":{"login":"jirutka","id":949228,"avatar_url":"https://avatars.githubusercontent.com/u/949228?v=3","gravatar_id":"","url":"https://api.github.com/users/jirutka","html_url":"https://github.com/jirutka","followers_url":"https://api.github.com/users/jirutka/followers","following_url":"https://api.github.com/users/jirutka/following{/other_user}","gists_url":"https://api.github.com/users/jirutka/gists{/gist_id}","starred_url":"https://api.github.com/users/jirutka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jirutka/subscriptions","organizations_url":"https://api.github.com/users/jirutka/orgs","repos_url":"https://api.github.com/users/jirutka/repos","events_url":"https://api.github.com/users/jirutka/events{/privacy}","received_events_url":"https://api.github.com/users/jirutka/received_events","type":"User","site_admin":false},"repo":{"id":41642890,"name":"gentoo","full_name":"jirutka/gentoo","owner":{"login":"jirutka","id":949228,"avatar_url":"https://avatars.githubusercontent.com/u/949228?v=3","gravatar_id":"","url":"https://api.github.com/users/jirutka","html_url":"https://github.com/jirutka","followers_url":"https://api.github.com/users/jirutka/followers","following_url":"https://api.github.com/users/jirutka/following{/other_user}","gists_url":"https://api.github.com/users/jirutka/gists{/gist_id}","starred_url":"https://api.github.com/users/jirutka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jirutka/subscriptions","organizations_url":"https://api.github.com/users/jirutka/orgs","repos_url":"https://api.github.com/users/jirutka/repos","events_url":"https://api.github.com/users/jirutka/events{/privacy}","received_events_url":"https://api.github.com/users/jirutka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jirutka/gentoo","description":"The official mirror the Gentoo ebuild repository (now in true git!)","fork":true,"url":"https://api.github.com/repos/jirutka/gentoo","forks_url":"https://api.github.com/repos/jirutka/gentoo/forks","keys_url":"https://api.github.com/repos/jirutka/gentoo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jirutka/gentoo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jirutka/gentoo/teams","hooks_url":"https://api.github.com/repos/jirutka/gentoo/hooks","issue_events_url":"https://api.github.com/repos/jirutka/gentoo/issues/events{/number}","events_url":"https://api.github.com/repos/jirutka/gentoo/events","assignees_url":"https://api.github.com/repos/jirutka/gentoo/assignees{/user}","branches_url":"https://api.github.com/repos/jirutka/gentoo/branches{/branch}","tags_url":"https://api.github.com/repos/jirutka/gentoo/tags","blobs_url":"https://api.github.com/repos/jirutka/gentoo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jirutka/gentoo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jirutka/gentoo/git/refs{/sha}","trees_url":"https://api.github.com/repos/jirutka/gentoo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jirutka/gentoo/statuses/{sha}","languages_url":"https://api.github.com/repos/jirutka/gentoo/languages","stargazers_url":"https://api.github.com/repos/jirutka/gentoo/stargazers","contributors_url":"https://api.github.com/repos/jirutka/gentoo/contributors","subscribers_url":"https://api.github.com/repos/jirutka/gentoo/subscribers","subscription_url":"https://api.github.com/repos/jirutka/gentoo/subscription","commits_url":"https://api.github.com/repos/jirutka/gentoo/commits{/sha}","git_commits_url":"https://api.github.com/repos/jirutka/gentoo/git/commits{/sha}","comments_url":"https://api.github.com/repos/jirutka/gentoo/comments{/number}","issue_comment_url":"https://api.github.com/repos/jirutka/gentoo/issues/comments{/number}","contents_url":"https://api.github.com/repos/jirutka/gentoo/contents/{+path}","compare_url":"https://api.github.com/repos/jirutka/gentoo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jirutka/gentoo/merges","archive_url":"https://api.github.com/repos/jirutka/gentoo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jirutka/gentoo/downloads","issues_url":"https://api.github.com/repos/jirutka/gentoo/issues{/number}","pulls_url":"https://api.github.com/repos/jirutka/gentoo/pulls{/number}","milestones_url":"https://api.github.com/repos/jirutka/gentoo/milestones{/number}","notifications_url":"https://api.github.com/repos/jirutka/gentoo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jirutka/gentoo/labels{/name}","releases_url":"https://api.github.com/repos/jirutka/gentoo/releases{/id}","created_at":"2015-08-30T20:58:27Z","updated_at":"2015-08-30T21:00:07Z","pushed_at":"2015-10-03T14:53:18Z","git_url":"git://github.com/jirutka/gentoo.git","ssh_url":"git@github.com:jirutka/gentoo.git","clone_url":"https://github.com/jirutka/gentoo.git","svn_url":"https://github.com/jirutka/gentoo","homepage":null,"size":80386,"stargazers_count":0,"watchers_count":0,"language":"Shell","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":"gentoo:master","ref":"master","sha":"9b567e044a617a15fbe4af76e79d6235f1e4a8e5","user":{"login":"gentoo","id":52242,"avatar_url":"https://avatars.githubusercontent.com/u/52242?v=3","gravatar_id":"","url":"https://api.github.com/users/gentoo","html_url":"https://github.com/gentoo","followers_url":"https://api.github.com/users/gentoo/followers","following_url":"https://api.github.com/users/gentoo/following{/other_user}","gists_url":"https://api.github.com/users/gentoo/gists{/gist_id}","starred_url":"https://api.github.com/users/gentoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gentoo/subscriptions","organizations_url":"https://api.github.com/users/gentoo/orgs","repos_url":"https://api.github.com/users/gentoo/repos","events_url":"https://api.github.com/users/gentoo/events{/privacy}","received_events_url":"https://api.github.com/users/gentoo/received_events","type":"Organization","site_admin":false},"repo":{"id":40499714,"name":"gentoo","full_name":"gentoo/gentoo","owner":{"login":"gentoo","id":52242,"avatar_url":"https://avatars.githubusercontent.com/u/52242?v=3","gravatar_id":"","url":"https://api.github.com/users/gentoo","html_url":"https://github.com/gentoo","followers_url":"https://api.github.com/users/gentoo/followers","following_url":"https://api.github.com/users/gentoo/following{/other_user}","gists_url":"https://api.github.com/users/gentoo/gists{/gist_id}","starred_url":"https://api.github.com/users/gentoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gentoo/subscriptions","organizations_url":"https://api.github.com/users/gentoo/orgs","repos_url":"https://api.github.com/users/gentoo/repos","events_url":"https://api.github.com/users/gentoo/events{/privacy}","received_events_url":"https://api.github.com/users/gentoo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gentoo/gentoo","description":"The official mirror the Gentoo ebuild repository (now in true git!)","fork":false,"url":"https://api.github.com/repos/gentoo/gentoo","forks_url":"https://api.github.com/repos/gentoo/gentoo/forks","keys_url":"https://api.github.com/repos/gentoo/gentoo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gentoo/gentoo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gentoo/gentoo/teams","hooks_url":"https://api.github.com/repos/gentoo/gentoo/hooks","issue_events_url":"https://api.github.com/repos/gentoo/gentoo/issues/events{/number}","events_url":"https://api.github.com/repos/gentoo/gentoo/events","assignees_url":"https://api.github.com/repos/gentoo/gentoo/assignees{/user}","branches_url":"https://api.github.com/repos/gentoo/gentoo/branches{/branch}","tags_url":"https://api.github.com/repos/gentoo/gentoo/tags","blobs_url":"https://api.github.com/repos/gentoo/gentoo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gentoo/gentoo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gentoo/gentoo/git/refs{/sha}","trees_url":"https://api.github.com/repos/gentoo/gentoo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gentoo/gentoo/statuses/{sha}","languages_url":"https://api.github.com/repos/gentoo/gentoo/languages","stargazers_url":"https://api.github.com/repos/gentoo/gentoo/stargazers","contributors_url":"https://api.github.com/repos/gentoo/gentoo/contributors","subscribers_url":"https://api.github.com/repos/gentoo/gentoo/subscribers","subscription_url":"https://api.github.com/repos/gentoo/gentoo/subscription","commits_url":"https://api.github.com/repos/gentoo/gentoo/commits{/sha}","git_commits_url":"https://api.github.com/repos/gentoo/gentoo/git/commits{/sha}","comments_url":"https://api.github.com/repos/gentoo/gentoo/comments{/number}","issue_comment_url":"https://api.github.com/repos/gentoo/gentoo/issues/comments{/number}","contents_url":"https://api.github.com/repos/gentoo/gentoo/contents/{+path}","compare_url":"https://api.github.com/repos/gentoo/gentoo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gentoo/gentoo/merges","archive_url":"https://api.github.com/repos/gentoo/gentoo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gentoo/gentoo/downloads","issues_url":"https://api.github.com/repos/gentoo/gentoo/issues{/number}","pulls_url":"https://api.github.com/repos/gentoo/gentoo/pulls{/number}","milestones_url":"https://api.github.com/repos/gentoo/gentoo/milestones{/number}","notifications_url":"https://api.github.com/repos/gentoo/gentoo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gentoo/gentoo/labels{/name}","releases_url":"https://api.github.com/repos/gentoo/gentoo/releases{/id}","created_at":"2015-08-10T18:47:32Z","updated_at":"2015-10-02T17:20:30Z","pushed_at":"2015-10-03T14:53:18Z","git_url":"git://github.com/gentoo/gentoo.git","ssh_url":"git@github.com:gentoo/gentoo.git","clone_url":"https://github.com/gentoo/gentoo.git","svn_url":"https://github.com/gentoo/gentoo","homepage":null,"size":98445,"stargazers_count":129,"watchers_count":129,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":74,"mirror_url":null,"open_issues_count":17,"forks":74,"open_issues":17,"watchers":129,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gentoo/gentoo/pulls/149"},"html":{"href":"https://github.com/gentoo/gentoo/pull/149"},"issue":{"href":"https://api.github.com/repos/gentoo/gentoo/issues/149"},"comments":{"href":"https://api.github.com/repos/gentoo/gentoo/issues/149/comments"},"review_comments":{"href":"https://api.github.com/repos/gentoo/gentoo/pulls/149/comments"},"review_comment":{"href":"https://api.github.com/repos/gentoo/gentoo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gentoo/gentoo/pulls/149/commits"},"statuses":{"href":"https://api.github.com/repos/gentoo/gentoo/statuses/554ac812640fddc4270dbb17c53cc78ff453fb17"}}}}