#49706: py-swiginac @1.5.1.1 - new port -----------------------------+-------------------------- Reporter: mark.brethen@… | Owner: ryandesign@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: py-swiginac | -----------------------------+-------------------------- Comment (by ryandesign@…): Replying to [comment:1 ryandesign@…]:
I've added a lint warning for this in r142588.
When the next version of MacPorts from trunk is released, the lint warning would look like this: {{{ $ port lint ---> Verifying Portfile for py-swiginac Warning: Line 47 should use the expansion operator instead of the eval procedure. Change Warning: eval xinstall -m 644 [glob ${worksrcpath}/doc/swiginac*.*] ${docdir} Warning: to Warning: xinstall -m 644 {*}[glob ${worksrcpath}/doc/swiginac*.*] ${docdir} Warning: Line 49 should use the expansion operator instead of the eval procedure. Change Warning: eval xinstall -m 644 [glob ${worksrcpath}/doc/examples/*.py] \ Warning: to Warning: xinstall -m 644 {*}[glob ${worksrcpath}/doc/examples/*.py] \ ---> 0 errors and 2 warnings found. }}} -- Ticket URL: <https://trac.macports.org/ticket/49706#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X