From 949b14981479c1c40f83d7d633af1f0f7fa6a17a Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 12 May 2023 11:31:00 +0200 Subject: fixed completly wrong package name in python-build-bootstrap --- build-support/python-build-boostrap/PKGBUILD | 33 --------------------------- build-support/python-build-bootstrap/PKGBUILD | 33 +++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 33 deletions(-) delete mode 100644 build-support/python-build-boostrap/PKGBUILD create mode 100644 build-support/python-build-bootstrap/PKGBUILD (limited to 'build-support') diff --git a/build-support/python-build-boostrap/PKGBUILD b/build-support/python-build-boostrap/PKGBUILD deleted file mode 100644 index 892ce420..00000000 --- a/build-support/python-build-boostrap/PKGBUILD +++ /dev/null @@ -1,33 +0,0 @@ -# Maintainer: Filipe Laíns (FFY00) -# Maintainer: Daniel M. Capella - -_pkgname=build -pkgname=python-$_pkgname -pkgver=0.10.0 -pkgrel=4 -pkgdesc='A simple, correct PEP 517 build frontend' -arch=('any') -url='https://github.com/pypa/build' -license=('MIT') -makedepends=('git' 'python-pip-bootstrap') -checkdepends=('python-pytest' 'python-pytest-mock' 'python-pytest-rerunfailures' 'python-filelock' 'python-setuptools' 'python-toml' 'python-wheel') -source=("git+$url#tag=$pkgver?signed") -validpgpkeys=('3DCE51D60930EBA47858BA4146F633CBB0EB4BF2') # Filipe Laíns (FFY00) -sha512sums=('SKIP') - -build() { - cd $_pkgname - - # we install build, installer with pip to break the cycle - pip install build - pip install installer - pip install flit_core - - python -m build --wheel --skip-dependency-check --no-isolation -} - -package() { - cd $_pkgname - - python -m installer --destdir="$pkgdir" dist/*.whl -} diff --git a/build-support/python-build-bootstrap/PKGBUILD b/build-support/python-build-bootstrap/PKGBUILD new file mode 100644 index 00000000..ec3630c4 --- /dev/null +++ b/build-support/python-build-bootstrap/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Filipe Laíns (FFY00) +# Maintainer: Daniel M. Capella + +_pkgname=build +pkgname=python-$_pkgname-bootstrap +pkgver=0.10.0 +pkgrel=4 +pkgdesc='A simple, correct PEP 517 build frontend' +arch=('any') +url='https://github.com/pypa/build' +license=('MIT') +makedepends=('git' 'python-pip-bootstrap') +checkdepends=('python-pytest' 'python-pytest-mock' 'python-pytest-rerunfailures' 'python-filelock' 'python-setuptools' 'python-toml' 'python-wheel') +source=("git+$url#tag=$pkgver?signed") +validpgpkeys=('3DCE51D60930EBA47858BA4146F633CBB0EB4BF2') # Filipe Laíns (FFY00) +sha512sums=('SKIP') + +build() { + cd $_pkgname + + # we install build, installer with pip to break the cycle + pip install build + pip install installer + pip install flit_core + + python -m build --wheel --skip-dependency-check --no-isolation +} + +package() { + cd $_pkgname + + python -m installer --destdir="$pkgdir" dist/*.whl +} -- cgit v1.2.3-70-g09d2