Date: Sun, 3 Jan 2021 20:01:04 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r560067 - in head/devel: . rubygem-pathname Message-ID: <202101032001.103K14lJ090020@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <sunpoet@FreeBSD.org> +# $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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101032001.103K14lJ090020>