diff options
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 9 insertions, 8 deletions
@@ -5,8 +5,7 @@ pkgbase = auditwheel url = https://github.com/pypa/auditwheel arch = any license = MIT - makedepends = python-pip - depends = python + depends = python-wheel depends = python-pyelftools noextract = auditwheel-1.9.0-py3-none-any.whl source = https://files.pythonhosted.org/packages/py3/a/auditwheel/auditwheel-1.9.0-py3-none-any.whl @@ -7,13 +7,15 @@ pkgdesc='Cross-distribution Linux wheels' arch=(any) url="https://github.com/pypa/auditwheel" license=(MIT) -depends=(python python-pyelftools) -makedepends=('python-pip') -_wheel="$pkgname-$pkgver-py3-none-any.whl" -source=("https://files.pythonhosted.org/packages/py3/${pkgname::1}/$pkgname/$_wheel") -noextract=("$_wheel") +depends=(python-wheel python-pyelftools) +_pyarch=py3 +_wheel="$pkgname-$pkgver-$_pyarch-none-any.whl" +source=("https://files.pythonhosted.org/packages/$_pyarch/${pkgname::1}/$pkgname/$_wheel") sha256sums=('daa496bb307012502dd70ba6116b14e28849a30e93b290fb403e83b4926c8918') +noextract=("$_wheel") package() { - pip install --compile --no-deps --ignore-installed --root="$pkgdir" "$_wheel" + local site="$pkgdir/usr/lib/$(readlink /bin/python3)/site-packages" + mkdir -p "$site" + unzip "$_wheel" -d "$site" } |