From owner-svn-ports-head@freebsd.org Thu Aug 8 09:52:53 2019 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 31DF7C99F3; Thu, 8 Aug 2019 09:52:53 +0000 (UTC) (envelope-from wen@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) server-signature RSA-PSS (4096 bits) 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 4643Zs0ZhTz46Ty; Thu, 8 Aug 2019 09:52:53 +0000 (UTC) (envelope-from wen@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 E9926235DF; Thu, 8 Aug 2019 09:52:52 +0000 (UTC) (envelope-from wen@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x789qqtH005118; Thu, 8 Aug 2019 09:52:52 GMT (envelope-from wen@FreeBSD.org) Received: (from wen@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x789qqSq005117; Thu, 8 Aug 2019 09:52:52 GMT (envelope-from wen@FreeBSD.org) Message-Id: <201908080952.x789qqSq005117@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: wen set sender to wen@FreeBSD.org using -f From: Wen Heping Date: Thu, 8 Aug 2019 09:52:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r508369 - head/www/py-django22 X-SVN-Group: ports-head X-SVN-Commit-Author: wen X-SVN-Commit-Paths: head/www/py-django22 X-SVN-Commit-Revision: 508369 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.29 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: Thu, 08 Aug 2019 09:52:53 -0000 Author: wen Date: Thu Aug 8 09:52:52 2019 New Revision: 508369 URL: https://svnweb.freebsd.org/changeset/ports/508369 Log: - Add TEST_DEPENDS and do-test Modified: head/www/py-django22/Makefile Modified: head/www/py-django22/Makefile ============================================================================== --- head/www/py-django22/Makefile Thu Aug 8 09:30:04 2019 (r508368) +++ head/www/py-django22/Makefile Thu Aug 8 09:52:52 2019 (r508369) @@ -19,6 +19,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlparse>=0:databases/py-sqlparse@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tblib>0:devel/py-tblib@${PY_FLAVOR} NO_ARCH= yes USES= cpe python:3.5+ shebangfix @@ -61,5 +62,8 @@ post-install: post-install-HTMLDOCS-on: ${MKDIR} ${STAGEDIR}/${DOCSDIR} ${CP} -R ${WRKSRC}/docs/_build/html ${STAGEDIR}/${DOCSDIR} + +do-test: + @cd ${WRKSRC} && ${PYTHON_CMD} tests/runtests.py --settings=test_sqlite .include