Fix poudriere build_fs_violation for net/samba*
- Bump PORTREVISION for package change The tevent module is being used during build of net/samba*, therefore the bytecode .pyc was generated. When running poudriere with -t flag, it checks filesystem violations and raises the tevent module was used error. The fix is to generate the bytecode and package it. PR: 243331 Submitted by: sunpoet (myself) Approved by: maintainer (timeout, 25 days)
This commit is contained in:
parent
2513c53135
commit
4713a99f20
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=558701
1 changed files with 4 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
PORTNAME= tevent
|
||||
PORTVERSION= 0.10.2
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
PORTEPOCH= 0
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= SAMBA
|
||||
|
@ -59,7 +59,8 @@ CONFIGURE_ARGS+= --disable-python
|
|||
USES+= python:3.4+
|
||||
|
||||
PLIST_FILES+= ${PYTHON_SITELIBDIR}/_tevent.so \
|
||||
${PYTHON_SITELIBDIR}/tevent.py
|
||||
${PYTHON_SITELIBDIR}/tevent.py \
|
||||
${PYTHON_SITELIBDIR}/__pycache__/tevent.cpython-${PYTHON_SUFFIX}.pyc
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
@ -94,6 +95,7 @@ post-install:
|
|||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtevent.so
|
||||
.if !defined(NO_PYTHON)
|
||||
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_tevent.so
|
||||
${PYTHON_CMD} -m compileall -d ${PYTHON_SITELIBDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
Loading…
Reference in a new issue