mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
puremagic: cleanup, disable source package
it just repackages a wheel, thus no need for a source package.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user