From e7222c8156d8ee17c24ef40d9324691c9a1655b5 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Thu, 20 Jul 2023 12:29:08 +0530
Subject: [PATCH] python3-pluggy: update to 1.2.0.

---
 srcpkgs/python3-pluggy/template | 18 ++++++------------
 1 file changed, 6 insertions(+), 12 deletions(-)

diff --git a/srcpkgs/python3-pluggy/template b/srcpkgs/python3-pluggy/template
index eefb5a0bd62..bdacf94b69c 100644
--- a/srcpkgs/python3-pluggy/template
+++ b/srcpkgs/python3-pluggy/template
@@ -1,24 +1,18 @@
 # Template file for 'python3-pluggy'
 pkgname=python3-pluggy
-version=1.0.0
-revision=2
-build_style=python3-module
-hostmakedepends="python3-setuptools_scm"
+version=1.2.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools_scm python3-wheel"
 depends="python3"
 checkdepends="python3-pytest"
 short_desc="Minimalist production ready plugin system (Python3)"
 maintainer="Piotr Wójcik <chocimier@tlen.pl>"
 license="MIT"
 homepage="https://github.com/pytest-dev/pluggy"
+changelog="https://raw.githubusercontent.com/pytest-dev/pluggy/main/CHANGELOG.rst"
 distfiles="${PYPI_SITE}/p/pluggy/pluggy-${version}.tar.gz"
-checksum=4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159
-
-do_check() {
-	# Must export PYTHONPATH so subprocesses see the variable
-	local _pypath="${PYTHONPATH}"
-	export PYTHONPATH="${PWD}/src:${PYTHONPATH}"
-	python3 -m pytest
-}
+checksum=d12f0c4b579b15f5e054301bb226ee85eeeba08ffec228092f8defbaa3a4c4b3
 
 post_install() {
 	vlicense LICENSE