Index: mail/Makefile =================================================================== --- mail/Makefile +++ mail/Makefile @@ -513,6 +513,7 @@ SUBDIR += py-pyspf SUBDIR += py-python-slimta SUBDIR += py-pyzmail + SUBDIR += py-rfc6555 SUBDIR += py-spf-engine SUBDIR += py-validate_email SUBDIR += pymsgauth Index: mail/py-rfc6555/Makefile =================================================================== --- /dev/null +++ mail/py-rfc6555/Makefile @@ -0,0 +1,25 @@ +PORTNAME= rfc6555 +PORTVERSION= 0.1.0 +DISTVERSIONPREFIX= v +CATEGORIES= mail python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= dereks@lifeofadishwasher.com +COMMENT= Happy Eyeballs Algorithm described in RFC 6555 + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} + +USES= python +USE_GITHUB= yes +GH_ACCOUNT= sethmlarson +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +do-test: + @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts= tests + +.include Index: mail/py-rfc6555/distinfo =================================================================== --- /dev/null +++ mail/py-rfc6555/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1646273914 +SHA256 (sethmlarson-rfc6555-v0.1.0_GH0.tar.gz) = 8a15da0f619227c6938be27c64e844668701bca65205002eda789a4fd883b23f +SIZE (sethmlarson-rfc6555-v0.1.0_GH0.tar.gz) = 11216 Index: mail/py-rfc6555/pkg-descr =================================================================== --- /dev/null +++ mail/py-rfc6555/pkg-descr @@ -0,0 +1,5 @@ +Synchronous Python implementation of the Happy Eyeballs Algorithm +described in RFC 6555. Provided with a single file and dead-simple +API to allow easy vendoring and integration into other projects. + +WWW: https://github.com/sethmlarson/rfc6555