mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-10 01:29:05 -04: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})
|
if(DEFINED ENV{DEB_BUILD_ARCH})
|
||||||
install(
|
install(
|
||||||
CODE
|
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()
|
else()
|
||||||
install(
|
install(
|
||||||
CODE
|
CODE
|
||||||
|
1
debian/control
vendored
1
debian/control
vendored
@ -79,6 +79,7 @@ Description: Binaries from libnotcurses
|
|||||||
notcurses-view, notcurses-planereel, and notcurses-input.
|
notcurses-view, notcurses-planereel, and notcurses-input.
|
||||||
|
|
||||||
Package: python3-notcurses
|
Package: python3-notcurses
|
||||||
|
Section: python
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}
|
Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}
|
||||||
Description: Python wrappers for notcurses (Python 3)
|
Description: Python wrappers for notcurses (Python 3)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user