Package Details: rainbowstream 1.3.7-4

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: djmoch
Last Packager: djmoch
Votes: 19
Popularity: 1.244025
First Submitted: 2015-07-17 00:52
Last Updated: 2018-04-13 00:23

Latest Comments

djmoch commented on 2018-02-22 12:31

@sebdah I'm a bit new to the AUR ecosystem (and Arch in general), but the simplest explanation I can come up with is that something else has installed python-dateutil files on your system.

Couple questions: 1. Do you use python-pip? If so, then it's possible Pip put the files there when installing another package. 2. Did you pass the -f flag to makepkg after removing the python-dateutil dependency? If not, that might explain why you're still getting these errors.

I would recommend running the following command to see what (if anything) pacman thinks owns the current dateutil installation:

pacman -Fo /usr/lib/python3.6/site-packages/dateutil/__init__.py

No result indicates something other than pacman installed dateutil.

Hope this helps. Feel free to reach out with additional questions.

sebdah commented on 2018-02-22 04:55

@djmock Thanks for taking on this package. I get the following when trying to install rainbowstream:

error: failed to commit transaction (conflicting files)
python-dateutil: /usr/lib/python3.6/site-packages/dateutil/__init__.py exists in filesystem
python-dateutil: /usr/lib/python3.6/site-packages/dateutil/__pycache__/__init__.cpython-36.pyc exists in filesystem
python-dateutil: /usr/lib/python3.6/site-packages/dateutil/__pycache__/_common.cpython-36.pyc exists in filesystem
python-dateutil: /usr/lib/python3.6/site-packages/dateutil/__pycache__/_version.cpython-36.pyc exists in filesystem
python-dateutil: /usr/lib/python3.6/site-packages/dateutil/__pycache__/easter.cpython-36.pyc exists in filesystem
python-dateutil: /usr/lib/python3.6/site-packages/dateutil/__pycache__/parser.cpython-36.pyc exists in filesystem
python-dateutil: /usr/lib/python3.6/site-packages/dateutil/__pycache__/relativedelta.cpython-36.pyc exists in filesystem
python-dateutil: /usr/lib/python3.6/site-packages/dateutil/__pycache__/rrule.cpython-36.pyc exists in filesystem
python-dateutil: /usr/lib/python3.6/site-packages/dateutil/__pycache__/tzwin.cpython-36.pyc exists in filesystem
python-dateutil: /usr/lib/python3.6/site-packages/dateutil/_common.py exists in filesystem
python-dateutil: /usr/lib/python3.6/site-packages/dateutil/_version.py exists in filesystem
python-dateutil: /usr/lib/python3.6/site-packages/dateutil/easter.py exists in filesystem
python-dateutil: /usr/lib/python3.6/site-packages/dateutil/parser.py exists in filesystem
python-dateutil: /usr/lib/python3.6/site-packages/dateutil/relativedelta.py exists in filesystem
python-dateutil: /usr/lib/python3.6/site-packages/dateutil/rrule.py exists in filesystem
python-dateutil: /usr/lib/python3.6/site-packages/dateutil/tz/__init__.py exists in filesystem
python-dateutil: /usr/lib/python3.6/site-packages/dateutil/tz/__pycache__/__init__.cpython-36.pyc exists in filesystem
python-dateutil: /usr/lib/python3.6/site-packages/dateutil/tz/__pycache__/_common.cpython-36.pyc exists in filesystem
python-dateutil: /usr/lib/python3.6/site-packages/dateutil/tz/__pycache__/tz.cpython-36.pyc exists in filesystem
python-dateutil: /usr/lib/python3.6/site-packages/dateutil/tz/__pycache__/win.cpython-36.pyc exists in filesystem
python-dateutil: /usr/lib/python3.6/site-packages/dateutil/tz/_common.py exists in filesystem
python-dateutil: /usr/lib/python3.6/site-packages/dateutil/tz/tz.py exists in filesystem
python-dateutil: /usr/lib/python3.6/site-packages/dateutil/tz/win.py exists in filesystem
python-dateutil: /usr/lib/python3.6/site-packages/dateutil/tzwin.py exists in filesystem
python-dateutil: /usr/lib/python3.6/site-packages/dateutil/zoneinfo/__init__.py exists in filesystem
python-dateutil: /usr/lib/python3.6/site-packages/dateutil/zoneinfo/__pycache__/__init__.cpython-36.pyc exists in filesystem
python-dateutil: /usr/lib/python3.6/site-packages/dateutil/zoneinfo/__pycache__/rebuild.cpython-36.pyc exists in filesystem
python-dateutil: /usr/lib/python3.6/site-packages/dateutil/zoneinfo/dateutil-zoneinfo.tar.gz exists in filesystem
python-dateutil: /usr/lib/python3.6/site-packages/dateutil/zoneinfo/rebuild.py exists in filesystem

I tried removing 'python-dateutil' from the dependencies list but the same message appeared.

djmoch commented on 2017-12-15 13:13

Hello, all.

I've adopted this package, bumped the version to the latest available on PyPI, and added a dependency for python-pocket. The package should install cleanly now. Let me know if you have any issues.

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!

All comments