python-pluggy 1.5.0-1

This commit is contained in:
xhaa123 2024-11-04 13:31:31 +08:00
parent 760b3ef4ff
commit a9080f559b

View File

@ -5,25 +5,32 @@
# Maintainer: Future Linux Team <future_linux@163.com> # Maintainer: Future Linux Team <future_linux@163.com>
pkgname=python-pluggy pkgname=python-pluggy
pkgver=1.4.0 pkgver=1.5.0
pkgrel=1 pkgrel=1
pkgdesc="Plugin and hook calling mechanisms for python" pkgdesc="Plugin and hook calling mechanisms for python"
arch=('x86_64') arch=('x86_64')
url="https://github.com/pytest-dev/pluggy" url="https://github.com/pytest-dev/pluggy"
license=('MIT') license=('MIT')
depends=('python') depends=('python')
makedepends=('git' 'python-setuptools-scm' 'python-setuptools' 'python-wheel' 'python-pip') makedepends=(
source=(git+https://gitlab.com/future-linux/clone/pluggy.git#commit=2efd28ef5dcd8b7ad44a41777ce640debbbf9c39) '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) sha256sums=(SKIP)
build() { build() {
cd ${pkgname#*-} cd ${pkgname#*-}
pip3 wheel -w dist --no-build-isolation --no-deps --no-cache-dir $PWD python3 -m build --wheel --no-isolation
} }
package() { package() {
cd ${pkgname#*-} cd ${pkgname#*-}
pip3 install --ignore-installed --root=${pkgdir} --no-index --no-user --find-links=dist pluggy python3 -m installer --destdir=${pkgdir} dist/*.whl
} }