From daccc5e4f9edb03707086163b65cf7a67c340d46 Mon Sep 17 00:00:00 2001 From: "Max P." Date: Wed, 23 Apr 2025 17:24:43 +0200 Subject: [PATCH] Add Debian packaging files for pydepp Includes changelog, control, copyright, and rules files to package pydepp for Debian. Enables building and distribution of the library with Python-specific dependencies and metadata. Relates to initial Debian packaging setup. --- debian/changelog | 11 +++++++++++ debian/control | 13 +++++++++++++ debian/copyright | 28 ++++++++++++++++++++++++++++ debian/rules | 7 +++++++ 4 files changed, 59 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..01e3b73 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,11 @@ +pydepp (0.1.1) UNRELEASED; urgency=medium + + * Update to match pyproject.toml + + -- 0xMax42 Wed, 23 Apr 2025 17:24:03 +0200 + +pydepp (0.1.0) unstable; urgency=medium + + * Initial release + + -- 0xMax42 Wed, 23 Apr 2025 17:00:00 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..e1d8d59 --- /dev/null +++ b/debian/control @@ -0,0 +1,13 @@ +Source: pydepp +Section: python +Priority: optional +Maintainer: Dein Name +Build-Depends: debhelper-compat (= 13), dh-python, python3-all, pybuild-plugin-pyproject +Standards-Version: 4.6.2 +Rules-Requires-Root: no + +Package: pydepp +Architecture: all +Depends: ${misc:Depends}, ${python3:Depends} +Description: Python interface for the Digilent DEPP protocol + Provides a Pythonic interface to access Digilent FPGA boards over the DEPP bus using the Adept SDK. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..975896e --- /dev/null +++ b/debian/copyright @@ -0,0 +1,28 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: pydepp +Source: https://github.com/0xMax42/pydepp + +Files: * +Copyright: 2025 0xMax42 +License: MIT + MIT License + + Copyright (c) 2025 M. 0xMax42 + + 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/rules b/debian/rules new file mode 100755 index 0000000..9cedbaf --- /dev/null +++ b/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +export PYBUILD_SYSTEM=pyproject +export PYBUILD_NAME=pydepp + +%: + dh $@ --with python3 --buildsystem=pybuild