{"action":"created","comment":{"url":"https://api.github.com/repos/gentoo/gentoo/pulls/comments/43092080","id":43092080,"diff_hunk":"@@ -0,0 +1,108 @@\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 eutils wxwidgets user\n+\n+MY_P=${PN/m/M}-${PV}\n+S=\"${WORKDIR}\"/${MY_P}\n+\n+DESCRIPTION=\"aMule, the all-platform eMule p2p client\"\n+HOMEPAGE=\"http://www.amule.org/\"\n+SRC_URI=\"mirror://sourceforge/${PN}/${MY_P}.tar.bz2\"\n+\n+LICENSE=\"GPL-2\"\n+SLOT=\"0\"\n+KEYWORDS=\"~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86\"\n+IUSE=\"daemon debug geoip nls remote stats unicode upnp +X\"\n+\n+DEPEND=\">=dev-libs/crypto++-5\n+\t>=sys-libs/zlib-1.2.1\n+\tsys-libs/binutils-libs:0=\n+\tstats? ( >=media-libs/gd-2.0.26:=[jpeg] )\n+\tgeoip? ( dev-libs/geoip )\n+\tupnp? ( >=net-libs/libupnp-1.6.6 )\n+\tremote? ( >=media-libs/libpng-1.2.0:0=\n+\tunicode? ( >=media-libs/gd-2.0.26:= ) )\n+\tX? ( >=x11-libs/wxGTK-2.8.12:2.8[X] )\n+\t!X? ( >=x11-libs/wxGTK-2.8.12:2.8 )\n+\t!net-p2p/imule\"\n+RDEPEND=\"${DEPEND}\"\n+\n+pkg_setup() {\n+\tif use stats && ! use X; then\n+\t\teinfo \"Note: You would need both the X and stats USE flags\"\n+\t\teinfo \"to compile aMule Statistics GUI.\"\n+\t\teinfo \"I will now compile console versions only.\"\n+\tfi\n+}\n+\n+pkg_preinst() {\n+\tif use daemon || use remote; then\n+\t\tenewgroup p2p\n+\t\tenewuser p2p -1 -1 /home/p2p p2p\n+\tfi\n+}\n+\n+src_prepare() {\n+\tepatch \"${FILESDIR}\"/${PN}-2.2.6-fallocate.diff\n+\t# Bug 412371\n+\tepatch \"${FILESDIR}\"/${PN}-2.3.1-gcc47.patch\n+}\n+\n+src_configure() {\n+\tlocal myconf\n+\n+\tWX_GTK_VER=\"2.8\"","path":"net-p2p/amule/amule-2.3.1-r1.ebuild","position":58,"original_position":58,"commit_id":"56c7a2a4d24a7c5b3fba6791446ff38dd4eda1af","original_commit_id":"56c7a2a4d24a7c5b3fba6791446ff38dd4eda1af","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":"Yes, you are correct. I confused it with some other ebuild where WX_GTK_VER was set in global scope and reused in RDEPEND.","created_at":"2015-10-27T08:00:23Z","updated_at":"2015-10-27T08:00:23Z","html_url":"https://github.com/gentoo/gentoo/pull/297#discussion_r43092080","pull_request_url":"https://api.github.com/repos/gentoo/gentoo/pulls/297","_links":{"self":{"href":"https://api.github.com/repos/gentoo/gentoo/pulls/comments/43092080"},"html":{"href":"https://github.com/gentoo/gentoo/pull/297#discussion_r43092080"},"pull_request":{"href":"https://api.github.com/repos/gentoo/gentoo/pulls/297"}}},"pull_request":{"url":"https://api.github.com/repos/gentoo/gentoo/pulls/297","id":48788705,"html_url":"https://github.com/gentoo/gentoo/pull/297","diff_url":"https://github.com/gentoo/gentoo/pull/297.diff","patch_url":"https://github.com/gentoo/gentoo/pull/297.patch","issue_url":"https://api.github.com/repos/gentoo/gentoo/issues/297","number":297,"state":"open","locked":false,"title":"net-p2p/amule: depend on sys-libs/binutils-libs","user":{"login":"puleglot","id":5680903,"avatar_url":"https://avatars.githubusercontent.com/u/5680903?v=3","gravatar_id":"","url":"https://api.github.com/users/puleglot","html_url":"https://github.com/puleglot","followers_url":"https://api.github.com/users/puleglot/followers","following_url":"https://api.github.com/users/puleglot/following{/other_user}","gists_url":"https://api.github.com/users/puleglot/gists{/gist_id}","starred_url":"https://api.github.com/users/puleglot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puleglot/subscriptions","organizations_url":"https://api.github.com/users/puleglot/orgs","repos_url":"https://api.github.com/users/puleglot/repos","events_url":"https://api.github.com/users/puleglot/events{/privacy}","received_events_url":"https://api.github.com/users/puleglot/received_events","type":"User","site_admin":false},"body":"Changes:\r\n- port to EAPI=5\r\n- remove unused flag-o-matic inherit\r\n- add dependency on sys-libs/binutils-libs\r\n\r\n```\r\n--- amule-2.3.1.ebuild\t2015-08-16 00:39:49.148676544 +0300\r\n+++ amule-2.3.1-r1.ebuild\t2015-10-26 22:48:04.418342061 +0300\r\n@@ -2,9 +2,9 @@\r\n # Distributed under the terms of the GNU General Public License v2\r\n # $Id$\r\n \r\n-EAPI=\"2\"\r\n+EAPI=5\r\n \r\n-inherit eutils flag-o-matic wxwidgets user\r\n+inherit eutils wxwidgets user\r\n \r\n MY_P=${PN/m/M}-${PV}\r\n S=\"${WORKDIR}\"/${MY_P}\r\n@@ -15,16 +15,17 @@\r\n \r\n LICENSE=\"GPL-2\"\r\n SLOT=\"0\"\r\n-KEYWORDS=\"alpha amd64 ppc ppc64 ~sparc x86\"\r\n+KEYWORDS=\"~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86\"\r\n IUSE=\"daemon debug geoip nls remote stats unicode upnp +X\"\r\n \r\n DEPEND=\">=dev-libs/crypto++-5\r\n \t>=sys-libs/zlib-1.2.1\r\n-\tstats? ( >=media-libs/gd-2.0.26[jpeg] )\r\n+\tsys-libs/binutils-libs:0=\r\n+\tstats? ( >=media-libs/gd-2.0.26:=[jpeg] )\r\n \tgeoip? ( dev-libs/geoip )\r\n \tupnp? ( >=net-libs/libupnp-1.6.6 )\r\n-\tremote? ( >=media-libs/libpng-1.2.0\r\n-\tunicode? ( >=media-libs/gd-2.0.26 ) )\r\n+\tremote? ( >=media-libs/libpng-1.2.0:0=\r\n+\tunicode? ( >=media-libs/gd-2.0.26:= ) )\r\n \tX? ( >=x11-libs/wxGTK-2.8.12:2.8[X] )\r\n \t!X? ( >=x11-libs/wxGTK-2.8.12:2.8 )\r\n \t!net-p2p/imule\"\r\n@@ -90,11 +91,11 @@\r\n \t\t$(use_enable stats cas) \\\r\n \t\t$(use_enable stats alcc) \\\r\n \t\t$(use_enable upnp) \\\r\n-\t\t${myconf} || die\r\n+\t\t${myconf}\r\n }\r\n \r\n src_install() {\r\n-\temake DESTDIR=\"${D}\" install || die\r\n+\temake DESTDIR=\"${D}\" install\r\n \r\n \tif use daemon; then\r\n \t\tnewconfd \"${FILESDIR}\"/amuled.confd amuled\r\n```","created_at":"2015-10-26T19:54:50Z","updated_at":"2015-10-27T08:00:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4a3544e6b6a209a6a0266e71abe54449376799b0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gentoo/gentoo/pulls/297/commits","review_comments_url":"https://api.github.com/repos/gentoo/gentoo/pulls/297/comments","review_comment_url":"https://api.github.com/repos/gentoo/gentoo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gentoo/gentoo/issues/297/comments","statuses_url":"https://api.github.com/repos/gentoo/gentoo/statuses/56c7a2a4d24a7c5b3fba6791446ff38dd4eda1af","head":{"label":"puleglot:amule-binutils-libs","ref":"amule-binutils-libs","sha":"56c7a2a4d24a7c5b3fba6791446ff38dd4eda1af","user":{"login":"puleglot","id":5680903,"avatar_url":"https://avatars.githubusercontent.com/u/5680903?v=3","gravatar_id":"","url":"https://api.github.com/users/puleglot","html_url":"https://github.com/puleglot","followers_url":"https://api.github.com/users/puleglot/followers","following_url":"https://api.github.com/users/puleglot/following{/other_user}","gists_url":"https://api.github.com/users/puleglot/gists{/gist_id}","starred_url":"https://api.github.com/users/puleglot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puleglot/subscriptions","organizations_url":"https://api.github.com/users/puleglot/orgs","repos_url":"https://api.github.com/users/puleglot/repos","events_url":"https://api.github.com/users/puleglot/events{/privacy}","received_events_url":"https://api.github.com/users/puleglot/received_events","type":"User","site_admin":false},"repo":{"id":40674847,"name":"gentoo","full_name":"puleglot/gentoo","owner":{"login":"puleglot","id":5680903,"avatar_url":"https://avatars.githubusercontent.com/u/5680903?v=3","gravatar_id":"","url":"https://api.github.com/users/puleglot","html_url":"https://github.com/puleglot","followers_url":"https://api.github.com/users/puleglot/followers","following_url":"https://api.github.com/users/puleglot/following{/other_user}","gists_url":"https://api.github.com/users/puleglot/gists{/gist_id}","starred_url":"https://api.github.com/users/puleglot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puleglot/subscriptions","organizations_url":"https://api.github.com/users/puleglot/orgs","repos_url":"https://api.github.com/users/puleglot/repos","events_url":"https://api.github.com/users/puleglot/events{/privacy}","received_events_url":"https://api.github.com/users/puleglot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/puleglot/gentoo","description":"The official mirror the Gentoo ebuild repository (now in true git!)","fork":true,"url":"https://api.github.com/repos/puleglot/gentoo","forks_url":"https://api.github.com/repos/puleglot/gentoo/forks","keys_url":"https://api.github.com/repos/puleglot/gentoo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/puleglot/gentoo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/puleglot/gentoo/teams","hooks_url":"https://api.github.com/repos/puleglot/gentoo/hooks","issue_events_url":"https://api.github.com/repos/puleglot/gentoo/issues/events{/number}","events_url":"https://api.github.com/repos/puleglot/gentoo/events","assignees_url":"https://api.github.com/repos/puleglot/gentoo/assignees{/user}","branches_url":"https://api.github.com/repos/puleglot/gentoo/branches{/branch}","tags_url":"https://api.github.com/repos/puleglot/gentoo/tags","blobs_url":"https://api.github.com/repos/puleglot/gentoo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/puleglot/gentoo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/puleglot/gentoo/git/refs{/sha}","trees_url":"https://api.github.com/repos/puleglot/gentoo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/puleglot/gentoo/statuses/{sha}","languages_url":"https://api.github.com/repos/puleglot/gentoo/languages","stargazers_url":"https://api.github.com/repos/puleglot/gentoo/stargazers","contributors_url":"https://api.github.com/repos/puleglot/gentoo/contributors","subscribers_url":"https://api.github.com/repos/puleglot/gentoo/subscribers","subscription_url":"https://api.github.com/repos/puleglot/gentoo/subscription","commits_url":"https://api.github.com/repos/puleglot/gentoo/commits{/sha}","git_commits_url":"https://api.github.com/repos/puleglot/gentoo/git/commits{/sha}","comments_url":"https://api.github.com/repos/puleglot/gentoo/comments{/number}","issue_comment_url":"https://api.github.com/repos/puleglot/gentoo/issues/comments{/number}","contents_url":"https://api.github.com/repos/puleglot/gentoo/contents/{+path}","compare_url":"https://api.github.com/repos/puleglot/gentoo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/puleglot/gentoo/merges","archive_url":"https://api.github.com/repos/puleglot/gentoo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/puleglot/gentoo/downloads","issues_url":"https://api.github.com/repos/puleglot/gentoo/issues{/number}","pulls_url":"https://api.github.com/repos/puleglot/gentoo/pulls{/number}","milestones_url":"https://api.github.com/repos/puleglot/gentoo/milestones{/number}","notifications_url":"https://api.github.com/repos/puleglot/gentoo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/puleglot/gentoo/labels{/name}","releases_url":"https://api.github.com/repos/puleglot/gentoo/releases{/id}","created_at":"2015-08-13T18:23:20Z","updated_at":"2015-08-13T18:24:56Z","pushed_at":"2015-10-26T19:49:54Z","git_url":"git://github.com/puleglot/gentoo.git","ssh_url":"git@github.com:puleglot/gentoo.git","clone_url":"https://github.com/puleglot/gentoo.git","svn_url":"https://github.com/puleglot/gentoo","homepage":null,"size":90059,"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":"219b5f03797f120a392f97bedfd7163c4ae773aa","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-26T20:01:54Z","pushed_at":"2015-10-27T07:58:11Z","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":114069,"stargazers_count":156,"watchers_count":156,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":99,"mirror_url":null,"open_issues_count":28,"forks":99,"open_issues":28,"watchers":156,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gentoo/gentoo/pulls/297"},"html":{"href":"https://github.com/gentoo/gentoo/pull/297"},"issue":{"href":"https://api.github.com/repos/gentoo/gentoo/issues/297"},"comments":{"href":"https://api.github.com/repos/gentoo/gentoo/issues/297/comments"},"review_comments":{"href":"https://api.github.com/repos/gentoo/gentoo/pulls/297/comments"},"review_comment":{"href":"https://api.github.com/repos/gentoo/gentoo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gentoo/gentoo/pulls/297/commits"},"statuses":{"href":"https://api.github.com/repos/gentoo/gentoo/statuses/56c7a2a4d24a7c5b3fba6791446ff38dd4eda1af"}}}}