From a9080f559b648f68ccc86bcb90952c43af57bc04 Mon Sep 17 00:00:00 2001 From: xhaa123 Date: Mon, 4 Nov 2024 13:31:31 +0800 Subject: [PATCH] python-pluggy 1.5.0-1 --- PKGBUILD | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 232d113..5361816 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,25 +5,32 @@ # Maintainer: Future Linux Team pkgname=python-pluggy -pkgver=1.4.0 +pkgver=1.5.0 pkgrel=1 pkgdesc="Plugin and hook calling mechanisms for python" arch=('x86_64') url="https://github.com/pytest-dev/pluggy" license=('MIT') depends=('python') -makedepends=('git' 'python-setuptools-scm' 'python-setuptools' 'python-wheel' 'python-pip') -source=(git+https://gitlab.com/future-linux/clone/pluggy.git#commit=2efd28ef5dcd8b7ad44a41777ce640debbbf9c39) +makedepends=( + 'git' + 'python-setuptools-scm' + 'python-setuptools' + 'python-build' + 'python-installer' + 'python-wheel' +) +source=(git+https://gitlab.com/future-linux/clone/pluggy.git#tag=${pkgver}) sha256sums=(SKIP) build() { cd ${pkgname#*-} - pip3 wheel -w dist --no-build-isolation --no-deps --no-cache-dir $PWD + python3 -m build --wheel --no-isolation } package() { cd ${pkgname#*-} - pip3 install --ignore-installed --root=${pkgdir} --no-index --no-user --find-links=dist pluggy + python3 -m installer --destdir=${pkgdir} dist/*.whl }