restore shlibs dep to python3-notcurses #326

This commit is contained in:
nick black 2020-02-08 23:01:32 -05:00
parent b7a92e0321
commit b388fa90db
2 changed files with 7 additions and 14 deletions

15
debian/control vendored
View File

@ -97,21 +97,8 @@ Description: Multimedia used by notcurses-demo
Package: python3-notcurses Package: python3-notcurses
Section: python Section: python
Architecture: any Architecture: any
Depends: ${misc:Depends}, ${python3:Depends} Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}
Description: Python wrappers for notcurses (Python 3) Description: Python wrappers for notcurses (Python 3)
Python wrappers for the notcurses TUI library. Python wrappers for the notcurses TUI library.
. .
This package installs the library for Python 3. This package installs the library for Python 3.
Package: python3-notcurses-dbg
Section: debug
Architecture: any
Depends:
python3-notcurses (= ${binary:Version}),
${misc:Depends},
${python3:Depends},
Recommends: python3-dbg
Description: Python wrappers for notcurses (Python 3 debug)
Python wrappers for the notcurses TUI library.
.
This package installs the debug library for Python 3.

6
debian/rules vendored
View File

@ -12,6 +12,12 @@ export PYBUILD_NAME=notcurses
override_dh_auto_configure: override_dh_auto_configure:
dh_auto_configure -- -DDFSG_BUILD=ON dh_auto_configure -- -DDFSG_BUILD=ON
override_dh_auto_build:
dh_auto_build
cd python && python3 setup.py build_ext -L../obj-x86_64-linux-gnu -I../include
cd python && python3 setup.py sdist
override_dh_auto_install: override_dh_auto_install:
dh_auto_install -B $(BUILDDIR) dh_auto_install -B $(BUILDDIR)
cd python && python3 setup.py install --prefix=/usr --skip-build --root=../debian/tmp --install-layout=deb
rm -rf debian/tmp/usr/lib/python3/dist-packages/__pycache__ rm -rf debian/tmp/usr/lib/python3/dist-packages/__pycache__