diff options
author | taca <taca> | 2017-06-10 16:35:17 +0000 |
---|---|---|
committer | taca <taca> | 2017-06-10 16:35:17 +0000 |
commit | 8cc33daf58b069b47b73581802e0e5da57c771e4 (patch) | |
tree | c0a89cade5350e94f7cb36806685e780d202c8c3 | |
parent | bd088cdd1bedd82dbbe6bc88e70cf220a6fb6943 (diff) | |
download | pkgsrc-8cc33daf58b069b47b73581802e0e5da57c771e4.tar.gz |
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.
-rw-r--r-- | textproc/ruby-fuzzyurl/DESCR | 12 | ||||
-rw-r--r-- | textproc/ruby-fuzzyurl/Makefile | 12 | ||||
-rw-r--r-- | textproc/ruby-fuzzyurl/PLIST | 9 | ||||
-rw-r--r-- | textproc/ruby-fuzzyurl/distinfo | 6 |
4 files changed, 39 insertions, 0 deletions
diff --git a/textproc/ruby-fuzzyurl/DESCR b/textproc/ruby-fuzzyurl/DESCR new file mode 100644 index 00000000000..98f7192422d --- /dev/null +++ b/textproc/ruby-fuzzyurl/DESCR @@ -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 --git a/textproc/ruby-fuzzyurl/Makefile b/textproc/ruby-fuzzyurl/Makefile new file mode 100644 index 00000000000..b754666632e --- /dev/null +++ b/textproc/ruby-fuzzyurl/Makefile @@ -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 +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 --git a/textproc/ruby-fuzzyurl/PLIST b/textproc/ruby-fuzzyurl/PLIST new file mode 100644 index 00000000000..d783af7a9bf --- /dev/null +++ b/textproc/ruby-fuzzyurl/PLIST @@ -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 --git a/textproc/ruby-fuzzyurl/distinfo b/textproc/ruby-fuzzyurl/distinfo new file mode 100644 index 00000000000..fbeafa59ec2 --- /dev/null +++ b/textproc/ruby-fuzzyurl/distinfo @@ -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 |