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

Sergio Durigan Junior sergiodj-guest at moszumanska.debian.org
Mon Jan 1 00:23:34 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 ff1bb5050aa1ac98795b6cab5198a6cb116c455d
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/compat                             |   1 +
 debian/control                            |  57 +++++++++++
 debian/copyright                          |  31 ++++++
 debian/python-check-manifest-doc.docs     |   1 +
 debian/python-check-manifest-doc.manpages |   1 +
 debian/rules                              |   8 ++
 debian/source/format                      |   1 +
 debian/source/options                     |   1 +
 debian/watch                              |   4 +
 11 files changed, 269 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..7a8ad06
--- /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 maching \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/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..b4104b8
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,57 @@
+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: python
+Priority: optional
+Build-Depends: debhelper (>= 10),
+	       dh-python,
+	       python-all,
+	       python-setuptools,
+	       python3-all,
+	       python3-setuptools,
+	       python-tox,
+	       python-mock,
+	       python3-mock
+Standards-Version: 4.1.3
+Homepage: https://github.com/mgedmin/check-manifest
+X-Python-Version: >= 2.7
+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: python-check-manifest
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}
+Suggests: python-check-manifest-doc
+Description: Tool to check the completeness of MANIFEST.in for Python packages (Python 2)
+ 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.
+ .
+ This package installs the library for Python 2.
+
+Package: python3-check-manifest
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+Suggests: python-check-manifest-doc
+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.
+ .
+ This package installs the library for Python 3.
+
+Package: python-check-manifest-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Description: Tool to check the completeness of MANIFEST.in for Python packages (common documentation)
+ 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.
+ .
+ This is the common documentation package.
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/python-check-manifest-doc.docs b/debian/python-check-manifest-doc.docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/python-check-manifest-doc.docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/python-check-manifest-doc.manpages b/debian/python-check-manifest-doc.manpages
new file mode 100644
index 0000000..ea6c29e
--- /dev/null
+++ b/debian/python-check-manifest-doc.manpages
@@ -0,0 +1 @@
+check-manifest.1
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..2b9b111
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=check-manifest
+
+%:
+	dh $@ --with python2,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