Opened 21 years ago

Closed 21 years ago

Last modified 9 years ago

#1689 closed enhancement (fixed)

Add python bindings variant to subversion port

Reported by: danielluke (Daniel J. Luke) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port: subversion

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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

Change History (2)

comment:1 Changed 21 years ago by matt@…

Resolution: fixed
Status: newclosed

Committed and increased the revision number as variant can be considered as an install option imho, but we should have a clear policy about that point though. Thanks again Daniel!

comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: subversion added
Type: defectenhancement
Note: See TracTickets for help on using tickets.