mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-18 03:25:55 +00:00
python: fix debuild when no notcurses is present
This commit is contained in:
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
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…
Reference in New Issue
Block a user