Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Sep 2016 09:11:42 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r421604 - in head/www/py-flexget: . files
Message-ID:  <201609090911.u899BgWT097088@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Fri Sep  9 09:11:42 2016
New Revision: 421604
URL: https://svnweb.freebsd.org/changeset/ports/421604

Log:
  www/py-flexget: unbreak after r420813
  
  $ flexget
  Traceback (most recent call last):
    File "/usr/local/bin/flexget", line 5, in <module>
      from pkg_resources import load_entry_point
    File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2927, in <module>
      @_call_aside
    File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2913, in _call_aside
      f(*args, **kwargs)
    File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2940, in _initialize_master_working_set
      working_set = WorkingSet._build_master()
    File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 637, in _build_master
      return cls._build_from_requirements(__requires__)
    File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 650, in _build_from_requirements
      dists = ws.resolve(reqs, Environment())
    File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 829, in resolve
      raise DistributionNotFound(req, requirers)
  pkg_resources.DistributionNotFound: The 'beautifulsoup4!=4.2.0,<4.5,>=4.1' distribution was not found and is required by FlexGet
  
  Approved by:	portmgr blanket

Modified:
  head/www/py-flexget/Makefile   (contents, props changed)
  head/www/py-flexget/files/patch-requirements.txt   (contents, props changed)

Modified: head/www/py-flexget/Makefile
==============================================================================
--- head/www/py-flexget/Makefile	Fri Sep  9 09:06:44 2016	(r421603)
+++ head/www/py-flexget/Makefile	Fri Sep  9 09:11:42 2016	(r421604)
@@ -3,6 +3,7 @@
 
 PORTNAME=	flexget
 PORTVERSION=	2.1.15
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP

Modified: head/www/py-flexget/files/patch-requirements.txt
==============================================================================
--- head/www/py-flexget/files/patch-requirements.txt	Fri Sep  9 09:06:44 2016	(r421603)
+++ head/www/py-flexget/files/patch-requirements.txt	Fri Sep  9 09:11:42 2016	(r421604)
@@ -1,5 +1,14 @@
 --- requirements.txt.orig	2016-07-15 06:12:13 UTC
 +++ requirements.txt
+@@ -3,7 +3,7 @@ FeedParser>=5.2.1
+ SQLAlchemy >=0.7.5, !=0.9.0, <1.999
+ PyYAML
+ # There is a bug in beautifulsoup 4.2.0 that breaks imdb parsing, see http://flexget.com/ticket/2091
+-beautifulsoup4>=4.1, !=4.2.0, <4.5
++beautifulsoup4>=4.1, !=4.2.0
+ # Beautifulsoup4 does not work with later versions of html5lib as of bs4 4.4.1 and html5lib>=0.99999999
+ # (note the number of 9s, html5lib versions are stupid) https://bugs.launchpad.net/bugs/1603299
+ html5lib>=0.11, <=0.9999999
 @@ -15,11 +15,11 @@ jinja2
  # There is a bug in requests 2.4.0 where it leaks urllib3 exceptions
  requests>=2.8.0, <3.0



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609090911.u899BgWT097088>