Bug 213296 - multimedia/livestreamer py27-livestreamer-1.12.2 conflicts with py27-rainbowstream-1.3.5
Summary: multimedia/livestreamer py27-livestreamer-1.12.2 conflicts with py27-rainbows...
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-multimedia (Nobody)
Depends on: 213999
  Show dependency treegraph
Reported: 2016-10-07 23:18 UTC by harald.brinkhof
Modified: 2017-05-06 06:55 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (multimedia)


Note You need to log in before you can comment on or make changes to this bug.
Description harald.brinkhof 2016-10-07 23:18:38 UTC
Mind you I only have 1 bsd install and it's a dragonfly bsd but they told me to report it here to because of shared ports. :)

py27-rainbowstream-1.3.5 depends on py27-requests-2.11.1(${PYTHON_PKGNAMEPREFIX}requests>=2.5.3:www/py-requests), while py27-livestreamer-1.12.2 uses py27-requests1: 1.2.3 (${PYTHON_PKGNAMEPREFIX}requests1>=0:www/py-requests1) This makes it so that you can only install either one or the other, both binary package or from ports.

changing py27-livestreamer-1.12.2 to use the same dependency as the rainbowstream package fixes this issue. Afterwards my limited testing works fine (I only use twitch.tv though) and all unit tests in the original source pass. (tested by me by running 'python -m unittest discover' on '/usr/obj/dports/multimedia/livestreamer/livestreamer-1.12.2/' ) From what I can tell from skimming the source of livestreamer the requests module is only used for simple get calls.

fix for ports:

replace ${PYTHON_PKGNAMEPREFIX}requests1>=0:www/py-requests1 \ 
with ${PYTHON_PKGNAMEPREFIX}requests>=2.5.3:www/py-requests \ 
in /usr/ports/multimedia/livestreamer/Makefile
Comment 1 Thomas Zander freebsd_committer 2017-05-06 06:55:12 UTC
Fix has been committed in r430646