~ruther/guix-local

c1746bbf44d78068e13d7d75dc7365533d832955 — Nicolas Graves 10 months ago aed2216
gnu: python-sphobjinv: Switch to pyproject.

* gnu/packages/sphinx.scm (python-sphobjinv):
[source]: Improve style.
[build-system]: Switch to pyproject-build-system.
[arguments]: Remove them.
[native-inputs]: Add python-setuptools, python-wheel.

Change-Id: I5d66ade53847c1a398c744a29fbe5cd05f882c8f
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 4 insertions(+), 14 deletions(-)

M gnu/packages/sphinx.scm
M gnu/packages/sphinx.scm => gnu/packages/sphinx.scm +4 -14
@@ 1331,22 1331,12 @@ executed during the Sphinx build process.")
       (method url-fetch)
       (uri (pypi-uri "sphobjinv" version))
       (sha256
        (base32
         "10x4g92agj6aai0lj0xpcx58zlm1zamzws1w9dczsl1izpz07ij7"))
       (patches (search-patches
                 "python-sphobjinv-defer-ssl-import.patch"))))
    (build-system python-build-system)
    (arguments
     (list
       #:phases
       #~(modify-phases %standard-phases
           (replace 'check
             (lambda* (#:key tests? #:allow-other-keys)
               (when tests?
                 (invoke "pytest")))))))
        (base32 "10x4g92agj6aai0lj0xpcx58zlm1zamzws1w9dczsl1izpz07ij7"))
       (patches (search-patches "python-sphobjinv-defer-ssl-import.patch"))))
    (build-system pyproject-build-system)
    (native-inputs
     (list python-dictdiffer python-pytest python-pytest-check
           python-sphinx python-stdio-mgr))
           python-setuptools python-wheel python-sphinx python-stdio-mgr))
    (propagated-inputs
     (list python-attrs python-certifi python-jsonschema))
    (home-page "https://github.com/bskinn/sphobjinv")