python packages: rebuild to install directly as vendor-packages

This commit is contained in:
Jerome Duval
2023-03-07 20:13:33 +01:00
parent 01a50ad278
commit 13a6cbe4ab
5 changed files with 4 additions and 16 deletions

View File

@@ -5,7 +5,7 @@ mistakes."
HOMEPAGE="https://pypi.org/project/flit/"
COPYRIGHT="2015 Thomas Kluyver and contributors"
LICENSE="BSD (3-clause)"
REVISION="1"
REVISION="2"
pypiVersion="f8/81/5281e3f50a238d1169cc5c4c3acec91c631da79962d387ea843083bd151e"
SOURCE_URI="https://files.pythonhosted.org/packages/$pypiVersion/flit-$portVersion-py3-none-any.whl#noarchive"
CHECKSUM_SHA256="06a93a6737fa9380ba85fe8d7f28efb6c93c4f4ee9c7d00cc3375a81f33b91a4"
@@ -56,9 +56,6 @@ INSTALL()
rm -rf build
$python -m installer -p $prefix flit-$portVersion-py3-none-any.whl
mv $installLocation/../site-packages/* $installLocation
rm -rf $installLocation/../site-packages
packageEntries $pythonPackage \
$prefix/lib/python* \
$prefix/bin