Date: Wed, 11 Jul 2018 19:15:15 +0000 (UTC) From: "Danilo G. Baio" <dbaio@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r474476 - head/textproc/py-pystemmer Message-ID: <201807111915.w6BJFFR5091630@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@vishwin.info> Reported by: Pascal Christen <pascal.christen@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807111915.w6BJFFR5091630>