svn commit: r423588 - head/devel/py-singledispatch

Kubilay Kocak koobs at FreeBSD.org
Sun Oct 9 11:12:29 UTC 2016


Author: koobs
Date: Sun Oct  9 11:12:28 2016
New Revision: 423588
URL: https://svnweb.freebsd.org/changeset/ports/423588

Log:
  devel/py-singledispatch: Add missing dependency (six)
  
  - Add missing RUN_DEPENDS on six [1]
  - Canonicalize, clarify COMMENT
  - Limit USE_PYTHON version to <= 3.3 (Unnecessary in 3.4+)
  - Enable architecture independence (NO_ARCH)
  - Enable concurrent Python installation
  
  PR:		213314 [1]
  Submitted by:	Kyle Evans <bsdports kyle-evans net> [1]
  Approved by:	python (maintainer)
  MFH:		2016Q4

Modified:
  head/devel/py-singledispatch/Makefile

Modified: head/devel/py-singledispatch/Makefile
==============================================================================
--- head/devel/py-singledispatch/Makefile	Sun Oct  9 10:45:33 2016	(r423587)
+++ head/devel/py-singledispatch/Makefile	Sun Oct  9 11:12:28 2016	(r423588)
@@ -3,16 +3,21 @@
 
 PORTNAME=	singledispatch
 PORTVERSION=	3.4.0.3
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	python at FreeBSD.org
-COMMENT=	Provides single-dispatch generic functions
+COMMENT=	Backport of functools.singledispatch from Python 3.4
 
 LICENSE=	MIT
 
-USES=		python
-USE_PYTHON=	distutils autoplist
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six
+
+USES=		python:-3.3
+USE_PYTHON=	distutils concurrent autoplist
+
+NO_ARCH=	yes
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list