~ruther/guix-local

8dd23cb29114024eb9ba9af65453b5e820775c47 — Nicolas Graves 3 months ago c6ed036
gnu: python-itemadapter: Update to 0.12.0.

* gnu/packages/python-xyz.scm (python-itemadapter): Update to 0.12.0.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Disable them.
[native-inputs]: Add python-hatchling.
[description]: Improve style.

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

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +16 -10
@@ 34662,19 34662,25 @@ message queues for Python.")
(define-public python-itemadapter
  (package
    (name "python-itemadapter")
    (version "0.8.0")
    (version "0.12.0")
    (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "itemadapter" version))
        (sha256
          (base32 "1aa898gjgwy3axxfrgsh4kdvhp6n6wz3ccdishq0gh8azf2q8xbp"))))
    (build-system python-build-system)
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/scrapy/itemadapter")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1d7v5x1v8v62rs1xay2m4djdnhsydfb0lzgh8c0c1lipinrqzkfz"))))
    (build-system pyproject-build-system)
    (arguments (list #:tests? #f))     ; Circular dependency on python-scrapy.
    (native-inputs (list python-hatchling))
    (home-page "https://github.com/scrapy/itemadapter")
    (synopsis "Common interface for data container classes")
    (description "The ItemAdapter class is a wrapper for data container
objects, providing a common interface to handle objects of different
types in an uniform manner, regardless of their underlying implementation.
    (description
     "The ItemAdapter class is a wrapper for data container objects, providing
a common interface to handle objects of different types in an uniform manner,
regardless of their underlying implementation.

Currently supported types are:
@itemize