[MacPorts] #52376: usbutils @007 update USB ID database to version 2016.09.07
MacPorts
noreply at macports.org
Mon Sep 26 06:09:25 CEST 2016
#52376: usbutils @007 update USB ID database to version 2016.09.07
----------------------------------+------------------------
Reporter: leonardo.schenkel@… | Owner: bernhard@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: haspatch
Port: usbutils |
----------------------------------+------------------------
Comment (by larryv@…):
Replying to [comment:2 leonardo.schenkel@…]:
> Sure, we can download it from there at build time. The reason I didn't
> do it was because I thought that was an anti-pattern.
No, it’s the opposite—putting non-patches in `filespath` is unorthodox.
Very few ports do this.
> I have attached a new patch that does it — maybe there is a more
> idiomatic MacPorts way instead that doing a `curl`?
The usual method is to add the additional files to `distfiles` and set
`extract.only`. You can find examples by searching the ports tree for
“extract.only”.
--
Ticket URL: <https://trac.macports.org/ticket/52376#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list