update to 12.3: python-wheel
This commit is contained in:
@@ -0,0 +1,23 @@
|
|||||||
|
pkgname=python-wheel
|
||||||
|
_name=${pkgname#python-}
|
||||||
|
pkgver=0.45.1
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="A built-package format for Python"
|
||||||
|
arch=(any)
|
||||||
|
homepage="https://pypi.python.org/pypi/wheel"
|
||||||
|
license=('MIT')
|
||||||
|
sources=("${_name}-${pkgver}.tar.gz")
|
||||||
|
urls=("https://pypi.org/packages/source/w/${_name}/${sources[0]}")
|
||||||
|
md5sums=("dddc505d0573d03576c7c6c5a4fe0641")
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||||
|
}
|
||||||
|
|
||||||
|
src_build() {
|
||||||
|
pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
pip3 install --no-deps --no-warn-script-location --no-index --no-cache-dir --no-user --force-reinstall --root ${pkgdir} --find-links dist ${_name}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user