Skip to content

Commit

Permalink
Not include cache
Browse files Browse the repository at this point in the history
  • Loading branch information
bigbruno committed May 2, 2024
1 parent 10a5e5b commit f4098b1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkgbuild/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ _module="webpy"
_pkgname="python-$_module"
pkgname="bbv-$_module"
pkgver=0.70
pkgrel=1
pkgrel=2
replaces=('python-webpy')
provides=('python-webpy')
pkgdesc="A web framework for Python"
Expand Down Expand Up @@ -53,13 +53,14 @@ package() {
# turn compatible with python 3.11 and 3.12
cd ${pkgdir:?}
if [[ -e usr/lib/python3.12 ]]; then
rm -R usr/lib/python3.12/site-packages/web/__pycache__
mkdir -p usr/lib/python3.11/site-packages
cd usr/lib/python3.11/site-packages
ln -s ../../python3.12/site-packages/web web
elif [[ -e usr/lib/python3.11 ]]; then
rm -R usr/lib/python3.11/site-packages/web/__pycache__
mkdir -p usr/lib/python3.12/site-packages
cd usr/lib/python3.12/site-packages
ln -s ../../python3.11/site-packages/web web
fi

}

0 comments on commit f4098b1

Please sign in to comment.