Files
gentoo/dev-util/patchutils/patchutils-0.3.3.ebuild
Sergei Trofimovich 0dce3dc0aa */*: downgrade m68k down to ~m68k
m68k and ~m68k trees are inconsistent. Let's drop keywords
down to ~m68k only. Profiles already accept both keywords:

    ACCEPT_KEYWORDS="m68k ~m68k"

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2020-04-21 08:02:14 +01:00

26 lines
768 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit eutils
DESCRIPTION="A collection of tools that operate on patch files"
HOMEPAGE="http://cyberelk.net/tim/patchutils/"
SRC_URI="http://cyberelk.net/tim/data/patchutils/stable/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND=""
# The testsuite makes use of gendiff(1) that comes from rpm, thus if
# the user wants to run tests, it should install that too.
DEPEND="test? ( app-arch/rpm )"
src_prepare() {
epatch "${FILESDIR}"/${P}-format-security.patch
}