svn commit: r558701 - head/devel/tevent
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat Dec 19 22:14:55 UTC 2020
Author: sunpoet
Date: Sat Dec 19 22:14:49 2020
New Revision: 558701
URL: https://svnweb.freebsd.org/changeset/ports/558701
Log:
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)
Modified:
head/devel/tevent/Makefile
Modified: head/devel/tevent/Makefile
==============================================================================
--- head/devel/tevent/Makefile Sat Dec 19 22:14:44 2020 (r558700)
+++ head/devel/tevent/Makefile Sat Dec 19 22:14:49 2020 (r558701)
@@ -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>
More information about the svn-ports-head
mailing list