32 lines
770 B
Bash
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
|
|
}
|