Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Aug 2014 09:44:56 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r366047 - head/devel/py-six
Message-ID:  <201408250944.s7P9iuFi085853@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Mon Aug 25 09:44:56 2014
New Revision: 366047
URL: http://svnweb.freebsd.org/changeset/ports/366047
QAT: https://qat.redports.org/buildarchive/r366047/

Log:
  devel/py-six: Add LICENSE_FILE and QA entries
  
  - Add LICENSE_FILE
  - Add TEST_DEPENDS and regression-test target
  - pkg-descr: Strip trailing slash from WWW: URL

Modified:
  head/devel/py-six/Makefile
  head/devel/py-six/pkg-descr

Modified: head/devel/py-six/Makefile
==============================================================================
--- head/devel/py-six/Makefile	Mon Aug 25 09:43:15 2014	(r366046)
+++ head/devel/py-six/Makefile	Mon Aug 25 09:44:56 2014	(r366047)
@@ -3,6 +3,7 @@
 
 PORTNAME=	six
 PORTVERSION=	1.7.3
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,8 +12,14 @@ MAINTAINER=	python@FreeBSD.org
 COMMENT=	Python 2 and 3 compatibility utilities
 
 LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest
 
 USES=		python
 USE_PYTHON=	autoplist concurrent distutils
 
+regression-test: build
+	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v
+
 .include <bsd.port.mk>

Modified: head/devel/py-six/pkg-descr
==============================================================================
--- head/devel/py-six/pkg-descr	Mon Aug 25 09:43:15 2014	(r366046)
+++ head/devel/py-six/pkg-descr	Mon Aug 25 09:44:56 2014	(r366047)
@@ -3,4 +3,4 @@ functions for smoothing over the differe
 with the goal of writing Python code that is compatible on both Python
 versions. See the documentation for more information on what is provided.
 
-WWW: https://pypi.python.org/pypi/six/
+WWW: https://pypi.python.org/pypi/six



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408250944.s7P9iuFi085853>