macports / upt-macports

The Universal Packaging Tool (upt) backend for MacPorts
https://framagit.org/upt/upt
BSD 3-Clause "New" or "Revised" License
8 stars 12 forks source link

Add `platforms {darwin any}` to base.Portfile #74

Open catap opened 1 year ago

jmroot commented 1 year ago

Perl also uses a platform-specific directory structure. Another complication is that being noarch doesn't guarantee that a port doesn't install different files on different OS versions.

For Python, I think it should be possible to parse some metadata or at least the filenames of the available wheels in order to figure out if the package is architecture and/or platform independent.