commit: a9ba7a56da8fe862f7074ae1ff7898e3d073f87a Author: Kurt Kanzenbach <kurt <AT> kmk-computers <DOT> de> AuthorDate: Wed Feb 19 19:25:45 2020 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> CommitDate: Mon Mar 16 11:31:39 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a9ba7a56
dev-util/quilttools: Mailbox to quilt series converter (new package) mb2q analyses the complete mailbox and collects various tags (Reviewed-by, Acked-by, Tested-by) from replies to individual patches and to the cover letter. If a tag is in a reply to the cover letter it is applied to all patches which reference the cover letter. Optionally the output can be redirected into a mailbox which can be applied with git-am. Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Kurt Kanzenbach <kurt <AT> kmk-computers.de> dev-util/quilttools/Manifest | 1 + dev-util/quilttools/metadata.xml | 17 +++++++++++++ dev-util/quilttools/quilttools-0.3.ebuild | 42 +++++++++++++++++++++++++++++++ 3 files changed, 60 insertions(+) diff --git a/dev-util/quilttools/Manifest b/dev-util/quilttools/Manifest new file mode 100644 index 0000000..49c4a32 --- /dev/null +++ b/dev-util/quilttools/Manifest @@ -0,0 +1 @@ +DIST quilttools-0.3.tar.gz 20525 BLAKE2B 9dafcbb68b7a7f667c3667af0144082b791832e8cdd35de2d06be3dfc15c0ca6390e309fcbbd13f8132cc6f40f967aa1bba2010270a3ed743172b5379d2a29e5 SHA512 50358996dd1b8a9a75616324d53d0ff459da701d9647e91d015d9fb810f2e22ee31de91c6f47202e925be53c1548914b1919bc41d951646e2e19b0ad79e2ed12 diff --git a/dev-util/quilttools/metadata.xml b/dev-util/quilttools/metadata.xml new file mode 100644 index 0000000..390df7d --- /dev/null +++ b/dev-util/quilttools/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>Kurt Kanzenbach</name> + </maintainer> + <longdescription> + mb2q analyses the complete mailbox and collects various tags (Reviewed-by, + Acked-by, Tested-by) from replies to individual patches and to the cover + letter. If a tag is in a reply to the cover letter it is applied to all + patches which reference the cover letter. + + Optionally the output can be redirected into a mailbox which can be applied + with git-am. + </longdescription> +</pkgmetadata> diff --git a/dev-util/quilttools/quilttools-0.3.ebuild b/dev-util/quilttools/quilttools-0.3.ebuild new file mode 100644 index 0000000..179ab2b --- /dev/null +++ b/dev-util/quilttools/quilttools-0.3.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=(python3_{6,7}) + +inherit python-single-r1 + +DESCRIPTION="Mailbox to quilt series converter" +HOMEPAGE="https://git.kernel.org/pub/scm/linux/kernel/git/tglx/quilttools.git/about/" +SRC_URI="https://git.kernel.org/pub/scm/linux/kernel/git/tglx/quilttools.git/snapshot/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +BDEPEND="dev-python/sphinx" +RDEPEND="${PYTHON_DEPS} + $(python_gen_cond_dep ' + net-mail/notmuch[python,${PYTHON_MULTI_USEDEP}] + ')" + +src_compile() { + emake -C Documentation man + use doc && emake -C Documentation html +} + +src_install() { + dobin mb2q + doman Documentation/output/man/mb2q.1 + python_fix_shebang "${ED}" + + local DOCS=( README.md ) + use doc && local HTML_DOCS=( Documentation/output/html/. ) + einstalldocs + + use examples && dodoc -r Documentation/examples +}
