30 lines
917 B
Bash
30 lines
917 B
Bash
# 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-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}
|
|
|
|
pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD
|
|
|
|
}
|
|
|
|
package() {
|
|
cd flit_core-${pkgver}
|
|
|
|
pip3 install --force-reinstall --root=${pkgdir} --no-index --no-user --find-links=dist flit_core
|
|
}
|