summaryrefslogtreecommitdiff
blob: dbc1ab1b44d99c67ff0642886d6c67fc47c2a4f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

PYTHON_COMPAT=( python3_{8..9} )
inherit distutils-r1

DESCRIPTION="Distfile Patching Support for Gentoo Linux (tools)"
HOMEPAGE="https://github.com/rafaelmartins/distpatch"
SRC_URI="https://github.com/rafaelmartins/${PN}/releases/download/v${PV}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"

PATCHES=( "${FILESDIR}/${PN}-python3-support.patch" )

RDEPEND="
	>=dev-util/diffball-1.0.1
	dev-python/snakeoil[${PYTHON_USEDEP}]
	>=sys-apps/portage-2.1.8.3[${PYTHON_USEDEP}]"