Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 703146 - sci-mathematics/pari-data: update version to invalidate mirror cache
Summary: sci-mathematics/pari-data: update version to invalidate mirror cache
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-16 20:57 UTC by Michael Orlitzky
Modified: 2019-12-16 22:49 UTC (History)
0 users

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 Michael Orlitzky gentoo-dev 2019-12-16 20:57:26 UTC
Upstream modifies the tarballs for this package in-place. We rename them on our end, which is good, but without a hint for the mirrors we still end up with cached tarballs from 2012.

If you install our pari-data package and then execute the example commands on

  http://pari.math.u-bordeaux.fr/packages.html

you'll see that the test for galpol >= 4.0 fails, because that tarball was uploaded in 2018 but the mirrors give you the 2012 copy. This in turn leads to SageMath being unable to detect the system pari.

I'm happy to do this myself if someone gives me the go-ahead. At the same time, we should update to EAPI=7 and use HTTPS for the URLs.
Comment 1 Larry the Git Cow gentoo-dev 2019-12-16 22:49:23 UTC
The bug has been closed via the following commit(s):

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

commit 5121731dc7e97afd304d04c1f11239174c78ffc5
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2019-12-16 22:43:45 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2019-12-16 22:44:15 +0000

    sci-mathematics/pari-data: new version to force mirror of new tarballs.
    
    There are new versions of these databases, but upstream modifies the
    (unversioned) tarballs for them in-place when that happens. We tag
    the distfiles with the package version, however, so this new version
    should force new copies of everything to be mirrored.
    
    In addition, I've used https in HOMEPAGE and SRC_URI, and have updated
    the ebuild from EAPI=4 to EAPI=7.
    
    Closes: https://bugs.gentoo.org/703146
    Package-Manager: Portage-2.3.79, Repoman-2.3.16
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 sci-mathematics/pari-data/Manifest                 | 10 ++++----
 .../pari-data/pari-data-20120726.ebuild            | 25 -------------------
 .../pari-data/pari-data-20191216.ebuild            | 28 ++++++++++++++++++++++
 3 files changed, 33 insertions(+), 30 deletions(-)