[pygccxml-commit] SF.net SVN: pygccxml:[1843] pygccxml_dev
Brought to you by:
mbaas,
roman_yakovenko
From: <rom...@us...> - 2010-07-12 19:50:37
|
Revision: 1843 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1843&view=rev Author: roman_yakovenko Date: 2010-07-12 19:50:31 +0000 (Mon, 12 Jul 2010) Log Message: ----------- allow pygccxml to run on FreeBSD Modified Paths: -------------- pygccxml_dev/docs/history/history.rest pygccxml_dev/pygccxml/__init__.py pygccxml_dev/pygccxml/parser/config.py Modified: pygccxml_dev/docs/history/history.rest =================================================================== --- pygccxml_dev/docs/history/history.rest 2010-05-16 10:53:45 UTC (rev 1842) +++ pygccxml_dev/docs/history/history.rest 2010-07-12 19:50:31 UTC (rev 1843) @@ -56,6 +56,10 @@ right relative paths and paths with spaces. Many thanks to Alejandro Dubrovsky for providing the patch. +10. Small fix, which allows pygccxml to be usable on FreeBSD too: replace + `elif sys.platform == 'linux2' or sys.platform == 'darwin'` with `os.name == 'posix'`, + as suggested by `Jakub Wilk <http://groups.google.com/group/linux.debian.bugs.dist/browse_thread/thread/572d2286ca0b2cec?pli=1>` + ----------- Version 1.0 ----------- Modified: pygccxml_dev/pygccxml/__init__.py =================================================================== --- pygccxml_dev/pygccxml/__init__.py 2010-05-16 10:53:45 UTC (rev 1842) +++ pygccxml_dev/pygccxml/__init__.py 2010-07-12 19:50:31 UTC (rev 1843) @@ -33,6 +33,6 @@ #TODO: # 1. Add "explicit" property for constructors -__version__ = '1.5.0' +__version__ = '1.5.1' __revision__ = 1080 Modified: pygccxml_dev/pygccxml/parser/config.py =================================================================== --- pygccxml_dev/pygccxml/parser/config.py 2010-05-16 10:53:45 UTC (rev 1842) +++ pygccxml_dev/pygccxml/parser/config.py 2010-07-12 19:50:31 UTC (rev 1843) @@ -176,7 +176,7 @@ if sys.platform == 'win32': gccxml_name = 'gccxml' + '.exe' environment_var_delimiter = ';' - elif sys.platform == 'linux2' or sys.platform == 'darwin': + elif os.name == 'posix': gccxml_name = 'gccxml' environment_var_delimiter = ':' else: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |