[MacPorts] #39573: quickfix python bindings
#39573: quickfix python bindings ---------------------+-------------------------------- Reporter: mtb19@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: ---------------------+-------------------------------- quickfix has bindings for several languages, including python. These are enabled by (e.g.): {{{ ./configure ... --with-python=.../include/python[X].[Y] ... }}} It would be nice to have py-quickfix packages in addition to the base package. I am new to authoring Portfiles. For example, I do not know if these should belong as variants to devel/quickfix (because they are built using the same sources), or if they should be in a separate Portfile in (e.g.) python/py[XY]-quickfix. I would be willing to take a stab at this if someone could point me to a similarly built library as an example.... -- Ticket URL: <https://trac.macports.org/ticket/39573> MacPorts <http://www.macports.org/> Ports system for OS X
#39573: quickfix python bindings ----------------------+-------------------------------- Reporter: mtb19@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: | ----------------------+-------------------------------- Comment (by c.herbig@…): I'm far from an expert on writing port files, but it seems to be the latter. Perhaps taking a look at py27-gobject and py33-gobject will help? -- Ticket URL: <https://trac.macports.org/ticket/39573#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#39573: quickfix python bindings ----------------------+-------------------------------- Reporter: mtb19@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: | ----------------------+-------------------------------- Comment (by mtb19@…): I know one can create separate python packages for these, but I'm not sure this is the appropriate approach. For example, is the only way to do this by creating (e.g.) <.../python/py-quickfix/Portfile> (etc.)? Or can it be done by modifying <.../devel/quickfix/Portfile>? There are several MacPorts-specific patches that need to be applied to quickfix before it is built. It seems to me creating an entirely separate python package would create a maintenance headache (i.e., it would have to make sure its version, patches, etc. were in sync with the devel/quickfix port). Instead, I would like to modify devel/quickfix/Portfile to include python variants for the python interface. How do I do that in devel/quickfix, or is that not possible? Can someone point me to an example of a similar package? -- Ticket URL: <https://trac.macports.org/ticket/39573#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#39573: quickfix python bindings ----------------------+-------------------------------- Reporter: mtb19@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: | ----------------------+-------------------------------- Comment (by larryv@…): Can the Python bindings be built separately from QuickFIX? If so, I think adding subports to the quickfix port would be the cleanest solution. Variants are not desirable, unless the bindings have to be built at the same time as everything else. -- Ticket URL: <https://trac.macports.org/ticket/39573#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#39573: quickfix python bindings ----------------------+-------------------------------- Reporter: mtb19@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: | ----------------------+-------------------------------- Comment (by rickrojas@…): I have no idea how to make a port file, so I didn't. but I did just include a ZIP with the files needed and instructions on how to get them to work with a MacPorts install of python2.7 Cheers, Rico FYI, this is the only way to get quickfix onto Mavericks, due to the change in the C interpreter in Mavericks. -- Ticket URL: <https://trac.macports.org/ticket/39573#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts