Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / python-lazy
Commits: 5e3b6c42 by loqs at 2024-04-06T13:50:44+01:00 Change to a PEP 517 based workflow - - - - - 02d5c4ca by loqs at 2024-04-06T13:50:54+01:00 Change to SPDX license identifier https://github.com/stefanholek/lazy/blob/1.6/LICENSE - - - - - 1 changed file: - PKGBUILD Changes: ===================================== PKGBUILD ===================================== @@ -5,16 +5,16 @@ pkgver=1.6 pkgrel=2 pkgdesc="Lazy attributes for Python objects" url="https://github.com/stefanholek/lazy" -license=('BSD') +license=('BSD-2-Clause') arch=('any') depends=('python') -makedepends=('python-setuptools') +makedepends=('python-setuptools' 'python-build' 'python-installer' 'python-wheel') source=("$pkgname-$pkgver.tar.gz::https://github.com/stefanholek/lazy/archive/$pkgver.tar.gz") sha512sums=('b6e89fdf33840c9f70f13129c4c43d5d21e72897a2ae6d8f5dcfe4145fca41492e76f83a1d4c1a26f90ac8cd9e4c88c9f55187ae4fa044ccb6ca640d8907c4dc') build() { cd lazy-$pkgver - python setup.py build + python -m build --wheel --no-isolation } check() { @@ -24,6 +24,6 @@ check() { package() { cd lazy-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 + python -m installer --destdir="$pkgdir" dist/*.whl install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-lazy/-/compare/5a6ecfbe7e03d66e9babbc0b86bb26f060f50adc...02d5c4cac7b9bdc5fe085be49fde5d354939b2aa -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-lazy/-/compare/5a6ecfbe7e03d66e9babbc0b86bb26f060f50adc...02d5c4cac7b9bdc5fe085be49fde5d354939b2aa You're receiving this email because of your account on gitlab.archlinux.org.
