mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 21:13:27 -04:00
dev-util/quilttools: Add patch and bump python version
Add patch for picking up Reviewed-and-tested-by tags and bump python version to 3.8 as notmuch has been updated. Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
This commit is contained in:
45
dev-util/quilttools/quilttools-0.3-r1.ebuild
Normal file
45
dev-util/quilttools/quilttools-0.3-r1.ebuild
Normal file
@@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=(python3_{6..8})
|
||||
|
||||
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 '
|
||||
dev-python/pyyaml[${PYTHON_MULTI_USEDEP}]
|
||||
net-mail/notmuch[python,${PYTHON_MULTI_USEDEP}]
|
||||
')"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-tags.patch" )
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user