svn commit: r560067 - in head/devel: . rubygem-pathname
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Jan 3 20:01:08 UTC 2021
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 at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= pathname
+PORTVERSION= 0.1.0
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet at 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
More information about the svn-ports-all
mailing list