Use the new flit_core.wheel command for bootstrapping
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user