Use the new flit_core.wheel command for bootstrapping

This commit is contained in:
Christoph Reiter committed 2022-07-27 09:43:53 +02:00
1 parent c7bd51f58c
commit 19c6099c95
2 files changed
+9 -8

No files matched your search

+2 -3
View File
@@ -3,7 +3,7 @@
_realname=installer
pkgname="python-${_realname}"
pkgver=0.5.1
pkgrel=1
pkgrel=2
pkgdesc="A low-level library for installing from a Python wheel distribution"
arch=('any')
url='https://github.com/pypa/installer'
@@ -18,8 +18,7 @@ sha256sums=('f970995ec2bb815e2fdaf7977b26b2091e1e386f0f42eafd5ac811953dc5d445')
build() {
cd "${srcdir}/${_realname}-${pkgver}"
mkdir -p dist
python -c "from flit_core import buildapi; buildapi.build_wheel('dist/')"
python -m flit_core.wheel
}
package() {