[MacPorts] #50580: edmv 0.1.0 new port
#50580: edmv 0.1.0 new port ------------------------+-------------------------------- Reporter: casey@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: edmv ------------------------+-------------------------------- New port for interactive file renamer edmv -- Ticket URL: <https://trac.macports.org/ticket/50580> MacPorts <https://www.macports.org/> Ports system for OS X
#50580: edmv 0.1.0 new port -------------------------+-------------------------------- Reporter: casey@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: edmv | -------------------------+-------------------------------- Changes (by mf2k@…): * cc: casey@… (removed) * version: 2.3.4 => -- Ticket URL: <https://trac.macports.org/ticket/50580#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#50580: edmv 0.1.0 new port -------------------------+---------------------- Reporter: casey@… | Owner: ionic@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: edmv | -------------------------+---------------------- Changes (by ionic@…): * owner: macports-tickets@… => ionic@… * status: new => assigned Comment: Please consider replacing the `/usr/bin/env python` hashbang with a MacPorts-provided intepreter and adding appropriate dependencies. -- Ticket URL: <https://trac.macports.org/ticket/50580#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#50580: edmv 0.1.0 new port -------------------------+---------------------- Reporter: casey@… | Owner: ionic@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: edmv | -------------------------+---------------------- Comment (by casey@…): Replying to [comment:3 ionic@…]:
Please consider replacing the `/usr/bin/env python` hashbang with a MacPorts-provided intepreter and adding appropriate dependencies.
I like that suggestion, but I would like to keep the program runnable on systems that don't use macports, and this would require a macports specific patch. -- Ticket URL: <https://trac.macports.org/ticket/50580#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#50580: edmv 0.1.0 new port -------------------------+---------------------- Reporter: casey@… | Owner: ionic@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: edmv | -------------------------+---------------------- Comment (by ionic@…): No need to! You can do you this in the `post-patch { ... }` phase using the `reinplace` command. -- Ticket URL: <https://trac.macports.org/ticket/50580#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#50580: edmv 0.1.0 new port -------------------------+---------------------- Reporter: casey@… | Owner: ionic@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: edmv | -------------------------+---------------------- Comment (by casey@…): Replying to [comment:5 ionic@…]:
No need to! You can do you this in the `post-patch { ... }` phase using the `reinplace` command.
Sweet, sounds good. This script should be compatible with most recent versions of python 2 and all versions of python 3. Given that, which macports-provided version of python should I depend on? Maybe 3.5 because it's the most recent? -- Ticket URL: <https://trac.macports.org/ticket/50580#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#50580: edmv 0.1.0 new port -------------------------+---------------------- Reporter: casey@… | Owner: ionic@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: edmv | -------------------------+---------------------- Comment (by casey@…): Okay, the updated portfile now uses macports provided python35. -- Ticket URL: <https://trac.macports.org/ticket/50580#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#50580: edmv 0.1.0 new port -------------------------+---------------------- Reporter: casey@… | Owner: ionic@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: edmv | -------------------------+---------------------- Comment (by ionic@…): Nice! You "only" need to: - include the `python 1.0` `PortGroup` - `categories-append python` - set `python.default_version` to `35` - depend on any additional `py${python.version}-...` modules not part of the core, if neccessary - replace `file copy` with `xinstall -m 0755` - delete the explicit `python` dependency -- Ticket URL: <https://trac.macports.org/ticket/50580#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#50580: edmv 0.1.0 new port -------------------------+---------------------- Reporter: casey@… | Owner: ionic@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: edmv | -------------------------+---------------------- Comment (by casey@…): Okay, made another attempt -- Ticket URL: <https://trac.macports.org/ticket/50580#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
#50580: edmv 0.1.0 new port -------------------------+---------------------- Reporter: casey@… | Owner: ionic@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: edmv | -------------------------+---------------------- Comment (by ionic@…): Great, thanks. I'd commit it into the `sysutils` main category with two minor changes: - replace `categories-append sysutils` with `categories sysutils python` - change the indentation so that it's actually a multiple of 4 as advertised in the mode line No need to tweak your own `Portfile` and re-upload it for that, just tell me if you're okay with the proposed changes. -- Ticket URL: <https://trac.macports.org/ticket/50580#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
#50580: edmv 0.1.0 new port -------------------------+---------------------- Reporter: casey@… | Owner: ionic@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: edmv | -------------------------+---------------------- Comment (by casey@…): Sweet, that sounds good -- Ticket URL: <https://trac.macports.org/ticket/50580#comment:11> MacPorts <https://www.macports.org/> Ports system for OS X
#50580: edmv 0.1.0 new port -------------------------+--------------------- Reporter: casey@… | Owner: ionic@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: edmv | -------------------------+--------------------- Changes (by ionic@…): * status: assigned => closed * resolution: => fixed Comment: Committed as r145754 (wrong directory) and r145755 (fixup.) Thanks again! -- Ticket URL: <https://trac.macports.org/ticket/50580#comment:12> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts