git: 2250e98fcb23 - main - textproc/{,py-}sentencepiece: update 0.1.99 → 0.2.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 20 Feb 2024 07:09:35 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2250e98fcb23f5d0b09e6eaaa1426ec278d327b1

commit 2250e98fcb23f5d0b09e6eaaa1426ec278d327b1
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-02-20 07:01:47 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-02-20 07:09:21 +0000

    textproc/{,py-}sentencepiece: update 0.1.99 → 0.2.0
    
    Reported by:    portscout
---
 textproc/py-sentencepiece/Makefile | 5 +++--
 textproc/py-sentencepiece/distinfo | 6 +++---
 textproc/sentencepiece/Makefile    | 2 +-
 textproc/sentencepiece/distinfo    | 6 +++---
 4 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/textproc/py-sentencepiece/Makefile b/textproc/py-sentencepiece/Makefile
index 7a339cb3b682..083154938273 100644
--- a/textproc/py-sentencepiece/Makefile
+++ b/textproc/py-sentencepiece/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	sentencepiece
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.1.99
+DISTVERSION=	0.2.0
 CATEGORIES=	textproc # machine-learning
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -11,10 +11,11 @@ WWW=		https://github.com/google/sentencepiece
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/../LICENSE
 
+BUILD_DEPENDS=	protobuf>0:devel/protobuf
 LIB_DEPENDS=	libsentencepiece.so:textproc/sentencepiece
 
 USES=		compiler:c++17-lang pkgconfig python
-USE_PYTHON=	distutils autoplist pytest
+USE_PYTHON=	distutils autoplist pytest # many tests fail, see https://github.com/google/sentencepiece/issues/977
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	google
diff --git a/textproc/py-sentencepiece/distinfo b/textproc/py-sentencepiece/distinfo
index 4b1f15766c57..9539610e542f 100644
--- a/textproc/py-sentencepiece/distinfo
+++ b/textproc/py-sentencepiece/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1685777896
-SHA256 (google-sentencepiece-v0.1.99_GH0.tar.gz) = 63617eaf56c7a3857597dcd8780461f57dd21381b56a27716ef7d7e02e14ced4
-SIZE (google-sentencepiece-v0.1.99_GH0.tar.gz) = 11960799
+TIMESTAMP = 1708411814
+SHA256 (google-sentencepiece-v0.2.0_GH0.tar.gz) = 9970f0a0afee1648890293321665e5b2efa04eaec9f1671fcf8048f456f5bb86
+SIZE (google-sentencepiece-v0.2.0_GH0.tar.gz) = 11980811
diff --git a/textproc/sentencepiece/Makefile b/textproc/sentencepiece/Makefile
index bd86f0fcbdb3..96702c90186e 100644
--- a/textproc/sentencepiece/Makefile
+++ b/textproc/sentencepiece/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	sentencepiece
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.1.99
+DISTVERSION=	0.2.0
 CATEGORIES=	textproc # machine-learning
 
 MAINTAINER=	yuri@FreeBSD.org
diff --git a/textproc/sentencepiece/distinfo b/textproc/sentencepiece/distinfo
index ecf3266dd071..88b1e17a4a4d 100644
--- a/textproc/sentencepiece/distinfo
+++ b/textproc/sentencepiece/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1685777516
-SHA256 (google-sentencepiece-v0.1.99_GH0.tar.gz) = 63617eaf56c7a3857597dcd8780461f57dd21381b56a27716ef7d7e02e14ced4
-SIZE (google-sentencepiece-v0.1.99_GH0.tar.gz) = 11960799
+TIMESTAMP = 1708411133
+SHA256 (google-sentencepiece-v0.2.0_GH0.tar.gz) = 9970f0a0afee1648890293321665e5b2efa04eaec9f1671fcf8048f456f5bb86
+SIZE (google-sentencepiece-v0.2.0_GH0.tar.gz) = 11980811