[Python-modules-commits] [check-manifest] 02/02: Initial debianization

Sergio Durigan Junior sergiodj-guest at moszumanska.debian.org
Mon Jan 1 00:27:05 UTC 2018


This is an automated email from the git hooks/post-receive script.

sergiodj-guest pushed a commit to branch master
in repository check-manifest.

commit 34edef21127a7328243438992fb8b78fc1929190
Author: Sergio Durigan Junior <sergiodj at sergiodj.net>
Date:   Thu Dec 28 17:23:44 2017 -0500

    Initial debianization
---
 debian/changelog               |   5 ++
 debian/check-manifest.1        | 159 +++++++++++++++++++++++++++++++++++++++++
 debian/check-manifest.docs     |   1 +
 debian/check-manifest.manpages |   1 +
 debian/compat                  |   1 +
 debian/control                 |  24 +++++++
 debian/copyright               |  31 ++++++++
 debian/rules                   |   8 +++
 debian/source/format           |   1 +
 debian/source/options          |   1 +
 debian/watch                   |   4 ++
 11 files changed, 236 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..9e927eb
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+check-manifest (0.36-1) unstable; urgency=medium
+
+  * Initial release (Closes: #734117)
+
+ -- Sergio Durigan Junior <sergiodj at sergiodj.net>  Thu, 28 Dec 2017 01:47:13 -0500
diff --git a/debian/check-manifest.1 b/debian/check-manifest.1
new file mode 100644
index 0000000..9e793d8
--- /dev/null
+++ b/debian/check-manifest.1
@@ -0,0 +1,159 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" (C) Copyright 2017 Sergio Durigan Junior <sergiodj at sergiodj.net>
+.TH CHECK-MANIFEST "1" "December 28 2017"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+check-manifest \- Check a Python MANIFEST.in file for completeness
+
+.SH SYNOPSIS
+.PP
+\fBcheck-manifest\fP [OPTION...] [SOURCE TREE]
+
+.SH DESCRIPTION
+\fBcheck-manifest\fP performs a check on a \fBMANIFEST.in\fP file from
+a Python project and verifies its completeness.  It can also create a
+\fBMANIFEST.in\fP file from scratch or append suggestions to it, and
+the user can also ignore certain patterns if needed.
+
+.SH OPTIONS
+.TP
+.B \-h, \-\-help
+Show summary of options.
+
+.TP
+.B \-\-version
+Show version of program.
+
+.TP
+.B \-v, \-\-verbose
+More verbose output (default: \fBFalse\fP).
+
+.TP
+.B \-c, \-\-create
+Create a \fBMANIFEST.in\fP if missing (default: \fBFalse\fP).
+
+.TP
+.B \-u, \-\-update
+Append suggestions to \fBMANIFEST.in\fP (implies \fB\-\-create\fP)
+(default: \fBFalse\fP).
+
+.TP
+.B \-p \fBPYTHON\fP, \-\-python \fBPYTHON\fP
+Use the specified \fBPYTHON\fP interpreter when running \fBsetup.py
+sdist\fP (default: \fBsys.executable\fP).
+
+.TP
+.B \-\-ignore \fBPATTERNS\fP
+Ignore files/directories matching \fBPATTERNS\fP, a comma-separated
+list of patterns (default: \fBNone\fP).
+
+.TP
+.B \-\-ignore\-bad\-ideas \fBPATTERNS\fP
+Ignore bad idea files/directories matching \fBPATTERNS\fP, a
+comma-separated list of patterns (default: \fB[]\fP).
+
+.SH CONFIGURATION
+You can tell \fBcheck-manifest\fP to ignore certain file patterns by
+adding a \fBcheck-manifest\fP section to your package's
+\fBsetup.cfg\fP.  Example:
+
+.RS
+[check-manifest]
+.br
+ignore =
+    .travis.yml
+.RE
+
+The following options are recognized:
+
+.TP
+.B ignore
+.br
+A list of newline separated filename patterns that will be ignored by
+\fBcheck-manifest\fP.  Use this if you want to keep files in your
+version control system that shouldn't be included in your source
+distributions.  The default ignore list is
+
+.RS
+PKG-INFO
+.br
+*.egg-info
+.br
+*.egg-info/*
+.br
+setup.cfg
+.br
+\\.hgtags
+.br
+\\.hgsigs
+.br
+\\.hgignore
+.br
+\\.gitignore
+.br
+\\.bzrignore
+.br
+\\.gitattributes
+.br
+\\.travis.yml
+.br
+Jenkinsfile
+.br
+*.mo
+.RE
+
+.TP
+.B ignore-default-rules
+.br
+If set to \fBtrue\fP, your \fBignore\fP patterns will replace the
+default ignore list instead of adding to it.
+
+.TP
+.B ignore-bad-ideas
+.br
+A list of newline separated filename patterns that will be ignored by
+\fBcheck-manifest\fP's generated files check.  Use this if you want to
+keep generated files in your version control system, even though it is
+generally a bad idea.
+
+.SH REPORTING BUGS
+Please report bugs using the Debian BTS <https://bugs.debian.org>.
+
+.SH AUTHOR
+\fBcheck-manifest\fR is copyright (C) 2013 Marius Gedminas and contributors.
+
+.PP
+This manual page was written by Sergio Durigan Junior
+<sergiodj at sergiodj.net> based on the project's \fBREADME.rst\fP for
+the Debian GNU/Linux system, but may be used by others.
+
+.PP
+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/check-manifest.docs b/debian/check-manifest.docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/check-manifest.docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/check-manifest.manpages b/debian/check-manifest.manpages
new file mode 100644
index 0000000..0805c03
--- /dev/null
+++ b/debian/check-manifest.manpages
@@ -0,0 +1 @@
+debian/check-manifest.1
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..d5b4acf
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,24 @@
+Source: check-manifest
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Sergio Durigan Junior <sergiodj at sergiodj.net>
+Section: utils
+Priority: optional
+Build-Depends: debhelper (>= 10),
+	       dh-python,
+	       python3-all,
+	       python3-setuptools,
+Standards-Version: 4.1.3
+Homepage: https://github.com/mgedmin/check-manifest
+X-Python3-Version: >= 3.5
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/check-manifest.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/check-manifest.git/
+Testsuite: autopkgtest-pkg-python
+
+Package: check-manifest
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+Description: Tool to check the completeness of MANIFEST.in for Python packages (Python 3)
+ The check-manifest tool performs a check on a MANIFEST.in file
+ from a Python project and verifies its completeness.  It can also
+ create a MANIFEST.in file from scratch or append suggestions to it,
+ and the user can also ignore certain patterns if needed.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..20cc8a4
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,31 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: check-manifest
+Source: https://github.com/mgedmin/check-manifest
+
+Files: *
+Copyright: 2013 Marius Gedminas and contributors
+License: Expat
+
+Files: debian/*
+Copyright: 2017 Sergio Durigan Junior <sergiodj at sergiodj.net>
+License: Expat
+
+License: Expat
+ 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..2af7798
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=check-manifest
+
+%:
+	dh $@ --with python3 --buildsystem=pybuild
+
+override_dh_auto_test:
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/source/options b/debian/source/options
new file mode 100644
index 0000000..cb61fa5
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+extend-diff-ignore = "^[^/]*[.]egg-info/"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..5ba331b
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=4
+opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%<project>-$1.tar.gz%" \
+   https://github.com/mgedmin/check-manifest/tags \
+   (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/check-manifest.git



More information about the Python-modules-commits mailing list