pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/ruby-fuzzyurl Add ruby-fuzzyurl package versi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/94614abbdbdd
branches:  trunk
changeset: 363497:94614abbdbdd
user:      taca <taca%pkgsrc.org@localhost>
date:      Sat Jun 10 16:35:17 2017 +0000

description:
Add ruby-fuzzyurl package version 0.9.0.

Fuzzyurl provides two related functions: non-strict parsing of URLs or
URL-like strings into their component pieces (protocol, username, password,
hostname, port, path, query, and fragment), and fuzzy matching of URLs and URL
patterns.

Specifically, URLs that look like this:

    [protocol ://] [username [: password] @] [hostname] [: port] [/ path] [? query] [# fragment]

Fuzzyurls can be constructed using some or all of the above fields, optionally
replacing some or all of those fields with a * wildcard if you wish to use the
Fuzzyurl as a URL mask.

diffstat:

 textproc/ruby-fuzzyurl/DESCR    |  12 ++++++++++++
 textproc/ruby-fuzzyurl/Makefile |  12 ++++++++++++
 textproc/ruby-fuzzyurl/PLIST    |   9 +++++++++
 textproc/ruby-fuzzyurl/distinfo |   6 ++++++
 4 files changed, 39 insertions(+), 0 deletions(-)

diffs (55 lines):

diff -r bc0a75fcd0f6 -r 94614abbdbdd textproc/ruby-fuzzyurl/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ruby-fuzzyurl/DESCR      Sat Jun 10 16:35:17 2017 +0000
@@ -0,0 +1,12 @@
+Fuzzyurl provides two related functions: non-strict parsing of URLs or
+URL-like strings into their component pieces (protocol, username, password,
+hostname, port, path, query, and fragment), and fuzzy matching of URLs and URL
+patterns.
+
+Specifically, URLs that look like this:
+
+    [protocol ://] [username [: password] @] [hostname] [: port] [/ path] [? query] [# fragment]
+
+Fuzzyurls can be constructed using some or all of the above fields, optionally
+replacing some or all of those fields with a * wildcard if you wish to use the
+Fuzzyurl as a URL mask.
diff -r bc0a75fcd0f6 -r 94614abbdbdd textproc/ruby-fuzzyurl/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ruby-fuzzyurl/Makefile   Sat Jun 10 16:35:17 2017 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.1 2017/06/10 16:35:17 taca Exp $
+
+DISTNAME=      fuzzyurl-0.9.0
+CATEGORIES=    textproc
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/gamache/fuzzyurl.rb
+COMMENT=       Library for non-strict parsing, construction, and wildcard-matching of URLs
+LICENSE=       mit
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r bc0a75fcd0f6 -r 94614abbdbdd textproc/ruby-fuzzyurl/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ruby-fuzzyurl/PLIST      Sat Jun 10 16:35:17 2017 +0000
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2017/06/10 16:35:17 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/lib/fuzzyurl.rb
+${GEM_LIBDIR}/lib/fuzzyurl/fields.rb
+${GEM_LIBDIR}/lib/fuzzyurl/match.rb
+${GEM_LIBDIR}/lib/fuzzyurl/protocols.rb
+${GEM_LIBDIR}/lib/fuzzyurl/strings.rb
+${GEM_LIBDIR}/lib/fuzzyurl/version.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff -r bc0a75fcd0f6 -r 94614abbdbdd textproc/ruby-fuzzyurl/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/ruby-fuzzyurl/distinfo   Sat Jun 10 16:35:17 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/06/10 16:35:17 taca Exp $
+
+SHA1 (fuzzyurl-0.9.0.gem) = 6be2f1a801e23361d5ff49f6a1b94c2847716e79
+RMD160 (fuzzyurl-0.9.0.gem) = 76bb47fba8f497f96006335be66eea51df71414c
+SHA512 (fuzzyurl-0.9.0.gem) = b4b92f86b017bf2aac532e90fd78f3c9f82122b231cedeb48a46dfe7e2bf8a7d5ad8cd32e62180428b20cd7145096434f1083b538a0843b45b1a3c2ae76a0bd4
+Size (fuzzyurl-0.9.0.gem) = 8704 bytes



Home | Main Index | Thread Index | Old Index