FreeBSD Bugzilla – Attachment 232356 Details for
Bug 262398
www/py-websocket-client: Update to 1.4.2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Update py-websocket-client to 1.3.1 change license, add the "optional" and "test" option and change PORTVERSION to DISTVERSION
0001-Update-py-websocket-client-to-1.3.1.patch (text/plain), 2.80 KB, created by
Niclas
on 2022-03-09 23:10:31 UTC
(
hide
)
Description:
Update py-websocket-client to 1.3.1 change license, add the "optional" and "test" option and change PORTVERSION to DISTVERSION
Filename:
MIME Type:
Creator:
Niclas
Created:
2022-03-09 23:10:31 UTC
Size:
2.80 KB
patch
obsolete
>From 04d366ffb74579521046b0c3d3841acbd922c350 Mon Sep 17 00:00:00 2001 >From: Niclas Carlsson <n_carlsson@outlook.com> >Date: Tue, 8 Mar 2022 21:21:38 +0100 >Subject: [PATCH] Update py-websocket-client to 1.3.1 >change license, add the "optional" and "test" option and change PORTVERSION to DISTVERSION > >--- > www/py-websocket-client/Makefile | 34 +++++++++++++++++++++++--------- > www/py-websocket-client/distinfo | 6 +++--- > 2 files changed, 28 insertions(+), 12 deletions(-) > >diff --git a/www/py-websocket-client/Makefile b/www/py-websocket-client/Makefile >index 84a4fefb9..0db283ec4 100644 >--- a/www/py-websocket-client/Makefile >+++ b/www/py-websocket-client/Makefile >@@ -1,29 +1,45 @@ > # Created by: Alfred Perlstein <alfred@freebsd.org> > > PORTNAME= websocket-client >-PORTVERSION= 0.58.0 >+DISTVERSION= 1.3.1 > 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 > >-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+ >+USES= python:3.7+ > USE_PYTHON= distutils concurrent autoplist > > 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 <bsd.port.options.mk> >+ >+.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 <bsd.port.mk> >diff --git a/www/py-websocket-client/distinfo b/www/py-websocket-client/distinfo >index 7c87ffccf..0f21df313 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 = 1646752164 >+SHA256 (websocket-client-1.3.1.tar.gz) = 6278a75065395418283f887de7c3beafb3aa68dada5cacbe4b214e8d26da499b >+SIZE (websocket-client-1.3.1.tar.gz) = 47672 >-- >2.35.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 262398
:
232298
|
232325
| 232356 |
238564