Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 633372 - dev-perl/WWW-Dict-Leo-Org-2.0.2 version bump request
Summary: dev-perl/WWW-Dict-Leo-Org-2.0.2 version bump request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-03 10:57 UTC by Ulenrich
Modified: 2017-10-03 12:47 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 Ulenrich 2017-10-03 10:57:46 UTC
I never could use =dev-perl/WWW-Dict-Leo-Org-2.0.0 
because of http request error.
Now there is a new version which solves the issue for me:
http://cpansearch.perl.org/src/TLINDEN/WWW-Dict-Leo-Org-2.02/Changelog
---
2.02:
Fixed rt.cpan.org#123087: add IO::Socket::SSL as dependency.
2.01:
dict.leo.org now forces SSL via Cloudflare, we follow suit.
---
Howto get this new version: You not only have to rename 
the ebuild but also edit:
DIST_VERSION=2.02
Comment 1 Larry the Git Cow gentoo-dev 2017-10-03 11:20:06 UTC
The bug has been closed via the following commit(s):

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

commit e7334be887769aa5d7e062c190a4a6c11390e440
Author:     Kent Fredric <kentnl@gentoo.org>
AuthorDate: 2017-10-03 11:19:02 +0000
Commit:     Kent Fredric <kentnl@gentoo.org>
CommitDate: 2017-10-03 11:19:02 +0000

    dev-perl/WWW-Dict-Leo-Org: Bump to version 2.20.0 re bug #633372
    
    Upstream:
    - Use HTTPS/IO::Socket::SSL due to website moving to cloudflare + SSL
    
    Reported-By: Ulenrich
    Closes: https://bugs.gentoo.org/633372
    Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-perl/WWW-Dict-Leo-Org/Manifest                 |  1 +
 .../WWW-Dict-Leo-Org-2.20.0.ebuild                 | 40 ++++++++++++++++++++++
 2 files changed, 41 insertions(+)
Comment 2 Ulenrich 2017-10-03 11:23:19 UTC
But I get a little error message 
before regular output of WWW-Dict-Leo-Org-2.0.2:
---
could not find ParserDetails.ini in /usr/lib64/perl5/vendor_perl/5.24.3/XML/SAX
---
Additionaly emerging dev-perl/XML-SAX-Writer did not help.
What to put into ParserDetails.in?
Comment 3 Ulenrich 2017-10-03 11:25:35 UTC
Wow that bug was quickly handled. I could not write an additional note in that time. Faster than any twitter bot I know of .... :)
Comment 4 Ulenrich 2017-10-03 11:32:41 UTC
The above fix / Version bump has a version missmatch, although it works to emerge due to this variable in the ebuild:

DIST_VERSION=2.02

But the ebuild version bump should NOt be
dev-perl/WWW-Dict-Leo-Org/WWW-Dict-Leo-Org-2.20.0.ebuild
but
dev-perl/WWW-Dict-Leo-Org/WWW-Dict-Leo-Org-2.02.0.ebuild
Comment 5 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-10-03 11:36:19 UTC
Nah, its not a missmatch.

Perl versions don't work natively in Gentoo, because Gentoo imparts the assumption that all parts are integers.

Where perl versions are either floats, or integers, depending on circumstances.

So we have a system in place where we normalize upstream versions into a uniform scheme that is consistent with gentoo semantics.

dev-perl/Gentoo-PerlMod-Version is a reference implementation of this scheme:

gentoo-perlmod-version.pl 2.02
2.02 => 2.20.0
Comment 6 Ulenrich 2017-10-03 11:56:37 UTC
Thanks for explanaition.
Changed this bug to fixed again.

Suggestion for a better verioning: 
dev-perl/WWW-Dict-Leo-Org-2.1002   - add a thousand to subversion
dev-perl/WWW-Dict-Leo-Org-2.0.2.0  - or ad a decimal point in between
instead of 2.20.0 which looks like an error
Comment 7 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-10-03 12:06:03 UTC
I'm in the process of writing up a wiki article for it because its a common enough confusion.

The alternative versioning schemes would weaken the consistency of the translation, and would make it not possible to handle about 30% of upstreams versions blindly ( because there is a specific way to write upstream versions that work downstream with only occasional prefix removal, but it has to be consistent in some way with the floating point scheme because they are convertible schemes upstream too. )
Comment 8 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-10-03 12:47:26 UTC
https://wiki.gentoo.org/wiki/Project:Perl/Version-Scheme

Please do use the /Discussion feature or something if you have any questions.

> Suggestion for a better versioning

Its worth mentioning, that for a scheme to work, it has to be done *perl-wide* to be of any value.  ( Because you need to be able to guess what a version *would* be when defining dependency minimum versions )

And dev-perl/ already has this scheme in full force and it has made getting dependencies so easy its ceased to be a problem (well, aside from explaining to people what its for :))