From owner-svn-ports-all@freebsd.org Wed Aug 29 19:09:05 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 A35571092E32; Wed, 29 Aug 2018 19:09:05 +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 120B07B45E; Wed, 29 Aug 2018 19:09:05 +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 DC4F7213C7; Wed, 29 Aug 2018 19:09:04 +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 w7TJ94Ok066516; Wed, 29 Aug 2018 19:09:04 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w7TJ9406066515; Wed, 29 Aug 2018 19:09:04 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201808291909.w7TJ9406066515@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:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r478381 - head/devel/py-backports.csv X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: head/devel/py-backports.csv X-SVN-Commit-Revision: 478381 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:05 -0000 Author: sunpoet Date: Wed Aug 29 19:09:04 2018 New Revision: 478381 URL: https://svnweb.freebsd.org/changeset/ports/478381 Log: Fix backports namespace collision - Bump PORTREVISION for dependency and package change See r455585 and D11095 for further information. Modified: head/devel/py-backports.csv/Makefile Modified: head/devel/py-backports.csv/Makefile ============================================================================== --- head/devel/py-backports.csv/Makefile Wed Aug 29 19:08:59 2018 (r478380) +++ head/devel/py-backports.csv/Makefile Wed Aug 29 19:09:04 2018 (r478381) @@ -3,6 +3,7 @@ PORTNAME= backports.csv PORTVERSION= 1.0.6 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,8 +14,18 @@ COMMENT= Backport of Python 3 csv module LICENSE= PSFL LICENSE_FILE= ${WRKSRC}/LICENSE.rst +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}backports>0:devel/py-backports@${FLAVOR} + NO_ARCH= yes USE_PYTHON= autoplist distutils USES= python:2.7 + +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