FLAVORS for Ruby
Hi, I would like to suggest introducing FLAVOR to Ruby ports. AFAIK multiple version of Ruby ports (lang/ruby??) can be installed at the same time. One of these ruby ports will be *default* installed as PREFIX/bin/ruby. In contrast of Ruby lang, rubygem ports cannot be installed for multiple Ruby version at the same time. I would say Ruby and rubygem ports needs FLAVORS like Python ports. In Python ports, the same origin py- ports can be installed for multiple versions such as py27, py35, py36. If the same thing can be done with Ruby ports, FreeBSD Ruby ports will be much improved. I would appreciate if you Ruby folks bounce some ideas off each other. Let me know if someone's already working on FLAVORS on Ruby. Is there something that I can help you with? Thanks, -- meta ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: FLAVORS for Ruby
On Fri, Sep 13, 2019 at 9:45 AM Koichiro Iwao wrote: > Hi, > > I would like to suggest introducing FLAVOR to Ruby ports. > > AFAIK multiple version of Ruby ports (lang/ruby??) can be installed at > the same time. One of these ruby ports will be *default* installed as > PREFIX/bin/ruby. In contrast of Ruby lang, rubygem ports cannot be > installed for multiple Ruby version at the same time. > > I would say Ruby and rubygem ports needs FLAVORS like Python ports. > In Python ports, the same origin py- ports can be installed for multiple > versions such as py27, py35, py36. If the same thing can be done with > Ruby ports, FreeBSD Ruby ports will be much improved. > > I would appreciate if you Ruby folks bounce some ideas off each other. > Let me know if someone's already working on FLAVORS on Ruby. Is there > something that I can help you with? Please no. I don't see valid reasons. Antoine ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: FLAVORS for Ruby
On Fri, Sep 13, 2019 at 10:00:19AM +0200, Antoine Brodin wrote: > On Fri, Sep 13, 2019 at 9:45 AM Koichiro Iwao wrote: > > Hi, > > > > I would like to suggest introducing FLAVOR to Ruby ports. > > > > AFAIK multiple version of Ruby ports (lang/ruby??) can be installed at > > the same time. One of these ruby ports will be *default* installed as > > PREFIX/bin/ruby. In contrast of Ruby lang, rubygem ports cannot be > > installed for multiple Ruby version at the same time. > > > > I would say Ruby and rubygem ports needs FLAVORS like Python ports. > > In Python ports, the same origin py- ports can be installed for multiple > > versions such as py27, py35, py36. If the same thing can be done with > > Ruby ports, FreeBSD Ruby ports will be much improved. > > > > I would appreciate if you Ruby folks bounce some ideas off each other. > > Let me know if someone's already working on FLAVORS on Ruby. Is there > > something that I can help you with? > > Please no. I don't see valid reasons. Why? I don't see invalid reasons. Had Ruby FLAVORS already denied in the past? What's the difference between Rython and Ruby? py- ports can be installed for py35 and py36 at the same time. Why not for Ruby? I'm just brainstorming Ruby FLAVORS. Both positive opinions and negative opinions are welcome. -- meta ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: dos2unix patch?
On Thu, 12 Sep 2019 14:23:58 +0900 Koichiro Iwao wrote: > is it possible to run dos2unix to patches fetched from PATCH_SITES? > or how can I change order of patch and dos2unix. > > I would like to apply dos2unix-ed patches to dos2unix-ed source. > Alternatively, applying patch first and then running dos2unix on > patched-source is OK to me. > > Patches fetched from PATCH_SITES have .patch suffix so I added *.patch > to DOS2UNIX_GLOB but it didn't work. > > USES= dos2unix > DOS2UNIX_GLOB= *.c *.h You could add the patches to DISTFILES instead of PATCHFILES and then maybe do-extract will just copy them to WRKDIR, but if not, you can set EXTRACT_ONLY to the original distfile and copy the patches to WRKDIR in post-extract. Then dos2unix should work and you can add the WRKDIR patches to EXTRA_PATCHES. ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: dos2unix patch?
On Fri, Sep 13, 2019 at 11:20:06AM +0200, Tijl Coosemans wrote: > You could add the patches to DISTFILES instead of PATCHFILES and then > maybe do-extract will just copy them to WRKDIR, but if not, you can set > EXTRACT_ONLY to the original distfile and copy the patches to WRKDIR in > post-extract. Then dos2unix should work and you can add the WRKDIR > patches to EXTRA_PATCHES. Thanks, I give it a try! -- meta ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: FLAVORS for Ruby
On Fri, Sep 13, 2019 at 3:06 AM Koichiro Iwao wrote: > > On Fri, Sep 13, 2019 at 10:00:19AM +0200, Antoine Brodin wrote: > > On Fri, Sep 13, 2019 at 9:45 AM Koichiro Iwao wrote: > > > Hi, > > > > > > I would like to suggest introducing FLAVOR to Ruby ports. > > > > > > AFAIK multiple version of Ruby ports (lang/ruby??) can be installed at > > > the same time. One of these ruby ports will be *default* installed as > > > PREFIX/bin/ruby. In contrast of Ruby lang, rubygem ports cannot be > > > installed for multiple Ruby version at the same time. > > > > > > I would say Ruby and rubygem ports needs FLAVORS like Python ports. > > > In Python ports, the same origin py- ports can be installed for multiple > > > versions such as py27, py35, py36. If the same thing can be done with > > > Ruby ports, FreeBSD Ruby ports will be much improved. > > > > > > I would appreciate if you Ruby folks bounce some ideas off each other. > > > Let me know if someone's already working on FLAVORS on Ruby. Is there > > > something that I can help you with? > > > > Please no. I don't see valid reasons. > > Why? I don't see invalid reasons. Had Ruby FLAVORS already denied in the > past? What's the difference between Rython and Ruby? py- ports can be > installed for py35 and py36 at the same time. Why not for Ruby? > > I'm just brainstorming Ruby FLAVORS. Both positive opinions and negative > opinions are welcome. Systems MUST be able to support concurrent installations of python2.7 and actual python. What is your use case for concurrent ruby? # Adam -- Adam Weinberger ad...@adamw.org https://www.adamw.org ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: FLAVORS for Ruby
On Fri, Sep 13, 2019 at 09:33:43AM -0600, Adam Weinberger wrote: > Systems MUST be able to support concurrent installations of python2.7 > and actual python. What is your use case for concurrent ruby? I know the importance of Python 2. Even if it is EoL-ed, it will be required over the next a few years because not a few applications don't migrate to Python 3. So that's true and reasonable. Excuse me that I'm answering your question with a question. What about PHP? Concurrent installation is a MUST? FreeBSD ports allows concurrent installations of multiple Ruby versions however doesn't allow concurrent installations of rubygems for multiple Ruby versions. This inconsistency is the issue for me. -- meta ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: FLAVORS for Ruby
On Sat, Sep 14, 2019 at 6:27 AM Koichiro Iwao wrote: > On Fri, Sep 13, 2019 at 09:33:43AM -0600, Adam Weinberger wrote: > > Systems MUST be able to support concurrent installations of python2.7 > > and actual python. What is your use case for concurrent ruby? > > I know the importance of Python 2. Even if it is EoL-ed, it will be > required over the next a few years because not a few applications don't > migrate to Python 3. So that's true and reasonable. > > Excuse me that I'm answering your question with a question. What about > PHP? Concurrent installation is a MUST? > > FreeBSD ports allows concurrent installations of multiple Ruby versions > however doesn't allow concurrent installations of rubygems for multiple > Ruby versions. This inconsistency is the issue for me. This isn't a valid reason for me. Why do you need ruby version 2.4 or 2.5 concurrently installed with version 2.6? Is there a bug in version 2.6? Cheers, Antoine ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"