Import ruby-fast-stemmer 1.0.0, dependency of ruby-jekyll

Fast-stemmer is simply a wrapping around multithreaded Porter stemming
algorithm.

This gem adds a String#stem method, and it conflicts with the stemmer
gem.  It's in order of magnitude faster (and uses much less memory) than
the latter.
This commit is contained in:
jeremy 2010-12-20 18:15:48 +00:00
parent adf802bb2b
commit 8e5f3b313e
4 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1,25 @@
# $OpenBSD: Makefile,v 1.1.1.1 2010/12/20 18:15:48 jeremy Exp $
COMMENT= fast Porter stemmer for ruby
DISTNAME= fast-stemmer-1.0.0
CATEGORIES= textproc
HOMEPAGE= http://github.com/romanbsd/fast-stemmer
# MIT
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= lang/ruby
CONFIGURE_STYLE= ruby gem ext
MODRUBY_REGRESS= rake
REGRESS_DEPENDS= ${FULLPKGNAME}:${BUILD_PKGPATH}
do-regress:
cd ${WRKSRC} && RUBYOPT=-rubygems ${RAKE} test
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (fast-stemmer-1.0.0.gem) = UNso9yRMUOFBKfEscFNtAA==
RMD160 (fast-stemmer-1.0.0.gem) = ZUNj1754b9YbqPdNOQkO1DMK9tM=
SHA1 (fast-stemmer-1.0.0.gem) = Asbv+ltdfI371liRjiGDTQIe4CQ=
SHA256 (fast-stemmer-1.0.0.gem) = wwu4WQbWBzODLOlUnbJnP/RDQqZeVG29/DdEwQf7Akw=
SIZE (fast-stemmer-1.0.0.gem) = 9728

View File

@ -0,0 +1,6 @@
Fast-stemmer is simply a wrapping around multithreaded Porter stemming
algorithm.
This gem adds a String#stem method, and it conflicts with the stemmer
gem. It's in order of magnitude faster (and uses much less memory) than
the latter.

View File

@ -0,0 +1,21 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/12/20 18:15:48 jeremy Exp $
${GEM_LIB}/cache/${DISTNAME}.gem
${GEM_LIB}/gems/${DISTNAME}/
${GEM_LIB}/gems/${DISTNAME}/LICENSE
${GEM_LIB}/gems/${DISTNAME}/README
${GEM_LIB}/gems/${DISTNAME}/Rakefile
${GEM_LIB}/gems/${DISTNAME}/VERSION.yml
${GEM_LIB}/gems/${DISTNAME}/ext/
${GEM_LIB}/gems/${DISTNAME}/ext/Makefile
${GEM_LIB}/gems/${DISTNAME}/ext/extconf.rb
${GEM_LIB}/gems/${DISTNAME}/ext/porter.c
${GEM_LIB}/gems/${DISTNAME}/ext/porter.o
${GEM_LIB}/gems/${DISTNAME}/ext/porter_wrap.c
${GEM_LIB}/gems/${DISTNAME}/ext/porter_wrap.o
${GEM_LIB}/gems/${DISTNAME}/ext/stemmer.so
${GEM_LIB}/gems/${DISTNAME}/lib/
${GEM_LIB}/gems/${DISTNAME}/lib/fast_stemmer.rb
${GEM_LIB}/gems/${DISTNAME}/lib/stemmer.so
${GEM_LIB}/gems/${DISTNAME}/test/
${GEM_LIB}/gems/${DISTNAME}/test/fast_stemmer_test.rb
${GEM_LIB}/specifications/${DISTNAME}.gemspec