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

@ -37335,18 +37335,30 @@ It implements advanced Python dictionaries with dot notation access.")
(name "python-aspectlib") (name "python-aspectlib")
(version "1.5.2") (version "1.5.2")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (pypi-uri "aspectlib" version)) (uri (git-reference
(sha256 (url "https://github.com/ionelmc/python-aspectlib")
(base32 "1am4ycf292zbmgz791z393v63w7qrynf8q5p9db2wwf2qj1fqxfj")))) (commit (string-append "v" version))))
(build-system python-build-system) (file-name (git-file-name name version))
(sha256
(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)) (propagated-inputs (list python-fields))
(home-page "https://github.com/ionelmc/python-aspectlib") (home-page "https://github.com/ionelmc/python-aspectlib")
(synopsis (synopsis "Python monkey-patching and decorators")
"Python monkey-patching and decorators")
(description (description
"This package provides an aspect-oriented programming, monkey-patch "This package provides an aspect-oriented programming, monkey-patch
and decorators library. It is useful when changing behavior in existing and decorators library. It is useful when changing behavior in existing
code is desired. It includes tools for debugging and testing: code is desired. It includes tools for debugging and testing:
simple mock/record and a complete capture/replay framework.") simple mock/record and a complete capture/replay framework.")