From 4f9e42c49b55645fb70fa321bd3044715e829e24 Mon Sep 17 00:00:00 2001 From: xhaa123 Date: Sat, 7 Sep 2024 23:39:16 +0800 Subject: [PATCH] python-wheel 0.44.0-1 --- python-wheel/PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 python-wheel/PKGBUILD diff --git a/python-wheel/PKGBUILD b/python-wheel/PKGBUILD new file mode 100644 index 0000000..ca40526 --- /dev/null +++ b/python-wheel/PKGBUILD @@ -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 +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 +}