Opened 10 years ago

Closed 16 months ago

#45472 closed enhancement (fixed)

Add SEA package to PARI as variant

Reported by: wbl (Watson Ladd) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: pari

Description

The SEA package for PARI, available at http://pari.math.u-bordeaux.fr/packages.html, should be made avalible as a variant.

Attachments (1)

Portfile (1010 bytes) - added by ryandesign (Ryan Carsten Schmidt) 10 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned
Version: 2.3.2

Thanks for the ticket; I'll look into it.

The first problem I see is that the distfiles are unversioned. I'll see what I can do to minimize the problems that causes.

comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

The instructions on the packages page mention that the files can be installed into an existing pari installation just by copying the files to a particular place. That would be vastly preferable; we should do that, as subports, instead of as variants. Or since they actually have their own separate versions and distfiles, having each package as its own completely separate portfile would be easiest.

Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: Portfile added

comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

I've attached a proposed portfile for pari-seadata. Does this work for you?

comment:4 in reply to:  3 Changed 10 years ago by wbl (Watson Ladd)

Replying to ryandesign@…:

I've attached a proposed portfile for pari-seadata. Does this work for you?

I'm having trouble testing it due to the macports user not being able to open the Portfile despite 644 permissions on the Portfile. I cleared the extended attributes, so now sudo -u macports cat Porfile works, but macports still complains.

comment:5 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Where have you put the portfile on disk? MacPorts must be able to read it; that usually excludes anywhere inside your home directory as a viable location.

comment:6 in reply to:  5 Changed 10 years ago by wbl (Watson Ladd)

I put it in my home directory, following the Macports guide. Apparently that's wrong. Where should I put it to test?

comment:7 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

That part of the guide may not have been updated since the GSoC '08 privileges branch was merged into trunk.

Try anywhere else on disk. Inside /tmp/ for example. Or change the permissions of your home directory so all users can read it, if you're not concerned about other users accessing your files.

comment:8 Changed 10 years ago by wbl (Watson Ladd)

It works! Thanks for doing this.

comment:9 Changed 16 months ago by catap (Kirill A. Korinsky)

Resolution: fixed
Status: assignedclosed

In a93b85c79f6c1a53abbf629fc9adcc801547386a/macports-ports (master):

pari-extra: new submission

This is a meta port which contains all pari packages as subports.

Closes: #45472

Note: See TracTickets for help on using tickets.