~ruther/guix-local

0f323cb9c35fbd0af940ea47aeffa34b2c078c6b — Hartmut Goebel 7 months ago 33cc843
gnu: python-pyactiveresource: Switch to pyproject and fix build.

* gnu/packages/python-web.scm (python-pyactiveresource)
[source]: Switch to github tag.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-pytest, python-setuptools and python-wheel.

Change-Id: I2a11bfead8e10f8a32720d3d48373449a5c92b9a
1 files changed, 14 insertions(+), 10 deletions(-)

M gnu/packages/python-web.scm
M gnu/packages/python-web.scm => gnu/packages/python-web.scm +14 -10
@@ 12216,19 12216,23 @@ your FastAPI app, manage your FastAPI project, and more.")
  (package
    (name "python-pyactiveresource")
    (version "2.2.2")
    (source (origin
              (method url-fetch)
              (uri (pypi-uri "pyactiveresource" version))
              (sha256
               (base32
                "1n7xvzh1j8fxal0gx9bgg1ayrp3q9mb1a2vb12d6s86wa93880rg"))))
    (build-system python-build-system)
    (native-inputs (list python-dateutil python-pyyaml))
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/Shopify/pyactiveresource")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "03pw6fwqjn09fbd6xmng0arlz75pp6ykw25c8d1snp4bxlzkrwqf"))))
    (build-system pyproject-build-system)
    (native-inputs (list python-dateutil python-pytest python-pyyaml
                         python-setuptools))
    (propagated-inputs (list python-six))
    (home-page "https://github.com/Shopify/pyactiveresource/")
    (synopsis "ActiveResource for Python")
    (description "This package provides a Python port of the ActiveResource
project.
    (description
     "This package provides a Python port of the ActiveResource project.

Active Resource attempts to provide a coherent wrapper object-relational
mapping for REST web services.  It follows the same philosophy as Active