{"action":"created","comment":{"url":"https://api.github.com/repos/gentoo/gentoo/pulls/comments/43570714","id":43570714,"diff_hunk":"@@ -0,0 +1,76 @@\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 autotools eutils git-r3 user systemd\n+\n+DESCRIPTION=\"Encrypted P2P, messaging, and audio/video calling platform\"\n+HOMEPAGE=\"https://tox.chat\"\n+SRC_URI=\"\"\n+EGIT_REPO_URI=\"https://github.com/irungentoo/toxcore.git\n+\tgit://github.com/irungentoo/toxcore.git\"\n+\n+LICENSE=\"GPL-3+\"\n+SLOT=\"0\"\n+KEYWORDS=\"\"\n+IUSE=\"+av daemon log log-error log-info log-trace log-warn +no-log ntox static-libs test\"\n+\n+REQUIRED_USE=\"^^ ( no-log log log-trace log-info log-warn log-error )\"\n+\n+RDEPEND=\"\n+\t>=dev-libs/libsodium-0.6.1[urandom,asm]\n+\tdaemon? ( dev-libs/libconfig )\n+\tav? ( media-libs/libvpx\n+\t\tmedia-libs/opus )\n+\tntox? ( sys-libs/ncurses )\"\n+DEPEND=\"${RDEPEND}\n+\tvirtual/pkgconfig\n+\ttest? ( dev-libs/check )\"\n+\n+src_prepare() {\n+\tepatch_user\n+\teautoreconf\n+}\n+\n+src_configure() {\n+\teconf \\\n+\t\t$(use_enable log) \\\n+\t\t$(usex log-trace \"--enable-log --with-log-level=TRACE\" \"\") \\\n+\t\t$(usex log-info \"--enable-log --with-log-level=INFO\" \"\") \\\n+\t\t$(usex log-warn \"--enable-log --with-log-level=WARNING\" \"\") \\\n+\t\t$(usex log-error \"--enable-log --with-log-level=ERROR\" \"\") \\\n+\t\t$(use_enable av) \\\n+\t\t$(use_enable test tests) \\\n+\t\t$(use_enable ntox) \\\n+\t\t$(use_enable daemon) \\\n+\t\t$(use_enable static-libs static)\n+}\n+\n+src_install() {\n+\tdefault\n+\tif use daemon; then\n+\t\tnewinitd \"${FILESDIR}\"/initd tox-dht-daemon\n+\t\tnewconfd \"${FILESDIR}\"/confd tox-dht-daemon\n+\t\tinsinto /etc\n+\t\tdoins \"${FILESDIR}\"/tox-bootstrapd.conf\n+\t\tsystemd_dounit \"${FILESDIR}\"/tox-bootstrapd.service\n+\tfi\n+\n+\tprune_libtool_files\n+}\n+\n+pkg_postinst() {\n+\tif use daemon; then\n+\t\tenewgroup ${PN}\n+\t\tenewuser ${PN} -1 -1 -1 ${PN}\n+\t\tewarn \"Backwards compatability with the bootstrap daemon\"\n+\t\tewarn \"might have been broken a while ago.\"","path":"net-libs/tox/tox-9999.ebuild","position":69,"original_position":69,"commit_id":"7597c1ba3f9024973d6bc6bbf87470281727c48b","original_commit_id":"7597c1ba3f9024973d6bc6bbf87470281727c48b","user":{"login":"mgorny","id":110765,"avatar_url":"https://avatars.githubusercontent.com/u/110765?v=3","gravatar_id":"","url":"https://api.github.com/users/mgorny","html_url":"https://github.com/mgorny","followers_url":"https://api.github.com/users/mgorny/followers","following_url":"https://api.github.com/users/mgorny/following{/other_user}","gists_url":"https://api.github.com/users/mgorny/gists{/gist_id}","starred_url":"https://api.github.com/users/mgorny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgorny/subscriptions","organizations_url":"https://api.github.com/users/mgorny/orgs","repos_url":"https://api.github.com/users/mgorny/repos","events_url":"https://api.github.com/users/mgorny/events{/privacy}","received_events_url":"https://api.github.com/users/mgorny/received_events","type":"User","site_admin":false},"body":"I suggest wrapping ewarn messages at 72 characters (of message, not ebuild). This keeps them reasonably wide while keeping some space for ` * ` indicators on 80-char terminals.","created_at":"2015-10-31T10:52:35Z","updated_at":"2015-10-31T10:52:35Z","html_url":"https://github.com/gentoo/gentoo/pull/301#discussion_r43570714","pull_request_url":"https://api.github.com/repos/gentoo/gentoo/pulls/301","_links":{"self":{"href":"https://api.github.com/repos/gentoo/gentoo/pulls/comments/43570714"},"html":{"href":"https://github.com/gentoo/gentoo/pull/301#discussion_r43570714"},"pull_request":{"href":"https://api.github.com/repos/gentoo/gentoo/pulls/301"}}},"pull_request":{"url":"https://api.github.com/repos/gentoo/gentoo/pulls/301","id":48923780,"html_url":"https://github.com/gentoo/gentoo/pull/301","diff_url":"https://github.com/gentoo/gentoo/pull/301.diff","patch_url":"https://github.com/gentoo/gentoo/pull/301.patch","issue_url":"https://api.github.com/repos/gentoo/gentoo/issues/301","number":301,"state":"open","locked":false,"title":"net-libs/tox: add ebuild","user":{"login":"zetok","id":3148759,"avatar_url":"https://avatars.githubusercontent.com/u/3148759?v=3","gravatar_id":"","url":"https://api.github.com/users/zetok","html_url":"https://github.com/zetok","followers_url":"https://api.github.com/users/zetok/followers","following_url":"https://api.github.com/users/zetok/following{/other_user}","gists_url":"https://api.github.com/users/zetok/gists{/gist_id}","starred_url":"https://api.github.com/users/zetok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zetok/subscriptions","organizations_url":"https://api.github.com/users/zetok/orgs","repos_url":"https://api.github.com/users/zetok/repos","events_url":"https://api.github.com/users/zetok/events{/privacy}","received_events_url":"https://api.github.com/users/zetok/received_events","type":"User","site_admin":false},"body":"Almost in unmodified form from https://github.com/zetok/gentoo-overlay-tox/blob/0955c2a1e373fc07bcb2fefe710bbaa69698ecd9/net-libs/tox/tox-9999.ebuild - I removed maintainer part of `metadata.xml`, since they have resigned from being a maintainer.","created_at":"2015-10-27T19:57:54Z","updated_at":"2015-10-31T10:52:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6d9bc6d8f700f38751739db18a92acc05f0996bc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gentoo/gentoo/pulls/301/commits","review_comments_url":"https://api.github.com/repos/gentoo/gentoo/pulls/301/comments","review_comment_url":"https://api.github.com/repos/gentoo/gentoo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gentoo/gentoo/issues/301/comments","statuses_url":"https://api.github.com/repos/gentoo/gentoo/statuses/7597c1ba3f9024973d6bc6bbf87470281727c48b","head":{"label":"zetok:toxcore","ref":"toxcore","sha":"7597c1ba3f9024973d6bc6bbf87470281727c48b","user":{"login":"zetok","id":3148759,"avatar_url":"https://avatars.githubusercontent.com/u/3148759?v=3","gravatar_id":"","url":"https://api.github.com/users/zetok","html_url":"https://github.com/zetok","followers_url":"https://api.github.com/users/zetok/followers","following_url":"https://api.github.com/users/zetok/following{/other_user}","gists_url":"https://api.github.com/users/zetok/gists{/gist_id}","starred_url":"https://api.github.com/users/zetok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zetok/subscriptions","organizations_url":"https://api.github.com/users/zetok/orgs","repos_url":"https://api.github.com/users/zetok/repos","events_url":"https://api.github.com/users/zetok/events{/privacy}","received_events_url":"https://api.github.com/users/zetok/received_events","type":"User","site_admin":false},"repo":{"id":44857619,"name":"gentoo","full_name":"zetok/gentoo","owner":{"login":"zetok","id":3148759,"avatar_url":"https://avatars.githubusercontent.com/u/3148759?v=3","gravatar_id":"","url":"https://api.github.com/users/zetok","html_url":"https://github.com/zetok","followers_url":"https://api.github.com/users/zetok/followers","following_url":"https://api.github.com/users/zetok/following{/other_user}","gists_url":"https://api.github.com/users/zetok/gists{/gist_id}","starred_url":"https://api.github.com/users/zetok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zetok/subscriptions","organizations_url":"https://api.github.com/users/zetok/orgs","repos_url":"https://api.github.com/users/zetok/repos","events_url":"https://api.github.com/users/zetok/events{/privacy}","received_events_url":"https://api.github.com/users/zetok/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zetok/gentoo","description":"The official mirror the Gentoo ebuild repository (now in true git!)","fork":true,"url":"https://api.github.com/repos/zetok/gentoo","forks_url":"https://api.github.com/repos/zetok/gentoo/forks","keys_url":"https://api.github.com/repos/zetok/gentoo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zetok/gentoo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zetok/gentoo/teams","hooks_url":"https://api.github.com/repos/zetok/gentoo/hooks","issue_events_url":"https://api.github.com/repos/zetok/gentoo/issues/events{/number}","events_url":"https://api.github.com/repos/zetok/gentoo/events","assignees_url":"https://api.github.com/repos/zetok/gentoo/assignees{/user}","branches_url":"https://api.github.com/repos/zetok/gentoo/branches{/branch}","tags_url":"https://api.github.com/repos/zetok/gentoo/tags","blobs_url":"https://api.github.com/repos/zetok/gentoo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zetok/gentoo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zetok/gentoo/git/refs{/sha}","trees_url":"https://api.github.com/repos/zetok/gentoo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zetok/gentoo/statuses/{sha}","languages_url":"https://api.github.com/repos/zetok/gentoo/languages","stargazers_url":"https://api.github.com/repos/zetok/gentoo/stargazers","contributors_url":"https://api.github.com/repos/zetok/gentoo/contributors","subscribers_url":"https://api.github.com/repos/zetok/gentoo/subscribers","subscription_url":"https://api.github.com/repos/zetok/gentoo/subscription","commits_url":"https://api.github.com/repos/zetok/gentoo/commits{/sha}","git_commits_url":"https://api.github.com/repos/zetok/gentoo/git/commits{/sha}","comments_url":"https://api.github.com/repos/zetok/gentoo/comments{/number}","issue_comment_url":"https://api.github.com/repos/zetok/gentoo/issues/comments{/number}","contents_url":"https://api.github.com/repos/zetok/gentoo/contents/{+path}","compare_url":"https://api.github.com/repos/zetok/gentoo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zetok/gentoo/merges","archive_url":"https://api.github.com/repos/zetok/gentoo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zetok/gentoo/downloads","issues_url":"https://api.github.com/repos/zetok/gentoo/issues{/number}","pulls_url":"https://api.github.com/repos/zetok/gentoo/pulls{/number}","milestones_url":"https://api.github.com/repos/zetok/gentoo/milestones{/number}","notifications_url":"https://api.github.com/repos/zetok/gentoo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zetok/gentoo/labels{/name}","releases_url":"https://api.github.com/repos/zetok/gentoo/releases{/id}","created_at":"2015-10-24T08:02:02Z","updated_at":"2015-10-21T16:08:15Z","pushed_at":"2015-10-28T09:23:09Z","git_url":"git://github.com/zetok/gentoo.git","ssh_url":"git@github.com:zetok/gentoo.git","clone_url":"https://github.com/zetok/gentoo.git","svn_url":"https://github.com/zetok/gentoo","homepage":null,"size":89810,"stargazers_count":0,"watchers_count":0,"language":null,"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":"15e559c04cdc0155d31e9b65bd7d0e25f2387595","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-31T10:18:13Z","pushed_at":"2015-10-31T10:25:59Z","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":116697,"stargazers_count":160,"watchers_count":160,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":101,"mirror_url":null,"open_issues_count":27,"forks":101,"open_issues":27,"watchers":160,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gentoo/gentoo/pulls/301"},"html":{"href":"https://github.com/gentoo/gentoo/pull/301"},"issue":{"href":"https://api.github.com/repos/gentoo/gentoo/issues/301"},"comments":{"href":"https://api.github.com/repos/gentoo/gentoo/issues/301/comments"},"review_comments":{"href":"https://api.github.com/repos/gentoo/gentoo/pulls/301/comments"},"review_comment":{"href":"https://api.github.com/repos/gentoo/gentoo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gentoo/gentoo/pulls/301/commits"},"statuses":{"href":"https://api.github.com/repos/gentoo/gentoo/statuses/7597c1ba3f9024973d6bc6bbf87470281727c48b"}}}}