head 1.18; access; symbols pkgsrc-2023Q4:1.18.0.6 pkgsrc-2023Q4-base:1.18 pkgsrc-2023Q3:1.18.0.4 pkgsrc-2023Q3-base:1.18 pkgsrc-2023Q2:1.18.0.2 pkgsrc-2023Q2-base:1.18 pkgsrc-2023Q1:1.17.0.10 pkgsrc-2023Q1-base:1.17 pkgsrc-2022Q4:1.17.0.8 pkgsrc-2022Q4-base:1.17 pkgsrc-2022Q3:1.17.0.6 pkgsrc-2022Q3-base:1.17 pkgsrc-2022Q2:1.17.0.4 pkgsrc-2022Q2-base:1.17 pkgsrc-2022Q1:1.17.0.2 pkgsrc-2022Q1-base:1.17 pkgsrc-2021Q4:1.16.0.18 pkgsrc-2021Q4-base:1.16 pkgsrc-2021Q3:1.16.0.16 pkgsrc-2021Q3-base:1.16 pkgsrc-2021Q2:1.16.0.14 pkgsrc-2021Q2-base:1.16 pkgsrc-2021Q1:1.16.0.12 pkgsrc-2021Q1-base:1.16 pkgsrc-2020Q4:1.16.0.10 pkgsrc-2020Q4-base:1.16 pkgsrc-2020Q3:1.16.0.8 pkgsrc-2020Q3-base:1.16 pkgsrc-2020Q2:1.16.0.6 pkgsrc-2020Q2-base:1.16 pkgsrc-2020Q1:1.16.0.2 pkgsrc-2020Q1-base:1.16 pkgsrc-2019Q4:1.16.0.4 pkgsrc-2019Q4-base:1.16 pkgsrc-2019Q3:1.15.0.2 pkgsrc-2019Q3-base:1.15 pkgsrc-2019Q2:1.14.0.2 pkgsrc-2019Q2-base:1.14 pkgsrc-2019Q1:1.12.0.6 pkgsrc-2019Q1-base:1.12 pkgsrc-2018Q4:1.12.0.4 pkgsrc-2018Q4-base:1.12 pkgsrc-2018Q3:1.12.0.2 pkgsrc-2018Q3-base:1.12 pkgsrc-2018Q2:1.10.0.10 pkgsrc-2018Q2-base:1.10 pkgsrc-2018Q1:1.10.0.8 pkgsrc-2018Q1-base:1.10 pkgsrc-2017Q4:1.10.0.6 pkgsrc-2017Q4-base:1.10 pkgsrc-2017Q3:1.10.0.4 pkgsrc-2017Q3-base:1.10 pkgsrc-2017Q2:1.9.0.4 pkgsrc-2017Q2-base:1.9 pkgsrc-2017Q1:1.9.0.2 pkgsrc-2017Q1-base:1.9 pkgsrc-2016Q4:1.8.0.4 pkgsrc-2016Q4-base:1.8 pkgsrc-2016Q3:1.8.0.2 pkgsrc-2016Q3-base:1.8 pkgsrc-2016Q2:1.6.0.6 pkgsrc-2016Q2-base:1.6 pkgsrc-2016Q1:1.6.0.4 pkgsrc-2016Q1-base:1.6 pkgsrc-2015Q4:1.6.0.2 pkgsrc-2015Q4-base:1.6 pkgsrc-2015Q3:1.5.0.12 pkgsrc-2015Q3-base:1.5 pkgsrc-2015Q2:1.5.0.10 pkgsrc-2015Q2-base:1.5 pkgsrc-2015Q1:1.5.0.8 pkgsrc-2015Q1-base:1.5 pkgsrc-2014Q4:1.5.0.6 pkgsrc-2014Q4-base:1.5 pkgsrc-2014Q3:1.5.0.4 pkgsrc-2014Q3-base:1.5 pkgsrc-2014Q2:1.5.0.2 pkgsrc-2014Q2-base:1.5 pkgsrc-2014Q1:1.4.0.2 pkgsrc-2014Q1-base:1.4 pkgsrc-2013Q4:1.3.0.8 pkgsrc-2013Q4-base:1.3 pkgsrc-2013Q3:1.3.0.6 pkgsrc-2013Q3-base:1.3 pkgsrc-2013Q2:1.3.0.4 pkgsrc-2013Q2-base:1.3 pkgsrc-2013Q1:1.3.0.2 pkgsrc-2013Q1-base:1.3 pkgsrc-2012Q4:1.2.0.2 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q3:1.1.1.1.0.22 pkgsrc-2012Q3-base:1.1.1.1 pkgsrc-2012Q2:1.1.1.1.0.20 pkgsrc-2012Q2-base:1.1.1.1 pkgsrc-2012Q1:1.1.1.1.0.18 pkgsrc-2012Q1-base:1.1.1.1 pkgsrc-2011Q4:1.1.1.1.0.16 pkgsrc-2011Q4-base:1.1.1.1 pkgsrc-2011Q3:1.1.1.1.0.14 pkgsrc-2011Q3-base:1.1.1.1 pkgsrc-2011Q2:1.1.1.1.0.12 pkgsrc-2011Q2-base:1.1.1.1 pkgsrc-2011Q1:1.1.1.1.0.10 pkgsrc-2011Q1-base:1.1.1.1 pkgsrc-2010Q4:1.1.1.1.0.8 pkgsrc-2010Q4-base:1.1.1.1 pkgsrc-2010Q3:1.1.1.1.0.6 pkgsrc-2010Q3-base:1.1.1.1 pkgsrc-2010Q2:1.1.1.1.0.4 pkgsrc-2010Q2-base:1.1.1.1 pkgsrc-2010Q1:1.1.1.1.0.2 pkgsrc-2010Q1-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.18 date 2023.06.06.12.42.08; author riastradh; state Exp; branches; next 1.17; commitid xhspr6Z8JLQOWSrE; 1.17 date 2022.01.22.14.35.52; author wiz; state Exp; branches; next 1.16; commitid ispUnflokq4rFDpD; 1.16 date 2019.11.03.11.45.51; author rillig; state Exp; branches; next 1.15; commitid llzTCvoTAgLcNoJB; 1.15 date 2019.09.02.13.19.51; author adam; state Exp; branches; next 1.14; commitid JNtg51I3DnX4jrBB; 1.14 date 2019.05.23.19.23.10; author rillig; state Exp; branches; next 1.13; commitid aWlQW8HYUUFCAmoB; 1.13 date 2019.04.26.13.14.10; author maya; state Exp; branches; next 1.12; commitid U4pISddzN4WXpRkB; 1.12 date 2018.07.04.13.40.30; author jperkin; state Exp; branches; next 1.11; commitid NnIyRkdX3Lbg3PIA; 1.11 date 2018.07.03.05.03.29; author adam; state Exp; branches; next 1.10; commitid bH4MNADzVzoIfEIA; 1.10 date 2017.09.04.18.55.09; author wiz; state Exp; branches; next 1.9; commitid AU108Aos9P41zU5A; 1.9 date 2017.01.01.14.43.52; author wiz; state Exp; branches; next 1.8; commitid TmfhF2MIYbgU4hAz; 1.8 date 2016.07.10.11.15.41; author rillig; state Exp; branches; next 1.7; commitid IficGimpyQCryLdz; 1.7 date 2016.07.09.13.04.01; author wiz; state Exp; branches; next 1.6; commitid k9A2yv7vTRunbEdz; 1.6 date 2015.12.05.21.25.54; author adam; state Exp; branches; next 1.5; commitid bgA0CynThkP3WNLy; 1.5 date 2014.05.09.07.37.15; author wiz; state Exp; branches; next 1.4; commitid wfzXpL2biguCPPzx; 1.4 date 2014.01.25.10.30.17; author wiz; state Exp; branches; next 1.3; commitid VOWgk3vYhVXj8umx; 1.3 date 2013.02.06.19.31.00; author jperkin; state Exp; branches; next 1.2; 1.2 date 2012.10.23.17.19.03; author asau; state Exp; branches; next 1.1; 1.1 date 2010.03.13.10.20.53; author pettai; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2010.03.13.10.20.53; author pettai; state Exp; branches; next ; desc @@ 1.18 log @Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/. Almost all uses, if not all of them, are wrong, according to the semantics of BUILD_DEPENDS (packages built for target available for use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for host available for use _as_ tools at build-time). No change to BUILD_DEPENDS as used correctly inside buildlink3. As proposed on tech-pkg: https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html @ text @# $NetBSD: Makefile,v 1.17 2022/01/22 14:35:52 wiz Exp $ DISTNAME= pypcap-1.1 PKGNAME= ${PYPKGPREFIX}-pcap-1.1 PKGREVISION= 2 CATEGORIES= net python MASTER_SITES= http://pypcap.googlecode.com/files/ MAINTAINER= pettai@@NetBSD.org HOMEPAGE= https://github.com/dugsong/pypcap COMMENT= Simplified object-oriented python module for libpcap LICENSE= modified-bsd TOOL_DEPENDS+= ${PYPKGPREFIX}-pyrex-[0-9]*:../../lang/py-pyrex SUBST_CLASSES+= python SUBST_FILES.python= Makefile SUBST_SED.python+= -e 's,@@PYTHON@@,${PYTHONBIN},g' SUBST_STAGE.python= pre-configure SUBST_CLASSES+= prefix SUBST_FILES.prefix= Makefile SUBST_VARS.prefix= PREFIX SUBST_STAGE.prefix= pre-configure PYTHON_VERSIONS_ACCEPTED= 27 # py-pyrex EGG_NAME= pcap-${PKGVERSION_NOREV} FILES_SUBST+= PYTHONBIN=${PYTHONBIN:Q} pre-configure: cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ pyrexc pcap.pyx do-configure: cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \ ${PYTHONBIN} setup.py config # --with-pcap=${PREFIX} .include "../../net/libpcap/buildlink3.mk" .include "../../lang/python/egg.mk" .include "../../lang/python/application.mk" .include "../../mk/bsd.pkg.mk" @ 1.17 log @py-pcap: convert to egg.mk @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2019/11/03 11:45:51 rillig Exp $ d14 1 a14 1 BUILD_DEPENDS+= ${PYPKGPREFIX}-pyrex-[0-9]*:../../lang/py-pyrex @ 1.16 log @net: align variable assignments pkglint -Wall -F --only aligned --only indent -r No manual corrections. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2019/09/02 13:19:51 adam Exp $ d5 1 a5 1 PKGREVISION= 1 a25 1 PYDISTUTILSPKG= yes d27 1 d41 1 a41 1 .include "../../lang/python/extension.mk" @ 1.15 log @Changed PYTHON_VERSIONS_INCOMPATIBLE to PYTHON_VERSIONS_ACCEPTED; needed for future Python 3.8 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2019/05/23 19:23:10 rillig Exp $ d27 1 a27 1 PYTHON_VERSIONS_ACCEPTED= 27 # py-pyrex @ 1.14 log @all: replace SUBST_SED with the simpler SUBST_VARS pkglint -Wall -r --only "substitution command" -F With manual review and indentation fixes since pkglint doesn't get that part correct in every case. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2019/04/26 13:14:10 maya Exp $ d27 1 a27 1 PYTHON_VERSIONS_INCOMPATIBLE= 36 37 # py-pyrex @ 1.13 log @Omit mentions of python 34 and 35, after those were removed. - Includes some whitespace changes, to be handled in a separate commit. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2018/07/04 13:40:30 jperkin Exp $ d23 1 a23 1 SUBST_SED.prefix= -e "s|@@PREFIX@@|${PREFIX}|g" @ 1.12 log @*: Move SUBST_STAGE from post-patch to pre-configure Performing substitutions during post-patch breaks tools such as mkpatches, making it very difficult to regenerate correct patches after making changes, and often leading to substituted string replacements being committed. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2018/07/03 05:03:29 adam Exp $ d27 1 a27 1 PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 37 # py-pyrex @ 1.11 log @extend PYTHON_VERSIONS_ for Python 3.7 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2017/09/04 18:55:09 wiz Exp $ d19 1 a19 1 SUBST_STAGE.python= post-patch d24 1 a24 1 SUBST_STAGE.prefix= post-patch @ 1.10 log @Update some URLs. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2017/01/01 14:43:52 wiz Exp $ d27 1 a27 1 PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # py-pyrex @ 1.9 log @Add python-3.6 to incompatible versions. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2016/07/10 11:15:41 rillig Exp $ d10 1 a10 1 HOMEPAGE= http://code.google.com/p/pypcap/ @ 1.8 log @Fixed pkglint warnings. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2016/07/09 13:04:01 wiz Exp $ d27 1 a27 1 PYTHON_VERSIONS_INCOMPATIBLE= 34 35 # py-pyrex @ 1.7 log @Remove python33: adapt all packages that refer to it. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2015/12/05 21:25:54 adam Exp $ d16 9 a24 8 SUBST_CLASSES+= python SUBST_FILES.python= Makefile SUBST_SED.python+= -e 's,@@PYTHON@@,${PYTHONBIN},g' SUBST_STAGE.python= post-patch SUBST_CLASSES+= prefix SUBST_FILES.prefix= Makefile SUBST_SED.prefix= -e "s|@@PREFIX@@|${PREFIX}|g" SUBST_STAGE.prefix= post-patch d26 1 a26 1 PYDISTUTILSPKG= yes d29 1 a29 1 FILES_SUBST+= PYTHONBIN=${PYTHONBIN:Q} @ 1.6 log @Extend PYTHON_VERSIONS_INCOMPATIBLE to 35 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2014/05/09 07:37:15 wiz Exp $ d26 1 a26 1 PYTHON_VERSIONS_INCOMPATIBLE= 33 34 35 # py-pyrex @ 1.5 log @Mark packages that are not ready for python-3.3 also not ready for 3.4, until proven otherwise. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2014/01/25 10:30:17 wiz Exp $ d26 1 a26 1 PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # py-pyrex @ 1.4 log @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. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2013/02/06 19:31:00 jperkin Exp $ d26 1 a26 1 PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-pyrex @ 1.3 log @PKGREVISION bumps for net/libpcap update. @ text @d1 1 a1 2 # $NetBSD: Makefile,v 1.2 2012/10/23 17:19:03 asau Exp $ # d26 1 @ 1.2 log @Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1.1.1 2010/03/13 10:20:53 pettai Exp $ d6 1 @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ a13 2 PKG_DESTDIR_SUPPORT= user-destdir @ 1.1.1.1 log @Simplified object-oriented Python extension module for libpcap - the current tcpdump.org version, the legacy version shipping with some of the BSD operating systems, and the WinPcap port for Windows. @ text @@