svn commit: r474476 - head/textproc/py-pystemmer
Danilo G. Baio
dbaio at FreeBSD.org
Wed Jul 11 19:15:16 UTC 2018
Author: dbaio
Date: Wed Jul 11 19:15:15 2018
New Revision: 474476
URL: https://svnweb.freebsd.org/changeset/ports/474476
Log:
textproc/py-pystemmer: Fix build with Python 3.7
setup.py contains a conditional checking if it can import cython. If not, the
included (but stale) src/Stemmer.c is used. Add in cython as a build dependency
to force regeneration of the C file from the actual source src/Stemmer.pyx.
Also bump PORTREVISION to reflect possible differences between included and
regenerated src/Stemmer.c.
https://github.com/snowballstem/pystemmer/issues/18
PR: 229629
Submitted by: Charlie Li <ml+freebsd at vishwin.info>
Reported by: Pascal Christen <pascal.christen at hostpoint.ch>
Modified:
head/textproc/py-pystemmer/Makefile
Modified: head/textproc/py-pystemmer/Makefile
==============================================================================
--- head/textproc/py-pystemmer/Makefile Wed Jul 11 19:15:15 2018 (r474475)
+++ head/textproc/py-pystemmer/Makefile Wed Jul 11 19:15:15 2018 (r474476)
@@ -3,7 +3,7 @@
PORTNAME= pystemmer
PORTVERSION= 1.3.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP \
http://snowball.tartarus.org/wrappers/
@@ -17,7 +17,7 @@ LICENSE= MIT BSD3CLAUSE
LICENSE_COMB= dual
USES= python
-USE_PYTHON= distutils autoplist
+USE_PYTHON= autoplist cython distutils
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Stemmer.so
More information about the svn-ports-head
mailing list