From 2b1b170da56172918533684cfa583c2befa0aa12 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 28 Sep 2025 23:22:29 +0100 Subject: [PATCH] gnu: python-aplus: Update to 0.11.1-0.1ab8ebe. * gnu/packages/python-science.scm (python-aplus): Update to 0.11.1-0.1ab8ebe. [source]: Switch to git-fetch and build from the latest commit. [build-system]: Switch to pyproject-build-system. [arguments] : Disable them as depending on Nose test runner. [native-inputs]: Add python-setuptools. Change-Id: I34bf72f8d0103122dfcf399e6823eaca2db1d69d --- gnu/packages/python-science.scm | 42 +++++++++++++++++++++------------ 1 file changed, 27 insertions(+), 15 deletions(-) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 74742b73e9963d822155b248284dabb34ec8cc63..ad89a3940aeb8031d403f8042a496210c0f72e39 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -335,22 +335,34 @@ reduces the code overhead typically encountered when using a mostly object-oriented library such as @code{scikit-learn}.") (license license:bsd-3))) +;; XXX: See: . (define-public python-aplus - (package - (name "python-aplus") - (version "0.11.0") - (source - (origin - (method url-fetch) - (uri (pypi-uri "aplus" version)) - (sha256 - (base32 "1rznc26nlp641rn8gpdngfp79a3fji38yavqakxi35mx2da04msg")))) - (build-system python-build-system) - (home-page "https://github.com/xogeny/aplus") - (synopsis "Promises/A+ for Python") - (description "This package is an implementation of the Promises/A+ -specification and test suite in Python.") - (license license:expat))) + ;; PyPI release lacks the latest version, Git has no tags. + (let ((commit "1ab8ebec987fb7213766784aad02cbf4410d9036") + (revision "0")) + (package + (name "python-aplus") + (version (git-version "0.11.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/xogeny/aplus") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "02jcfj7dywvs0sd60c85pxwh0mwsj9p1q27445pba6j489x3dffj")))) + (build-system pyproject-build-system) + (arguments + (list #:tests? #f)) ;they depend on Nose test runner + (native-inputs + (list python-setuptools)) + (home-page "https://github.com/xogeny/aplus") + (synopsis "Promises/A+ for Python") + (description + "This package is an implementation of the Promises/A+ specification and +test suite in Python.") + (license license:expat)))) (define-public python-apted ;; PyPI release lacks tests and there is no Git tag.