Opened 8 years ago

Last modified 8 years ago

#45472 assigned enhancement

Add SEA package to PARI as variant

Reported by: wbl (Watson Ladd) Owned by: ryandesign (Ryan 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 Schmidt) 8 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 8 years ago by ryandesign (Ryan 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 8 years ago by ryandesign (Ryan 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 8 years ago by ryandesign (Ryan Schmidt)

Attachment: Portfile added

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

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

comment:4 in reply to:  3 Changed 8 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 8 years ago by ryandesign (Ryan 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 8 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 8 years ago by ryandesign (Ryan 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 8 years ago by wbl (Watson Ladd)

It works! Thanks for doing this.

Note: See TracTickets for help on using tickets.