From 5d38269aca735d2476ccf52770e18c1c3b77f6ff Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Fri, 28 Apr 2023 11:25:01 +0200 Subject: gnu: python-atpublic: Update to 3.1.1. * gnu/packages/python-check.scm (python-atpublic): Update to 3.1.1. [build-system]: Switch to pyproject-build-system. [arguments]: Remove #:phases, override build backend. [native-inputs]: Replace nose2 with pytest, add python-pdm-backend, python-sybil and python-pytest-cov. --- gnu/packages/python-check.scm | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index c42cd426b1..c4cf3c4bd4 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -1736,27 +1736,18 @@ (define-public python-httmock (define-public python-atpublic (package (name "python-atpublic") - (version "1.0") + (version "3.1.1") (source (origin (method url-fetch) (uri (pypi-uri "atpublic" version)) (sha256 (base32 - "0i3sbxkdlbb4560rrlmwwd5y4ps7k73lp4d8wnmd7ag9k426gjkx")))) - (build-system python-build-system) - (arguments - '(#:phases - (modify-phases %standard-phases - (add-before 'build 'enable-c-implementation - (lambda _ - (setenv "ATPUBLIC_BUILD_EXTENSION" "yes") - #t)) - (replace 'check - (lambda _ - (invoke "python" "-m" "nose2" "-v")))))) + "060v2b5jfn7p99j09amxlb6w9ynwbq7fix31kl0caz0hs09fx61h")))) + (build-system pyproject-build-system) + (arguments (list #:build-backend "pdm.backend")) (native-inputs - (list python-nose2)) + (list python-pytest python-pdm-backend python-sybil python-pytest-cov)) (home-page "https://public.readthedocs.io/") (synopsis "@code{@@public} decorator for populating @code{__all__}") (description -- cgit v1.2.3