blob: 7a339cb3b6829ed5ec9fb205584d5a09a2c1752f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
PORTNAME= sentencepiece
DISTVERSIONPREFIX= v
DISTVERSION= 0.1.99
CATEGORIES= textproc # machine-learning
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Unsupervised text tokenizer for Neural Network-based text generation
WWW= https://github.com/google/sentencepiece
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/../LICENSE
LIB_DEPENDS= libsentencepiece.so:textproc/sentencepiece
USES= compiler:c++17-lang pkgconfig python
USE_PYTHON= distutils autoplist pytest
USE_GITHUB= yes
GH_ACCOUNT= google
WRKSRC_SUBDIR= python
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
.include <bsd.port.mk>
|