Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 606256

Summary: net-p2p/deluge-9999: update ebuild
Product: Gentoo Linux Reporter: Perfect Gentleman <perfect007gentleman>
Component: Current packagesAssignee: Paolo Pedroni <paolo.pedroni>
Status: RESOLVED FIXED    
Severity: normal CC: k_f, poncho, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/9327
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 656900    
Bug Blocks:    

Description Perfect Gentleman 2017-01-18 11:48:00 UTC
* Applying deluge-1.3.12-fix_scheduler_plugin.patch ...
The text leading up to this was:
--------------------------
|From cdf301601fe71bd697f3796cf0a5656d437d140e Mon Sep 17 00:00:00 2001
|From: Calum Lind <calumlind+deluge@gmail.com>
|Date: Wed, 16 Sep 2015 15:11:56 +0100
|Subject: [Scheduler] Revert erroneous fix backported from develop branch
|
| * The issue this was intended to fix only occurs on develop branch
|---
| deluge/plugins/scheduler/scheduler/core.py | 2 +-
| 1 file changed, 1 insertion(+), 1 deletion(-)
|
|diff --git a/deluge/plugins/scheduler/scheduler/core.py b/deluge/plugins/scheduler/scheduler/core.py
|index 9fb81df..f0e2392 100644
|--- a/deluge/plugins/scheduler/scheduler/core.py
|+++ b/deluge/plugins/scheduler/scheduler/core.py
--------------------------
No file to patch.  Skipping patch.
Comment 1 Perfect Gentleman 2017-01-18 12:07:05 UTC
Import error: Requires "slimit" package for minifying WebUI files.
Comment 2 kapsh 2017-09-08 23:02:06 UTC
This is also should be changed in ebuild:

-CDEPEND=">=net-libs/libtorrent-rasterbar-0.14.9[python,${PYTHON_USEDEP}]"
+CDEPEND=">=net-libs/libtorrent-rasterbar-1.1.2[python,${PYTHON_USEDEP}]"
 DEPEND="${CDEPEND}
 	dev-python/setuptools[${PYTHON_USEDEP}]
+	dev-python/slimit[${PYTHON_USEDEP}]
 	dev-util/intltool"
 RDEPEND="${CDEPEND}
 	dev-python/chardet[${PYTHON_USEDEP}]
@@ -58,7 +56,7 @@ RDEPEND="${CDEPEND}
 
 python_prepare_all() {
 	local args=(
-		-e "/Compiling po file/a \\\tuptoDate = False"
+		-e "/Compiling po file/a \\\tupto_date = False"
 	)
 	sed -i "${args[@]}" -- 'setup.py' || die
Comment 3 Paolo Pedroni 2017-09-11 07:52:08 UTC
(In reply to kapsh from comment #2)
> This is also should be changed in ebuild:
> 
> -CDEPEND=">=net-libs/libtorrent-rasterbar-0.14.9[python,${PYTHON_USEDEP}]"
> +CDEPEND=">=net-libs/libtorrent-rasterbar-1.1.2[python,${PYTHON_USEDEP}]"
>  DEPEND="${CDEPEND}
>  	dev-python/setuptools[${PYTHON_USEDEP}]
> +	dev-python/slimit[${PYTHON_USEDEP}]
>  	dev-util/intltool"
>  RDEPEND="${CDEPEND}
>  	dev-python/chardet[${PYTHON_USEDEP}]
> @@ -58,7 +56,7 @@ RDEPEND="${CDEPEND}
>  
>  python_prepare_all() {
>  	local args=(
> -		-e "/Compiling po file/a \\\tuptoDate = False"
> +		-e "/Compiling po file/a \\\tupto_date = False"
>  	)
>  	sed -i "${args[@]}" -- 'setup.py' || die

Thanks for your contributions. Sadly dev-python/slimit is not in portage, yet. I'll work on it, though, and I hope I'll be able to fix this shortly.
Comment 4 Paolo Pedroni 2019-10-16 14:08:45 UTC
Fixed with bug #688024