python: fix debuild when no notcurses is present

pull/319/head
nick black 5 years ago
parent ecf921c135
commit 0271ba5abf

@ -513,7 +513,10 @@ if(${BUILD_PYTHON})
if(DEFINED ENV{DEB_BUILD_ARCH})
install(
CODE
"execute_process(COMMAND ${Python3_EXECUTABLE} ${SETUP_PY} install --root=${CMAKE_SOURCE_DIR}/debian/python3-notcurses --install-layout=deb --prefix=${CMAKE_INSTALL_PREFIX} WORKING_DIRECTORY ../python)")
"execute_process(COMMAND ${Python3_EXECUTABLE} ${SETUP_PY} install --root=${CMAKE_SOURCE_DIR}/debian/python3-notcurses --install-layout=deb --prefix=${CMAKE_INSTALL_PREFIX} --skip-build
WORKING_DIRECTORY
../python)"
)
else()
install(
CODE

1
debian/control vendored

@ -79,6 +79,7 @@ Description: Binaries from libnotcurses
notcurses-view, notcurses-planereel, and notcurses-input.
Package: python3-notcurses
Section: python
Architecture: any
Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}
Description: Python wrappers for notcurses (Python 3)

Loading…
Cancel
Save