From owner-svn-ports-all@freebsd.org Tue Aug 22 21:40:17 2017 Return-Path: Delivered-To: svn-ports-all@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 C8AE9DE5FEE; Tue, 22 Aug 2017 21:40:17 +0000 (UTC) (envelope-from antoine@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 9286B7651C; Tue, 22 Aug 2017 21:40:17 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v7MLeGA7016471; Tue, 22 Aug 2017 21:40:16 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v7MLeGSk016470; Tue, 22 Aug 2017 21:40:16 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201708222140.v7MLeGSk016470@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Tue, 22 Aug 2017 21:40:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r448583 - head/devel/py-sanetime X-SVN-Group: ports-head X-SVN-Commit-Author: antoine X-SVN-Commit-Paths: head/devel/py-sanetime X-SVN-Commit-Revision: 448583 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.23 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: Tue, 22 Aug 2017 21:40:17 -0000 Author: antoine Date: Tue Aug 22 21:40:16 2017 New Revision: 448583 URL: https://svnweb.freebsd.org/changeset/ports/448583 Log: - Add LICENSE_FILE - Remove nonsense TESTS option - Remove unneeded dependency on the python2 symlink - Use the framework for regression tests With hat: portmgr Modified: head/devel/py-sanetime/Makefile Modified: head/devel/py-sanetime/Makefile ============================================================================== --- head/devel/py-sanetime/Makefile Tue Aug 22 21:14:10 2017 (r448582) +++ head/devel/py-sanetime/Makefile Tue Aug 22 21:40:16 2017 (r448583) @@ -3,7 +3,7 @@ PORTNAME= sanetime PORTVERSION= 4.2.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel python astro MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,21 +12,15 @@ MAINTAINER= koobs@FreeBSD.org COMMENT= Sane date/time Python interface, with Django support LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>=1.5:devel/py-dateutil \ ${PYTHON_PKGNAMEPREFIX}pytz>=2010:devel/py-pytz +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}unittest2>=0:devel/py-unittest2 -OPTIONS_DEFINE= TESTS -TESTS_DESC= Include tools for unit tests - -USES= python:2 +USES= python:2.7 USE_PYTHON= distutils autoplist - -TESTS_BUILD_DEPENDS= ${TEST_DEPENDS} - -.include - -regression-test: build - cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test +DO_MAKE_TEST= ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP} +TEST_TARGET= test .include