aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorkoobs <koobs@FreeBSD.org>2016-10-09 19:12:28 +0800
committerkoobs <koobs@FreeBSD.org>2016-10-09 19:12:28 +0800
commit6bcc0c454806b72e431610a00ffdd5c53b0fc7df (patch)
tree66e82ce2c3c8ce60660814cae3a5b126320a46d7 /devel
parent831711715b6cb581732b0a2b19f1e50e37f212b5 (diff)
downloadfreebsd-ports-gnome-6bcc0c454806b72e431610a00ffdd5c53b0fc7df.tar.gz
freebsd-ports-gnome-6bcc0c454806b72e431610a00ffdd5c53b0fc7df.tar.zst
freebsd-ports-gnome-6bcc0c454806b72e431610a00ffdd5c53b0fc7df.zip
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
Diffstat (limited to 'devel')
-rw-r--r--devel/py-singledispatch/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/devel/py-singledispatch/Makefile b/devel/py-singledispatch/Makefile
index 3df646bae172..320f7f717747 100644
--- a/devel/py-singledispatch/Makefile
+++ b/devel/py-singledispatch/Makefile
@@ -3,16 +3,21 @@
PORTNAME= singledispatch
PORTVERSION= 3.4.0.3
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= python@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>