From owner-svn-ports-all@freebsd.org Wed Aug 29 19:09:11 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5F2751092E5D; Wed, 29 Aug 2018 19:09:11 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 45B047B53E; Wed, 29 Aug 2018 19:09:10 +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 EBF9B213C8; Wed, 29 Aug 2018 19:09:09 +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 w7TJ99j5066625; Wed, 29 Aug 2018 19:09:09 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w7TJ99YO066624; Wed, 29 Aug 2018 19:09:09 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201808291909.w7TJ99YO066624@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Wed, 29 Aug 2018 19:09:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r478382 - head/devel/py-backports.tempfile X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: head/devel/py-backports.tempfile X-SVN-Commit-Revision: 478382 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Aug 2018 19:09:11 -0000 Author: sunpoet Date: Wed Aug 29 19:09:09 2018 New Revision: 478382 URL: https://svnweb.freebsd.org/changeset/ports/478382 Log: Fix backports namespace collision - Bump PORTREVISION for dependency and package change See r455585 and D11095 for further information. With hat: python Modified: head/devel/py-backports.tempfile/Makefile Modified: head/devel/py-backports.tempfile/Makefile ============================================================================== --- head/devel/py-backports.tempfile/Makefile Wed Aug 29 19:09:04 2018 (r478381) +++ head/devel/py-backports.tempfile/Makefile Wed Aug 29 19:09:09 2018 (r478382) @@ -3,6 +3,7 @@ PORTNAME= backports.tempfile PORTVERSION= 1.0 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,9 +14,18 @@ COMMENT= Backports of new features in the Python tempf LICENSE= PSFL BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}backports>0:devel/py-backports@${FLAVOR} NO_ARCH= yes USES= python:2.7 USE_PYTHON= distutils autoplist + +POST_PLIST= trim-backports-namespace + +post-install: + @${RM} ${STAGEDIR}${PYTHON_SITELIBDIR}/backports/__init__.py* + +trim-backports-namespace: + @${REINPLACE_CMD} '/backports\/__init__.py*/d' ${TMPPLIST} .include