On 2019/06/25 22:52, Kurt Mosiejczuk wrote:
> On Sun, Jun 09, 2019 at 02:34:23PM -0400, Kurt Mosiejczuk wrote:
> > This removes the last python3 consumer of py-typing. py-typing is a no-op
> > for any python 3.x versions we support. All tests still pass for
> > py-dnspython for both flavors.
>
> > Once this is done, I can remove the python3 flavor of py-typing completely.
>
> > --Kurt
>
> Ping.
>
> (Updated diff slightly to convert to PERMIT_PACKAGE)
>
> --Kurt
>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/net/py-dnspython/Makefile,v
> retrieving revision 1.27
> diff -u -p -r1.27 Makefile
> --- Makefile 28 Apr 2019 20:51:44 -0000 1.27
> +++ Makefile 26 Jun 2019 02:52:02 -0000
> @@ -3,7 +3,7 @@
> COMMENT= DNS toolkit for Python
>
> MODPY_EGG_VERSION= 1.16.0
> -REVISION= 1
> +REVISION= 2
> DISTNAME= dnspython-${MODPY_EGG_VERSION}
> PKGNAME= py-${DISTNAME}
> CATEGORIES= net
> @@ -11,7 +11,7 @@ CATEGORIES= net
> HOMEPAGE= http://www.dnspython.org/
>
> # BSD
> -PERMIT_PACKAGE_CDROM= Yes
> +PERMIT_PACKAGE = Yes
Mixed "=" and " =" here .. otherwise OK
>
> MASTER_SITES= ${HOMEPAGE}kits/${MODPY_EGG_VERSION}/
>
> @@ -22,8 +22,11 @@ MODULES= lang/python
> MODPY_SETUPTOOLS= Yes
> MODPY_ADJ_FILES= examples/*.py
>
> -TEST_DEPENDS= devel/py-typing${MODPY_FLAVOR} \
> - security/py-ecdsa${MODPY_FLAVOR}
> +TEST_DEPENDS= security/py-ecdsa${MODPY_FLAVOR}
> +
> +.if !${FLAVOR:Mpython3}
> +TEST_DEPENDS+= devel/py-typing
> +.endif
>
> post-install:
> ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/${MODPY_PY_PREFIX}dnspython
>