python-pluggy 1.4.0-1

This commit is contained in:
xhaa123 2024-11-04 13:29:24 +08:00
commit 760b3ef4ff

29
PKGBUILD Normal file
View File

@ -0,0 +1,29 @@
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.
# Maintainer: Future Linux Team <future_linux@163.com>
pkgname=python-pluggy
pkgver=1.4.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)
sha256sums=(SKIP)
build() {
cd ${pkgname#*-}
pip3 wheel -w dist --no-build-isolation --no-deps --no-cache-dir $PWD
}
package() {
cd ${pkgname#*-}
pip3 install --ignore-installed --root=${pkgdir} --no-index --no-user --find-links=dist pluggy
}