aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkoobs <koobs@FreeBSD.org>2017-08-19 19:21:59 +0800
committerkoobs <koobs@FreeBSD.org>2017-08-19 19:21:59 +0800
commitddcf047b0980f635f77d204f6693d1f663a6eb3f (patch)
tree60b6c8b408b4f4c062711179ea11acaaa2fe1df4
parentf1b3be33ed70e40b1151bc8a929d4d3e60e37281 (diff)
downloadfreebsd-ports-gnome-ddcf047b0980f635f77d204f6693d1f663a6eb3f.tar.gz
freebsd-ports-gnome-ddcf047b0980f635f77d204f6693d1f663a6eb3f.tar.zst
freebsd-ports-gnome-ddcf047b0980f635f77d204f6693d1f663a6eb3f.zip
net/py-libnet: Limit to 2.x (Does not support Python 3)
This (upstream) package does not appear to support (intentionally or otherwise) Python 3. It also fails to build with Python 3.x with a SyntaxError. This change corrects the USES=python:<version-spec> support declaration accordingly. PR: 219324 Reported by: Johannes Jost Meixner Approved by: portmgr (blanket) MFH: 2017Q3
-rw-r--r--net/py-libnet/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/py-libnet/Makefile b/net/py-libnet/Makefile
index d2f4e4b5dec2..fcd527aaef66 100644
--- a/net/py-libnet/Makefile
+++ b/net/py-libnet/Makefile
@@ -20,7 +20,7 @@ BROKEN_aarch64= fails to package: lib.freebsd-11.0-RELEASE-p1-aarch64-2.7/libne
BROKEN_mips64= fails to package: lib.freebsd-11.0-RELEASE-p1-mips64-2.7/libnet.so: No such file or directory
BROKEN_powerpc64= fails to package: lib.freebsd-11.0-RELEASE-p1-powerpc64-2.7/libnet.so: No such file or directory
-USES= python
+USES= python:-2.7
USE_PYTHON= distutils pythonprefix
USE_GITHUB= yes