From ea658ec3d61a230a401151ae24d1f1b46336b7ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20Verg=C3=A9?= Date: Tue, 8 Mar 2016 09:39:28 +0100 Subject: [PATCH] Packaging: Add files for Debian --- packaging/debian/debian/changelog | 17 +++++++++++++++ packaging/debian/debian/compat | 1 + packaging/debian/debian/control | 26 +++++++++++++++++++++++ packaging/debian/debian/copyright | 19 +++++++++++++++++ packaging/debian/debian/rules | 4 ++++ packaging/debian/debian/source/format | 1 + packaging/debian/debian/upstream/metadata | 4 ++++ packaging/debian/debian/watch | 3 +++ 8 files changed, 75 insertions(+) create mode 100644 packaging/debian/debian/changelog create mode 100644 packaging/debian/debian/compat create mode 100644 packaging/debian/debian/control create mode 100644 packaging/debian/debian/copyright create mode 100755 packaging/debian/debian/rules create mode 100644 packaging/debian/debian/source/format create mode 100644 packaging/debian/debian/upstream/metadata create mode 100644 packaging/debian/debian/watch diff --git a/packaging/debian/debian/changelog b/packaging/debian/debian/changelog new file mode 100644 index 0000000..0f09865 --- /dev/null +++ b/packaging/debian/debian/changelog @@ -0,0 +1,17 @@ +yamllint (1.1.0-1) unstable; urgency=medium + + * Update to new upstream version + + -- Adrien Vergé Fri, 04 Mar 2016 18:54:19 +0100 + +yamllint (1.0.4-1) unstable; urgency=medium + + * Update to new upstream version + + -- Adrien Vergé Fri, 04 Mar 2016 12:54:19 +0100 + +yamllint (1.0.3-1) unstable; urgency=medium + + * Initial release (Closes: #816609) + + -- Adrien Vergé Thu, 03 Mar 2016 09:10:38 +0100 diff --git a/packaging/debian/debian/compat b/packaging/debian/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/packaging/debian/debian/compat @@ -0,0 +1 @@ +9 diff --git a/packaging/debian/debian/control b/packaging/debian/debian/control new file mode 100644 index 0000000..8e7974a --- /dev/null +++ b/packaging/debian/debian/control @@ -0,0 +1,26 @@ +Source: yamllint +Section: devel +Priority: optional +Maintainer: Adrien Vergé +Build-Depends: + debhelper (>=9), + python3-all, + python3-nose, + python3-setuptools, + python3-yaml, +Standards-Version: 3.9.7 +Homepage: https://github.com/adrienverge/yamllint +Vcs-Git: git://anonscm.debian.org/collab-maint/yamllint.git +Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/yamllint.git + +Package: yamllint +Architecture: any +Depends: + python3-yaml, + ${misc:Depends}, + ${python3:Depends}, + ${shlibs:Depends}, +Description: A linter for YAML files + yamllint does not only check for syntax validity, but for weirdnesses like key + repetition and cosmetic problems such as lines length, trailing spaces, + indentation, etc. diff --git a/packaging/debian/debian/copyright b/packaging/debian/debian/copyright new file mode 100644 index 0000000..1604551 --- /dev/null +++ b/packaging/debian/debian/copyright @@ -0,0 +1,19 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: yamllint +Source: https://github.com/adrienverge/yamllint + +Files: * +Copyright: 2016 Adrien Vergé +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. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see . diff --git a/packaging/debian/debian/rules b/packaging/debian/debian/rules new file mode 100755 index 0000000..641186e --- /dev/null +++ b/packaging/debian/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ --with python3 --buildsystem=pybuild diff --git a/packaging/debian/debian/source/format b/packaging/debian/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/packaging/debian/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/packaging/debian/debian/upstream/metadata b/packaging/debian/debian/upstream/metadata new file mode 100644 index 0000000..0eb5e8b --- /dev/null +++ b/packaging/debian/debian/upstream/metadata @@ -0,0 +1,4 @@ +Bug-Database: https://github.com/adrienverge/yamllint/issues +FAQ: https://yamllint.readthedocs.org/ +Name: yamllint +Repository: https://github.com/adrienverge/yamllint diff --git a/packaging/debian/debian/watch b/packaging/debian/debian/watch new file mode 100644 index 0000000..91d591f --- /dev/null +++ b/packaging/debian/debian/watch @@ -0,0 +1,3 @@ +# watch control file for uscan +version=3 +https://github.com/adrienverge/yamllint/tags .*/archive/v(\d\S*)\.tar\.gz