aboutsummaryrefslogtreecommitdiffstats
path: root/net/py-rainbowstream/files/patch-setup.py
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/files/patch-setup.py
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/files/patch-setup.py')
-rw-r--r--net/py-rainbowstream/files/patch-setup.py17
1 files changed, 13 insertions, 4 deletions
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,