~ruther/guix-local

ec1bade27d7f5199d4b6f2ced32c3c8e02fc56b6 — Nicolas Graves 9 months ago a049790
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>
1 files changed, 21 insertions(+), 9 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +21 -9
@@ 37335,18 37335,30 @@ It implements advanced Python dictionaries with dot notation access.")
    (name "python-aspectlib")
    (version "1.5.2")
    (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "aspectlib" version))
        (sha256
          (base32 "1am4ycf292zbmgz791z393v63w7qrynf8q5p9db2wwf2qj1fqxfj"))))
    (build-system python-build-system)
     (origin
       (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 "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
     "This package provides an aspect-oriented programming, monkey-patch
and decorators library.  It is useful when changing behavior in existing
code is desired.  It includes tools for debugging and testing:
simple mock/record and a complete capture/replay framework.")