From owner-svn-ports-head@freebsd.org Wed Jul 11 19:15:16 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 648481039A3C; Wed, 11 Jul 2018 19:15:16 +0000 (UTC) (envelope-from dbaio@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 15F5281EAE; Wed, 11 Jul 2018 19:15:16 +0000 (UTC) (envelope-from dbaio@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EC5DF16D21; Wed, 11 Jul 2018 19:15:15 +0000 (UTC) (envelope-from dbaio@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w6BJFFvp091631; Wed, 11 Jul 2018 19:15:15 GMT (envelope-from dbaio@FreeBSD.org) Received: (from dbaio@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w6BJFFR5091630; Wed, 11 Jul 2018 19:15:15 GMT (envelope-from dbaio@FreeBSD.org) Message-Id: <201807111915.w6BJFFR5091630@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dbaio set sender to dbaio@FreeBSD.org using -f From: "Danilo G. Baio" Date: Wed, 11 Jul 2018 19:15:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r474476 - head/textproc/py-pystemmer X-SVN-Group: ports-head X-SVN-Commit-Author: dbaio X-SVN-Commit-Paths: head/textproc/py-pystemmer X-SVN-Commit-Revision: 474476 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2018 19:15:16 -0000 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 Reported by: Pascal Christen 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