From owner-svn-ports-head@freebsd.org Sun Dec 31 23:49:32 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 514D2EAD8AC; Sun, 31 Dec 2017 23:49:32 +0000 (UTC) (envelope-from antoine@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 mx1.freebsd.org (Postfix) with ESMTPS id 1AEA96966F; Sun, 31 Dec 2017 23:49:32 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vBVNnVwi011086; Sun, 31 Dec 2017 23:49:31 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vBVNnV7f011084; Sun, 31 Dec 2017 23:49:31 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201712312349.vBVNnV7f011084@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Sun, 31 Dec 2017 23:49:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r457746 - head/chinese/pycangjie X-SVN-Group: ports-head X-SVN-Commit-Author: antoine X-SVN-Commit-Paths: head/chinese/pycangjie X-SVN-Commit-Revision: 457746 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.25 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: Sun, 31 Dec 2017 23:49:32 -0000 Author: antoine Date: Sun Dec 31 23:49:30 2017 New Revision: 457746 URL: https://svnweb.freebsd.org/changeset/ports/457746 Log: - Convert to USE_PYTHON=cython - Remove support for unsupported versions of python - Fix plist with python version different from 3.6 Modified: head/chinese/pycangjie/Makefile head/chinese/pycangjie/pkg-plist Modified: head/chinese/pycangjie/Makefile ============================================================================== --- head/chinese/pycangjie/Makefile Sun Dec 31 22:35:17 2017 (r457745) +++ head/chinese/pycangjie/Makefile Sun Dec 31 23:49:30 2017 (r457746) @@ -12,11 +12,12 @@ COMMENT= Python wrapper to libcangjie LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING -BUILD_DEPENDS= cython:lang/cython LIB_DEPENDS= libcangjie.so:chinese/libcangjie -USES= autoreconf gmake libtool pkgconfig sqlite python:3.2+ +USES= autoreconf gmake libtool pkgconfig sqlite python:3.4+ +USE_PYTHON= cython GNU_CONFIGURE= yes +CONFIGURE_ENV= CYTHON=${LOCALBASE}/bin/cython-${PYTHON_VER} USE_GITHUB= yes GH_ACCOUNT= Cangjians GH_PROJECT= pycangjie Modified: head/chinese/pycangjie/pkg-plist ============================================================================== --- head/chinese/pycangjie/pkg-plist Sun Dec 31 22:35:17 2017 (r457745) +++ head/chinese/pycangjie/pkg-plist Sun Dec 31 23:49:30 2017 (r457746) @@ -1,6 +1,6 @@ %%PYTHON_SITELIBDIR%%/cangjie/__init__.py -%%PYTHON_SITELIBDIR%%/cangjie/__pycache__/__init__.cpython-36.%%PYTHON_PYOEXTENSION%% -%%PYTHON_SITELIBDIR%%/cangjie/__pycache__/__init__.cpython-36.pyc +%%PYTHON_SITELIBDIR%%/cangjie/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.%%PYTHON_PYOEXTENSION%% +%%PYTHON_SITELIBDIR%%/cangjie/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc %%PYTHON_SITELIBDIR%%/cangjie/_core.so %%PYTHON_SITELIBDIR%%/cangjie/errors.so %%PYTHON_SITELIBDIR%%/cangjie/filters.so