mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 13:57:14 +02:00
testing/virt-lightning: upgrade to 2.3.0
uses pyproject.toml now
This commit is contained in:
parent
7e0e25eaa4
commit
cf59490d5b
@ -1,26 +1,35 @@
|
|||||||
# Maintainer: Hoang Nguyen <folliekazetani@protonmail.com>
|
# Maintainer: Hoang Nguyen <folliekazetani@protonmail.com>
|
||||||
pkgname=virt-lightning
|
pkgname=virt-lightning
|
||||||
pkgver=2.2.0
|
pkgver=2.3.0
|
||||||
pkgrel=2
|
pkgrel=0
|
||||||
pkgdesc="A tool to start libvirt VMs in a couple of seconds"
|
pkgdesc="A tool to start libvirt VMs in a couple of seconds"
|
||||||
url="https://github.com/virt-lightning/virt-lightning"
|
url="https://github.com/virt-lightning/virt-lightning"
|
||||||
arch="all !s390x !riscv64" # blocked by py3-libvirt
|
arch="noarch"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
depends="python3 py3-libvirt py3-yaml"
|
depends="python3 py3-libvirt py3-yaml"
|
||||||
makedepends="py3-setuptools_scm"
|
makedepends="
|
||||||
|
py3-gpep517
|
||||||
|
py3-installer
|
||||||
|
py3-setuptools
|
||||||
|
py3-setuptools_scm
|
||||||
|
py3-wheel
|
||||||
|
"
|
||||||
subpackages="$pkgname-pyc"
|
subpackages="$pkgname-pyc"
|
||||||
source="$pkgname-$pkgver.tar.gz::https://github.com/virt-lightning/virt-lightning/archive/refs/tags/$pkgver.tar.gz"
|
source="$pkgname-$pkgver.tar.gz::https://github.com/virt-lightning/virt-lightning/archive/refs/tags/$pkgver.tar.gz"
|
||||||
options="!check" # tests require a running libvirtd service
|
options="!check" # tests require a running libvirtd service
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
|
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
|
||||||
python3 setup.py build
|
gpep517 build-wheel \
|
||||||
|
--wheel-dir dist \
|
||||||
|
--output-fd 3 3>&1 >&2
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
python3 setup.py install --skip-build --root="$pkgdir"
|
python3 -m installer -d "$pkgdir" \
|
||||||
|
dist/virt_lightning*.whl
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
fc9487dea3b063306e9c31b0df6485e2a4ea6cc2c40074906950668750b5804c64832bf5be80a2ca76b70dd8ea5bfa9546ddfd83408e1a10d913350f08fea5e7 virt-lightning-2.2.0.tar.gz
|
b8a4a0779dcbe19ddd68715c2ae6d743d2e5cbd105a9e5eb51a2182797a633dc999fe68c5bf5193a33a51e5488fad7f084b2e397c82fed690f71b9be582d1437 virt-lightning-2.3.0.tar.gz
|
||||||
"
|
"
|
||||||
|
Loading…
Reference in New Issue
Block a user