aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-03-10 19:26:19 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-03-10 19:26:45 -0300
commit5cf769eaa2f1409b5fdbfc800150de76df38c528 (patch)
treea2f549202755fa0af00a0627d06f918401ce04ae
parent077635e29a91558652b6ad01125c806f044bf0d3 (diff)
downloadaports-5cf769eaa2f1409b5fdbfc800150de76df38c528.tar.bz2
aports-5cf769eaa2f1409b5fdbfc800150de76df38c528.tar.xz
community/py3-pip: don't install fish completions
fixes #11290
-rw-r--r--community/py3-pip/APKBUILD21
1 files changed, 3 insertions, 18 deletions
diff --git a/community/py3-pip/APKBUILD b/community/py3-pip/APKBUILD
index c3358f43a3..4c05fb0d1a 100644
--- a/community/py3-pip/APKBUILD
+++ b/community/py3-pip/APKBUILD
@@ -3,8 +3,8 @@
pkgname=py3-pip
_pkgname=pip
pkgver=20.0.2
-pkgrel=1
-pkgdesc="A tool for installing and managing Python packages"
+pkgrel=2
+pkgdesc="Tool for installing and managing Python packages"
options="!check" # Requires pytest
url="http://www.pip-installer.org"
arch="noarch"
@@ -36,7 +36,6 @@ makedepends="
subpackages="
$pkgname-doc
$pkgname-zsh-completion:zshcomp:noarch
- $pkgname-fish-completion:fishcomp:noarch
$pkgname-bash-completion:bashcomp:noarch
"
source="$pkgname-$pkgver.tar.gz::https://github.com/pypa/pip/archive/$pkgver.tar.gz
@@ -82,10 +81,6 @@ package() {
PYTHONPATH="$pkgdir"/usr/lib/python3.8/site-packages "$pkgdir"/usr/bin/pip \
completion --zsh | \
install -Dm644 /dev/stdin "$pkgdir"/usr/share/zsh/site-functions/_pip
-
- PYTHONPATH="$pkgdir"/usr/lib/python3.8/site-packages "$pkgdir"/usr/bin/pip \
- completion --fish | \
- install -Dm644 /dev/stdin "$pkgdir"/usr/share/fish/completions/pip.fish
}
bashcomp() {
@@ -93,8 +88,7 @@ bashcomp() {
pkgdesc="Bash completions for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
- cd "$pkgdir" || return 0
- amove /usr/share/bash-completion/completions
+ amove usr/share/bash-completion/completions
}
zshcomp() {
@@ -105,14 +99,5 @@ zshcomp() {
amove usr/share/zsh/site-functions
}
-fishcomp() {
- depends=""
- pkgdesc="Fish completions for $pkgname"
- install_if="$pkgname=$pkgver-r$pkgrel fish"
-
- cd "$pkgdir" || return 0
- amove usr/share/fish/completions
-}
-
sha512sums="f9965944ca0f319d01db1638ce97cf64772afff1778b3b1271155de73208cfcb3954d89a469c1143c0bf3288a53d4446165a49df994374b16ac6f7ffdae85857 py3-pip-20.0.2.tar.gz
61732786303ca7ec7828d04099a884534034d50cdd9a7a0de2ace34c28381a992943880f03797a64d5d4f3a76d317d356f76ffff5e3ffd97ed611b234cc05528 9be7454fd69081d06a3f8234a08a6d791e13173f.patch"