{"action":"created","issue":{"url":"https://api.github.com/repos/void-linux/void-packages/issues/1473","repository_url":"https://api.github.com/repos/void-linux/void-packages","labels_url":"https://api.github.com/repos/void-linux/void-packages/issues/1473/labels{/name}","comments_url":"https://api.github.com/repos/void-linux/void-packages/issues/1473/comments","events_url":"https://api.github.com/repos/void-linux/void-packages/issues/1473/events","html_url":"https://github.com/void-linux/void-packages/pull/1473","id":347650728,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA2MjExNDEx","number":1473,"title":"New packages: pymol-2.1.0, python3-pmw-2.0.1","user":{"login":"fusion809","id":4717341,"node_id":"MDQ6VXNlcjQ3MTczNDE=","avatar_url":"https://avatars1.githubusercontent.com/u/4717341?v=4","gravatar_id":"","url":"https://api.github.com/users/fusion809","html_url":"https://github.com/fusion809","followers_url":"https://api.github.com/users/fusion809/followers","following_url":"https://api.github.com/users/fusion809/following{/other_user}","gists_url":"https://api.github.com/users/fusion809/gists{/gist_id}","starred_url":"https://api.github.com/users/fusion809/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fusion809/subscriptions","organizations_url":"https://api.github.com/users/fusion809/orgs","repos_url":"https://api.github.com/users/fusion809/repos","events_url":"https://api.github.com/users/fusion809/events{/privacy}","received_events_url":"https://api.github.com/users/fusion809/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2018-08-04T21:50:09Z","updated_at":"2018-08-05T21:01:41Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/void-linux/void-packages/pulls/1473","html_url":"https://github.com/void-linux/void-packages/pull/1473","diff_url":"https://github.com/void-linux/void-packages/pull/1473.diff","patch_url":"https://github.com/void-linux/void-packages/pull/1473.patch"},"body":"Hi,\r\n\r\nIn this pull I'm introducing yet another piece of chemistry software, PyMOL. It is mostly used for visualizing large molecules like proteins, although visualizing smaller molecules is also possible. For example, here's a 3D representation of methotrexate (a common cancer and anti-inflammatory drug; the ball and stick model in it) bound to human dihydrofolate reductase, an enzyme involved in the metabolism of vitamin B9 (folic acid); it is this binding that is believed to underpin most of methotrexate's therapeutic effects. \r\n\r\n![3eig-mtx-hadd-20180805-pr](https://user-images.githubusercontent.com/4717341/43680399-2d1c599e-987d-11e8-9635-db8a1324c555.png)\r\n\r\nIn order for PyMOL to function to the best of its abilities it needs an additional package, python3-pmw. The template files are largely inspired by the corresponding Arch Linux PKGBUILDs; I even used [their copy](https://git.archlinux.org/svntogit/community.git/tree/trunk/LICENSE.txt?h=packages/python-pmw) of LICENSE.txt for python3-pmw.\r\n\r\nPyMOL is compatible with both Python 2 and 3, but I tried splitting it up into two separate packages and it became a whole mess, same with python-pmw. As Python 3 is the Python of the future I decided to keep it and ditch Python 2. \r\n\r\nThanks for your time and the opportunity to contribute to this fine distro,\r\nBrenton"},"comment":{"url":"https://api.github.com/repos/void-linux/void-packages/issues/comments/410547748","html_url":"https://github.com/void-linux/void-packages/pull/1473#issuecomment-410547748","issue_url":"https://api.github.com/repos/void-linux/void-packages/issues/1473","id":410547748,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDU0Nzc0OA==","user":{"login":"fusion809","id":4717341,"node_id":"MDQ6VXNlcjQ3MTczNDE=","avatar_url":"https://avatars1.githubusercontent.com/u/4717341?v=4","gravatar_id":"","url":"https://api.github.com/users/fusion809","html_url":"https://github.com/fusion809","followers_url":"https://api.github.com/users/fusion809/followers","following_url":"https://api.github.com/users/fusion809/following{/other_user}","gists_url":"https://api.github.com/users/fusion809/gists{/gist_id}","starred_url":"https://api.github.com/users/fusion809/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fusion809/subscriptions","organizations_url":"https://api.github.com/users/fusion809/orgs","repos_url":"https://api.github.com/users/fusion809/repos","events_url":"https://api.github.com/users/fusion809/events{/privacy}","received_events_url":"https://api.github.com/users/fusion809/received_events","type":"User","site_admin":false},"created_at":"2018-08-05T21:01:41Z","updated_at":"2018-08-05T21:01:41Z","author_association":"CONTRIBUTOR","body":"I'm presently running Tumbleweed, but as I'd like to get this issue fixed I'm running xbps-src in a chroot into my Void system, is this known to cause problems? I ask because I'm presently getting the error:\r\n\r\n```bash\r\n=> Using `/data/GitHub/mine/packaging/void-packages/hostdir/binpkgs/pymol' as local repository.\r\n[*] Updating `https://repo.voidlinux.eu/current/musl/x86_64-repodata' ...\r\n[*] Updating `https://repo.voidlinux.eu/current/musl/nonfree/x86_64-repodata' ...\r\n[*] Updating `https://repo.voidlinux.eu/current/x86_64-repodata' ...\r\n[*] Updating `https://repo.voidlinux.eu/current/nonfree/x86_64-repodata' ...\r\n[*] Updating `https://repo.voidlinux.eu/current/aarch64/x86_64-repodata' ...\r\nERROR: [reposync] failed to fetch file `https://repo.voidlinux.eu/current/aarch64/x86_64-repodata': Not Found\r\n[*] Updating `https://repo.voidlinux.eu/current/multilib/x86_64-repodata' ...\r\n[*] Updating `https://repo.voidlinux.eu/current/multilib/nonfree/x86_64-repodata' ...\r\nERROR unshare (Operation not permitted)\r\n```\r\n\r\nwhen I try to build the present template I'm at, that is:\r\n\r\n```bash\r\n# Template for 'pymol'\r\npkgname=pymol\r\nversion=2.1.0\r\nwrksrc=${pkgname}\r\nrevision=1\r\nbuild_style=\"python3-module\"\r\nhostmakedepends=\"msgpack-devel python3-numpy freetype-devel libfreeglut-devel glew-devel python3-devel libxml2-devel python3-PyQt5\"\r\ndepends=\"freetype glew libfreeglut python3-numpy tcsh python3-pmw python3-tkinter python3-PyQt5\"\r\nshort_desc=\"PyMOL molecular visualization system\"\r\nhomepage=\"https://pymol.org/\"\r\nmaintainer=\"Brenton Horne <brentonhorne77@gmail.com>\"\r\nlicense=\"pymol\"\r\ndistfiles=\"${SOURCEFORGE_SITE}/project/pymol/pymol/${version/.*/}/pymol-v${version}.tar.bz2\r\nhttps://c.fsdn.com/allura/p/pymol/icon>pymol.png\"\r\nskip_extraction=\"pymol.png\"\r\nchecksum=\"7ae8ebb899533d691a67c1ec731b00518dea456ab3e258aa052a65c24b63eae2\r\n0ea81faaf336becc669a193777d0dca55475d303d1236b57df25cf67ff7c2bcd\"\r\n\r\npre_configure() {\r\n\tpatch -Np1 -i \"${FILESDIR}/musl.patch\"\r\n}\r\n\r\npost_install() {\r\n        vlicense LICENSE\r\n        vinstall \"${FILESDIR}/pymol.desktop\" 755 usr/share/applications\r\n        vinstall \"${XBPS_SRCDISTDIR}/${pkgname}-${version}/pymol.png\" 644 usr/share/pixmaps\r\n} \r\n```"}}
{"actor":{"display_login":"fusion809"}}