aboutsummaryrefslogtreecommitdiffstats
path: root/main/python3
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-04-06 15:00:25 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-04-06 22:21:05 +0000
commit7d0c1c002d1faffabd55083cf03a54325e8df6e8 (patch)
treeb9fa07618c08ae8a88b1aff0ea9a8777b37ae3ad /main/python3
parent053ca424de2770874b5d42634f771302518e6742 (diff)
downloadaports-7d0c1c002d1faffabd55083cf03a54325e8df6e8.tar.bz2
aports-7d0c1c002d1faffabd55083cf03a54325e8df6e8.tar.xz
main/python3: claim python binary name
Diffstat (limited to 'main/python3')
-rw-r--r--main/python3/APKBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/main/python3/APKBUILD b/main/python3/APKBUILD
index ae8fa0b345..fd1f07c643 100644
--- a/main/python3/APKBUILD
+++ b/main/python3/APKBUILD
@@ -6,7 +6,7 @@ pkgname=python3
pkgver=3.8.2
_bluez_ver=5.53
_basever="${pkgver%.*}"
-pkgrel=1
+pkgrel=2
pkgdesc="A high-level scripting language"
url="https://www.python.org/"
arch="all"
@@ -140,6 +140,9 @@ package() {
# those are provided by python3-tkinter
rm -r "$pkgdir"/usr/bin/idle* "$pkgdir"/usr/lib/python*/idlelib \
"$pkgdir"/usr/lib/python*/tkinter
+
+ # Python3 is the canonical python for the moment
+ ln -s /usr/bin/python3 "$pkgdir"/usr/bin/python
}
dev() {