python-pyproject-hooks 1.1.0-1
This commit is contained in:
parent
1ae1833723
commit
37029120f7
29
python-pyproject-hooks/PKGBUILD
Normal file
29
python-pyproject-hooks/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: Futura Linux Team <future_linux@163.com>
|
||||||
|
pkgname=python-pyproject-hooks
|
||||||
|
pkgver=1.1.0
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="A low-level library for calling build-backends in pyproject.toml-based project"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://pypi.org/project/pyproject_hooks/"
|
||||||
|
license=('MIT')
|
||||||
|
depends=('python')
|
||||||
|
makedepends=('python-installer' 'python-flit-core')
|
||||||
|
source=(https://github.com/pypa/pyproject-hooks/archive/v${pkgver}/${pkgname#*-}-${pkgver}.tar.gz)
|
||||||
|
sha256sums=(1cbbabcd93ea1ac50cca7f23e5b640904684ae6c85003c6f7cf02b598c33f28f)
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd ${pkgname#*-}-${pkgver}
|
||||||
|
|
||||||
|
python3 -m flit_core.wheel
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd ${pkgname#*-}-${pkgver}
|
||||||
|
|
||||||
|
python3 -m installer -d ${pkgdir} dist/*.whl
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user