From nobody Wed Dec 29 08:30:58 2021 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id DB66F191327D for ; Wed, 29 Dec 2021 08:30:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JP4Ny4MK4z4c9L for ; Wed, 29 Dec 2021 08:30:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 766F7217C8 for ; Wed, 29 Dec 2021 08:30:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1BT8UwPa036395 for ; Wed, 29 Dec 2021 08:30:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1BT8UwsN036394 for ports-bugs@FreeBSD.org; Wed, 29 Dec 2021 08:30:58 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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, ...) Date: Wed, 29 Dec 2021 08:30:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lab+bsd@thinkum.space X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640766658; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=C+6BGlE72hCZtQN6EMuhj5s9p+laaqstHYH6pERVvLE=; b=yWOyVSVdWcKgv16Gncm2n+xMxdNTL2zAUkWrl9UXJVfaIwOjXZWXaEZ17IWoF5cmLYE94h 26GZDvwlGR8x1EgtuA9XYH9BefxRjsfBc4mb70aMH+954zQcCFH970NRjxnzPP+Dltwa6z PEIUBUQuoKWzfpVULhcNStNSMt8Oe4Avd3ch7dIyV9iYpJKKtotYYjrUJ++zti7mPs8LDg N2U7rJNeETdgpqbXuh1WWlmsBL1JjBjazVfLm/xk5toSXGJbi9m67jBuX+KR0KtOi3t6KN ezIEbIF4eDCqAJeJYLUy2CIes7jBDOrP5FOUOquRSBGHPwiTgJ35Ut6KbES4sw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640766658; a=rsa-sha256; cv=none; b=homejeg+AHPgcXRiSzx+BuyyVjO3s3KtyJehav0D2/aLf8QzcYMcMVMep6tNesrWjEJtje Gs/U/Oya9BFVJjnsEKAEvjjFjIlIHW4yvuq3RKuNm5hy/AiJRvx7gAsWLU9v/0zLYWN/kF avPABMMk6oYi8IG2JF3KCh++VDC+J2a/9LaTGVrpZ6lqezwzB/uVTXjNWVlbTJsuZkRgWY cu5QiqMizIhCT3XX5kmPaMkDxjWA2d8NTl0F9o4Odtix23teq5MkD4GoejOxgvfo2GeD9G Ywfsvck+Z3ihaZ8IdsXm5m6Rbjy7C95BBI7EDpqc3otKJ8nF8+JeLNikHsT4oA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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.=