1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00

New port: www/py-sseclient: Python client library for reading Server Sent Event streams

Approved by:	tcberner (mentor, implicit)
This commit is contained in:
Yuri Victorovich 2018-03-04 22:05:19 +00:00
parent f25f714749
commit 836ac6bc26
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=463602
4 changed files with 31 additions and 0 deletions

View File

@ -1867,6 +1867,7 @@
SUBDIR += py-sockjs-tornado
SUBDIR += py-splinter
SUBDIR += py-spyne
SUBDIR += py-sseclient
SUBDIR += py-surl
SUBDIR += py-textile
SUBDIR += py-tmdb3

21
www/py-sseclient/Makefile Normal file
View File

@ -0,0 +1,21 @@
# $FreeBSD$
PORTNAME= sseclient
DISTVERSION= 0.0.18
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Python client library for reading Server Sent Event streams
LICENSE= MIT
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${FLAVOR}
USES= python
USE_PYTHON= distutils autoplist
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1520200425
SHA256 (sseclient-0.0.18.tar.gz) = 1760af17b8c35d815a908040e6f9258f7c531c7522ce08f6112ffe99711e2ed9
SIZE (sseclient-0.0.18.tar.gz) = 4402

View File

@ -0,0 +1,6 @@
A Python client library for iterating over http Server Sent Event (SSE) streams
(also known as EventSource, after the name of the Javascript interface inside
browsers). The SSEClient class accepts a url on init, and is then an iterator
over messages coming from the server.
WWW: https://github.com/btubbs/sseclient