diff options
author | antoine <antoine@FreeBSD.org> | 2018-01-01 07:49:30 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2018-01-01 07:49:30 +0800 |
commit | 75ba6306b439ca63bc855008d7030ff4814f279e (patch) | |
tree | 6c30b42ebc6a17d276475235a3f28e473d3bf908 /chinese | |
parent | a2c09f0359bad4399a1f819157e6cbf757ef5737 (diff) | |
download | freebsd-ports-gnome-75ba6306b439ca63bc855008d7030ff4814f279e.tar.gz freebsd-ports-gnome-75ba6306b439ca63bc855008d7030ff4814f279e.tar.zst freebsd-ports-gnome-75ba6306b439ca63bc855008d7030ff4814f279e.zip |
- Convert to USE_PYTHON=cython
- Remove support for unsupported versions of python
- Fix plist with python version different from 3.6
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 |