From e883ed805a3cdadde47be1d171f390f4a41fba7a Mon Sep 17 00:00:00 2001 From: nick black Date: Sat, 8 Feb 2020 20:49:33 -0500 Subject: [PATCH] Debian: install static lib #330 --- debian/libnotcurses-dev.install | 1 + debian/python3-notcurses.install | 1 + debian/rules | 9 +-------- 3 files changed, 3 insertions(+), 8 deletions(-) create mode 100644 debian/python3-notcurses.install diff --git a/debian/libnotcurses-dev.install b/debian/libnotcurses-dev.install index da4ccb6de..23b1e0fb4 100644 --- a/debian/libnotcurses-dev.install +++ b/debian/libnotcurses-dev.install @@ -1,5 +1,6 @@ usr/include/notcurses.h usr/lib/*/cmake/* +usr/lib/*/libnotcurses.a usr/lib/*/libnotcurses.so usr/lib/*/pkgconfig/notcurses.pc usr/share/man/man3/* diff --git a/debian/python3-notcurses.install b/debian/python3-notcurses.install new file mode 100644 index 000000000..3272cd653 --- /dev/null +++ b/debian/python3-notcurses.install @@ -0,0 +1 @@ +usr/lib/python3/dist-packages/* diff --git a/debian/rules b/debian/rules index e8182e245..cdb122c39 100755 --- a/debian/rules +++ b/debian/rules @@ -2,7 +2,6 @@ DEB_HOST_MULTIARCH?=$(shell dpkg-architecture -qDEB_HOST_MULTIARCH) -# see FEATURE AREAS in dpkg-buildflags(1) export DEB_BUILD_MAINT_OPTIONS = hardening=+all export PYBUILD_NAME=notcurses @@ -13,12 +12,6 @@ export PYBUILD_NAME=notcurses override_dh_auto_configure: dh_auto_configure -- -DDFSG_BUILD=ON -# dh_auto_test -O--buildsystem=cmake -O--no-parallel -# Don't try to run ncurses tests -override_dh_auto_test: -ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) - cd obj-x86_64-linux-gnu && env -u TERM make test -endif - override_dh_auto_install: dh_auto_install -B $(BUILDDIR) + rm -rf debian/tmp/usr/lib/python3/dist-packages/__pycache__