Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 510810 - www-client/weboob 1.3 version bump and switch to PyQt5 (and drop old versions depending on deprecated PyQt4/Qt4)
Summary: www-client/weboob 1.3 version bump and switch to PyQt5 (and drop old versions...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal with 2 votes (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-19 22:15 UTC by Laurent Bachelier
Modified: 2018-02-23 01:22 UTC (History)
2 users (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 Laurent Bachelier 2014-05-19 22:15:02 UTC
New dependency: dev-python/requests 2.2 or newer. This is a very important dependency as we are slowly phasing out mechanize in favor of requests.

This also applies to 9998 and 9999 versions.

http://git.p.engu.in/laurentb/gentoo-overlay/commit/?id=0e1f63fa0e5afc8294d3debf8bfe9e45995a8324

Reproducible: Always
Comment 1 Laurent Bachelier 2014-07-02 10:05:40 UTC
https://symlink.me/news/52

weboob 0.i.1 just released, fixing crippling bugs on some systems (Python 2.7.7, configparser Python 3 backport package being installed on Python 2) or all systems (HTTP error handling when updating modules, requiring to run update twice).

Here is my trick to handle the minor version number - if you can find better, I'm interested...


http://git.p.engu.in/laurentb/gentoo-overlay/tree/www-client/weboob/weboob-0i-r100.ebuild


	MINOR=$((${PR/r/} / 100))
	REDMINE_ID="265"
	MY_P="${PN}-$(version_format_string '$1.$2')"
	[ "$MINOR" -gt 0 ] && MY_P="${MY_P}.${MINOR}"
	SRC_URI="http://symlink.me/attachments/download/${REDMINE_ID}/${MY_P}.tar.gz"
	S="${WORKDIR}/${MY_P}"
Comment 2 Laurent Bachelier 2014-09-03 19:32:54 UTC
New release. No change in dependencies, many improvements.
https://symlink.me/news/53

https://symlink.me/attachments/download/271/weboob-0.j.tar.gz
md5: 9e11b1f376ccb87d35995ec87bba5b38

ebuild improvements available at http://git.p.engu.in/laurentb/gentoo-overlay/tree/www-client/weboob


Same as for the prevous versions: since they are not supported and the websites change all the time, they are likely broken and uselesess.
Comment 3 Laurent Bachelier 2014-10-17 13:07:26 UTC
1.0 released.

New dependency: virtual/python-futures (in addition to >=dev-python/requests-2.2 from 0.i).

Older versions besides 0.j won't be supported (and all currently in Gentoo are not), which means even if users install the release, the support for the websites will be broken (the issue is the same as with youtube-dl, except we have our module update system for each major version, reducing the number of releases).

Thus keeping old versions is useless and misleading users.

Updated versions of the ebuilds available at http://git.p.engu.in/laurentb/gentoo-overlay/tree/www-client/weboob

Getting back to digit-only version numbers also simplified the ebuilds.
Comment 4 Thomas Capricelli 2016-06-15 18:12:31 UTC
1.1 is out according to http://weboob.org/
Comment 5 Laurent Bachelier 2016-06-15 18:29:37 UTC
Yes. Older versions won't work much since the websites have changed a lot since then (same story as with youtube-dl).

http://git.p.engu.in/laurentb/gentoo-overlay/tree/www-client/weboob has updated ebuilds.

There are no new dependencies compared to 1.0.
Comment 6 Laurent Bachelier 2017-01-12 11:18:33 UTC
weboob 1.2 released: https://symlink.me/news/56

Since we're dealing with live sites, the versions currently available in the tree are unlikely to work anymore.

Supported versions, for now, should be 1.0, 1.1 and 1.2.

In addition, neither the -9999 and -9998 packages are going to work due to outdated dependencies. Also, git URLs have changed:
https://git.weboob.org/weboob/devel.git
https://git.weboob.org/weboob/stable.git


Dependency changes:
dev-python/PyQt4 changed to dev-python/PyQt5
dev-python/gdata changed to dev-python/google-api-python-client
Comment 7 Laurent Bachelier 2017-01-12 11:23:20 UTC
I've updated all ebuilds at http://git.p.engu.in/laurentb/gentoo-overlay/tree/www-client/weboob

I don't think I made the bash completion support very well, it probably should be omitted for now.
Comment 8 Laurent Bachelier 2017-09-20 13:50:11 UTC
Version 1.3 released - https://symlink.me/news/57

New dependency: six

Since we're dealing with live sites, the versions currently available in the tree are unlikely to work anymore (similar to packages like youtube-dl). -9998 and -9999 are also broken due to using old URLs.

Supported versions should be 1.2 and 1.3.

Ebuilds with all required fixes are available here: http://git.p.engu.in/laurentb/gentoo-overlay/tree/www-client/weboob
Comment 9 Larry the Git Cow gentoo-dev 2018-02-19 11:46:44 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=007e6e11f29ca44a31c3c21f7ca739e5aade419a

commit 007e6e11f29ca44a31c3c21f7ca739e5aade419a
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-02-19 11:33:00 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-02-19 11:33:00 +0000

    www-client/weboob: Drop very old versions 0g, 0h
    
    These versions reportedly do not work anymore, anyway, and
    still depended on deprecated PyQt4.
    
    Bug: https://bugs.gentoo.org/510810
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 www-client/weboob/Manifest         |  2 -
 www-client/weboob/weboob-0g.ebuild | 79 --------------------------------------
 www-client/weboob/weboob-0h.ebuild | 79 --------------------------------------
 3 files changed, 160 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54235cf970c83542185f9091b242d1685f4da885

commit 54235cf970c83542185f9091b242d1685f4da885
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-02-19 11:18:48 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-02-19 11:29:51 +0000

    www-client/weboob: 1.3 version bump
    
    Thanks-to: Laurent Bachelier <laurent@bachelier.name>
    Bug: https://bugs.gentoo.org/510810
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 www-client/weboob/Manifest          |  1 +
 www-client/weboob/weboob-1.3.ebuild | 94 +++++++++++++++++++++++++++++++++++++
 2 files changed, 95 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da6eb2400f62de3b9f53b77de11c1617126e7a71

commit da6eb2400f62de3b9f53b77de11c1617126e7a71
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-02-19 11:09:35 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-02-19 11:29:50 +0000

    www-client/weboob: EAPI 6, switch to PyQt5, git-r3, add USE=deprecated
    
    Thanks-to: Laurent Bachelier <laurent@bachelier.name>
    Bug: https://bugs.gentoo.org/510810
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 www-client/weboob/metadata.xml       |  3 +-
 www-client/weboob/weboob-9998.ebuild | 79 +++++++++++++++++++++---------------
 www-client/weboob/weboob-9999.ebuild | 79 +++++++++++++++++++++---------------
 3 files changed, 96 insertions(+), 65 deletions(-)}
Comment 10 Andreas Sturmlechner gentoo-dev 2018-02-19 11:54:22 UTC
Laurent, thanks for your contribution! I've added your ebuilds after applying several necessary changes, please have a look at them. E.g. I had to drop bash-completion because weboob-config was not available in src_prepare. We also can not run a network-connecting command in there.

No longer blocking bug 631788 as old versions were dropped immediately after the bump.
Comment 11 Laurent Bachelier 2018-02-20 11:28:02 UTC
Thanks, I've read & copied the changes.

There have been multiple problems with the bash completion, I'll to fix the thing upstream.

For me this bug can be closed.