From owner-svn-ports-branches@freebsd.org Sun Aug 20 03:16:19 2017 Return-Path: Delivered-To: svn-ports-branches@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 05270DD9247; Sun, 20 Aug 2017 03:16:19 +0000 (UTC) (envelope-from koobs@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 mx1.freebsd.org (Postfix) with ESMTPS id C635470A22; Sun, 20 Aug 2017 03:16:18 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v7K3GHuJ073883; Sun, 20 Aug 2017 03:16:17 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v7K3GHSQ073882; Sun, 20 Aug 2017 03:16:17 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201708200316.v7K3GHSQ073882@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Sun, 20 Aug 2017 03:16:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r448355 - branches/2017Q3/devel/py-extras X-SVN-Group: ports-branches X-SVN-Commit-Author: koobs X-SVN-Commit-Paths: branches/2017Q3/devel/py-extras X-SVN-Commit-Revision: 448355 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Aug 2017 03:16:19 -0000 Author: koobs Date: Sun Aug 20 03:16:17 2017 New Revision: 448355 URL: https://svnweb.freebsd.org/changeset/ports/448355 Log: MFH: r448354 devel/py-extras: Fix Python 3.x packaging Python 3.x changes the location of the compiled python objects - pyc and pyo. The pkg-plist supplied with devel/py-extras doe not account for this, so packaging with Python 3 fails. This change replaces pkg-plist with autoplist to correct the issue [1] While I'm here: - Add TEST_DEPENDS and test target - Mark architecture independence - Add LICENSE_FILE PR: 219278 Submitted by: Johannes Jost Meixner [1] Approved by: portmgr (blanket) Approved by: ports-secteam (blanket) Deleted: branches/2017Q3/devel/py-extras/pkg-plist Modified: branches/2017Q3/devel/py-extras/Makefile Directory Properties: branches/2017Q3/ (props changed) Modified: branches/2017Q3/devel/py-extras/Makefile ============================================================================== --- branches/2017Q3/devel/py-extras/Makefile Sun Aug 20 03:12:19 2017 (r448354) +++ branches/2017Q3/devel/py-extras/Makefile Sun Aug 20 03:16:17 2017 (r448355) @@ -2,6 +2,7 @@ PORTNAME= extras PORTVERSION= 1.0.0 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -10,8 +11,16 @@ MAINTAINER= cs@FreeBSD.org COMMENT= Useful extra bits for Python LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}testtools>0:devel/py-testtools + USES= python -USE_PYTHON= distutils +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +do-test: + @cd ${WRKSRC} && ${PYTHON_CMD} -m testtools.run extras.tests.test_suite .include