{"action":"created","comment":{"url":"https://api.github.com/repos/alpinelinux/aports/pulls/comments/80392521","id":80392521,"diff_hunk":"@@ -1,40 +1,53 @@\n # Contributor: Stuart Cardall <developer@it-offshore.co.uk>\n # Maintainer: Stuart Cardall <developer@it-offshore.co.uk>\n pkgname=py-lz4\n-pkgver=0.7.0\n+pkgver=0.8.2\n _pkgname=${pkgname#py-}\n pkgrel=0\n pkgdesc=\"LZ4 Bindings for Python\"\n url=\"https://pypi.python.org/pypi/lz4\"\n arch=\"all\"\n license=\"BSD\"\n-depends=\"python\"\n-depends_dev=\"\"\n-makedepends=\"python-dev py-setuptools lz4-dev\"\n-install=\"\"\n-subpackages=\"\"\n-source=\"https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz\n-\t01-system_lz4.patch\n-\t02-tests.patch\n-\t\"\n-\n+makedepends=\"python2-dev python3-dev py-setuptools lz4-dev\"\n+subpackages=\"py3-${pkgname/py-/}:_py3 py2-${pkgname/py-/}:_py2 $pkgname-tests:_tests\"\n+source=\"https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz\"\n builddir=\"$srcdir\"/$_pkgname-$pkgver\n+\n build() {\n \tcd \"$builddir\"\n-\tpython setup.py build || return 1\n+\tpython2 setup.py build || return 1\n+\tpython3 setup.py build || return 1\n }\n \n package() {\n+\tmkdir -p \"$pkgdir\"\n+}\n+\n+_py() {\n+\tlocal python=$1\n+\tpkgdesc=\"$pkgdesc - $python\"\n+\tdepends=$2","path":"community/py-lz4/APKBUILD","position":41,"original_position":41,"commit_id":"0aecffad2da8179e8cc4c86ed56c7f54bf2c988e","original_commit_id":"0aecffad2da8179e8cc4c86ed56c7f54bf2c988e","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":"What is `$2` doing here? You never pass the second argument to this function. There should be `depends=\"$python\"`.","created_at":"2016-09-25T21:31:56Z","updated_at":"2016-09-25T21:31:56Z","html_url":"https://github.com/alpinelinux/aports/pull/325#discussion_r80392521","pull_request_url":"https://api.github.com/repos/alpinelinux/aports/pulls/325","_links":{"self":{"href":"https://api.github.com/repos/alpinelinux/aports/pulls/comments/80392521"},"html":{"href":"https://github.com/alpinelinux/aports/pull/325#discussion_r80392521"},"pull_request":{"href":"https://api.github.com/repos/alpinelinux/aports/pulls/325"}}},"pull_request":{"url":"https://api.github.com/repos/alpinelinux/aports/pulls/325","id":86658909,"html_url":"https://github.com/alpinelinux/aports/pull/325","diff_url":"https://github.com/alpinelinux/aports/pull/325.diff","patch_url":"https://github.com/alpinelinux/aports/pull/325.patch","issue_url":"https://api.github.com/repos/alpinelinux/aports/issues/325","number":325,"state":"open","locked":false,"title":"community/py-lz4: update to 0.8.2 / create python3 & tests subpkgs","user":{"login":"itoffshore","id":1141947,"avatar_url":"https://avatars.githubusercontent.com/u/1141947?v=3","gravatar_id":"","url":"https://api.github.com/users/itoffshore","html_url":"https://github.com/itoffshore","followers_url":"https://api.github.com/users/itoffshore/followers","following_url":"https://api.github.com/users/itoffshore/following{/other_user}","gists_url":"https://api.github.com/users/itoffshore/gists{/gist_id}","starred_url":"https://api.github.com/users/itoffshore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itoffshore/subscriptions","organizations_url":"https://api.github.com/users/itoffshore/orgs","repos_url":"https://api.github.com/users/itoffshore/repos","events_url":"https://api.github.com/users/itoffshore/events{/privacy}","received_events_url":"https://api.github.com/users/itoffshore/received_events","type":"User","site_admin":false},"body":"community/py-lz4: update to 0.8.2 / create python3 & tests subpkgs","created_at":"2016-09-25T18:56:24Z","updated_at":"2016-09-25T21:31:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"27417d7eb7a5829584302f23f60cfb0851054f53","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/alpinelinux/aports/pulls/325/commits","review_comments_url":"https://api.github.com/repos/alpinelinux/aports/pulls/325/comments","review_comment_url":"https://api.github.com/repos/alpinelinux/aports/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alpinelinux/aports/issues/325/comments","statuses_url":"https://api.github.com/repos/alpinelinux/aports/statuses/0aecffad2da8179e8cc4c86ed56c7f54bf2c988e","head":{"label":"itoffshore:py-lz4","ref":"py-lz4","sha":"0aecffad2da8179e8cc4c86ed56c7f54bf2c988e","user":{"login":"itoffshore","id":1141947,"avatar_url":"https://avatars.githubusercontent.com/u/1141947?v=3","gravatar_id":"","url":"https://api.github.com/users/itoffshore","html_url":"https://github.com/itoffshore","followers_url":"https://api.github.com/users/itoffshore/followers","following_url":"https://api.github.com/users/itoffshore/following{/other_user}","gists_url":"https://api.github.com/users/itoffshore/gists{/gist_id}","starred_url":"https://api.github.com/users/itoffshore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itoffshore/subscriptions","organizations_url":"https://api.github.com/users/itoffshore/orgs","repos_url":"https://api.github.com/users/itoffshore/repos","events_url":"https://api.github.com/users/itoffshore/events{/privacy}","received_events_url":"https://api.github.com/users/itoffshore/received_events","type":"User","site_admin":false},"repo":{"id":67296739,"name":"aports","full_name":"itoffshore/aports","owner":{"login":"itoffshore","id":1141947,"avatar_url":"https://avatars.githubusercontent.com/u/1141947?v=3","gravatar_id":"","url":"https://api.github.com/users/itoffshore","html_url":"https://github.com/itoffshore","followers_url":"https://api.github.com/users/itoffshore/followers","following_url":"https://api.github.com/users/itoffshore/following{/other_user}","gists_url":"https://api.github.com/users/itoffshore/gists{/gist_id}","starred_url":"https://api.github.com/users/itoffshore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itoffshore/subscriptions","organizations_url":"https://api.github.com/users/itoffshore/orgs","repos_url":"https://api.github.com/users/itoffshore/repos","events_url":"https://api.github.com/users/itoffshore/events{/privacy}","received_events_url":"https://api.github.com/users/itoffshore/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/itoffshore/aports","description":"Readonly mirror of aports (http://git.alpinelinux.org/cgit/aports)","fork":true,"url":"https://api.github.com/repos/itoffshore/aports","forks_url":"https://api.github.com/repos/itoffshore/aports/forks","keys_url":"https://api.github.com/repos/itoffshore/aports/keys{/key_id}","collaborators_url":"https://api.github.com/repos/itoffshore/aports/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/itoffshore/aports/teams","hooks_url":"https://api.github.com/repos/itoffshore/aports/hooks","issue_events_url":"https://api.github.com/repos/itoffshore/aports/issues/events{/number}","events_url":"https://api.github.com/repos/itoffshore/aports/events","assignees_url":"https://api.github.com/repos/itoffshore/aports/assignees{/user}","branches_url":"https://api.github.com/repos/itoffshore/aports/branches{/branch}","tags_url":"https://api.github.com/repos/itoffshore/aports/tags","blobs_url":"https://api.github.com/repos/itoffshore/aports/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/itoffshore/aports/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/itoffshore/aports/git/refs{/sha}","trees_url":"https://api.github.com/repos/itoffshore/aports/git/trees{/sha}","statuses_url":"https://api.github.com/repos/itoffshore/aports/statuses/{sha}","languages_url":"https://api.github.com/repos/itoffshore/aports/languages","stargazers_url":"https://api.github.com/repos/itoffshore/aports/stargazers","contributors_url":"https://api.github.com/repos/itoffshore/aports/contributors","subscribers_url":"https://api.github.com/repos/itoffshore/aports/subscribers","subscription_url":"https://api.github.com/repos/itoffshore/aports/subscription","commits_url":"https://api.github.com/repos/itoffshore/aports/commits{/sha}","git_commits_url":"https://api.github.com/repos/itoffshore/aports/git/commits{/sha}","comments_url":"https://api.github.com/repos/itoffshore/aports/comments{/number}","issue_comment_url":"https://api.github.com/repos/itoffshore/aports/issues/comments{/number}","contents_url":"https://api.github.com/repos/itoffshore/aports/contents/{+path}","compare_url":"https://api.github.com/repos/itoffshore/aports/compare/{base}...{head}","merges_url":"https://api.github.com/repos/itoffshore/aports/merges","archive_url":"https://api.github.com/repos/itoffshore/aports/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/itoffshore/aports/downloads","issues_url":"https://api.github.com/repos/itoffshore/aports/issues{/number}","pulls_url":"https://api.github.com/repos/itoffshore/aports/pulls{/number}","milestones_url":"https://api.github.com/repos/itoffshore/aports/milestones{/number}","notifications_url":"https://api.github.com/repos/itoffshore/aports/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/itoffshore/aports/labels{/name}","releases_url":"https://api.github.com/repos/itoffshore/aports/releases{/id}","deployments_url":"https://api.github.com/repos/itoffshore/aports/deployments","created_at":"2016-09-03T15:17:35Z","updated_at":"2016-09-03T15:17:56Z","pushed_at":"2016-09-25T18:53:35Z","git_url":"git://github.com/itoffshore/aports.git","ssh_url":"git@github.com:itoffshore/aports.git","clone_url":"https://github.com/itoffshore/aports.git","svn_url":"https://github.com/itoffshore/aports","homepage":null,"size":143722,"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":"alpinelinux:master","ref":"master","sha":"01324f84e0540084f533aaa08646f0a2edc4db01","user":{"login":"alpinelinux","id":7600810,"avatar_url":"https://avatars.githubusercontent.com/u/7600810?v=3","gravatar_id":"","url":"https://api.github.com/users/alpinelinux","html_url":"https://github.com/alpinelinux","followers_url":"https://api.github.com/users/alpinelinux/followers","following_url":"https://api.github.com/users/alpinelinux/following{/other_user}","gists_url":"https://api.github.com/users/alpinelinux/gists{/gist_id}","starred_url":"https://api.github.com/users/alpinelinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alpinelinux/subscriptions","organizations_url":"https://api.github.com/users/alpinelinux/orgs","repos_url":"https://api.github.com/users/alpinelinux/repos","events_url":"https://api.github.com/users/alpinelinux/events{/privacy}","received_events_url":"https://api.github.com/users/alpinelinux/received_events","type":"Organization","site_admin":false},"repo":{"id":19851667,"name":"aports","full_name":"alpinelinux/aports","owner":{"login":"alpinelinux","id":7600810,"avatar_url":"https://avatars.githubusercontent.com/u/7600810?v=3","gravatar_id":"","url":"https://api.github.com/users/alpinelinux","html_url":"https://github.com/alpinelinux","followers_url":"https://api.github.com/users/alpinelinux/followers","following_url":"https://api.github.com/users/alpinelinux/following{/other_user}","gists_url":"https://api.github.com/users/alpinelinux/gists{/gist_id}","starred_url":"https://api.github.com/users/alpinelinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alpinelinux/subscriptions","organizations_url":"https://api.github.com/users/alpinelinux/orgs","repos_url":"https://api.github.com/users/alpinelinux/repos","events_url":"https://api.github.com/users/alpinelinux/events{/privacy}","received_events_url":"https://api.github.com/users/alpinelinux/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alpinelinux/aports","description":"Readonly mirror of aports (http://git.alpinelinux.org/cgit/aports)","fork":false,"url":"https://api.github.com/repos/alpinelinux/aports","forks_url":"https://api.github.com/repos/alpinelinux/aports/forks","keys_url":"https://api.github.com/repos/alpinelinux/aports/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alpinelinux/aports/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alpinelinux/aports/teams","hooks_url":"https://api.github.com/repos/alpinelinux/aports/hooks","issue_events_url":"https://api.github.com/repos/alpinelinux/aports/issues/events{/number}","events_url":"https://api.github.com/repos/alpinelinux/aports/events","assignees_url":"https://api.github.com/repos/alpinelinux/aports/assignees{/user}","branches_url":"https://api.github.com/repos/alpinelinux/aports/branches{/branch}","tags_url":"https://api.github.com/repos/alpinelinux/aports/tags","blobs_url":"https://api.github.com/repos/alpinelinux/aports/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alpinelinux/aports/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alpinelinux/aports/git/refs{/sha}","trees_url":"https://api.github.com/repos/alpinelinux/aports/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alpinelinux/aports/statuses/{sha}","languages_url":"https://api.github.com/repos/alpinelinux/aports/languages","stargazers_url":"https://api.github.com/repos/alpinelinux/aports/stargazers","contributors_url":"https://api.github.com/repos/alpinelinux/aports/contributors","subscribers_url":"https://api.github.com/repos/alpinelinux/aports/subscribers","subscription_url":"https://api.github.com/repos/alpinelinux/aports/subscription","commits_url":"https://api.github.com/repos/alpinelinux/aports/commits{/sha}","git_commits_url":"https://api.github.com/repos/alpinelinux/aports/git/commits{/sha}","comments_url":"https://api.github.com/repos/alpinelinux/aports/comments{/number}","issue_comment_url":"https://api.github.com/repos/alpinelinux/aports/issues/comments{/number}","contents_url":"https://api.github.com/repos/alpinelinux/aports/contents/{+path}","compare_url":"https://api.github.com/repos/alpinelinux/aports/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alpinelinux/aports/merges","archive_url":"https://api.github.com/repos/alpinelinux/aports/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alpinelinux/aports/downloads","issues_url":"https://api.github.com/repos/alpinelinux/aports/issues{/number}","pulls_url":"https://api.github.com/repos/alpinelinux/aports/pulls{/number}","milestones_url":"https://api.github.com/repos/alpinelinux/aports/milestones{/number}","notifications_url":"https://api.github.com/repos/alpinelinux/aports/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alpinelinux/aports/labels{/name}","releases_url":"https://api.github.com/repos/alpinelinux/aports/releases{/id}","deployments_url":"https://api.github.com/repos/alpinelinux/aports/deployments","created_at":"2014-05-16T09:41:28Z","updated_at":"2016-09-22T09:50:41Z","pushed_at":"2016-09-25T18:56:24Z","git_url":"git://github.com/alpinelinux/aports.git","ssh_url":"git@github.com:alpinelinux/aports.git","clone_url":"https://github.com/alpinelinux/aports.git","svn_url":"https://github.com/alpinelinux/aports","homepage":null,"size":145299,"stargazers_count":65,"watchers_count":65,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":78,"mirror_url":null,"open_issues_count":31,"forks":78,"open_issues":31,"watchers":65,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alpinelinux/aports/pulls/325"},"html":{"href":"https://github.com/alpinelinux/aports/pull/325"},"issue":{"href":"https://api.github.com/repos/alpinelinux/aports/issues/325"},"comments":{"href":"https://api.github.com/repos/alpinelinux/aports/issues/325/comments"},"review_comments":{"href":"https://api.github.com/repos/alpinelinux/aports/pulls/325/comments"},"review_comment":{"href":"https://api.github.com/repos/alpinelinux/aports/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alpinelinux/aports/pulls/325/commits"},"statuses":{"href":"https://api.github.com/repos/alpinelinux/aports/statuses/0aecffad2da8179e8cc4c86ed56c7f54bf2c988e"}}}}
{"actor":{"display_login":"jirutka"}}