python-wheel 0.44.0-1
This commit is contained in:
parent
261e6ba956
commit
4f9e42c49b
29
python-wheel/PKGBUILD
Normal file
29
python-wheel/PKGBUILD
Normal file
@ -0,0 +1,29 @@
|
||||
# This is an example PKGBUILD file. Use this as a start to creating your own,
|
||||
# and remove these comments. For more information, see 'man PKGBUILD'.
|
||||
# NOTE: Please fill out the license field for your package! If it is unknown,
|
||||
# then please put 'unknown'.
|
||||
|
||||
# Maintainer: Future Linux Team <future_linux@163.com>
|
||||
pkgname=python-wheel
|
||||
pkgver=0.44.0
|
||||
pkgrel=1
|
||||
pkgdesc="A built-package format for Python"
|
||||
arch=('x86_64')
|
||||
url="https://pypi.org/project/wheel/"
|
||||
license=('MIT')
|
||||
depends=('python')
|
||||
makedepends=('python-flit-core')
|
||||
source=(https://pypi.org/packages/source/w/${pkgname#*-}/${pkgname#*-}-${pkgver}.tar.gz)
|
||||
sha256sums=(a29c3f2817e95ab89aa4660681ad547c0e9547f20e75b0562fe7723c9a2a9d49)
|
||||
|
||||
build() {
|
||||
cd ${pkgname#*-}-${pkgver}
|
||||
|
||||
pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${pkgname#*-}-${pkgver}
|
||||
|
||||
pip3 install --ignore-installed --root ${pkgdir} --no-index --find-links=dist wheel
|
||||
}
|
Loading…
Reference in New Issue
Block a user