Add python-hatchling and update python-iniconfig

iniconfig 2.0 uses hatchling as a build backend, so add
hatchling and all required dependencies
This commit is contained in:
Christoph Reiter
2023-02-12 19:06:00 +01:00
parent 5c7e853df2
commit c6632b74bf
5 changed files with 145 additions and 11 deletions

31
python-editables/PKGBUILD Normal file
View File

@@ -0,0 +1,31 @@
# Maintainer: Christoph Reiter <reiter.christoph@gmail.com>
_pyname=editables
pkgname=python-editables
pkgver=0.3
pkgrel=1
pkgdesc='A Python library for creating editable wheels'
arch=(any)
url='https://github.com/pfmoore/editables'
license=('spdx:MIT')
depends=('python')
makedepends=(
'python-build'
'python-installer'
'python-setuptools'
'python-wheel'
)
source=(https://github.com/pfmoore/editables/archive/$pkgver/$pkgname-$pkgver.tar.gz)
sha256sums=('42f7240164af1e028ccb7b60e72f54bbd8b639e9409595fbeffac5d3fb610643')
build() {
cd $_pyname-$pkgver
python -m build --wheel --no-isolation
}
package() {
cd $_pyname-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname
}