devel/tevent: switch to PYTHON_EXT_SUFFIX
This commit is contained in:
parent
49458fa9e8
commit
bb57867ec8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=559079
@ -57,8 +57,9 @@ USES+= python:build,test
|
||||
CONFIGURE_ARGS+= --disable-python
|
||||
.else
|
||||
USES+= python:3.4+
|
||||
USE_PYTHON= py3kplist
|
||||
|
||||
PLIST_FILES+= ${PYTHON_SITELIBDIR}/_tevent.so \
|
||||
PLIST_FILES+= ${PYTHON_SITELIBDIR}/_tevent${PYTHON_EXT_SUFFIX}.so \
|
||||
${PYTHON_SITELIBDIR}/tevent.py \
|
||||
${PYTHON_SITELIBDIR}/__pycache__/tevent.cpython-${PYTHON_SUFFIX}.pyc
|
||||
.endif
|
||||
@ -94,7 +95,7 @@ pre-configure:
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtevent.so
|
||||
.if !defined(NO_PYTHON)
|
||||
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_tevent.so
|
||||
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_tevent*.so
|
||||
${PYTHON_CMD} -m compileall -d ${PYTHON_SITELIBDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user