Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jan 2017 12:31:07 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r432330 - in head/devel: . py-mccabe py3-mccabe
Message-ID:  <201701241231.v0OCV7w8001536@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Jan 24 12:31:07 2017
New Revision: 432330
URL: https://svnweb.freebsd.org/changeset/ports/432330

Log:
  - Update to 0.5.3
  - Add NO_ARCH
  - Add LICENSE
  - Add py3- counterpart
  
  PR:		216406
  Approved by:	wg (maintainer)

Added:
  head/devel/py3-mccabe/
  head/devel/py3-mccabe/Makefile   (contents, props changed)
Modified:
  head/devel/Makefile
  head/devel/py-mccabe/Makefile
  head/devel/py-mccabe/distinfo

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Tue Jan 24 12:29:12 2017	(r432329)
+++ head/devel/Makefile	Tue Jan 24 12:31:07 2017	(r432330)
@@ -4855,6 +4855,7 @@
     SUBDIR += py3-jsonschema
     SUBDIR += py3-libpeas
     SUBDIR += py3-lxml
+    SUBDIR += py3-mccabe
     SUBDIR += py3-nose
     SUBDIR += py3-py
     SUBDIR += py3-pycodestyle

Modified: head/devel/py-mccabe/Makefile
==============================================================================
--- head/devel/py-mccabe/Makefile	Tue Jan 24 12:29:12 2017	(r432329)
+++ head/devel/py-mccabe/Makefile	Tue Jan 24 12:31:07 2017	(r432330)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	mccabe
-PORTVERSION=	0.3.1
+PORTVERSION=	0.5.3
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,7 +10,13 @@ PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 MAINTAINER=	wg@FreeBSD.org
 COMMENT=	Ned's script to check McCabe complexity
 
-USES=		python
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS?=	${PYTHON_PKGNAMEPREFIX}pytest-runner>=0:devel/py-pytest-runner
+
+USES?=		python
 USE_PYTHON=	autoplist distutils
+NO_ARCH=	yes
 
 .include <bsd.port.mk>

Modified: head/devel/py-mccabe/distinfo
==============================================================================
--- head/devel/py-mccabe/distinfo	Tue Jan 24 12:29:12 2017	(r432329)
+++ head/devel/py-mccabe/distinfo	Tue Jan 24 12:31:07 2017	(r432330)
@@ -1,2 +1,3 @@
-SHA256 (mccabe-0.3.1.tar.gz) = 5f7ea6fb3aa9afe146d07fd6d5cedf788747d8b0c29e44732453c2b2db1e3d16
-SIZE (mccabe-0.3.1.tar.gz) = 7586
+TIMESTAMP = 1485178997
+SHA256 (mccabe-0.5.3.tar.gz) = 16293af41e7242031afd73896fef6458f4cad38201d21e28f344fff50ae1c25e
+SIZE (mccabe-0.5.3.tar.gz) = 8460

Added: head/devel/py3-mccabe/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py3-mccabe/Makefile	Tue Jan 24 12:31:07 2017	(r432330)
@@ -0,0 +1,10 @@
+# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
+# $FreeBSD$
+
+MASTERDIR=	${.CURDIR}/../py-mccabe
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-runner>=0:devel/py3-pytest-runner
+
+USES=		python:3
+
+.include "${MASTERDIR}/Makefile"



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