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

EAPI=7

PYTHON_COMPAT=( python3_{6,7} )
DISTUTILS_USE_SETUPTOOLS=bdepend

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"
IUSE=""

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

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