py-typing is only useful for providing typing support to versions
of Python < 3.5.x. We currently have 3.6.8 and will probably move to
3.7.x before long. Thus, dropping py-typing for the python3 flavor
of py-aiodns.

The two consumers of py-aiodns are net/py-slixmpp and net/poezio.
Both test all of their tests before and after this change.

This is the start of work looking to remove the python3 flavor
of py-typing since it does nothing for us anyway.

While here, I'm adding a comment to note that we can't move to
version >= 2.0.0 while we wish to have python 2 support.

I'm actually maintainer on this and py-slixmpp.

--Kurt

Index: Makefile
===================================================================
RCS file: /cvs/ports/net/py-aiodns/Makefile,v
retrieving revision 1.5
diff -u -p -r1.5 Makefile
--- Makefile    19 Jan 2019 14:26:34 -0000      1.5
+++ Makefile    16 Apr 2019 02:34:37 -0000
@@ -2,12 +2,14 @@
 
 COMMENT =              simple DNS resolver for asyncio
 
+# Cannot go to >=2.0.0 if we need python 2.x support
 MODPY_EGG_VERSION =    1.2.0
 DISTNAME =             aiodns-${MODPY_EGG_VERSION}
 PKGNAME =              py-${DISTNAME}
 CATEGORIES =           net
+REVISION =             0
 
-MAINTAINER =           Kurt Mosiejczuk <k...@cranky.work>
+MAINTAINER =           Kurt Mosiejczuk <k...@openbsd.org>
 
 # MIT
 PERMIT_PACKAGE_CDROM = Yes
@@ -20,10 +22,10 @@ MODPY_SETUPTOOLS =  Yes
 FLAVORS =              python3
 FLAVOR ?=
 
-RUN_DEPENDS =          devel/py-typing${MODPY_FLAVOR} \
-                       net/py-cares${MODPY_FLAVOR}
+RUN_DEPENDS =          net/py-cares${MODPY_FLAVOR}
 .if !${FLAVOR:Mpython3}
-RUN_DEPENDS += devel/py-trollius
+RUN_DEPENDS +=                 devel/py-trollius \
+                       devel/py-typing
 .endif
 
 TEST_DEPENDS =         ${RUN_DEPENDS}

Reply via email to