Re: registry with multiple portfiles

2017-07-11 Thread Joshua Root
On 2017-7-12 07:24 , db wrote: On 11 Jul 2017, at 18:40, db wrote: While writing the portfile for py-ipaddr in vim I saved it and stopped the process, then installed/uninstalled the port and made some corrections in the portfile, repeat. I tried this with another port

Re: registry with multiple portfiles

2017-07-11 Thread db
On 11 Jul 2017, at 18:40, db wrote: > While writing the portfile for py-ipaddr in vim I saved it and stopped the > process, then installed/uninstalled the port and made some corrections in the > portfile, repeat. I tried this with another port while monitoring its registry

Re: tarball link when using python group

2017-07-11 Thread db
On 9 Jul 2017, at 23:29, Joshua Root wrote: > Solution 2: Use the github portgroup, which takes care of the idiosyncrasies > of fetching from github. It's fine to use at the same time as the python > portgroup, see e.g. py-alabaster. Thanks for the reference. I was missing

Re: [GSoC] migration

2017-07-11 Thread Joshua Root
On 2017-7-12 04:43 , Umesh Singla wrote: Hi Brad, While I was writing for restoring of ports, it seems that I need to include another field 'active' along with ports while taking snapshot. This might sound obvious now but it wasn't to me before I looked at what is going on, closely. While

Re: [GSoC] migration

2017-07-11 Thread Umesh Singla
Hi Brad, While I was writing for restoring of ports, it seems that I need to include another field 'active' along with ports while taking snapshot. This might sound obvious now but it wasn't to me before I looked at what is going on, closely. While there is something like 'active' port but

Re: registry with multiple portfiles

2017-07-11 Thread db
On 11 Jul 2017, at 19:21, Joshua Root wrote: >> I think I might explain this case — but not others. While writing the >> portfile for py-ipaddr in vim I saved it and stopped the process, then >> installed/uninstalled the port and made some corrections in the portfile, >>

Re: registry with multiple portfiles

2017-07-11 Thread Rainer Müller
On 2017-07-11 18:40, db wrote: > On 11 Jul 2017, at 16:16, Joshua Root wrote: >> How do the files differ? Is one not referenced in the registry database? > > port cat shows the right file. I think I might explain this case — but not > others. While writing the portfile for

Re: registry with multiple portfiles

2017-07-11 Thread db
On 11 Jul 2017, at 16:16, Joshua Root wrote: > How do the files differ? Is one not referenced in the registry database? port cat shows the right file. I think I might explain this case — but not others. While writing the portfile for py-ipaddr in vim I saved it and stopped

Re: registry with multiple portfiles

2017-07-11 Thread Joshua Root
On 2017-7-11 23:24 , db wrote: On 11 Jul 2017, at 14:50, Joshua Root wrote: On 2017-7-11 21:09 , db wrote: Is it normal or expected to have multiple portfiles for the same port in the registry? When multiple versions of the port are installed, yes. And when having just

Re: install doc with python group

2017-07-11 Thread Rainer Müller
On 2017-07-11 15:23, db wrote: > On 11 Jul 2017, at 14:44, Joshua Root wrote: >> Only the subports like py27-setuptools_hg and py35-setuptools_hg are >> supposed to install any files. py-setuptools_hg is a stub port, and as such >> has no distfiles and thus no extracted

Re: install doc with python group

2017-07-11 Thread db
On 11 Jul 2017, at 14:44, Joshua Root wrote: > Only the subports like py27-setuptools_hg and py35-setuptools_hg are supposed > to install any files. py-setuptools_hg is a stub port, and as such has no > distfiles and thus no extracted sources. I know why it fails. The stub

Re: registry with multiple portfiles

2017-07-11 Thread Joshua Root
On 2017-7-11 21:09 , db wrote: Is it normal or expected to have multiple portfiles for the same port in the registry? When multiple versions of the port are installed, yes. - Josh

Re: install doc with python group

2017-07-11 Thread Joshua Root
On 2017-7-10 22:45 , db wrote: Which is the proper way to install documentation with python group? This boilerplate works for the subport but not if I install the main port. post-destroot { set docdir ${prefix}/share/${subport} xinstall -d ${destroot}${docdir} xinstall -m 644 -W

registry with multiple portfiles

2017-07-11 Thread db
Is it normal or expected to have multiple portfiles for the same port in the registry?