From owner-svn-ports-all@freebsd.org Sun Jan 3 20:01:08 2021 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 328EC4DC1B7; Sun, 3 Jan 2021 20:01:08 +0000 (UTC) (envelope-from sunpoet@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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D88lR1RC1z3w7V; Sun, 3 Jan 2021 20:01:06 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 25AB95567; Sun, 3 Jan 2021 20:01:05 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 103K14aW090026; Sun, 3 Jan 2021 20:01:04 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 103K14lJ090020; Sun, 3 Jan 2021 20:01:04 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <202101032001.103K14lJ090020@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 3 Jan 2021 20:01:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r560067 - in head/devel: . rubygem-pathname X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/devel: . rubygem-pathname X-SVN-Commit-Revision: 560067 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jan 2021 20:01:08 -0000 Author: sunpoet Date: Sun Jan 3 20:01:03 2021 New Revision: 560067 URL: https://svnweb.freebsd.org/changeset/ports/560067 Log: Add rubygem-pathname 0.1.0 Pathname represents the name of a file or directory on the filesystem, but not the file itself. The pathname depends on the Operating System: Unix, Windows, etc. This library works with pathnames of local OS, however non-Unix pathnames are supported experimentally. A Pathname can be relative or absolute. It's not until you try to reference the file that it even matters whether the file exists or not. Pathname is immutable. It has no method for destructive update. The goal of this class is to manipulate file path information in a neater way than standard Ruby provides. The examples below demonstrate the difference. All functionality from File, FileTest, and some from Dir and FileUtils is included, in an unsurprising way. It is essentially a facade for all of these, and more. WWW: https://github.com/ruby/pathname Added: head/devel/rubygem-pathname/ head/devel/rubygem-pathname/Makefile (contents, props changed) head/devel/rubygem-pathname/distinfo (contents, props changed) head/devel/rubygem-pathname/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sun Jan 3 20:00:58 2021 (r560066) +++ head/devel/Makefile Sun Jan 3 20:01:03 2021 (r560067) @@ -6318,6 +6318,7 @@ SUBDIR += rubygem-parser SUBDIR += rubygem-pastel SUBDIR += rubygem-patch_finder + SUBDIR += rubygem-pathname SUBDIR += rubygem-pathspec SUBDIR += rubygem-pathutil SUBDIR += rubygem-pdk Added: head/devel/rubygem-pathname/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-pathname/Makefile Sun Jan 3 20:01:03 2021 (r560067) @@ -0,0 +1,19 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= pathname +PORTVERSION= 0.1.0 +CATEGORIES= devel rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Representation of the name of a file or directory on the filesystem + +LICENSE= BSD2CLAUSE RUBY +LICENSE_COMB= dual +LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/LICENSE.txt + +USES= gem +USE_RUBY= yes + +.include Added: head/devel/rubygem-pathname/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-pathname/distinfo Sun Jan 3 20:01:03 2021 (r560067) @@ -0,0 +1,3 @@ +TIMESTAMP = 1609598787 +SHA256 (rubygem/pathname-0.1.0.gem) = cdbabfbb1a517c27bcab9928171abf9fc43ae5df31cbe0df7452d27369ac5974 +SIZE (rubygem/pathname-0.1.0.gem) = 20480 Added: head/devel/rubygem-pathname/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-pathname/pkg-descr Sun Jan 3 20:01:03 2021 (r560067) @@ -0,0 +1,20 @@ +Pathname represents the name of a file or directory on the filesystem, but not +the file itself. + +The pathname depends on the Operating System: Unix, Windows, etc. This library +works with pathnames of local OS, however non-Unix pathnames are supported +experimentally. + +A Pathname can be relative or absolute. It's not until you try to reference the +file that it even matters whether the file exists or not. + +Pathname is immutable. It has no method for destructive update. + +The goal of this class is to manipulate file path information in a neater way +than standard Ruby provides. The examples below demonstrate the difference. + +All functionality from File, FileTest, and some from Dir and FileUtils is +included, in an unsurprising way. It is essentially a facade for all of these, +and more. + +WWW: https://github.com/ruby/pathname