Python: fix up debug package #298

pull/300/head
nick black 5 years ago
parent a340286b49
commit c1c25afcc7

@ -500,4 +500,4 @@ install(TARGETS notcurses
)
install(
CODE
"execute_process(COMMAND ${Python3_EXECUTABLE} ${SETUP_PY} install --prefix=${CMAKE_INSTALL_PREFIX} WORKING_DIRECTORY ../python)")
"execute_process(COMMAND ${Python3_EXECUTABLE} ${SETUP_PY} install --install-layout=deb --prefix=${CMAKE_INSTALL_PREFIX} WORKING_DIRECTORY ../python)")

12
debian/control vendored

@ -63,9 +63,19 @@ Description: Binaries from libnotcurses
notcurses-view, notcurses-planereel, and notcurses-input.
Package: python3-notcurses
Architecture: all
Architecture: any
Depends: ${python3:Depends}, ${misc:Depends}
Description: Python wrappers for notcurses (Python 3)
Python wrappers for the notcurses TUI library.
.
This package installs the library for Python 3.
Package: python3-notcurses-dbg
Architecture: any
Section: debug
Recommends: python3-dbg
Depends: ${python3:Depends}, ${misc:Depends}, python3-notcurses (= ${binary:Version})
Description: Python wrappers for notcurses (Python 3 debug)
Python wrappers for the notcurses TUI library.
.
This package installs the debug-enabled library for Python 3.

7
debian/rules vendored

@ -8,7 +8,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export PYBUILD_NAME=notcurses
%:
dh $@ --buildsystem=cmake
dh $@ --with python3 --buildsystem=cmake
# dh_auto_test -O--buildsystem=cmake -O--no-parallel
# Don't try to run ncurses tests
@ -17,6 +17,5 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
cd obj-x86_64-linux-gnu && env -u TERM make test
endif
# support building a Python debugging package
override_dh_strip:
dh_strip -ppython3-foo --dbg-package=python3-foo-dbg
override_dh_auto_install:
dh_auto_install -B $(BUILDDIR)

@ -8,7 +8,8 @@ notcurses-demo - Show off some notcurses features
# SYNOPSIS
**notcurses-demo** [**-h|--help**] [**-p path**] [**-d delaymult**] [**-l loglevel**] [**-kHVc**] demospec
**notcurses-demo** [**-h|--help**] [**-p path**] [**-d delaymult**]
[**-l loglevel**] [**-kHVc**] demospec
# DESCRIPTION

Loading…
Cancel
Save