pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/ruby-classifier-reborn textproc/ruby-classifi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bdfc1aea0cc5
branches:  trunk
changeset: 384546:bdfc1aea0cc5
user:      taca <taca%pkgsrc.org@localhost>
date:      Thu Sep 01 14:46:27 2022 +0000

description:
textproc/ruby-classifier-reborn: update to 2.3.0

pkgsrc change: remove redundant PKGNAME.

2.3.0 (2022-06-19)

Minor Enhancements

* Separate tokenizer from hasher, allowing custom tokenizers. (#162)
* Improved handling of Zero division and Zero vector normalization. (#173)
* Support Numo Gem for performing SVD (#198)

Development Fixes

* remove deprecated has_rdoc in gemspec
* auto-gen-config for Rubocop
* auto-correct offenses
* Freeze all Ruby string literals (#190)
* Migrate TravisCI to GitHub Actions & Update Tested Ruby Versions (#195)
* Test Native and GSL Implementations (#196)
* Actually Use GSL in CI Tests (#197)

Documentation

* Updated Bayes docs for filters (#191)

diffstat:

 textproc/ruby-classifier-reborn/Makefile |  11 ++++++++---
 textproc/ruby-classifier-reborn/PLIST    |   8 +++++++-
 textproc/ruby-classifier-reborn/distinfo |   8 ++++----
 3 files changed, 19 insertions(+), 8 deletions(-)

diffs (62 lines):

diff -r f6cc03a2d205 -r bdfc1aea0cc5 textproc/ruby-classifier-reborn/Makefile
--- a/textproc/ruby-classifier-reborn/Makefile  Thu Sep 01 14:43:39 2022 +0000
+++ b/textproc/ruby-classifier-reborn/Makefile  Thu Sep 01 14:46:27 2022 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2018/03/14 15:40:07 taca Exp $
+# $NetBSD: Makefile,v 1.5 2022/09/01 14:46:27 taca Exp $
 
-DISTNAME=      classifier-reborn-2.2.0
-PKGNAME=       ${RUBY_PKGPREFIX}-${DISTNAME}
+DISTNAME=      classifier-reborn-2.3.0
 CATEGORIES=    textproc
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -13,5 +12,11 @@
 
 RUBYGEM_OPTIONS+=      --format-executable
 
+.include "../../lang/ruby/rubyversion.mk"
+
+.if ${RUBY_VER} != 31
+DEPENDS+=      ${RUBY_PKGPREFIX}-matrix>=0.4:../../math/ruby-matrix
+.endif
+
 .include "../../lang/ruby/gem.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r f6cc03a2d205 -r bdfc1aea0cc5 textproc/ruby-classifier-reborn/PLIST
--- a/textproc/ruby-classifier-reborn/PLIST     Thu Sep 01 14:43:39 2022 +0000
+++ b/textproc/ruby-classifier-reborn/PLIST     Thu Sep 01 14:46:27 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2018/03/14 15:40:07 taca Exp $
+@comment $NetBSD: PLIST,v 1.4 2022/09/01 14:46:27 taca Exp $
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/LICENSE
 ${GEM_LIBDIR}/README.markdown
@@ -32,8 +32,14 @@
 ${GEM_LIBDIR}/lib/classifier-reborn/bayes.rb
 ${GEM_LIBDIR}/lib/classifier-reborn/category_namer.rb
 ${GEM_LIBDIR}/lib/classifier-reborn/extensions/hasher.rb
+${GEM_LIBDIR}/lib/classifier-reborn/extensions/token_filter/stemmer.rb
+${GEM_LIBDIR}/lib/classifier-reborn/extensions/token_filter/stopword.rb
+${GEM_LIBDIR}/lib/classifier-reborn/extensions/token_filter/symbol.rb
+${GEM_LIBDIR}/lib/classifier-reborn/extensions/tokenizer/token.rb
+${GEM_LIBDIR}/lib/classifier-reborn/extensions/tokenizer/whitespace.rb
 ${GEM_LIBDIR}/lib/classifier-reborn/extensions/vector.rb
 ${GEM_LIBDIR}/lib/classifier-reborn/extensions/vector_serialize.rb
+${GEM_LIBDIR}/lib/classifier-reborn/extensions/zero_vector.rb
 ${GEM_LIBDIR}/lib/classifier-reborn/lsi.rb
 ${GEM_LIBDIR}/lib/classifier-reborn/lsi/cached_content_node.rb
 ${GEM_LIBDIR}/lib/classifier-reborn/lsi/content_node.rb
diff -r f6cc03a2d205 -r bdfc1aea0cc5 textproc/ruby-classifier-reborn/distinfo
--- a/textproc/ruby-classifier-reborn/distinfo  Thu Sep 01 14:43:39 2022 +0000
+++ b/textproc/ruby-classifier-reborn/distinfo  Thu Sep 01 14:46:27 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.7 2021/10/26 11:23:21 nia Exp $
+$NetBSD: distinfo,v 1.8 2022/09/01 14:46:27 taca Exp $
 
-BLAKE2s (classifier-reborn-2.2.0.gem) = aa2c89bc4e7a8a2a1864a75333d1e19a3c957476724593a3ab9b3ce38506c2af
-SHA512 (classifier-reborn-2.2.0.gem) = f24c64f7b6ee26a41cfc2d9c09dbeb59d0d0a9291a6528088d5802c66f36f950891b7102cfaa62faaf70f3a4a4abb993c0e3db9219e1e504fca6edb40059432d
-Size (classifier-reborn-2.2.0.gem) = 49664 bytes
+BLAKE2s (classifier-reborn-2.3.0.gem) = d5edb742abef0a694e869bcd290f94fc277732cbaa25d0f5c28132a6c834b6f8
+SHA512 (classifier-reborn-2.3.0.gem) = 992ed73a0b0c571ac6944ad3c76b9e74a43b1696416b78eddcb78bc35ce1168d99e56e7008e7eed2de058f2958f604b3631fe1f2649a676728fe3d116bf0b296
+Size (classifier-reborn-2.3.0.gem) = 51200 bytes



Home | Main Index | Thread Index | Old Index