aboutsummaryrefslogtreecommitdiffstats
path: root/main/python2
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-04-07 09:13:20 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-04-07 09:13:20 -0300
commit1fcc9f372dcd6341e788355856fdca2c9db670cb (patch)
tree319b273af4781ab53d3f29410d8629ff198d45af /main/python2
parent1a087b0960e5e5853720ed53cd9f40e28be609f7 (diff)
downloadaports-1fcc9f372dcd6341e788355856fdca2c9db670cb.tar.bz2
aports-1fcc9f372dcd6341e788355856fdca2c9db670cb.tar.xz
main/python2: claim cmd:python don't provide python-dev
Diffstat (limited to 'main/python2')
-rw-r--r--main/python2/APKBUILD8
1 files changed, 3 insertions, 5 deletions
diff --git a/main/python2/APKBUILD b/main/python2/APKBUILD
index b103e5302d..2a7d7fc6d8 100644
--- a/main/python2/APKBUILD
+++ b/main/python2/APKBUILD
@@ -90,8 +90,9 @@ package() {
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
rm "$pkgdir/usr/bin/2to3"
- # This symlink is now owned by python3
- rm -f "$pkgdir"/usr/bin/python
+ # This symlink should be owned by python3 but due to lots of packages
+ # wanting it to be python2, leave it as is
+ # rm -f "$pkgdir"/usr/bin/python
}
_mv_files() {
@@ -103,9 +104,6 @@ _mv_files() {
}
dev() {
- provides="python-dev=$pkgver-r$pkgrel"
- replaces="python-dev"
-
# pyconfig.h is needed runtime so we move it back
default_dev
mkdir -p "$pkgdir"/usr/include/python$_verbase