Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#15615 closed submission (fixed)

New port: py-cvxopt and py25-cvxopt

Reported by: ajb78@… Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port:

Description

I wrote port files for py-cvxopt and py25-cvxopt. They depend on atlas for which a port file can be found here.

Attachments (2)

Portfile (2.7 KB) - added by ajb78@… 13 years ago.
Cleaned up version of port file for py25-cvxopt
Portfile.2 (2.7 KB) - added by ajb78@… 13 years ago.
cleaner version of portfile for py-cvxopt

Download all attachments as: .zip

Change History (8)

Changed 13 years ago by ajb78@…

Attachment: Portfile added

Cleaned up version of port file for py25-cvxopt

Changed 13 years ago by ajb78@…

Attachment: Portfile.2 added

cleaner version of portfile for py-cvxopt

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Milestone: Port Submissions

comment:2 Changed 13 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to jmr@…
Status: newassigned

I added the py25 version in r38479, with a few changes. Notably, I changed the hardcoded /opt/local references to ${prefix}.

The python24 version doesn't build for me:

building 'gsl' extension
creating build/temp.macosx-10.5-i386-2.4
creating build/temp.macosx-10.5-i386-2.4/C
/usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -fno-common -fno-common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4 -c C/gsl.c -o build/temp.macosx-10.5-i386-2.4/C/gsl.o
In file included from C/gsl.c:20:
C/cvxopt.h:61: error: syntax error before 'Py_ssize_t'

comment:3 Changed 13 years ago by ajb78@…

Thank you! I did check, and cvxopt does not have a dependence on python 2.5 so it will not build with python 2.4.

comment:4 Changed 13 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed

OK, we'll forget about the python24 version then.

comment:5 Changed 12 years ago by jmroot (Joshua Root)

Type: enhancementsubmission

comment:6 Changed 12 years ago by (none)

Milestone: Port Submissions

Milestone Port Submissions deleted

Note: See TracTickets for help on using tickets.