Skip to content
Snippets Groups Projects
Verified Commit f90b9f5c authored by Stephan Lachnit's avatar Stephan Lachnit
Browse files

Debian release 0.4.0-1

parent 7beee3db
No related branches found
No related tags found
No related merge requests found
Showing with 170 additions and 0 deletions
python-headerparser (0.4.0-1) unstable; urgency=medium
* Initial release. (Closes: #1005875)
-- Stephan Lachnit <stephanlachnit@debian.org> Thu, 03 Mar 2022 21:25:31 +0100
headerparser.egg-info/
docbuilddir/
Source: python-headerparser
Section: python
Priority: optional
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Uploaders: Stephan Lachnit <stephanlachnit@debian.org>
Build-Depends:
debhelper-compat (= 13),
dh-sequence-python3,
dh-sequence-sphinxdoc,
python3-all,
python3-setuptools,
python3-six,
python3-sphinx,
python3-sphinx-rtd-theme,
python3-doc,
python3-pytest,
python3-pytest-mock,
Rules-Requires-Root: no
Standards-Version: 4.6.0.1
Testsuite: autopkgtest-pkg-python
Homepage: https://github.com/jwodder/headerparser
Vcs-Browser: https://salsa.debian.org/python-team/packages/python-headerparser
Vcs-Git: https://salsa.debian.org/python-team/packages/python-headerparser.git
Package: python3-headerparser
Architecture: all
Depends:
${misc:Depends},
${python3:Depends},
python3-six,
Description: Parse key-value pairs in RFC 822 style headers
This Python module parses key-value pairs in the style of RFC 822 (e-mail)
headers and converts them into case-insensitive dictionaries with the
trailing message body (if any) attached. Low-level functions for just
scanning header fields (breaking them into sequences of key-value pairs
without any further processing) are also included.
Package: python3-headerparser-doc
Section: doc
Architecture: all
Depends:
${misc:Depends},
${sphinxdoc:Depends},
python3-doc,
Description: Parse key-value pairs in RFC 822 style headers - documentation
This Python module parses key-value pairs in the style of RFC 822 (e-mail)
headers and converts them into case-insensitive dictionaries with the
trailing message body (if any) attached. Low-level functions for just
scanning header fields (breaking them into sequences of key-value pairs
without any further processing) are also included.
.
This package contains documentation for the headerparser module.
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: headerparser
Upstream-Contact: John Thorvald Wodder II <headerparser@varonathe.org>
Source: https://github.com/jwodder/headerparser
Files: *
Copyright: 2017-2019 John Thorvald Wodder II <headerparser@varonathe.org>
License: MIT
Files: debian/*
Copyright: 2022 Stephan Lachnit <stephanlachnit@debian.org>
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.
[DEFAULT]
upstream-branch = upstream/latest
debian-branch = debian/latest
pristine-tar = true
filter = .gitignore
Description: use local sphinx documentation installation for intersphinx
Forwarded: not-needed
Author: Stephan Lachnit <stephanlachnit@debian.org>
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -17,7 +17,7 @@
}
intersphinx_mapping = {
- "python": ("https://docs.python.org/3", None),
+ "python": ("/usr/share/doc/python3-doc/html", None),
}
exclude_patterns = ['_build']
Description: fix breaking options for pytest
Forwarded: not-needed
Applied-Upstream: commit:cba336e2cfbedb33f67e70b9eb4eaa8f4ae6f78b
Author: Stephan Lachnit <stephanlachnit@debian.org>
--- a/tox.ini
+++ b/tox.ini
@@ -12,12 +12,6 @@
commands = pytest {posargs} headerparser test README.rst docs/index.rst
[pytest]
-addopts =
- --cache-clear
- --cov=headerparser
- --no-cov-on-fail
- --doctest-modules
- --flakes
doctest_optionflags = IGNORE_EXCEPTION_DETAIL
filterwarnings = error
01_local-intersphinx-inventory.patch
02_fix-pytest.patch
Document: headerparser
Title: headerparser Manual
Author: John T. Wodder II
Abstract: This documentation of the Python module headerparser includes
examples and the API reference.
Section: Programming/Python
Format: HTML
Index: /usr/share/doc/python3-headerparser/html/index.html
Files: /usr/share/doc/python3-headerparser/html/*.html
docbuilddir/html/
usr/lib/python3*/dist-packages/
#!/usr/bin/make -f
%:
dh $@ --buildsystem=pybuild
override_dh_auto_build:
dh_auto_build
python3 -m sphinx -N -b html docs/ docbuilddir/html
---
include:
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/recipes/debian.yml
3.0 (quilt)
Tests: pytest
Depends: @, python3-all, python3-setuptools, python3-pytest, python3-pytest-mock
#!/bin/sh
set -e
for python in $(py3versions -s); do
$python -m pytest
done
Bug-Database: https://github.com/jwodder/headerparser/issues
Bug-Submit: https://github.com/jwodder/headerparser/issues/new
Repository: https://github.com/jwodder/headerparser.git
Repository-Browse: https://github.com/jwodder/headerparser
Documentation: https://headerparser.readthedocs.io/en/stable/
version=4
https://github.com/jwodder/headerparser/tags (?:.*?/)?v?@ANY_VERSION@@ARCHIVE_EXT@
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment