File tree Expand file tree Collapse file tree 4 files changed +34
-0
lines changed Expand file tree Collapse file tree 4 files changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ set (pep8_deps ${python_pkg} ${setuptools_pkg} )
Original file line number Diff line number Diff line change 1+ # The pep8 project
2+
3+ set (pep8_binary "${CMAKE_CURRENT_BINARY_DIR} /build/pep8" )
4+
5+ ExternalProject_Add(pep8
6+ DOWNLOAD_DIR ${CMAKE_CURRENT_BINARY_DIR}
7+ SOURCE_DIR ${pep8_binary}
8+ URL ${PEP8_SOURCE}
9+ URL_MD5 ${PEP8_MD5}
10+ BUILD_IN_SOURCE 1
11+ CONFIGURE_COMMAND ""
12+ BUILD_COMMAND ${PYTHON_EXECUTABLE} setup.py build
13+ INSTALL_COMMAND ${PYTHON_EXECUTABLE} setup.py install ${PYTHON_EXTRA_PREFIX}
14+ DEPENDS ${pep8_deps}
15+ ${ep_log_options}
16+ )
Original file line number Diff line number Diff line change 1+ set ( PEP8_MAJOR 1 )
2+ set ( PEP8_MINOR 6 )
3+ set ( PEP8_PATCH 2)
4+ set ( PEP8_VERSION ${PEP8_MAJOR} .${PEP8_MINOR} .${PEP8_PATCH} )
5+ set ( PEP8_URL ${LLNL_URL} )
6+ set ( PEP8_GZ pep8-${PEP8_VERSION} .tar.gz )
7+ set ( PEP8_MD5 c7a3f57d832484a6295164661fbb1335 )
8+
9+ set (nm PEP8)
10+ string (TOUPPER ${nm} uc_nm)
11+ set (${uc_nm} _VERSION ${${nm} _MAJOR}.${${nm} _MINOR}.${${nm} _PATCH})
12+ set (PEP8_SOURCE ${PEP8_URL} /${PEP8_GZ} )
13+
14+ if (BUILD_TESTING)
15+ add_cdat_package(pep8 "" "" ON )
16+ endif ()
Original file line number Diff line number Diff line change @@ -488,6 +488,7 @@ include(dateutils_pkg)
488488include (pyparsing_pkg)
489489include (md5_pkg)
490490include (mpi4py_pkg)
491+ include (pep8_pkg)
491492include (pyopenssl_pkg)
492493include (setuptools_pkg)
493494include (myproxyclient_pkg)
You can’t perform that action at this time.
0 commit comments