From 7f16acedc7080f5feadf0c144c56a8c43c0665f3 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Mon, 19 Sep 2022 21:07:55 -0400 Subject: [PATCH] python3-frozendict: rebuild for Python 3.11 --- srcpkgs/python3-frozendict/template | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/srcpkgs/python3-frozendict/template b/srcpkgs/python3-frozendict/template index 94a682fd726..26b242fb0d0 100644 --- a/srcpkgs/python3-frozendict/template +++ b/srcpkgs/python3-frozendict/template @@ -1,9 +1,10 @@ # Template file for 'python3-frozendict' pkgname=python3-frozendict version=2.3.4 -revision=1 +revision=2 wrksrc="frozendict-${version}" build_style=python3-module +make_check_args="-k not(test_c_extension)" hostmakedepends="python3-setuptools" makedepends="python3-devel" depends="python3" @@ -15,6 +16,10 @@ homepage="https://github.com/Marco-Sulla/python-frozendict" distfiles="${PYPI_SITE}/f/frozendict/frozendict-${version}.tar.gz" checksum=15b4b18346259392b0d27598f240e9390fafbff882137a9c48a1e0104fb17f78 -do_check() { - PYTHONPATH="$(cd build/lib* && pwd)" pytest3 +do_build() { + python3 setup.py py build +} + +do_install() { + python3 setup.py py install --prefix=/usr --root="${DESTDIR}" }