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:
31
python-editables/PKGBUILD
Normal file
31
python-editables/PKGBUILD
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user