diff options
author | koobs <koobs@FreeBSD.org> | 2019-05-18 18:10:50 +0800 |
---|---|---|
committer | koobs <koobs@FreeBSD.org> | 2019-05-18 18:10:50 +0800 |
commit | e54924956c6446eb457e0cf3725157c09fcc3a5c (patch) | |
tree | 6eacaf92a0d8eb3b7fcbeb4ff8e3c4507514ada5 /net/py-rainbowstream/files | |
parent | b666581868ed929f0a467b202d776958dfbe790d (diff) | |
download | freebsd-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/files')
-rw-r--r-- | net/py-rainbowstream/files/patch-rainbowstream_rainbow.py | 4 | ||||
-rw-r--r-- | net/py-rainbowstream/files/patch-setup.py | 17 |
2 files changed, 15 insertions, 6 deletions
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, |