1
0
forked from ports/contrib

[notify] python3-websocket-client: initial import for python3-streamlink

This commit is contained in:
Danny Rawlins 2017-09-25 22:51:40 +10:00
parent a0d18f0877
commit faab5a6c4b
5 changed files with 108 additions and 0 deletions

View File

@ -0,0 +1,67 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/wsdump.py
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/python3.6/
drwxr-xr-x root/root usr/lib/python3.6/site-packages/
drwxr-xr-x root/root usr/lib/python3.6/site-packages/websocket/
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/__init__.py
drwxr-xr-x root/root usr/lib/python3.6/site-packages/websocket/__pycache__/
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/__pycache__/__init__.cpython-36.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/__pycache__/__init__.cpython-36.pyc
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/__pycache__/_abnf.cpython-36.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/__pycache__/_abnf.cpython-36.pyc
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/__pycache__/_app.cpython-36.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/__pycache__/_app.cpython-36.pyc
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/__pycache__/_cookiejar.cpython-36.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/__pycache__/_cookiejar.cpython-36.pyc
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/__pycache__/_core.cpython-36.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/__pycache__/_core.cpython-36.pyc
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/__pycache__/_exceptions.cpython-36.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/__pycache__/_exceptions.cpython-36.pyc
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/__pycache__/_handshake.cpython-36.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/__pycache__/_handshake.cpython-36.pyc
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/__pycache__/_http.cpython-36.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/__pycache__/_http.cpython-36.pyc
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/__pycache__/_logging.cpython-36.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/__pycache__/_logging.cpython-36.pyc
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/__pycache__/_socket.cpython-36.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/__pycache__/_socket.cpython-36.pyc
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/__pycache__/_ssl_compat.cpython-36.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/__pycache__/_ssl_compat.cpython-36.pyc
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/__pycache__/_url.cpython-36.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/__pycache__/_url.cpython-36.pyc
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/__pycache__/_utils.cpython-36.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/__pycache__/_utils.cpython-36.pyc
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/_abnf.py
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/_app.py
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/_cookiejar.py
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/_core.py
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/_exceptions.py
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/_handshake.py
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/_http.py
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/_logging.py
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/_socket.py
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/_ssl_compat.py
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/_url.py
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/_utils.py
drwxr-xr-x root/root usr/lib/python3.6/site-packages/websocket/tests/
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/tests/__init__.py (EMPTY)
drwxr-xr-x root/root usr/lib/python3.6/site-packages/websocket/tests/__pycache__/
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/tests/__pycache__/__init__.cpython-36.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/tests/__pycache__/__init__.cpython-36.pyc
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/tests/__pycache__/test_cookiejar.cpython-36.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/tests/__pycache__/test_cookiejar.cpython-36.pyc
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/tests/__pycache__/test_websocket.cpython-36.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/tests/__pycache__/test_websocket.cpython-36.pyc
drwxr-xr-x root/root usr/lib/python3.6/site-packages/websocket/tests/data/
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/tests/data/header01.txt
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/tests/data/header02.txt
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/tests/test_cookiejar.py
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket/tests/test_websocket.py
drwxr-xr-x root/root usr/lib/python3.6/site-packages/websocket_client-0.44.0-py3.6.egg-info/
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket_client-0.44.0-py3.6.egg-info/PKG-INFO
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket_client-0.44.0-py3.6.egg-info/SOURCES.txt
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket_client-0.44.0-py3.6.egg-info/dependency_links.txt
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket_client-0.44.0-py3.6.egg-info/requires.txt
-rw-r--r-- root/root usr/lib/python3.6/site-packages/websocket_client-0.44.0-py3.6.egg-info/top_level.txt

View File

@ -0,0 +1,2 @@
c34c7f6fddbe5758d84b9d3cfdd92108 use-system-ca.patch
73d87aa16a2212da448b30aca9c5bf3b websocket_client-0.44.0.tar.gz

View File

@ -0,0 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3xoddEQPzF+ezlKz7ifviEr+H6q+1FzSFfq3x4k0asiNm42+svObJ8GaCydWw4GvWEULZfJnLZq+tcYb2KWcIgs=
SHA256 (Pkgfile) = aed13ff2410f005e65e4bd31680fd2f076b3928797d4806f2fd8ad4a8a6548a9
SHA256 (.footprint) = 32ceab175acf32d8172009c94d5f67bb383b372d7043a07240c1dfb54ebc7663
SHA256 (websocket_client-0.44.0.tar.gz) = 15f585566e2ea7459136a632b9785aa081093064391878a448c382415e948d72
SHA256 (use-system-ca.patch) = d888e0d0f8b1cc424b5b452e267135b598857b52c2bbbed3a8803614d9523d16

View File

@ -0,0 +1,23 @@
# Description: WebSocket client library for Python.
# URL: https://github.com/liris/websocket-client
# Maintainer: Danny Rawlins, crux at romster dot me
# Packager: Danny Rawlins, crux at romster dot me
# Depends on: python3-setuptools
name=python3-websocket-client
_name=websocket_client
version=0.44.0
release=1
source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/$_name-$version.tar.gz
use-system-ca.patch)
build() {
cd $_name-$version
patch -p1 -i $SRC/use-system-ca.patch
rm websocket/cacert.pem
sed -i "s/'backports.ssl_match_hostname'//" setup.py
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --root=$PKG --optimize=1
}

View File

@ -0,0 +1,10 @@
--- a/setup.py 2015-06-03 08:44:39.000000000 +0800
+++ b/setup.py 2015-10-26 11:52:15.798195748 +0800
@@ -41,7 +41,6 @@
packages=["websocket", "websocket.tests"],
package_data={
'websocket.tests': ['data/*.txt'],
- 'websocket': ["cacert.pem"]
},
tests_require=tests_require,
test_suite="websocket.tests.test_websocket",