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>
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
}