{"action":"created","comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/36402797","id":36402797,"diff_hunk":"@@ -0,0 +1,99 @@\n+class Fdroidserver < Formula\n+  desc \"Tools for creating and managing Android app repositories for F-Droid\"\n+  homepage \"https://f-droid.org/\"\n+  url \"https://pypi.python.org/packages/source/f/fdroidserver/fdroidserver-0.4.0.tar.gz\"\n+  sha256 \"89742f2e03e082c9d185835dbb4f166dade19a0e257b247a6e0bca3b4fd9b523\"\n+\n+  depends_on \"libmagic\" => :recommended\n+  depends_on \"libyaml\"\n+  depends_on :python if MacOS.version <= :snow_leopard\n+  depends_on \"android-sdk\" => :optional\n+\n+  resource \"apache-libcloud\" do\n+    url \"https://pypi.python.org/packages/source/a/apache-libcloud/apache-libcloud-0.17.0.tar.gz\"\n+    sha256 \"8ac4895c5ed2fa51812237dfd587675e3cbc4b7e57d9b44722ce849eab2131c2\"\n+  end\n+\n+  resource \"mwclient\" do\n+    url \"https://pypi.python.org/packages/source/m/mwclient/mwclient-0.7.2.zip\"\n+    sha256 \"195462115fadbe3cee73b5a0fe3cc28c8bdc0115c590cdc0f8b5083861003d1a\"\n+  end\n+\n+  resource \"paramiko\" do\n+    url \"https://pypi.python.org/packages/source/p/paramiko/paramiko-1.15.2.tar.gz\"\n+    sha256 \"4f56a671a3eecbb76e6143e6e4ca007d503a39aa79aa9e14ade667fa53fd6e55\"\n+  end\n+\n+  resource \"pillow\" do\n+    url \"https://pypi.python.org/packages/source/P/Pillow/Pillow-2.8.1.tar.gz\"\n+    sha256 \"8760c118a0215eba163f7782110e7efcdbb15f8a7321f3f61c5ac0dbbb12c996\"\n+  end\n+\n+  resource \"pyasn1\" do\n+    url \"https://pypi.python.org/packages/source/p/pyasn1/pyasn1-0.1.7.tar.gz\"\n+    sha256 \"e4f81d53c533f6bd9526b047f047f7b101c24ab17339c1a7ad8f98b25c101eab\"\n+  end\n+\n+  resource \"pyasn1-modules\" do\n+    url \"https://pypi.python.org/packages/source/p/pyasn1-modules/pyasn1-modules-0.0.5.tar.gz\"\n+    sha256 \"be65f00ed28e30756f1ef39377cb382480a2368699179d646a84d79fe9349941\"\n+  end\n+\n+  resource \"python-magic\" do\n+    url \"https://pypi.python.org/packages/source/p/python-magic/python-magic-0.4.6.tar.gz\"\n+    sha256 \"903d3d3c676e2b1244892954e2bbbe27871a633385a9bfe81f1a81a7032df2fe\"\n+  end\n+\n+  resource \"PyYAML\" do\n+    url \"https://pypi.python.org/packages/source/P/PyYAML/PyYAML-3.11.tar.gz\"\n+    sha256 \"c36c938a872e5ff494938b33b14aaa156cb439ec67548fcab3535bb78b0846e8\"\n+  end\n+\n+  resource \"requests\" do\n+    url \"https://pypi.python.org/packages/source/r/requests/requests-2.7.0.tar.gz\"\n+    sha256 \"398a3db6d61899d25fd4a06c6ca12051b0ce171d705decd7ed5511517b4bb93d\"\n+  end\n+\n+  def install\n+    ENV[\"PYTHONPATH\"] = Formula[\"libdnet\"].opt_lib/\"python2.7/site-packages\"\n+    ENV.prepend_create_path \"PYTHONPATH\", libexec/\"vendor/lib/python2.7/site-packages\"\n+    resources.each do |r|\n+      r.stage do\n+        system \"python\", *Language::Python.setup_install_args(libexec/\"vendor\")\n+      end\n+    end\n+\n+    ENV.prepend_create_path \"PYTHONPATH\", libexec/\"lib/python2.7/site-packages\"\n+    system \"python\", *Language::Python.setup_install_args(libexec)\n+    bin.install Dir[\"#{libexec}/bin/*\"]\n+    bin.env_script_all_files(libexec/\"bin\", :PYTHONPATH => ENV[\"PYTHONPATH\"])\n+  end\n+\n+  def caveats; <<-EOS.undent\n+    fdroidserver requires the Java JDK and Android SDK to work. Get the JDK from Oracle:\n+       http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html\n+    And the Android SDK from Google (either Android Studio or Standalone SDK):\n+       https://developer.android.com/sdk/installing\n+    For more info:\n+       https://sites.google.com/a/android.com/tools/tech-docs/configuration/osx-jdk\n+    EOS\n+  end\n+\n+  test do\n+    if ENV[\"ANDROID_HOME\"]\n+      fdroidrepo = testpath/\"fdroid\"\n+      fdroidrepo.mkdir()\n+      fdroidrepo.cd do","path":"Library/Formula/fdroidserver.rb","position":86,"original_position":86,"commit_id":"3075156430457eca6bbd492c7871eddd975cf54b","original_commit_id":"3075156430457eca6bbd492c7871eddd975cf54b","user":{"login":"eighthave","id":143465,"avatar_url":"https://avatars.githubusercontent.com/u/143465?v=3","gravatar_id":"","url":"https://api.github.com/users/eighthave","html_url":"https://github.com/eighthave","followers_url":"https://api.github.com/users/eighthave/followers","following_url":"https://api.github.com/users/eighthave/following{/other_user}","gists_url":"https://api.github.com/users/eighthave/gists{/gist_id}","starred_url":"https://api.github.com/users/eighthave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eighthave/subscriptions","organizations_url":"https://api.github.com/users/eighthave/orgs","repos_url":"https://api.github.com/users/eighthave/repos","events_url":"https://api.github.com/users/eighthave/events{/privacy}","received_events_url":"https://api.github.com/users/eighthave/received_events","type":"User","site_admin":false},"body":"the fdroid tools prefer working in a directory called `fdroid`, which in turn matches how the published repo looks on the webserver.","created_at":"2015-08-06T11:07:44Z","updated_at":"2015-08-06T11:07:44Z","html_url":"https://github.com/Homebrew/homebrew/pull/42545#discussion_r36402797","pull_request_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/42545","_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/36402797"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/42545#discussion_r36402797"},"pull_request":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/42545"}}},"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/42545","id":41775306,"html_url":"https://github.com/Homebrew/homebrew/pull/42545","diff_url":"https://github.com/Homebrew/homebrew/pull/42545.diff","patch_url":"https://github.com/Homebrew/homebrew/pull/42545.patch","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/42545","number":42545,"state":"open","locked":false,"title":"fdroidserver 0.4.0 (new formula)","user":{"login":"eighthave","id":143465,"avatar_url":"https://avatars.githubusercontent.com/u/143465?v=3","gravatar_id":"","url":"https://api.github.com/users/eighthave","html_url":"https://github.com/eighthave","followers_url":"https://api.github.com/users/eighthave/followers","following_url":"https://api.github.com/users/eighthave/following{/other_user}","gists_url":"https://api.github.com/users/eighthave/gists{/gist_id}","starred_url":"https://api.github.com/users/eighthave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eighthave/subscriptions","organizations_url":"https://api.github.com/users/eighthave/orgs","repos_url":"https://api.github.com/users/eighthave/repos","events_url":"https://api.github.com/users/eighthave/events{/privacy}","received_events_url":"https://api.github.com/users/eighthave/received_events","type":"User","site_admin":false},"body":"Tools for creating and managing Android app repositories for F-Droid\r\nhttps://f-droid.org\r\n","created_at":"2015-08-06T10:56:52Z","updated_at":"2015-08-06T11:07:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"082ef141427e611cdf47b499fb79c96416a7db26","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/42545/commits","review_comments_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/42545/comments","review_comment_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/42545/comments","statuses_url":"https://api.github.com/repos/Homebrew/homebrew/statuses/3075156430457eca6bbd492c7871eddd975cf54b","head":{"label":"eighthave:master","ref":"master","sha":"3075156430457eca6bbd492c7871eddd975cf54b","user":{"login":"eighthave","id":143465,"avatar_url":"https://avatars.githubusercontent.com/u/143465?v=3","gravatar_id":"","url":"https://api.github.com/users/eighthave","html_url":"https://github.com/eighthave","followers_url":"https://api.github.com/users/eighthave/followers","following_url":"https://api.github.com/users/eighthave/following{/other_user}","gists_url":"https://api.github.com/users/eighthave/gists{/gist_id}","starred_url":"https://api.github.com/users/eighthave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eighthave/subscriptions","organizations_url":"https://api.github.com/users/eighthave/orgs","repos_url":"https://api.github.com/users/eighthave/repos","events_url":"https://api.github.com/users/eighthave/events{/privacy}","received_events_url":"https://api.github.com/users/eighthave/received_events","type":"User","site_admin":false},"repo":{"id":40300028,"name":"homebrew","full_name":"eighthave/homebrew","owner":{"login":"eighthave","id":143465,"avatar_url":"https://avatars.githubusercontent.com/u/143465?v=3","gravatar_id":"","url":"https://api.github.com/users/eighthave","html_url":"https://github.com/eighthave","followers_url":"https://api.github.com/users/eighthave/followers","following_url":"https://api.github.com/users/eighthave/following{/other_user}","gists_url":"https://api.github.com/users/eighthave/gists{/gist_id}","starred_url":"https://api.github.com/users/eighthave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eighthave/subscriptions","organizations_url":"https://api.github.com/users/eighthave/orgs","repos_url":"https://api.github.com/users/eighthave/repos","events_url":"https://api.github.com/users/eighthave/events{/privacy}","received_events_url":"https://api.github.com/users/eighthave/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eighthave/homebrew","description":":beer: The missing package manager for OS X.","fork":true,"url":"https://api.github.com/repos/eighthave/homebrew","forks_url":"https://api.github.com/repos/eighthave/homebrew/forks","keys_url":"https://api.github.com/repos/eighthave/homebrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eighthave/homebrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eighthave/homebrew/teams","hooks_url":"https://api.github.com/repos/eighthave/homebrew/hooks","issue_events_url":"https://api.github.com/repos/eighthave/homebrew/issues/events{/number}","events_url":"https://api.github.com/repos/eighthave/homebrew/events","assignees_url":"https://api.github.com/repos/eighthave/homebrew/assignees{/user}","branches_url":"https://api.github.com/repos/eighthave/homebrew/branches{/branch}","tags_url":"https://api.github.com/repos/eighthave/homebrew/tags","blobs_url":"https://api.github.com/repos/eighthave/homebrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eighthave/homebrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eighthave/homebrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/eighthave/homebrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eighthave/homebrew/statuses/{sha}","languages_url":"https://api.github.com/repos/eighthave/homebrew/languages","stargazers_url":"https://api.github.com/repos/eighthave/homebrew/stargazers","contributors_url":"https://api.github.com/repos/eighthave/homebrew/contributors","subscribers_url":"https://api.github.com/repos/eighthave/homebrew/subscribers","subscription_url":"https://api.github.com/repos/eighthave/homebrew/subscription","commits_url":"https://api.github.com/repos/eighthave/homebrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/eighthave/homebrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/eighthave/homebrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/eighthave/homebrew/issues/comments{/number}","contents_url":"https://api.github.com/repos/eighthave/homebrew/contents/{+path}","compare_url":"https://api.github.com/repos/eighthave/homebrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eighthave/homebrew/merges","archive_url":"https://api.github.com/repos/eighthave/homebrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eighthave/homebrew/downloads","issues_url":"https://api.github.com/repos/eighthave/homebrew/issues{/number}","pulls_url":"https://api.github.com/repos/eighthave/homebrew/pulls{/number}","milestones_url":"https://api.github.com/repos/eighthave/homebrew/milestones{/number}","notifications_url":"https://api.github.com/repos/eighthave/homebrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eighthave/homebrew/labels{/name}","releases_url":"https://api.github.com/repos/eighthave/homebrew/releases{/id}","created_at":"2015-08-06T10:53:29Z","updated_at":"2015-08-06T10:53:46Z","pushed_at":"2015-08-06T10:58:47Z","git_url":"git://github.com/eighthave/homebrew.git","ssh_url":"git@github.com:eighthave/homebrew.git","clone_url":"https://github.com/eighthave/homebrew.git","svn_url":"https://github.com/eighthave/homebrew","homepage":"http://brew.sh","size":1582315,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":true,"has_pages":true,"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":"e64f929dc7b38cdfaf7f7695bd597b0bf7b4db20","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}","created_at":"2009-05-20T19:38:37Z","updated_at":"2015-08-06T09:49:48Z","pushed_at":"2015-08-06T11:06:51Z","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":1569460,"stargazers_count":24502,"watchers_count":24502,"language":"Ruby","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":12297,"mirror_url":null,"open_issues_count":410,"forks":12297,"open_issues":410,"watchers":24502,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/42545"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/42545"},"issue":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/42545"},"comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/42545/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/42545/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/42545/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/homebrew/statuses/3075156430457eca6bbd492c7871eddd975cf54b"}}}}