Skip to content
Snippets Groups Projects
Commit 09210a05 authored by Galen Abell's avatar Galen Abell Committed by Ariadne Conill
Browse files

community/shiboken6: install py3 egg info

parent d3975c93
No related branches found
No related tags found
No related merge requests found
......@@ -18,6 +18,7 @@ makedepends="
llvm-dev
llvm-static
py3-numpy-dev
py3-setuptools
qt6-qtbase-dev
"
subpackages="lib$pkgname:libs lib$pkgname-dev py3-$pkgname:py3"
......@@ -57,6 +58,13 @@ py3() {
pkgdesc="Python3 shiboken bindings"
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/python3* "$subpkgdir"/usr/lib
# Install egg info
cd "$builddir"
export PATH="/usr/lib/qt6/bin:$PATH"
python3 setup.py egg_info --build-type=shiboken6
pythonpath="$(python3 -c "from sysconfig import get_path; print(get_path('platlib'))")"
cp -r shiboken6.egg-info "$subpkgdir/$pythonpath"
}
sha512sums="
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment