puremagic: cleanup, disable source package

it just repackages a wheel, thus no need for a source package.
This commit is contained in:
Joachim Mairböck
2024-08-25 16:57:34 +02:00
parent 0223b9b0e9
commit c16a4b53c1

View File

@@ -4,12 +4,13 @@ numbers."
HOMEPAGE="https://github.com/cdgriffith/puremagic"
COPYRIGHT="2013-2024 Chris Griffith"
LICENSE="MIT"
REVISION="1"
REVISION="2"
pypiVersion="b1/5c/c277e7638815795a8fd6487e70eeeb30698e5033f4d562619e1571c660d2"
SOURCE_URI="https://files.pythonhosted.org/packages/$pypiVersion/puremagic-$portVersion-py3-none-any.whl#noarchive"
CHECKSUM_SHA256="b5519ad89e9b7c96a5fd9947d9a907e44f97cc30eae6dcf746d90a58e3681936"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE="yes"
PROVIDES="
$portName = $portVersion
@@ -50,9 +51,7 @@ INSTALL()
pythonPackage=python${pythonVersion//.}
python=python$pythonVersion
installLocation=$prefix/lib/$python/vendor-packages/
export PYTHONPATH=$installLocation:$PYTHONPATH
mkdir -p $installLocation
rm -rf build
$python -m installer -p $prefix puremagic-$portVersion-py3-none-any.whl