Opened 10 years ago

Closed 9 years ago

#46954 closed submission (fixed)

Add Portfile for European Southern Observatory (ESO) software repository

Reported by: aszostak-partner-eso-org Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: neverpanic (Clemens Lang), petrrr
Port: esorepo

Description

I would like to request that the attached Portfile be considered for inclusion into the MacPorts Portfile tree. The port provides an easy mechanism to gain access to the ESO software repository.

Attachments (3)

Portfile (5.5 KB) - added by aszostak-partner-eso-org 10 years ago.
Portfile for the ESO software repository.
Portfile.2 (5.9 KB) - added by aszostak-partner-eso-org 10 years ago.
Updated version with all fields set for archive_sites.conf
Portfile.3 (5.9 KB) - added by aszostak-partner-eso-org 9 years ago.
Updated version to also apply sanity checks in pre-built binary port.

Download all attachments as: .zip

Change History (13)

Changed 10 years ago by aszostak-partner-eso-org

Attachment: Portfile added

Portfile for the ESO software repository.

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

This is highly unusual...

comment:2 Changed 10 years ago by neverpanic (Clemens Lang)

But nonetheless interesting…

comment:3 Changed 10 years ago by neverpanic (Clemens Lang)

Cc: cal@… added

Cc Me!

comment:4 Changed 10 years ago by aszostak-partner-eso-org

This solution would be on the same lines as to how it works for the EPEL repository for Fedora:

sudo yum install epel-release

i.e. my submission proposes to use a Portfile to easily setup a MacPorts repository of Portfiles. Compare this to the EPEL example: use a RPM to setup a YUM repository of RPMs.

Changed 10 years ago by aszostak-partner-eso-org

Attachment: Portfile.2 added

Updated version with all fields set for archive_sites.conf

comment:5 Changed 10 years ago by aszostak-partner-eso-org

I realised that I should have set the fields like prefix, applications_dir and frameworks_dir in archive_sites.conf. This is now done in the updated Portfile.

comment:6 Changed 9 years ago by petrrr

Cc: petr@… added

Cc Me!

comment:7 Changed 9 years ago by aszostak-partner-eso-org

Any news? Does this Portfile get the thumbs up or thumbs down?

comment:8 Changed 9 years ago by neverpanic (Clemens Lang)

We should discuss this on macports-dev, but I don't think we should reject this. This is a valid use case, and as long as we do not provide a base mechanism to do this, this approach will have to do.

Changed 9 years ago by aszostak-partner-eso-org

Attachment: Portfile.3 added

Updated version to also apply sanity checks in pre-built binary port.

comment:9 Changed 9 years ago by neverpanic (Clemens Lang)

Committed in r144726 with the following changes:

  • use use_configure no instead of configure {} to silence a lint warning
  • add extract {} to silence a warning during installation
  • use the notes feature rather than printing a message in post-activate.
  • add a warning indicating what trust implications installing this port has towards ESO.

comment:10 Changed 9 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.