From nobody Thu Oct 05 02:01:06 2023 X-Original-To: dev-commits-ports-all@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 4S1FCR0FsDz4vnrT; Thu, 5 Oct 2023 02:01:07 +0000 (UTC) (envelope-from git@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 4S1FCQ6yGdz3DBt; Thu, 5 Oct 2023 02:01:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696471267; 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=9KUKk5MX4uzGbcxMXQDyE81xomKIBJRIIAlkB8W1yvk=; b=KuW+WQX8QR+pN7A/1S6XMpbo+48BfZtbuBDabjzf+XNa9kkbFgIfBJxVI+ijklNaea2DP+ riZTplp4h+0p9FCYbfqmrHU0bi7a1DBvmLW8DeM/C1kgcY7rqLroTppii3fGG9ACARM0mq sXIdOXHDEeyeRJkE+mpn5OBZbxRev7JPMGFb7zIBMIi/37ufINa6CjZoEcNMU4Nyrq3LP9 00XhcgvBtVaIt21qA21EgU7S1ROsQMZXoZi8KvGDnXCnbTp3ZDqWbbK27GD/nFr+7Zp1zm 5ph/segTQCLIzKIApfPeQiozFVP2ECVyAnuO0L2BLZWXVorFMO2B4jjgQtTVbQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696471267; a=rsa-sha256; cv=none; b=yQHTGhICL6nwysZzBoB+IZGlrG0jE+NUHqpLzXGSkF6FQDoH0i0A7OOVLCJrEjSK/zBx5M EtRGkRvQrxTjQw7JzaH0RM3srOHnKDdLDXNVjffEosrH9n6+uwXIKu+VDi9yihH5vK3QIC X/u0uo2+cfmk7YCPRE3vunZ4mh7HmuDJizMPLuUta5Q1BbneD/WZuZDRFd2hM5hc/FlvL1 1lR3koNl2Ryoe9a3IOpLaCyOKql/O40OCQ2wx9Q59igknJpMkHD1/rSm5HIsIbbVWOSCGx cerazm44YmBcHdIL37FUPIEGS9csw6+LAPGe0WUA4CRAyi/t/s112Mkz1mzGCw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696471267; 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=9KUKk5MX4uzGbcxMXQDyE81xomKIBJRIIAlkB8W1yvk=; b=H7q4/OlYmiqM0NaJfDqsg1UitwL4os1HQ1/9qt095DwIcCpw4KQjpdfdzLS7qtR4iGLr89 +WhUZm6dnO1jLHdwHC1lRiyG76kStkLiTHgJel+vKtPESQNI7OIWkRsG18jP6kKeq2SkeF kDBc3f3WHdr76KmnnXOYrXXRaDl4etNRpzjPMSSyzNek6bG9p76VOWRHzbZ4m0th+2HA40 pt1wzGmyH/mM5AOotddIut4BANXQxDV+A3neoV4nvw/lukqrzyLECznspSzSIDbSvghlCK vWvP/gGDoOVR8zUkFZhTwAhhXfMDgj3RSorDtHoO4oGUGfZbzYW+Z1jk+fPniQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4S1FCQ63fJz11wG; Thu, 5 Oct 2023 02:01:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 395216T6053971; Thu, 5 Oct 2023 02:01:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 395216YN053968; Thu, 5 Oct 2023 02:01:06 GMT (envelope-from git) Date: Thu, 5 Oct 2023 02:01:06 GMT Message-Id: <202310050201.395216YN053968@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 45e30826a627 - main - textproc/rubygem-prism: Add rubygem-prism 0.13.0 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 45e30826a6272168aa09c52aba9e77b13e18e594 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=45e30826a6272168aa09c52aba9e77b13e18e594 commit 45e30826a6272168aa09c52aba9e77b13e18e594 Author: Po-Chuan Hsieh AuthorDate: 2023-10-05 01:53:33 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-10-05 01:53:33 +0000 textproc/rubygem-prism: Add rubygem-prism 0.13.0 This is a parser for the Ruby programming language. It is designed to be portable, error tolerant, and maintainable. It is written in C99 and has no dependencies. It is currently being integrated into CRuby, JRuby, TruffleRuby, Sorbet, and Syntax Tree. --- textproc/Makefile | 1 + textproc/rubygem-prism/Makefile | 18 ++++++++++++++++++ textproc/rubygem-prism/distinfo | 3 +++ .../rubygem-prism/files/patch-ext-prism-extconf.rb | 11 +++++++++++ textproc/rubygem-prism/pkg-descr | 4 ++++ 5 files changed, 37 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 78e95ae3c315..6abe99331807 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1826,6 +1826,7 @@ SUBDIR += rubygem-parslet1 SUBDIR += rubygem-phone SUBDIR += rubygem-pretty-xml + SUBDIR += rubygem-prism SUBDIR += rubygem-psych SUBDIR += rubygem-psych3 SUBDIR += rubygem-puppet-strings diff --git a/textproc/rubygem-prism/Makefile b/textproc/rubygem-prism/Makefile new file mode 100644 index 000000000000..ab3659d67a6e --- /dev/null +++ b/textproc/rubygem-prism/Makefile @@ -0,0 +1,18 @@ +PORTNAME= prism +PORTVERSION= 0.13.0 +CATEGORIES= textproc rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Prism Ruby parser +WWW= https://ruby.github.io/prism/ \ + https://github.com/ruby/prism + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +BUILD_DEPENDS= rubygem-rake>=0:devel/rubygem-rake + +USES= gem gmake + +.include diff --git a/textproc/rubygem-prism/distinfo b/textproc/rubygem-prism/distinfo new file mode 100644 index 000000000000..d0136788a915 --- /dev/null +++ b/textproc/rubygem-prism/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1696432870 +SHA256 (rubygem/prism-0.13.0.gem) = d8052914c4c4d6136a3b51401eb2c83ab19b0edae1be2aa7bdc2e801b9680c0b +SIZE (rubygem/prism-0.13.0.gem) = 302592 diff --git a/textproc/rubygem-prism/files/patch-ext-prism-extconf.rb b/textproc/rubygem-prism/files/patch-ext-prism-extconf.rb new file mode 100644 index 000000000000..65d59ad47df7 --- /dev/null +++ b/textproc/rubygem-prism/files/patch-ext-prism-extconf.rb @@ -0,0 +1,11 @@ +--- ext/prism/extconf.rb.orig 2023-10-05 01:08:46 UTC ++++ ext/prism/extconf.rb +@@ -75,7 +75,7 @@ module Prism + # normally we package up the configure and other files in the gem itself + system("templates/template.rb", exception: true) + end +- system("make", target, exception: true) ++ system("gmake", target, exception: true) + end + end + diff --git a/textproc/rubygem-prism/pkg-descr b/textproc/rubygem-prism/pkg-descr new file mode 100644 index 000000000000..42c031250212 --- /dev/null +++ b/textproc/rubygem-prism/pkg-descr @@ -0,0 +1,4 @@ +This is a parser for the Ruby programming language. It is designed to be +portable, error tolerant, and maintainable. It is written in C99 and has no +dependencies. It is currently being integrated into CRuby, JRuby, TruffleRuby, +Sorbet, and Syntax Tree.