- Fix depobj after logicall update, and remove no-op post-install
PR: ports/141676 Submitted by: Ruben van Staveren <ruben@verweg.com>
This commit is contained in:
parent
e514f1a729
commit
c37155e2ad
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=245986
@ -18,17 +18,10 @@ COMMENT= A set of tools for reverse engineering Python code
|
||||
|
||||
BUILD_DEPENDS= ${PYXML}
|
||||
RUN_DEPENDS= ${PYXML} \
|
||||
${PYTHONPREFIX_SITELIBDIR}/logilab/__init__.py:${PORTSDIR}/devel/py-logilab-common
|
||||
pytest:${PORTSDIR}/devel/py-logilab-common
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
PYDISTUTILS_PKGNAME= pyreverse
|
||||
|
||||
post-install:
|
||||
@${FIND} ${PYTHON_SITELIBDIR}/logilab/pyreverse ! -type d | \
|
||||
${SED} -e 's,^${PREFIX}/,,' >> ${TMPPLIST}
|
||||
@${FIND} ${PYTHON_SITELIBDIR}/logilab/pyreverse -type d | ${SORT} -r | \
|
||||
${SED} -e 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
|
||||
@${ECHO_CMD} "@unexec rmdir %D/%%PYTHSON_SITELIBDIR%%/logilab 2>/dev/null || true" >> ${TMPPLIST}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user