Date: Wed, 29 Dec 2021 08:30:58 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 260788] Metaport proposal w/ patch - lang/ruby-platform - provide a single installation point for Ruby platform tools (irb, rdoc, ...) Message-ID: <bug-260788-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260788 Bug ID: 260788 Summary: Metaport proposal w/ patch - lang/ruby-platform - provide a single installation point for Ruby platform tools (irb, rdoc, ...) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: lab+bsd@thinkum.space Created attachment 230528 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D230528&action= =3Dedit Patch for adding a metaport lang/ruby-platform This patch would provide a new metaport, lang/ruby-platform.=20 This port would provide a single installation point under any Ruby version,= for installing ports providing command-line tools and gems generally available = from a Ruby source build. The port provides a build option, enabled by default, such that would ensure that ports for platform-bundled gems will be included as dependencies of the metapor (e.g minitest, rss, other gems bundled with Ruby). With this option disabled, only the command-line tools will be used as dependencies (e.g irb, rdoc, ...) This is the diff for a metaport I'd mentioned after the bug report https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237833 Known Limitations - This initial patch does not provide any dependency on rubygem-ebs. This i= s a known deficiency, which candidly I've noticed while submitting the initial patch here - As at least a placeholder, I've used a personal email address for the maintainer field, in this patch - The section of the Makefile pertaining to the erb command may need update= . I have a patch available and will try to add that shortly, for providing the = erb command line tool via the rubygem-erb port. Presently, the erb command has = been provided in each individual Ruby platform port (e.g ruby26 ... ruby31). The patch for the rubygem-erb port is fairly trivial, though I've not added the necessary patching for the ruby* platform ports as yet. This Makefile shoul= d be compatible with any of the above Rationale While I've not extensively tested this Makefile, I hope that this metaport = - or any similar metaport - that it may serve to simplify some workflows for installing and maintaining a Ruby development environment on FreeBSD.=20=20 Notwithstanding than the concern about how the erb command is provided, it = does not introduce any new dependencies in Ruby platform ports. Simply, it depen= ds on the platform port for the Ruby version selected at time of build, as wel= l as those corresponding gem ports such that would then be installed for that R= uby version.=20 HTH - Sean --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260788-7788>