[MacPorts] #44167: cot 1.0.0
#44167: cot 1.0.0 ------------------------+-------------------------------- Reporter: glenn@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: | Port: cot ------------------------+-------------------------------- COT (the Common OVF Tool) is a tool for editing Open Virtualization Format (.ovf, .ova) virtual appliances, with a focus on virtualized network appliances such as the Cisco CSR 1000V and Cisco IOS XRv platforms. -- Ticket URL: <https://trac.macports.org/ticket/44167> MacPorts <http://www.macports.org/> Ports system for OS X
#44167: cot 1.0.0 -------------------------+-------------------------------- Reporter: glenn@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: cot | -------------------------+-------------------------------- Comment (by glenn@…): Hi, is there anything I can do to help move this along? -- Ticket URL: <https://trac.macports.org/ticket/44167#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#44167: cot 1.0.0 -------------------------+-------------------------------- Reporter: glenn@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: cot | -------------------------+-------------------------------- Comment (by mf2k@…): Comment: Since you are using the python and github portgroups, you must use {{{depends_lib-append}}} instead of {{{depends_lib}}} to not override dependencies of those portgroups. -- Ticket URL: <https://trac.macports.org/ticket/44167#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#44167: cot 1.0.0 -------------------------+-------------------------------- Reporter: glenn@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: cot | -------------------------+-------------------------------- Comment (by glenn@…): Replying to [comment:2 mf2k@…]:
Comment: Since you are using the python and github portgroups, you must use {{{depends_lib-append}}} instead of {{{depends_lib}}} to not override dependencies of those portgroups.
Updated. Thanks! -- Ticket URL: <https://trac.macports.org/ticket/44167#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#44167: cot 1.0.0 -------------------------+-------------------------------- Reporter: glenn@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: cot | -------------------------+-------------------------------- Changes (by mf2k@…): * version: 2.3.1 => Comment: I'm not understanding the use of the python portgroup here - or it is being used incorrectly. Is this supposed to be a python module? The port comes out as "cot" and not "py27-cot" and "py33-cot". If it is, then the categories are incorrect. It should be: {{{ categories-append sysutils emulators }}} Because python should be first and is included with the python portgroup. Also the following line should be added beneath the {{{github.setup}}} line: {{{ name py-cot }}} Also the line {{{ python.default_version 27}}} can be deleted since that is the default. Finally, the dependencies must be placed inside of a {{{if {${name} ne ${subport}} {}}} block. -- Ticket URL: <https://trac.macports.org/ticket/44167#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#44167: cot 1.0.0 -------------------------+-------------------------------- Reporter: glenn@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: cot | -------------------------+-------------------------------- Comment (by glenn@…): Replying to [comment:4 mf2k@…]:
I'm not understanding the use of the python portgroup here - or it is being used incorrectly. Is this supposed to be a python module? The port comes out as "cot" and not "py27-cot" and "py33-cot".
This is primarily an application - although it consists of a set of modules which could conceivably be integrated into other applications as well. So I think "cot" is correct, based on my reading of the docs: If the port name does not start with “py-”, it is interpreted as an application written in python rather than a python module. In this case, no subports are defined... That said this is the first time I've used the python portgroup, so if my usage is incorrect, I apologize!
If it is, then the categories are incorrect. It should be:
{{{ categories-append sysutils emulators }}}
Because python should be first and is included with the python portgroup.
OK, will fix this.
Also the following line should be added beneath the {{{github.setup}}} line: {{{ name py-cot }}}
As above - I don't think this is desirable.
Also the line {{{ python.default_version 27}}} can be deleted since
that is the default. Per the docs, this must be set for an application: For apps (i.e. name does not start with “py-”), this chooses which version of python to use, and must be set. It can be changed in variants if desired.
Finally, the dependencies must be placed inside of a {{{if {${name} ne
${subport}} {}}} block. Since this is an app, it doesn't have subports, right? -- Ticket URL: <https://trac.macports.org/ticket/44167#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#44167: cot 1.0.0 -------------------------+-------------------------------- Reporter: glenn@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: cot | -------------------------+-------------------------------- Comment (by mf2k@…): It is fine to be named "cot" and not have py*- subports and only use python 2.7. But your usage of {{{python.versions 27 33}}} is confusing since python 3.3 is not involved here. So the 33 needs to be removed. -- Ticket URL: <https://trac.macports.org/ticket/44167#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#44167: cot 1.0.0 -------------------------+-------------------------------- Reporter: glenn@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: cot | -------------------------+-------------------------------- Comment (by glenn@…): My reasoning was that COT can be installed and run against either 2.7 or 3.3. Is there a better way to indicate this in the Portfile? Thanks. -- Ticket URL: <https://trac.macports.org/ticket/44167#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#44167: cot 1.0.0 -------------------------+-------------------------------- Reporter: glenn@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: cot | -------------------------+-------------------------------- Comment (by mf2k@…): Use a comment then. -- Ticket URL: <https://trac.macports.org/ticket/44167#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#44167: cot 1.0.0 -------------------------+-------------------------------- Reporter: glenn@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: cot | -------------------------+-------------------------------- Comment (by glenn@…): Anything else needed? -- Ticket URL: <https://trac.macports.org/ticket/44167#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#44167: cot 1.0.0 -------------------------+-------------------------------- Reporter: glenn@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: cot | -------------------------+-------------------------------- Comment (by glenn@…): COT 1.1 has been released so updating this submission. -- Ticket URL: <https://trac.macports.org/ticket/44167#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#44167: cot 1.0.0 -------------------------+-------------------------------- Reporter: glenn@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: cot | -------------------------+-------------------------------- Comment (by glenn@…): Anything else needed before this can be committed? -- Ticket URL: <https://trac.macports.org/ticket/44167#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#44167: cot 1.0.0 -------------------------+-------------------------------- Reporter: glenn@… | Owner: macports-tickets@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: cot | -------------------------+-------------------------------- Changes (by mf2k@…): * status: new => closed * resolution: => fixed Comment: Added in r123908 with the following changes: - Changed {{{categories-append}}} to {{{categories}}} to remove python from the primary category. - Added required build dependency on py-setuptools. -- Ticket URL: <https://trac.macports.org/ticket/44167#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts