Files
MSYS2-packages/python-editables/PKGBUILD
Christoph Reiter 28c89659b0 python 3.11 rebuilds
2023-02-14 09:48:24 +01:00

32 lines
770 B
Bash

# Maintainer: Christoph Reiter <reiter.christoph@gmail.com>
_pyname=editables
pkgname=python-editables
pkgver=0.3
pkgrel=2
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
}