Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 502090 - net-misc/flexget-1.2.97 should depend on >=dev-python/python-dateutil-2.0 <=dev-python/python-dateutil-2.2
Summary: net-misc/flexget-1.2.97 should depend on >=dev-python/python-dateutil-2.0 <=d...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-02-22 08:12 UTC by Weedy
Modified: 2015-01-06 15:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Weedy 2014-02-22 08:12:39 UTC
I'm not sure why it was written the way it was but it won't resolve on portage 2.2.8-r1.

--- /usr/portage/net-misc/flexget/flexget-1.2.97.ebuild	2014-02-21 23:39:27.000000000 -0500
+++ /usr/local/portage/net-misc/flexget/flexget-1.2.97.ebuild	2014-02-22 03:08:20.233731701 -0500
@@ -42,8 +42,8 @@
 	>=dev-python/requests-1.0[${PYTHON_USEDEP}]
 	<dev-python/requests-2.99[${PYTHON_USEDEP}]
 	dev-python/python-dateutil[${PYTHON_USEDEP}]
-	!~dev-python/python-dateutil-2.0
-	!~dev-python/python-dateutil-2.2
+	>=dev-python/python-dateutil-2.0
+	<=dev-python/python-dateutil-2.2
 	>=dev-python/jsonschema-2.0[${PYTHON_USEDEP}]
 	dev-python/python-tvrage[${PYTHON_USEDEP}]
 	dev-python/tmdb3[${PYTHON_USEDEP}]
Comment 1 Mike Gilbert gentoo-dev 2014-02-22 15:09:04 UTC
It won't auto-resolve, but you can make it work with some masking. I wrote it that way because that is the way upstream wrote their dependency string in pavement.py.

Anyway, I changed it to this:

=dev-python/python-dateutil-2.1*[${PYTHON_USEDEP}]
Comment 2 Daniel Troeder 2015-01-05 22:31:38 UTC
With dev-python/python-dateutil-2.3 and dev-python/python-dateutil-2.4.0 out, the dependency should be fixed to allow installing those.

In https://github.com/Flexget/Flexget/blob/develop/rtd-requirements.txt it states:
python-dateutil!=2.0, !=2.2

I haven't tested all plugins, but flexget works for me with 2.3 and 2.4.0.

Please reopen.
Comment 3 Mike Gilbert gentoo-dev 2015-01-05 23:45:58 UTC
+  05 Jan 2015; Mike Gilbert <floppym@gentoo.org> flexget-1.2.247.ebuild,
+  flexget-9999.ebuild:
+  Allow newer versions of python-dateutil.
Comment 4 Daniel Troeder 2015-01-06 15:21:35 UTC
Works for me. Thank you.