diff options
author | wiz <wiz> | 2014-01-25 10:29:56 +0000 |
---|---|---|
committer | wiz <wiz> | 2014-01-25 10:29:56 +0000 |
commit | f86d461178033174903bd0d6031d959e38e12ac0 (patch) | |
tree | 3bbaa4e1a32886abb417eed9e3a6c4c742388c9a /net/scapy | |
parent | f64235a49f032dacf7612c1aa33f6ac70a2eb44d (diff) | |
download | pkgsrc-f86d461178033174903bd0d6031d959e38e12ac0.tar.gz |
Mark packages as not ready for python-3.x where applicable;
either because they themselves are not ready or because a
dependency isn't. This is annotated by
PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of x.y.z
or
PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-foo, py-bar
respectively, please use the same style for other packages,
and check during updates.
Use versioned_dependencies.mk where applicable.
Use REPLACE_PYTHON instead of handcoded alternatives, where applicable.
Reorder Makefile sections into standard order, where applicable.
Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default
with the next commit.
Whitespace cleanups and other nits corrected, where necessary.
Diffstat (limited to 'net/scapy')
-rw-r--r-- | net/scapy/Makefile | 4 | ||||
-rw-r--r-- | net/scapy/options.mk | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/net/scapy/Makefile b/net/scapy/Makefile index 8fba3c7d117..0e7df887531 100644 --- a/net/scapy/Makefile +++ b/net/scapy/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2013/06/15 20:24:19 adam Exp $ +# $NetBSD: Makefile,v 1.16 2014/01/25 10:30:18 wiz Exp $ DISTNAME= scapy-2.2.0 CATEGORIES= net @@ -15,6 +15,8 @@ DEPENDS+= ${PYPKGPREFIX}-readline-[0-9]*:../../devel/py-readline NO_BUILD= yes +PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-libpcap, py-libdnet + INSTALLATION_DIRS+= share/examples/scapy .include "options.mk" diff --git a/net/scapy/options.mk b/net/scapy/options.mk index 87eb1052a42..44cfccdea6d 100644 --- a/net/scapy/options.mk +++ b/net/scapy/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.2 2011/10/16 04:16:49 obache Exp $ +# $NetBSD: options.mk,v 1.3 2014/01/25 10:30:18 wiz Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.scapy @@ -18,11 +18,13 @@ DEPENDS+= ${PYPKGPREFIX}-amkCrypto-[0-9]*:../../security/py-amkCrypto ### .if !empty(PKG_OPTIONS:Mgnuplot) DEPENDS+= ${PYPKGPREFIX}-gnuplot-[0-9]*:../../graphics/py-gnuplot +PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-gnuplot .endif ### ### Add in TeX support for psdump() and/or pdfdump() ### .if !empty(PKG_OPTIONS:Mscapy-pyx) -DEPENDS+= ${PYPKGPREFIX}-X-[0-9]*:../../textproc/py-X +PYTHON_VERSIONED_DEPENDENCIES= X +.include "../../lang/python/versioned_dependencies.mk" .endif |