From c2f4fb828597bd35fbd5612380e9df94c2870689 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Sun, 16 Feb 2020 20:55:07 -0700 Subject: initial Debianisation Signed-off-by: Sean Whitton --- debian/changelog | 5 +++++ debian/control | 45 +++++++++++++++++++++++++++++++++++++++++++++ debian/copyright | 19 +++++++++++++++++++ debian/rules | 13 +++++++++++++ debian/source/format | 1 + debian/upstream/metadata | 4 ++++ debian/watch | 3 +++ 7 files changed, 90 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/upstream/metadata create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..dcd5af2 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +libapi-gitforge-perl (0.001-1) experimental; urgency=medium + + * Initial release. + + -- Sean Whitton Sun, 16 Feb 2020 20:56:49 -0700 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..2310091 --- /dev/null +++ b/debian/control @@ -0,0 +1,45 @@ +Source: libapi-gitforge-perl +Maintainer: Debian Perl Group +Uploaders: + Sean Whitton , +Section: perl +Priority: optional +Build-Depends: + debhelper-compat (= 12), +Build-Depends-Indep: + libgit-wrapper-perl, + libgitlab-api-v4-perl, + libnet-github-perl, + librole-tiny-perl, + libterm-ui-perl, + libtry-tiny-perl, + libdist-zilla-perl, + libdist-zilla-plugin-git-perl, + libdist-zilla-plugin-podweaver-perl, + perl (>= 5.28.0), +Standards-Version: 4.5.0 +Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libapi-gitforge-perl +Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libapi-gitforge-perl.git +Homepage: https://metacpan.org/release/API-GitForge + +Package: libapi-gitforge-perl +Architecture: all +Depends: + libgit-wrapper-perl, + libgitlab-api-v4-perl, + libnet-github-perl, + librole-tiny-perl, + libterm-ui-perl, + libtry-tiny-perl, + perl (>= 5.28.0), + ${misc:Depends}, + ${perl:Depends}, +Description: generic interface to APIs of sites like GitHub, GitLab etc. + A git forge is a site like GitHub, GitLab etc. API::GitForge provides + access to some operations which one might wish to perform against any + git forge, wrapping the details of the APIs of particular forges. An + example of such an operation is forking a repository into the user's + own namespace. + . + See the manpage for API::GitForge::Role::GitForge for details of all + the currently supported operations. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..f7a0c34 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,19 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Source: https://metacpan.org/release/API-GitForge +Upstream-Contact: Sean Whitton + +Files: * +Copyright: (C) 2017, 2020 Sean Whitton +License: GPL-3+ + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or (at + your option) any later version. + . + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + . + On Debian systems, the complete text of version 3 of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-3'. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..4b85e88 --- /dev/null +++ b/debian/rules @@ -0,0 +1,13 @@ +#!/usr/bin/make -f + +include /usr/share/dpkg/pkg-info.mk + +%: + dh $@ --sourcedirectory=API-GitForge-${DEB_VERSION_UPSTREAM} + +override_dh_auto_configure: + HOME=. dzil build + dh_auto_configure + +override_dh_auto_clean: + HOME=. dzil clean 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/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..a676d8b --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,4 @@ +--- +Archive: CPAN +Repository: https://git.spwhitton.name/p5-API-GitForge +Repository-Browse: https://git.spwhitton.name/p5-API-GitForge diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..454e019 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=4 +https://git.spwhitton.name/p5-API-GitForge \ + /snapshot/p5-API-GitForge-([\d\.]+)\.tar\.gz debian uupdate -- cgit v1.2.3