From c3dd83e22626b453d935d75386d6ee927679ff5a Mon Sep 17 00:00:00 2001 From: xhaa123 Date: Mon, 15 Apr 2024 20:44:15 +0800 Subject: [PATCH] python-flit-core 3.9.0-1 --- PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..c93b4c1 --- /dev/null +++ b/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-flit-core +pkgver=3.9.0 +pkgrel=1 +pkgdesc="A PEP 517 build backend for packages using Flit" +arch=('x86_64') +url="https://pypi.org/project/flit-core/" +license=('BSD') +depends=('python') +source=(https://pypi.org/packages/source/f/flit-core/flit_core-${pkgver}.tar.gz) +sha256sums=(72ad266176c4a3fcfab5f2930d76896059851240570ce9a98733b658cb786eba) + +build() { + cd flit_core-${pkgver} + + python3 -m flit_core.wheel + +} + +package() { + cd flit_core-${pkgver} + + python3 bootstrap_install.py --install-root ${pkgdir} dist/*.whl +}