Debian: try building python package #298

pull/300/head
nick black 5 years ago
parent 92f8d4ce26
commit b2909e9e8e
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

12
debian/control vendored

@ -4,9 +4,11 @@ Maintainer: Nick Black <dankamongmen@gmail.com>
Build-Depends: debhelper-compat (= 12), cmake (>= 3.13), pkg-config (>= 0.29),
libncurses-dev (>= 6.1), libavformat-dev (>= 57.0), libswscale-dev (>= 5.0),
libavutil-dev (>= 56.0), pandoc (>= 1.19.2.4), python3-all-dev (>= 3.2),
python3-cffi (>= 1.13.2), g++ (>= 4:7.0.0-0), python3-setuptools (>= 44.0.0)
python3-cffi (>= 1.13.2), g++ (>= 4:7.0.0-0), python3-setuptools (>= 44.0.0),
dh-python
Standards-Version: 4.5.0
Section: libs
X-Python3-Version: >= 3.7
Homepage: https://nick-black.com/dankwiki/index.php/notcurses
Vcs-Browser: https://github.com/dankamongmen/notcurses
Vcs-Git: https://github.com/dankamongmen/notcurses.git
@ -58,3 +60,11 @@ Description: Binaries from libnotcurses
.
These utilities from the notcurses project include notcurses-demo,
notcurses-view, notcurses-planereel, and notcurses-input.
Package: python3-notcurses
Architecture: all
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.

6
debian/rules vendored

@ -5,6 +5,8 @@ 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
%:
dh $@ --buildsystem=cmake
@ -14,3 +16,7 @@ override_dh_auto_test:
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

@ -0,0 +1 @@
Testsuite: autopkgtest-pkg-python
Loading…
Cancel
Save