From 770fce172888c35c16bf3c35adf1fa747d99e782 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 16 May 2025 20:21:11 +0200 Subject: [PATCH] Adding debian version 1.10.0-1. Signed-off-by: Daniel Baumann --- debian/changelog | 5 +++++ debian/control | 26 ++++++++++++++++++++++++++ debian/copyright | 31 +++++++++++++++++++++++++++++++ debian/rules | 11 +++++++++++ debian/source/format | 1 + debian/watch | 2 ++ 6 files changed, 76 insertions(+) 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/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..9089b79 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +pygrep-hooks (1.10.0-1) unstable; urgency=medium + + * Initial upload to sid. + + -- Daniel Baumann Fri, 16 May 2025 20:13:27 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..ac0913c --- /dev/null +++ b/debian/control @@ -0,0 +1,26 @@ +Source: pygrep-hooks +Section: utils +Priority: optional +Maintainer: Daniel Baumann +Build-Depends: + debhelper-compat (= 13), + pre-commit , + python3-pytest , +Rules-Requires-Root: no +Standards-Version: 4.7.2 +Homepage: https://pre-commit.com +Vcs-Browser: https://forgejo.debian.net/pre-commit/pygrep-hooks +Vcs-Git: https://forgejo.debian.net/pre-commit/pygrep-hooks + +Package: pre-commit-pygrep-hooks +Architecture: all +Depends: + pre-commit, + ${misc:Depends}, +Enhances: + pre-commit, +Description: Git pre-commit hook framework (Python hooks) + pre-commit is a framework for managing and maintaining multi-language Git + pre-commit hooks. + . + This package contains some out-of-the-box hooks for Python. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..12634a9 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,31 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: pygrep-hooks +Upstream-Contact: https://github.com/pre-commit/pygrep-hooks/issues +Source: https://github.com/pre-commit/pygrep-hooks/tags + +Files: * +Copyright: 2018 Anthony Sottile +License: MIT + +Files: debian/* +Copyright: 2025 Daniel Baumann +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/rules b/debian/rules new file mode 100755 index 0000000..24217cb --- /dev/null +++ b/debian/rules @@ -0,0 +1,11 @@ +#!/usr/bin/make -f + +%: + dh ${@} + +override_dh_auto_install: + mkdir -p debian/pre-commit-pygrep-hooks/usr/share/pre-commit/pygrep-hooks + cp .pre-commit*.yaml debian/pre-commit-pygrep-hooks/usr/share/pre-commit/pygrep-hooks + +override_dh_auto_test: + pytest tests 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) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..3065bf9 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=4 +https://github.com/pre-commit/pygrep-hooks/tags .*/v?(\d.*)@ARCHIVE_EXT@