summaryrefslogtreecommitdiff
path: root/app-shells/autojump/autojump-22.5.3-r1.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-02-02 01:39:05 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-02-02 01:39:05 +0000
commitfcc5224904648a8e6eb528d7603154160a20022f (patch)
tree3bfce096b38a9cea8eed13fc70c1526c456e9abd /app-shells/autojump/autojump-22.5.3-r1.ebuild
parent2fd57282f0262ca084e05b0f2c63fbada395d02b (diff)
gentoo resync : 02.02.2022
Diffstat (limited to 'app-shells/autojump/autojump-22.5.3-r1.ebuild')
-rw-r--r--app-shells/autojump/autojump-22.5.3-r1.ebuild12
1 files changed, 8 insertions, 4 deletions
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