gnu: python-aspectlib: Switch to pyproject.

* gnu/packages/python-xyz.scm (python-aspectlib):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:test-flags>: Disable problematic tests.
[native-inputs]: Add python-setuptools, python-wheel.
[synopsis, description]: Improve style.

Change-Id: I3303d1b0d3ff7c73d6511aeb3ee03c21e85698bf
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-08-13 20:28:24 +02:00 committed by Sharlatan Hellseher
parent a049790ba1
commit ec1bade27d
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -37336,15 +37336,27 @@ It implements advanced Python dictionaries with dot notation access.")
(version "1.5.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "aspectlib" version))
(method git-fetch)
(uri (git-reference
(url "https://github.com/ionelmc/python-aspectlib")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1am4ycf292zbmgz791z393v63w7qrynf8q5p9db2wwf2qj1fqxfj"))))
(build-system python-build-system)
(base32 "1mfhflg33684gkp6ckkywshn4xa3vqaia521kcagaxgr3xm6c9pv"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
#~(list ;; XXX: Require more dependencies.
"--ignore=tests/test_integrations.py"
"--ignore=tests/test_integrations_py3.py"
;; XXX: Unimportant warning errors.
"-k" (string-append "not test_story_empty_play_proxy_class"
" and not test_story_half_play_proxy_class"))))
(native-inputs (list python-pytest python-setuptools python-tornado python-wheel))
(propagated-inputs (list python-fields))
(home-page "https://github.com/ionelmc/python-aspectlib")
(synopsis
"Python monkey-patching and decorators")
(synopsis "Python monkey-patching and decorators")
(description
"This package provides an aspect-oriented programming, monkey-patch
and decorators library. It is useful when changing behavior in existing