From fcbeb4d9308568c651c6f2aae57e998b100bc614 Mon Sep 17 00:00:00 2001 From: Dave Hibberd Date: Tue, 11 Feb 2025 01:20:58 +0000 Subject: First pass of packaging --- debian/changelog | 5 +++++ debian/control | 16 ++++++++++++++++ debian/copyright | 30 ++++++++++++++++++++++++++++++ debian/gbp.conf | 4 ++++ debian/rules | 4 ++++ debian/source/format | 1 + 6 files changed, 60 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/gbp.conf create mode 100755 debian/rules create mode 100644 debian/source/format diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..2b9ea49 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +sounddevice (0.5.1-1) UNRELEASED; urgency=medium + + * Initial release. (Closes: #XXXXXX) + + -- Dave Hibberd Mon, 10 Feb 2025 23:51:18 +0000 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..4470561 --- /dev/null +++ b/debian/control @@ -0,0 +1,16 @@ +Source: sounddevice +Section: hamradio +Priority: optional +Maintainer: Dave Hibberd +Standards-Version: 4.7.0. +Vcs-Browser: https://git.hibbian.org/Hibbian/not1mm +Vcs-Git: https://git.hibbian.org/Hibbian/not1mm.git +Homepage: https://github.com/mbridak/not1mm +Build-Depends: debhelper-compat (= 13) +Build-Depends-Arch: dh-python, python3, libportaudio2, pybuild-plugin-pyproject, python3-cffi +Rules-Requires-Root: no + +Package: python3-sounddevice +Architecture: all +Depends: ${python3:Depends}, ${misc:Depends}, libportaudio2 +Description: This Python module provides bindings for the PortAudio library and a few convenience functions to play and record NumPy arrays containing audio signals diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..b1bb2ef --- /dev/null +++ b/debian/copyright @@ -0,0 +1,30 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: sounddevice +Upstream-Contact: Matthias Geier +Source: https://github.com/spatialaudio/python-sounddevice + +Files: * +Copyright: 2015-2025 Matthias Geier +License: MIT + +Files: debian/* +Copyright: 2025 Dave Hibberd +License: MIT + +License: MIT + Permission is hereby granted, free of charge, to any person obtaining a copy of + this software and associated documentation files (the "Software"), to deal in + the Software without restriction, including without limitation the rights to + use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of + the Software, and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS + FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR + COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER + IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..8ff30ca --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,4 @@ +[DEFAULT] +debian-branch = debian/latest +upstream-branch = master +upstream-tag = v%(version)s diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..eac8342 --- /dev/null +++ b/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ --with python3 --buildsystem=pybuild diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) -- cgit v1.2.3