From fcc5224904648a8e6eb528d7603154160a20022f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 2 Feb 2022 01:39:05 +0000 Subject: gentoo resync : 02.02.2022 --- app-shells/autojump/autojump-22.5.3-r1.ebuild | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'app-shells/autojump/autojump-22.5.3-r1.ebuild') diff --git a/app-shells/autojump/autojump-22.5.3-r1.ebuild b/app-shells/autojump/autojump-22.5.3-r1.ebuild index 9e398fa63288..6c1430f5a0b7 100644 --- a/app-shells/autojump/autojump-22.5.3-r1.ebuild +++ b/app-shells/autojump/autojump-22.5.3-r1.ebuild @@ -1,13 +1,13 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{8..9} ) +PYTHON_COMPAT=( python3_{8..10} ) DISTUTILS_SINGLE_IMPL=1 DISTUTILS_USE_SETUPTOOLS=no -inherit distutils-r1 bash-completion-r1 vcs-snapshot prefix +inherit distutils-r1 vcs-snapshot prefix DESCRIPTION="change directory command that learns" HOMEPAGE="https://github.com/wting/autojump" @@ -29,8 +29,12 @@ DEPEND="${PYTHON_DEPS} distutils_enable_tests pytest +PATCHES=( + "${FILESDIR}"/${PV}-Use-mock-from-unittest.patch +) + src_prepare() { - eapply_user + default sed -e "s:/usr/local/share:/usr/share:" \ -i bin/autojump.sh || die -- cgit v1.2.3