From nobody Sat Dec 24 14:10:42 2022 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 4NfQtp3qXxz1mSqB; Sat, 24 Dec 2022 14:10:42 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NfQtp3Pxpz4Vb3; Sat, 24 Dec 2022 14:10:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671891042; 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=xJ2tLwDdK7xOyOuWUW9QyRK96iCw9F3Ao7m6cG2iJXk=; b=xCvvY+NWDTkThg6uAr2SqW7qa56dZbkqoh6xzrSDGOVWRtlSBbQd7TBt3mXt+VTNi3rHy4 s6lkGMlpqOQc8/YwQO4lFf2G1umY4rIKHBq0mXbPv2UiqePuW8AuP5okKDwjFyqjEWdUFW 8G8c+vWC/AlpGR7gAZBYRWC12QGsCmWQjykjQ/XqgWDQtj9f2uj6/w6VFwnxGXJ8iXs77O P/PqObUG0ThqqgQFKvC6tqKz5+ZpLGwE/JaSSlwD6rtKbPJdXBxoiiwCNlvkLbM6ksaQTu Nf/9NrQ1vDkIzVrzlNM96NqYVm1MAxPQNiHX/txObt79a36Ut5P8wq9N2Bojiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671891042; 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=xJ2tLwDdK7xOyOuWUW9QyRK96iCw9F3Ao7m6cG2iJXk=; b=EjmWZ9HYks3eYi/dwhZhvhc+quq9Lz4Iy+aL4RBjN0rUfZqyTQf9tsqwfmZ5/VI90Ym0EN poLX7m4RBYnZ6VnDQgZAucRJTHBwzl4xRuGt5++Ve4FwnNryD0WxKgfb4SObQH2YzLuUyV vAJMxg37rVpPNoQ6/oIYttxPipZ4/UkvcXviw6509wvzCoilfR8tFMqXNnnXlam5+mfJx9 DZDkca5ZE27FxXpI1lxMS8xavgFgXGxPTG39amH0dMWYjjVwUmFP/Y0DKrYWcqA+qKUM4H NTcWGswkqweKU6GmRJSWF35SsG4NLO9DF3xUJrxz+YEuO2XmB3LLt1KBTFnxow== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671891042; a=rsa-sha256; cv=none; b=qKQSKTJErY6mGf05Lk776FvextGdcYzKLL2AlsvQxFXNx2lRBK+gG+KhXyq1IQdKnPdE90 lhDw9fNovsAoLbx6LYXlPX/LFSXKoPJaW6ildL17G7eXq3Y5OQrRfpIoX8TtHYgqkpQCG9 0IRMAgGcCO4QVTlJJrM6w3hW2sz38a+AhbyBSCzgnrIVz+LnMsyfZ+bkAC6rQYZ7eqU+5W hWotoQZlj5Q5F/KX5pI2doVQ4bihJlWmCV2hlE+SQR8izMDw2zJzACokQx6KRFlanlK8/y Zyc3vRLeb7DdejuLMkIVeaVshbVYMai+oRwncKyq44aD6psMcGU0zb5Ls25Ddw== 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 4NfQtp2TNFzGcM; Sat, 24 Dec 2022 14:10:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2BOEAgfM066903; Sat, 24 Dec 2022 14:10:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BOEAgiJ066902; Sat, 24 Dec 2022 14:10:42 GMT (envelope-from git) Date: Sat, 24 Dec 2022 14:10:42 GMT Message-Id: <202212241410.2BOEAgiJ066902@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Nuno Teixeira Subject: git: b4119e9a6028 - main - www/py-websocket-client: Update to 1.4.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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: eduardo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b4119e9a6028ed95b0127626329ef6894862fc20 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=b4119e9a6028ed95b0127626329ef6894862fc20 commit b4119e9a6028ed95b0127626329ef6894862fc20 Author: takefu AuthorDate: 2022-12-24 14:06:55 +0000 Commit: Nuno Teixeira CommitDate: 2022-12-24 14:10:14 +0000 www/py-websocket-client: Update to 1.4.2 ChangeLog: https://github.com/websocket-client/websocket-client/compare/v0.58.0...v1.4.2 PR: 262398 Approved by: maintainer timeout --- www/py-websocket-client/Makefile | 35 +++++++++++++++++++++++++---------- www/py-websocket-client/distinfo | 6 +++--- 2 files changed, 28 insertions(+), 13 deletions(-) diff --git a/www/py-websocket-client/Makefile b/www/py-websocket-client/Makefile index 1d944eeca5d2..923b80ca4b01 100644 --- a/www/py-websocket-client/Makefile +++ b/www/py-websocket-client/Makefile @@ -1,28 +1,43 @@ PORTNAME= websocket-client -PORTVERSION= 0.58.0 +PORTVERSION= 1.4.2 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -# Newer version is called "websocket_client" -# but to keep compat with old portname we fixup -# "-" to "_" here. -DISTNAME= ${PORTNAME:S/-/_/g}-${DISTVERSION} MAINTAINER= alfred@FreeBSD.org COMMENT= Websocket client for python WWW= https://github.com/websocket-client/websocket-client -LICENSE= BSD3CLAUSE +LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} -USES= python:3.6+ -USE_PYTHON= distutils concurrent autoplist +USES= python:3.7+ +USE_PYTHON= autoplist distutils NO_ARCH= yes +OPTIONS_DEFINE= OPTIONAL TEST +OPTIONS_DEFAULT= OPTIONAL TEST +OPTIONAL_DESC= SOCKS proxy support and performance boost +TEST_DESC= Run unit tests using a local echo server + +OPTIONAL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-socks>0:net/py-python-socks@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wsaccel>0:www/py-wsaccel@${PY_FLAVOR} + +TEST_TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}websockets>0:devel/py-websockets@${PY_FLAVOR} + +.include + +.if ${PORT_OPTIONS:MTEST} +TEST_ENV= LOCAL_WS_SERVER_PORT=8765 +.endif + do-test: - @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test +.if ${PORT_OPTIONS:MTEST} + @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} websocket/tests/echo-server.py &) +.endif + @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} pytest -v -ra) .include diff --git a/www/py-websocket-client/distinfo b/www/py-websocket-client/distinfo index 7c87ffccf195..6fba9826637b 100644 --- a/www/py-websocket-client/distinfo +++ b/www/py-websocket-client/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1616713293 -SHA256 (websocket_client-0.58.0.tar.gz) = 63509b41d158ae5b7f67eb4ad20fecbb4eee99434e73e140354dc3ff8e09716f -SIZE (websocket_client-0.58.0.tar.gz) = 48216 +TIMESTAMP = 1670301846 +SHA256 (websocket-client-1.4.2.tar.gz) = d6e8f90ca8e2dd4e8027c4561adeb9456b54044312dba655e7cae652ceb9ae59 +SIZE (websocket-client-1.4.2.tar.gz) = 49113