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
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(+)
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?
Wow that bug was quickly handled. I could not write an additional note in that time. Faster than any twitter bot I know of .... :)
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
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
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
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. )
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 :))