From 7f027d3d12fc51f0df884108aae5b1a30110329d Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sat, 27 Dec 2025 02:30:23 -0500 Subject: [PATCH] new blfs: dev-python/pluggy-1.6.0 --- dev-python/pluggy-1.6.0.PKGBUILD | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 dev-python/pluggy-1.6.0.PKGBUILD diff --git a/dev-python/pluggy-1.6.0.PKGBUILD b/dev-python/pluggy-1.6.0.PKGBUILD new file mode 100644 index 0000000..6115581 --- /dev/null +++ b/dev-python/pluggy-1.6.0.PKGBUILD @@ -0,0 +1,24 @@ +pkgname=pluggy +pkgver=1.6.0 +pkgdesc="Plugin and hook calling mechanisms for python" +arch=('any') +homepage="https://github.com/pytest-dev/pluggy" +license=('MIT') +sources=("${pkgname}-${pkgver}.tar.gz") +urls=("https://files.pythonhosted.org/packages/source/${pkgname:0:1}/${pkgname}/${sources[0]}") +md5sums=("54391218af778acb006c2d915085d469") + +src_prepare() { + tar -xf ${distdir}/${sources[0]} --strip-components=1 +} + +src_build() { + python -m build --wheel --no-isolation +} + +# check need pytest, but pluggy is needed by pytest + +src_install() { + python -m installer --destdir="$pkgdir" dist/*.whl + install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ +}