Package Details: rainbowstream 1.3.3-1

Git Clone URL: https://aur.archlinux.org/rainbowstream.git (read-only)
Package Base: rainbowstream
Description: A smart and nice Twitter client on terminal written in Python
Upstream URL: http://www.rainbowstream.org/
Keywords: twitter
Licenses: MIT
Conflicts: rainbowstream
Provides: rainbowstream
Submitter: atriix
Maintainer: j3thr0
Last Packager: atriix
Votes: 15
Popularity: 0.072659
First Submitted: 2015-07-17 00:52
Last Updated: 2016-02-11 16:45

Latest Comments

heichblatt commented on 2017-06-21 15:06

The following PKGFILE updates to 1.3.7. However, you still have to pip install pocket manually as there is no package for it yet.

---
% git diff
diff --git a/PKGBUILD b/PKGBUILD
index 0fb0964..c01dda8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Victor Häggqvist <aur@snilius.com>

pkgname=rainbowstream
-pkgver=1.3.3
+pkgver=1.3.7
pkgrel=1
pkgdesc="A smart and nice Twitter client on terminal written in Python"
url="http://www.rainbowstream.org/"
@@ -13,27 +13,32 @@ depends=(
'python-arrow'
'python-requests'
'python-pyfiglet'
-'python-twitter'
+'python-twitter3'
'python-pillow'
-'python-pysocks-git')
-makedepends=('python-setuptools')
+'python-pysocks-git'
+'python-arrow'
+)
+makedepends=(
+'python-setuptools'
+'python2'
+)
provides=('rainbowstream')
conflicts=('rainbowstream')
source=(
-https://pypi.python.org/packages/source/r/rainbowstream/rainbowstream-${pkgver}.tar.gz
+https://github.com/orakaro/rainbowstream/archive/v${pkgver}.tar.gz
setup.py.patch)
-sha512sums=('d8250eef283e835431e3635a53cae83feddf1f9684e4bd2c6f3fd2bc447495ca43223f479336077a438a1011d1ca51aa1cb0f056654bb5fd00a796ed315612c7'
- 'd5203f37697dbff3fe745fa4a0236dd22f5565c833e3dd17e3c762706ab8b2758e6b56d2147e021c7ccb370f1bc97fb42cae602a3fc31213af03b1482fca5a9b')
+sha512sums=('92e108e730c6efcf6e69b698daf52a1a988609d08d9ce6752d99c64899763eae1b8781b86df65625acbb102f883dfd26bb69319f444bf7c6ffa17f5007e8c2fa'
+'d5203f37697dbff3fe745fa4a0236dd22f5565c833e3dd17e3c762706ab8b2758e6b56d2147e021c7ccb370f1bc97fb42cae602a3fc31213af03b1482fca5a9b')

build() {
cd "$srcdir/rainbowstream-${pkgver}"
patch -i ../setup.py.patch
- python setup.py build
+ python2 setup.py build
}

package() {
cd "$srcdir/rainbowstream-${pkgver}/"
- python setup.py install --root="$pkgdir/" --optimize=1
+ python2 setup.py install --root="$pkgdir/" --optimize=1
}

# vim: ts=2 sts=2 sw=2 et ft=sh
---

adlerweb commented on 2017-03-18 16:45

@donniebishop It' not related to rainbowstream - you have to reinstall all python-packages fetched via AUR (most likely python-arrow, python-pillow, python-pysocks-git, python-pyfiglet, python-twitter)

donniebishop commented on 2017-01-06 17:56

Following the huge python update that was pushed out sometime in the last 48 hours, rainbowstream now seems borked:

Traceback (most recent call last):
File "/usr/bin/rainbowstream", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3019, in <module>
@_call_aside
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3003, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3032, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 655, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 963, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 849, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'PySocks' distribution was not found and is required by rainbowstream

This was after uninstalling and reinstalling, and just attempting to start it.

heichblatt commented on 2016-09-20 13:42

Hello everyone,

the following PKGBUILD produces a working package as long as you install pocket via pip.

---

# Maintainer: Victor Häggqvist <aur@snilius.com>

pkgname=rainbowstream
pkgver=1.3.5
pkgrel=1
pkgdesc="A smart and nice Twitter client on terminal written in Python"
url="http://www.rainbowstream.org/"
license=('MIT')
arch=('any')
depends=(
'python'
'python-dateutil'
'python-arrow'
'python-requests'
'python-pyfiglet'
'python-twitter'
'python-pillow'
'python-pysocks')
makedepends=('python-setuptools')
provides=('rainbowstream')
conflicts=('rainbowstream')
source=(
https://pypi.python.org/packages/99/1c/969cb59d624f0e336e964aef83ecf283c71fe194ef736b9ec552f1ddb6e7/rainbowstream-1.3.5.tar.gz
setup.py.patch)
sha512sums=('2e7055a814ad696a60f62083a7e8967b2c1110bf3f86a74fac0977377528ac2355966979884e70de284fffa4ba9871ae4a83e2a3a4e75ef2589564001377595c'
'd5203f37697dbff3fe745fa4a0236dd22f5565c833e3dd17e3c762706ab8b2758e6b56d2147e021c7ccb370f1bc97fb42cae602a3fc31213af03b1482fca5a9b')

build() {
cd "$srcdir/rainbowstream-${pkgver}"
patch -i ../setup.py.patch
python setup.py build
}

package() {
cd "$srcdir/rainbowstream-${pkgver}/"
python setup.py install --root="$pkgdir/" --optimize=1
}

# vim: ts=2 sts=2 sw=2 et ft=sh

---

I don't know why the tarball URL has changed so dramatically. Also, we need an AUR package python-pocket.

donniebishop commented on 2016-09-14 13:18

Tried just modifying the PKGBUILD source to 'https://pypi.python.org/packages/source/r/rainbowstream/rainbowstream-1.3.5.tar.gz', but it seems to error out.

Trying just a wget using the source URL in the PKGBUILD seems to work for 1.3.3, but not for 1.3.4 or 1.3.5. Kind of strange, but I'm not entirely sure why this is so.

Attempted to just try kludging it together with the download link on pypi and modifying the PKGBUILD a bit, but that didn't seem to take very well. Kept throwing a really low level exception that I unfortunately wasn't able to grab.

I'm not very experienced in creating PKGBUILDs or fixing the mess I created, so I downgraded back to 1.3.3. Hopefully this package can get updated soon.

atriix commented on 2016-08-18 19:12

@tuqueque Just to let you know, I will not have time to do an update in at least a week or so. Also I noticed rainbowstream gained a new dependency.

I can add you as a Co-Maintainer if you like, just let me know.

tuqueque commented on 2016-08-18 07:25

Hey... I just wanted to let you know that there's a new version of Rainbowstream (1.3.5 at the time of this post)... If you could update the package, that would be great.

Thanks!

VargArch commented on 2015-12-23 10:08

@atriix

Yeah I found the problem. I had rainbowstream installed with pip and it seams I accidentally deleted pillow when trying to switch to the aur version. Pacman didn't know that pip uninstalled pillow so it wasn't installed again as a dependency, which is exactly the reason why I wanted to switch.

atriix commented on 2015-12-21 21:44

@VargArch Try reinstalling python-pillow and maybe also rainbowstream if that doesn't fix it.

VargArch commented on 2015-12-21 21:40

Anyone else getting this error?:

Traceback (most recent call last):
File "/usr/bin/rainbowstream", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 3138, in <module>
@_call_aside
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 3124, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 3151, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 661, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 962, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 849, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'Pillow' distribution was not found and is required by rainbowstream


I have python-pillow and python2-pillow installed

All comments