#1689: Add python bindings variant to subversion port --------------------------+-------------------------------- Reporter: dluke@… | Owner: macports-tickets@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.0 Resolution: fixed | Keywords: Port: subversion | --------------------------+-------------------------------- Changes (by ryandesign@…): * type: defect => enhancement * port: => subversion Old description:
Add python bindings variant (+python). I'm not sure if I should bump the port revision, as the non- variant install hasn't changed.
Diffs inline:
cvs server: Diffing . Index: Portfile =============================================================== ==== RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/devel/subversion/Portfile,v retrieving revision 1.22 diff -u -d -b -w -r1.22 Portfile --- Portfile 31 Mar 2004 18:33:52 -0000 1.22 +++ Portfile 31 Mar 2004 19:17:04 -0000 @@ -37,3 +37,8 @@ configure.args-delete --without-apxs }
+variant python { depends_build-append path:${prefix}/bin/swig:swig \ + path:${prefix}/bin/python:python + configure.args-append --with- python=${prefix}/bin/python + destroot.target-append swig-py install-swig-py + } cvs server: Diffing files
New description: Add python bindings variant (+python). I'm not sure if I should bump the port revision, as the non- variant install hasn't changed. Diffs inline: {{{ cvs server: Diffing . Index: Portfile =================================================================== RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/devel/subversion/Portfile,v retrieving revision 1.22 diff -u -d -b -w -r1.22 Portfile --- Portfile 31 Mar 2004 18:33:52 -0000 1.22 +++ Portfile 31 Mar 2004 19:17:04 -0000 @@ -37,3 +37,8 @@ configure.args-delete --without-apxs } +variant python { depends_build-append path:${prefix}/bin/swig:swig \ + path:${prefix}/bin/python:python + configure.args-append --with- python=${prefix}/bin/python + destroot.target-append swig-py install-swig-py + } cvs server: Diffing files }}} -- -- Ticket URL: <https://trac.macports.org/ticket/1689#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X