aboutsummaryrefslogtreecommitdiffstats
path: root/net/py-rainbowstream
diff options
context:
space:
mode:
authorkoobs <koobs@FreeBSD.org>2019-05-18 18:10:50 +0800
committerkoobs <koobs@FreeBSD.org>2019-05-18 18:10:50 +0800
commite54924956c6446eb457e0cf3725157c09fcc3a5c (patch)
tree6eacaf92a0d8eb3b7fcbeb4ff8e3c4507514ada5 /net/py-rainbowstream
parentb666581868ed929f0a467b202d776958dfbe790d (diff)
downloadfreebsd-ports-gnome-e54924956c6446eb457e0cf3725157c09fcc3a5c.tar.gz
freebsd-ports-gnome-e54924956c6446eb457e0cf3725157c09fcc3a5c.tar.zst
freebsd-ports-gnome-e54924956c6446eb457e0cf3725157c09fcc3a5c.zip
net/py-rainbowstream: Update to 1.4.0
Diffstat (limited to 'net/py-rainbowstream')
-rw-r--r--net/py-rainbowstream/Makefile5
-rw-r--r--net/py-rainbowstream/distinfo6
-rw-r--r--net/py-rainbowstream/files/patch-rainbowstream_rainbow.py4
-rw-r--r--net/py-rainbowstream/files/patch-setup.py17
-rw-r--r--net/py-rainbowstream/pkg-descr2
5 files changed, 21 insertions, 13 deletions
diff --git a/net/py-rainbowstream/Makefile b/net/py-rainbowstream/Makefile
index e786521c91dc..f67f0e019583 100644
--- a/net/py-rainbowstream/Makefile
+++ b/net/py-rainbowstream/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= rainbowstream
-PORTVERSION= 1.3.5
-PORTREVISION= 1
+PORTVERSION= 1.4.0
CATEGORIES= net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -23,7 +22,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pysocks>0:net/py-pysocks@${PY_FLAVOR}
# Actually 2.7,3.2-
-USES= python:2.7
+USES= python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
diff --git a/net/py-rainbowstream/distinfo b/net/py-rainbowstream/distinfo
index d774b6f9a6a0..facbfc4f9b19 100644
--- a/net/py-rainbowstream/distinfo
+++ b/net/py-rainbowstream/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1471426336
-SHA256 (rainbowstream-1.3.5.tar.gz) = 3c44fb37c766d146f4cda5d21d2db86cf19ff873b748b5493b44db805ed20b29
-SIZE (rainbowstream-1.3.5.tar.gz) = 47971
+TIMESTAMP = 1537720983
+SHA256 (rainbowstream-1.4.0.tar.gz) = 16881d8bb15416389eeaf4ceee7a588069060c216b55e7602dbcff5134feb7cc
+SIZE (rainbowstream-1.4.0.tar.gz) = 48113
diff --git a/net/py-rainbowstream/files/patch-rainbowstream_rainbow.py b/net/py-rainbowstream/files/patch-rainbowstream_rainbow.py
index 79eece31c37d..e2399aa1713a 100644
--- a/net/py-rainbowstream/files/patch-rainbowstream_rainbow.py
+++ b/net/py-rainbowstream/files/patch-rainbowstream_rainbow.py
@@ -1,9 +1,9 @@
# Make pocket actually optional
# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220312
---- rainbowstream/rainbow.py.orig 2017-07-03 10:00:26 UTC
+--- rainbowstream/rainbow.py.orig 2018-08-28 02:35:54 UTC
+++ rainbowstream/rainbow.py
-@@ -20,7 +20,10 @@ from twitter.oauth import OAuth, read_to
+@@ -20,7 +20,10 @@ from twitter.oauth import OAuth, read_token_file
from twitter.oauth_dance import oauth_dance
from twitter.util import printNicely
diff --git a/net/py-rainbowstream/files/patch-setup.py b/net/py-rainbowstream/files/patch-setup.py
index 0e03826afb55..3edf6ad0ba66 100644
--- a/net/py-rainbowstream/files/patch-setup.py
+++ b/net/py-rainbowstream/files/patch-setup.py
@@ -1,9 +1,9 @@
# Make pocket actually optional
# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220312
---- setup.py.orig 2016-08-16 14:49:45 UTC
+--- setup.py.orig 2018-08-30 11:36:46 UTC
+++ setup.py
-@@ -15,14 +15,17 @@ version = '1.3.5'
+@@ -15,14 +15,17 @@ version = '1.4.0'
install_requires = [
"python-dateutil",
"arrow",
@@ -21,9 +21,18 @@
+}
+
# Default user (considers non virtualenv method)
- user = os.environ.get('SUDO_USER', os.environ['USER'])
+ user = os.environ.get('SUDO_USER', os.environ.get('USER', None))
-@@ -65,6 +68,7 @@ setup(name='rainbowstream',
+@@ -41,7 +44,7 @@ if not os.path.isfile(default):
+ setup(name='rainbowstream',
+ version=version,
+ description="A smart and nice Twitter client on terminal.",
+- long_description=open("./README.rst", "r").read(),
++ long_description=open("./README.rst", "rb").read().decode("utf-8"),
+ classifiers=[
+ "Development Status :: 5 - Production/Stable",
+ "Environment :: Console",
+@@ -68,6 +71,7 @@ setup(name='rainbowstream',
include_package_data=True,
zip_safe=True,
install_requires=install_requires,
diff --git a/net/py-rainbowstream/pkg-descr b/net/py-rainbowstream/pkg-descr
index f0a1700c8a97..506e660a7c55 100644
--- a/net/py-rainbowstream/pkg-descr
+++ b/net/py-rainbowstream/pkg-descr
@@ -1,4 +1,4 @@
Terminal-based Twitter Client. Realtime tweetstream, compose, search,
favorite ... and much more fun directly from terminal
-WWW: http://www.rainbowstream.org/
+WWW: https://github.com/orakaro/rainbowstream