diff options
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/pycangjie/Makefile | 5 | ||||
-rw-r--r-- | chinese/pycangjie/pkg-plist | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/chinese/pycangjie/Makefile b/chinese/pycangjie/Makefile index c008e471f85f..f65b0387ff98 100644 --- a/chinese/pycangjie/Makefile +++ b/chinese/pycangjie/Makefile @@ -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 diff --git a/chinese/pycangjie/pkg-plist b/chinese/pycangjie/pkg-plist index bed85ed647ac..28207c0580a5 100644 --- a/chinese/pycangjie/pkg-plist +++ b/chinese/pycangjie/pkg-plist @@ -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 |