From nobody Sun Aug 04 17:21:51 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WcRFW5JLQz5Sgvy; Sun, 04 Aug 2024 17:21:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WcRFW3hJNz3whj; Sun, 4 Aug 2024 17:21:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722792111; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=0BHz1uvHVMZXjBcYoYu+kfrGvMJbwni/jzI3HhAibso=; b=rgImTJn9vLtb+OjYSgle+URFULwReHKymsVFVIknclCmIRBG+8wPbe3k+EWS1KcDL6PdWa qGvcd6iAl/6/CqoY/V932fvw7xCNzH0idO/kg23zEywG//nED6cqB/2zOK/wwGRXJCWQt8 Xcld0QsLkyGNb33fVpUuFbEObuBxYM3Pf3xzkYW5cQxXhsqaW1YrAm/eEmxrE5qapsZlb3 dYosxNmT4zhqMIPjA91A0QsdAfrNoi5t8d7ofeD2H31+W0DFA75egukwAuBVcb53X6d3Ga D7wstn/AtMdozJ72sWlv/sQ2Qqip4wFiMn5/ExPoVz2MQQo3z4xVeveoTGgGVg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722792111; a=rsa-sha256; cv=none; b=oHdJC46fMQtsvPbsCOp68GajmIWQNahWEKAksXqIO0C3Ugw4hrajlKkk18VyzGb2nL/bHW Gb5vLmjOXVYJ3DJ6oRi3nZ8ikNj4PVX31r+RpOAOIt965Jv1xtBaw7a3yfcN+CgWXCzUN5 QRxGk1Qzi33zj/C6uLErx4tio2IfIg072/uqjODNtVTVs/TZ0lIaTsBxuRPcC8lFxbB4zt 59Tx7b/dIiKDLu/Sf8kVF7hUXqKDoFxMIsy4q4Sa9Kbppm71FMf73qBbuC+uoBhqiNwfgr F0S+p6W/aMBZQutRrfZZnTgg4zFxbOu4qnSOZjT0gJJEB56dKkpuLfowbUXLBA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722792111; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=0BHz1uvHVMZXjBcYoYu+kfrGvMJbwni/jzI3HhAibso=; b=CWmwBAmAwJbLvWDnHlM4W34WEgPlpe5LYJ0WGR5Y/Ig8eVND9Xa3Cv22qQqdzyqc6w7FPI ZMYMmBl/TWXKkus5SqWdv8C9pTIG97INhfuILvciXmgMCPv0NQsgFvj9tLwiwCSTiahpeD BHEk3uELYYEFiYyuT3R0pnqrWa4ypiKN6zQAemxbMR14dsvY1gRu9Tr63jEN+rFByyoRK8 UH1uVjKeiESSLJomN8pQ/yFOXkp3qb161a8RCWIPPtX49bodvPLXTBsKlZ8rpWQWYGZ0Cw qqa0GFOCFPIKfz3badUZ2TUN7AgltL6YJypsmI7UKDMYJk60KhbQnB11Rb0F0A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WcRFW31bxz14G4; Sun, 4 Aug 2024 17:21:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 474HLpDP059219; Sun, 4 Aug 2024 17:21:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 474HLpTB059216; Sun, 4 Aug 2024 17:21:51 GMT (envelope-from git) Date: Sun, 4 Aug 2024 17:21:51 GMT Message-Id: <202408041721.474HLpTB059216@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 2bf3b3543e1f - main - net/py-aiohappyeyeballs: Add py-aiohappyeyeballs 2.3.2 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2bf3b3543e1f7bbe2bb4db4e26a5f79b7cda8795 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=2bf3b3543e1f7bbe2bb4db4e26a5f79b7cda8795 commit 2bf3b3543e1f7bbe2bb4db4e26a5f79b7cda8795 Author: Po-Chuan Hsieh AuthorDate: 2024-08-04 16:44:19 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-08-04 17:13:53 +0000 net/py-aiohappyeyeballs: Add py-aiohappyeyeballs 2.3.2 This library exists to allow connecting with Happy Eyeballs when you already have a list of addrinfo and not a DNS name. The stdlib version of loop.create_connection() will only work when you pass in an unresolved name which is not a good fit when using DNS caching or resolving names via another method such was zeroconf. --- net/Makefile | 1 + net/py-aiohappyeyeballs/Makefile | 22 ++++++++++++++++++++++ net/py-aiohappyeyeballs/distinfo | 3 +++ net/py-aiohappyeyeballs/pkg-descr | 6 ++++++ 4 files changed, 32 insertions(+) diff --git a/net/Makefile b/net/Makefile index f6760cf4ba2d..6493ea0fa369 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1030,6 +1030,7 @@ SUBDIR += py-DTLSSocket SUBDIR += py-GeoIP2 SUBDIR += py-aiocoap + SUBDIR += py-aiohappyeyeballs SUBDIR += py-aiohttp-socks SUBDIR += py-amqp SUBDIR += py-amqplib diff --git a/net/py-aiohappyeyeballs/Makefile b/net/py-aiohappyeyeballs/Makefile new file mode 100644 index 000000000000..13e5f56c085f --- /dev/null +++ b/net/py-aiohappyeyeballs/Makefile @@ -0,0 +1,22 @@ +PORTNAME= aiohappyeyeballs +PORTVERSION= 2.3.2 +CATEGORIES= net python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Happy Eyeballs +WWW= https://aiohappyeyeballs.readthedocs.io/en/latest/ \ + https://github.com/aio-libs/aiohappyeyeballs + +LICENSE= PSFL +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include diff --git a/net/py-aiohappyeyeballs/distinfo b/net/py-aiohappyeyeballs/distinfo new file mode 100644 index 000000000000..4f6949ad651d --- /dev/null +++ b/net/py-aiohappyeyeballs/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1722711133 +SHA256 (aiohappyeyeballs-2.3.2.tar.gz) = 77e15a733090547a1f5369a1287ddfc944bd30df0eb8993f585259c34b405f4e +SIZE (aiohappyeyeballs-2.3.2.tar.gz) = 11333 diff --git a/net/py-aiohappyeyeballs/pkg-descr b/net/py-aiohappyeyeballs/pkg-descr new file mode 100644 index 000000000000..e22fe9ae53b8 --- /dev/null +++ b/net/py-aiohappyeyeballs/pkg-descr @@ -0,0 +1,6 @@ +This library exists to allow connecting with Happy Eyeballs when you already +have a list of addrinfo and not a DNS name. + +The stdlib version of loop.create_connection() will only work when you pass in +an unresolved name which is not a good fit when using DNS caching or resolving +names via another method such was zeroconf.