From owner-svn-ports-head@freebsd.org Sat Dec 19 22:14:52 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C7FDD4AC4EB; Sat, 19 Dec 2020 22:14:52 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Cz0Qg6JQBz3J63; Sat, 19 Dec 2020 22:14:51 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8F58D24CBA; Sat, 19 Dec 2020 22:14:49 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0BJMEn4P000603; Sat, 19 Dec 2020 22:14:49 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0BJMEnN8000602; Sat, 19 Dec 2020 22:14:49 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <202012192214.0BJMEnN8000602@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sat, 19 Dec 2020 22:14:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r558701 - head/devel/tevent X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: head/devel/tevent X-SVN-Commit-Revision: 558701 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Dec 2020 22:14:55 -0000 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 @@ -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