aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2021-04-18 00:48:22 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2021-04-18 00:48:22 +0000
commit5c30ce2b2efa4d3fa9cbc4ee0212fc23f0e0d2b2 (patch)
tree2cf7a8ea709bcf45755018a1db2e6e933f931f29
parent0758467f1649925a573af3b03d7b88797c076bc2 (diff)
downloadports-5c30ce2b2efa4d3fa9cbc4ee0212fc23f0e0d2b2.tar.gz
ports-5c30ce2b2efa4d3fa9cbc4ee0212fc23f0e0d2b2.zip
-rw-r--r--textproc/py-gensim/Makefile9
-rw-r--r--textproc/py-gensim/distinfo6
2 files changed, 9 insertions, 6 deletions
diff --git a/textproc/py-gensim/Makefile b/textproc/py-gensim/Makefile
index 44d895fa253b..56520628fed4 100644
--- a/textproc/py-gensim/Makefile
+++ b/textproc/py-gensim/Makefile
@@ -1,5 +1,5 @@
PORTNAME= gensim
-DISTVERSION= 3.8.3
+DISTVERSION= 4.0.1
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,10 +13,13 @@ 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.8.1:net/py-smart-open@${PY_FLAVOR}
+py36_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dataclasses>=0:devel/py-dataclasses@${PY_FLAVOR}
USES= compiler:c++11-lang python:3.6+
-USE_PYTHON= distutils autoplist
+USE_PYTHON= distutils cython autoplist
+
+post-install:
+ ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name "*.so" | ${XARGS} ${STRIP_CMD}
.include <bsd.port.mk>
diff --git a/textproc/py-gensim/distinfo b/textproc/py-gensim/distinfo
index 286b1664021b..c7ab5b843c0b 100644
--- a/textproc/py-gensim/distinfo
+++ b/textproc/py-gensim/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1595356151
-SHA256 (gensim-3.8.3.tar.gz) = 786adb0571f75114e9c5f7a31dd2e6eb39a9791f22c8757621545e2ded3ea367
-SIZE (gensim-3.8.3.tar.gz) = 23432298
+TIMESTAMP = 1618705457
+SHA256 (gensim-4.0.1.tar.gz) = b4d0b9562796968684028e06635e0f7aff39ffb33719057fd1667754ea09a6e4
+SIZE (gensim-4.0.1.tar.gz) = 23122355