From 688b9b1f030db3c191ca4a86008a71f5f747b50f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 19 Aug 2020 05:58:01 +0200 Subject: Adding debian version 0.10.9-1. Signed-off-by: Daniel Baumann --- debian/changelog | 5 +++++ debian/control | 31 +++++++++++++++++++++++++++++++ debian/copyright | 31 +++++++++++++++++++++++++++++++ debian/gita.docs | 2 ++ debian/rules | 18 ++++++++++++++++++ debian/source/format | 1 + debian/watch | 3 +++ 7 files changed, 91 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/gita.docs 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..ae2a5d4 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +gita (0.10.9-1) sid; urgency=medium + + * Initial upload to sid (Closes: #968651). + + -- Daniel Baumann Tue, 18 Aug 2020 22:24:26 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..152f1fa --- /dev/null +++ b/debian/control @@ -0,0 +1,31 @@ +Source: gita +Section: utils +Priority: optional +Maintainer: Daniel Baumann +Build-Depends: + debhelper-compat (= 13), + dh-python, + help2man, + python3-all, + python3-setuptools, +Rules-Requires-Root: no +Standards-Version: 4.5.0 +Homepage: https://github.com/nosarthur/gita +Vcs-Browser: https://git.progress-linux.org/users/daniel.baumann/debian/packages/gita +Vcs-Git: https://git.progress-linux.org/users/daniel.baumann/debian/packages/gita + +Package: gita +Section: utils +Architecture: all +Depends: + git, + ${misc:Depends}, + ${python3:Depends}, +Description: Manage many git repos + Gita is a command-line tool to manage multiple git repos: + . + * display the status of multiple Git repos such as branch, modification, + commit message side by side + * (batch) delegate git commands/aliases from any working directory + . + If several repos are related, Gita helps to see their status together too. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..38b39a8 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,31 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Gita +Upstream-Contact: Dong Zhou +Source: https://github.com/nosarthur/gita/releases + +Files: * +Copyright: 2018-2020 Dong Zhou +License: MIT + +Files: debian/* +Copyright: 2020 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/gita.docs b/debian/gita.docs new file mode 100644 index 0000000..0d4e26e --- /dev/null +++ b/debian/gita.docs @@ -0,0 +1,2 @@ +*.md +doc/* diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..f959ab3 --- /dev/null +++ b/debian/rules @@ -0,0 +1,18 @@ +#!/usr/bin/make -f + +%: + dh ${@} --buildsystem=pybuild --with python3 + +execute_after_dh_auto_install: + # bash-completion + mkdir -p debian/gita/usr/share/bash-completion/completions + cp .gita-completion.bash debian/gita/usr/share/bash-completion/completions/gita + + # manpage + mkdir -p debian/gita/usr/share/man/man1 + PYTHONPATH=debian/gita/usr/lib/$$(py3versions -d)/dist-packages \ + help2man --no-discard-stderr --name 'Manage many git repos' \ + debian/gita/usr/bin/gita > debian/gita/usr/share/man/man1/gita.1 + +override_dh_auto_test: + # disabled 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..61010be --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=4 +opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/gita-$1\.tar\.gz/ \ +https://github.com/nosarthur/gita/releases .*/v?(\d\S+)\.tar\.gz -- cgit v1.2.3