Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Apr 2015 19:14:19 +0000 (UTC)
From:      Ruslan Makhmatkhanov <rm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r383050 - head/devel/py-testoob
Message-ID:  <201504021914.t32JEJMP039139@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rm
Date: Thu Apr  2 19:14:18 2015
New Revision: 383050
URL: https://svnweb.freebsd.org/changeset/ports/383050

Log:
  devel/py-testoob: general cleanup
  
  - cleanup tautology from comment
  - define license (Apache 2.0)
  - convert to option helpers
  - sort values in USE_PYTHON

Modified:
  head/devel/py-testoob/Makefile

Modified: head/devel/py-testoob/Makefile
==============================================================================
--- head/devel/py-testoob/Makefile	Thu Apr  2 19:13:59 2015	(r383049)
+++ head/devel/py-testoob/Makefile	Thu Apr  2 19:14:18 2015	(r383050)
@@ -10,18 +10,16 @@ MASTER_SITES=	SF \
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Testoob is an advanced unit testing framework for PyUnit
+COMMENT=	Advanced unit testing framework for PyUnit
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/docs/LICENSE-2.0.txt
 
 OPTIONS_DEFINE=	TWISTED
+TWISTED_USES=	twisted
 TWISTED_DESC=	enable running in threads
 
 USES=		python tar:bzip2
-USE_PYTHON=	distutils autoplist
-
-.include <bsd.port.pre.mk>
-
-.if ${PORT_OPTIONS:MTWISTED}
-USES+=		twisted
-.endif
+USE_PYTHON=	autoplist distutils
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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