Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
graphviz
graphviz-python_version.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File graphviz-python_version.patch of Package graphviz
Index: configure.ac =================================================================== --- configure.ac.orig 2012-06-11 16:26:07.060351640 +0200 +++ configure.ac 2012-06-11 16:27:06.331573194 +0200 @@ -1098,7 +1098,7 @@ else if test "x$PYTHON" = "x"; then use_python="No (python not available)" else - PYTHON_VERSION=`$PYTHON -V 2>&1 | $GREP Python | cut -d ' ' -f 2` + PYTHON_VERSION=`python -c "import sys; print '%d.%d' % (sys.version_info[[0:2]])"` if test "x$PYTHON_VERSION" = "x"; then PYTHON= else Index: configure =================================================================== --- configure.orig 2012-06-11 16:27:00.000000000 +0200 +++ configure 2012-06-11 16:27:26.152644075 +0200 @@ -21117,7 +21117,7 @@ fi if test "x$PYTHON" = "x"; then use_python="No (python not available)" else - PYTHON_VERSION=`$PYTHON -V 2>&1 | $GREP Python | cut -d ' ' -f 2` + PYTHON_VERSION=`python -c "import sys; print '%d.%d' % (sys.version_info[[0:2]])"` if test "x$PYTHON_VERSION" = "x"; then PYTHON= else
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor