Add USES=compiler:c++11-lang to fix: ./gensim/models/doc2vec_corpusfile.cpp: At global scope: ./gensim/models/doc2vec_corpusfile.cpp:1367: error: expected initializer before '<' token ./gensim/models/doc2vec_corpusfile.cpp:1398: error: '__pyx_t_6gensim_6models_19word2vec_corpusfile_cvocab_t' does not name a type ./gensim/models/doc2vec_corpusfile.cpp:1432: error: ISO C++ forbids declaration of '__pyx_t_6gensim_6models_19word2vec_corpusfile_cvocab_t' with no type ./gensim/models/doc2vec_corpusfile.cpp:1432: error: expected ';' before '*' token ./gensim/models/doc2vec_corpusfile.cpp:1938: error: '__pyx_t_6gensim_6models_19word2vec_corpusfile_cvocab_t' has not been declared ./gensim/models/doc2vec_corpusfile.cpp:2134: error: '__pyx_t_6gensim_6models_19word2vec_corpusfile_cvocab_t' has not been declared Approved by: mentors (implicite approval)
24 lines
631 B
Makefile
24 lines
631 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= gensim
|
|
DISTVERSION= 3.7.3
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Python framework for fast Vector Space Modelling
|
|
|
|
LICENSE= LGPL21
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= ${PYNUMPY}
|
|
RUN_DEPENDS= ${PYNUMPY} \
|
|
${PYTHON_PKGNAMEPREFIX}scipy>=0.18.1:science/py-scipy@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}six>=1.5.0:devel/py-six@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}smart_open>=1.7.1:net/py-smart_open@${PY_FLAVOR}
|
|
|
|
USES= compiler:c++11-lang python
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
.include <bsd.port.mk>
|