Import ruby-text:

A collection of text algorithms: Levenshtein, Soundex, Metaphone, Double
Metaphone, Porter Stemming.

needed by the ruby-gettext update.


OK jasper@
This commit is contained in:
sebastia 2016-09-09 10:30:20 +00:00
parent 8484ca4a98
commit 5484ed2c7c
4 changed files with 55 additions and 0 deletions

View File

@ -0,0 +1,18 @@
# $OpenBSD: Makefile,v 1.1.1.1 2016/09/09 10:30:20 sebastia Exp $
COMMENT = collection of text algorithms
DISTNAME = text-1.3.1
CATEGORIES = textproc
HOMEPAGE = https://github.com/threedaymonk/text
MAINTAINER = Sebastian Reitenbach <sebastia@openbsd.org>
# MIT
PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/ruby
CONFIGURE_STYLE = ruby gem
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (text-1.3.1.gem) = L7u8gsHOecQZWxMBiofLsA12K9o5JBuzzcMnknWd0/Q=
SIZE (text-1.3.1.gem) = 138752

View File

@ -0,0 +1,2 @@
A collection of text algorithms: Levenshtein, Soundex, Metaphone, Double
Metaphone, Porter Stemming.

View File

@ -0,0 +1,33 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2016/09/09 10:30:20 sebastia Exp $
${GEM_LIB}/cache/${DISTNAME}.gem
${GEM_LIB}/gems/${DISTNAME}/
${GEM_LIB}/gems/${DISTNAME}/COPYING.txt
${GEM_LIB}/gems/${DISTNAME}/README.rdoc
${GEM_LIB}/gems/${DISTNAME}/Rakefile
${GEM_LIB}/gems/${DISTNAME}/lib/
${GEM_LIB}/gems/${DISTNAME}/lib/text/
${GEM_LIB}/gems/${DISTNAME}/lib/text.rb
${GEM_LIB}/gems/${DISTNAME}/lib/text/double_metaphone.rb
${GEM_LIB}/gems/${DISTNAME}/lib/text/levenshtein.rb
${GEM_LIB}/gems/${DISTNAME}/lib/text/metaphone.rb
${GEM_LIB}/gems/${DISTNAME}/lib/text/porter_stemming.rb
${GEM_LIB}/gems/${DISTNAME}/lib/text/soundex.rb
${GEM_LIB}/gems/${DISTNAME}/lib/text/version.rb
${GEM_LIB}/gems/${DISTNAME}/lib/text/white_similarity.rb
${GEM_LIB}/gems/${DISTNAME}/test/
${GEM_LIB}/gems/${DISTNAME}/test/data/
${GEM_LIB}/gems/${DISTNAME}/test/data/double_metaphone.csv
${GEM_LIB}/gems/${DISTNAME}/test/data/metaphone.yml
${GEM_LIB}/gems/${DISTNAME}/test/data/metaphone_buggy.yml
${GEM_LIB}/gems/${DISTNAME}/test/data/porter_stemming_input.txt
${GEM_LIB}/gems/${DISTNAME}/test/data/porter_stemming_output.txt
${GEM_LIB}/gems/${DISTNAME}/test/data/soundex.yml
${GEM_LIB}/gems/${DISTNAME}/test/double_metaphone_test.rb
${GEM_LIB}/gems/${DISTNAME}/test/levenshtein_test.rb
${GEM_LIB}/gems/${DISTNAME}/test/metaphone_test.rb
${GEM_LIB}/gems/${DISTNAME}/test/porter_stemming_test.rb
${GEM_LIB}/gems/${DISTNAME}/test/soundex_test.rb
${GEM_LIB}/gems/${DISTNAME}/test/test_helper.rb
${GEM_LIB}/gems/${DISTNAME}/test/text_test.rb
${GEM_LIB}/gems/${DISTNAME}/test/white_similarity_test.rb
${GEM_LIB}/specifications/${DISTNAME}.gemspec