mail/py-rfc6555: Happy Eyeballs Algorithm described in RFC 6555 (new port)

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.

PR:			262231
Author:			Derek Schrock <dereks@lifeofadishwasher.com>
Differential Revision:	https://reviews.freebsd.org/D34389
This commit is contained in:
Derek Schrock 2022-12-27 16:00:38 +01:00 committed by Kurt Jaeger
parent 8ad732afc3
commit 8341f685dd
4 changed files with 30 additions and 0 deletions

View File

@ -521,6 +521,7 @@
SUBDIR += py-pyspf
SUBDIR += py-python-slimta
SUBDIR += py-pyzmail
SUBDIR += py-rfc6555
SUBDIR += py-spf-engine
SUBDIR += py-validate_email
SUBDIR += pymsgauth

23
mail/py-rfc6555/Makefile Normal file
View File

@ -0,0 +1,23 @@
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
WWW= https://github.com/sethmlarson/rfc6555
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= pytest python
# github port since tests are not included in sdist
# https://github.com/sethmlarson/rfc6555/pull/8
USE_GITHUB= yes
GH_ACCOUNT= sethmlarson
USE_PYTHON= autoplist distutils
NO_ARCH= yes
.include <bsd.port.mk>

3
mail/py-rfc6555/distinfo Normal file
View File

@ -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

View File

@ -0,0 +1,3 @@
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.