From cc6fe4943c842119da519c64f6bf547a072bafbf Mon Sep 17 00:00:00 2001 From: Fabrice Quenneville Date: Tue, 22 Oct 2024 23:31:53 -0400 Subject: [PATCH] feat: add debian/ directory for packaging - Included necessary files for .deb package creation. - Corrected email address in setup.py for proper attribution. --- debian/changelog | 5 +++++ debian/control | 14 ++++++++++++++ debian/copyright | 7 +++++++ debian/rules | 8 ++++++++ debian/source/format | 1 + debian/source/options | 1 + setup.py | 2 +- 7 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/source/options diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..61cdffa --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +mediacurator (1.0.1-1) UNRELEASED; urgency=low + + * Initial release of mediacurator 1.0.1. + + -- Fabrice Quenneville Tue, 22 Oct 2024 02:07:36 -0400 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..dff8b1e --- /dev/null +++ b/debian/control @@ -0,0 +1,14 @@ +Source: mediacurator +Section: utils +Priority: optional +Maintainer: Fabrice Quenneville +Build-Depends: debhelper-compat (= 13), dh-python, python3-all +Standards-Version: 4.6.0 +Homepage: https://fabquenneville.github.io/mediacurator +Vcs-Git: https://github.com/fabquenneville/mediacurator + +Package: mediacurator +Architecture: all +Depends: ${misc:Depends}, ${python3:Depends}, ffmpeg +Description: A media curation tool with CLI interface + This package provides a Python-based media curation tool that automates media file conversions using the FFMPEG library. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..e58ec47 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,7 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: mediacurator +Source: https://github.com/fabquenneville/mediacurator + +Files: \* +Copyright: 2024, Fabrice Quenneville +License: GPLv3 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..ecff121 --- /dev/null +++ b/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +%: + dh $@ --with python3 --buildsystem=pybuild + +clean: + dh_clean + rm -rf dist/ *.whl *.tar.gz docs/ docsource/ diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..46ebe02 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) \ No newline at end of file diff --git a/debian/source/options b/debian/source/options new file mode 100644 index 0000000..ca15c8c --- /dev/null +++ b/debian/source/options @@ -0,0 +1 @@ +extend-diff-ignore = "dist/.*|(^|/)(\.pybuild|mediacurator\.egg-info/)" diff --git a/setup.py b/setup.py index a17473c..c0a227f 100755 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ setuptools.setup( name="mediacurator", version="1.0.1", author="Fabrice Quenneville", - author_email="fab@fabq.ca", + author_email="fabrice@fabq.ca", url="https://github.com/fabquenneville/mediacurator", download_url="https://pypi.python.org/pypi/mediacurator", project_urls={